fix: file references in Gemini commands templates

This commit is contained in:
Ramiz Ismailov 2026-02-19 16:57:03 +01:00
parent 3dd37bc94d
commit d47eae5e24
5 changed files with 11 additions and 11 deletions

View File

@ -3,12 +3,12 @@ prompt = """
CRITICAL: You are now the BMad '{{name}}' agent. CRITICAL: You are now the BMad '{{name}}' agent.
PRE-FLIGHT CHECKLIST: PRE-FLIGHT CHECKLIST:
1. [ ] IMMEDIATE ACTION: Load and parse {project-root}/{{bmadFolderName}}/{{module}}/config.yaml - store ALL config values in memory for use throughout the session. 1. [ ] IMMEDIATE ACTION: Load and parse @{{{bmadFolderName}}/{{module}}/config.yaml} - store ALL config values in memory for use throughout the session.
2. [ ] IMMEDIATE ACTION: Read and internalize the full agent definition at {project-root}/{{bmadFolderName}}/{{path}}. 2. [ ] IMMEDIATE ACTION: Read and internalize the full agent definition at @{{{bmadFolderName}}/{{path}}}.
3. [ ] CONFIRM: The user's name from config is {user_name}. 3. [ ] CONFIRM: The user's name from config is {user_name}.
Only after all checks are complete, greet the user by name and display the menu. Only after all checks are complete, greet the user by name and display the menu.
Acknowledge this checklist is complete in your first response. Acknowledge this checklist is complete in your first response.
AGENT DEFINITION: {project-root}/{{bmadFolderName}}/{{path}} AGENT DEFINITION: @{{{bmadFolderName}}/{{path}}}
""" """

View File

@ -3,9 +3,9 @@ prompt = """
Execute the BMAD '{{name}}' task. Execute the BMAD '{{name}}' task.
TASK INSTRUCTIONS: TASK INSTRUCTIONS:
1. LOAD the task file from {project-root}/{{bmadFolderName}}/{{path}} 1. LOAD the task file from @{{{bmadFolderName}}/{{path}}}
2. READ its entire contents 2. READ its entire contents
3. FOLLOW every instruction precisely as specified 3. FOLLOW every instruction precisely as specified
TASK FILE: {project-root}/{{bmadFolderName}}/{{path}} TASK FILE: @{{{bmadFolderName}}/{{path}}}
""" """

View File

@ -3,9 +3,9 @@ prompt = """
Execute the BMAD '{{name}}' tool. Execute the BMAD '{{name}}' tool.
TOOL INSTRUCTIONS: TOOL INSTRUCTIONS:
1. LOAD the tool file from {project-root}/{{bmadFolderName}}/{{path}} 1. LOAD the tool file from @{{{bmadFolderName}}/{{path}}}
2. READ its entire contents 2. READ its entire contents
3. FOLLOW every instruction precisely as specified 3. FOLLOW every instruction precisely as specified
TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}} TOOL FILE: @{{{bmadFolderName}}/{{path}}}
""" """

View File

@ -4,7 +4,7 @@ Execute the BMAD '{{name}}' workflow.
CRITICAL: This is a structured YAML workflow. Follow these steps precisely: CRITICAL: This is a structured YAML workflow. Follow these steps precisely:
1. LOAD the workflow definition from {project-root}/{{bmadFolderName}}/{{workflow_path}} 1. LOAD the workflow definition from @{{{bmadFolderName}}/{{workflow_path}}}
2. PARSE the YAML structure to understand: 2. PARSE the YAML structure to understand:
- Workflow phases and steps - Workflow phases and steps
- Required inputs and outputs - Required inputs and outputs
@ -12,5 +12,5 @@ CRITICAL: This is a structured YAML workflow. Follow these steps precisely:
3. EXECUTE each step in order 3. EXECUTE each step in order
4. VALIDATE outputs before proceeding to next step 4. VALIDATE outputs before proceeding to next step
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}} WORKFLOW FILE: @{{{bmadFolderName}}/{{workflow_path}}}
""" """

View File

@ -5,10 +5,10 @@ Execute the BMAD '{{name}}' workflow.
CRITICAL: You must load and follow the workflow definition exactly. CRITICAL: You must load and follow the workflow definition exactly.
WORKFLOW INSTRUCTIONS: WORKFLOW INSTRUCTIONS:
1. LOAD the workflow file from {project-root}/{{bmadFolderName}}/{{workflow_path}} 1. LOAD the workflow file from @{{{bmadFolderName}}/{{workflow_path}}}
2. READ its entire contents 2. READ its entire contents
3. FOLLOW every step precisely as specified 3. FOLLOW every step precisely as specified
4. DO NOT skip or modify any steps 4. DO NOT skip or modify any steps
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}} WORKFLOW FILE: @{{{bmadFolderName}}/{{workflow_path}}}
""" """