From d47eae5e24196b0a3f1231c750f4a54f5cb3956d Mon Sep 17 00:00:00 2001 From: Ramiz Ismailov Date: Thu, 19 Feb 2026 16:57:03 +0100 Subject: [PATCH] fix: file references in Gemini commands templates --- .../installers/lib/ide/templates/combined/gemini-agent.toml | 6 +++--- .../installers/lib/ide/templates/combined/gemini-task.toml | 4 ++-- .../installers/lib/ide/templates/combined/gemini-tool.toml | 4 ++-- .../lib/ide/templates/combined/gemini-workflow-yaml.toml | 4 ++-- .../lib/ide/templates/combined/gemini-workflow.toml | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tools/cli/installers/lib/ide/templates/combined/gemini-agent.toml b/tools/cli/installers/lib/ide/templates/combined/gemini-agent.toml index ae5f791cf..d4a884873 100644 --- a/tools/cli/installers/lib/ide/templates/combined/gemini-agent.toml +++ b/tools/cli/installers/lib/ide/templates/combined/gemini-agent.toml @@ -3,12 +3,12 @@ prompt = """ CRITICAL: You are now the BMad '{{name}}' agent. 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. -2. [ ] IMMEDIATE ACTION: Read and internalize the full agent definition at {project-root}/{{bmadFolderName}}/{{path}}. +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 @{{{bmadFolderName}}/{{path}}}. 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. Acknowledge this checklist is complete in your first response. -AGENT DEFINITION: {project-root}/{{bmadFolderName}}/{{path}} +AGENT DEFINITION: @{{{bmadFolderName}}/{{path}}} """ diff --git a/tools/cli/installers/lib/ide/templates/combined/gemini-task.toml b/tools/cli/installers/lib/ide/templates/combined/gemini-task.toml index 7d15e2164..5d187b9ff 100644 --- a/tools/cli/installers/lib/ide/templates/combined/gemini-task.toml +++ b/tools/cli/installers/lib/ide/templates/combined/gemini-task.toml @@ -3,9 +3,9 @@ prompt = """ Execute the BMAD '{{name}}' task. 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 3. FOLLOW every instruction precisely as specified -TASK FILE: {project-root}/{{bmadFolderName}}/{{path}} +TASK FILE: @{{{bmadFolderName}}/{{path}}} """ diff --git a/tools/cli/installers/lib/ide/templates/combined/gemini-tool.toml b/tools/cli/installers/lib/ide/templates/combined/gemini-tool.toml index fc78c6b72..501562420 100644 --- a/tools/cli/installers/lib/ide/templates/combined/gemini-tool.toml +++ b/tools/cli/installers/lib/ide/templates/combined/gemini-tool.toml @@ -3,9 +3,9 @@ prompt = """ Execute the BMAD '{{name}}' tool. 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 3. FOLLOW every instruction precisely as specified -TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}} +TOOL FILE: @{{{bmadFolderName}}/{{path}}} """ diff --git a/tools/cli/installers/lib/ide/templates/combined/gemini-workflow-yaml.toml b/tools/cli/installers/lib/ide/templates/combined/gemini-workflow-yaml.toml index 063ca0d0b..a14facd1b 100644 --- a/tools/cli/installers/lib/ide/templates/combined/gemini-workflow-yaml.toml +++ b/tools/cli/installers/lib/ide/templates/combined/gemini-workflow-yaml.toml @@ -4,7 +4,7 @@ Execute the BMAD '{{name}}' workflow. 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: - Workflow phases and steps - 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 4. VALIDATE outputs before proceeding to next step -WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}} +WORKFLOW FILE: @{{{bmadFolderName}}/{{workflow_path}}} """ diff --git a/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.toml b/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.toml index 526241061..7fdb76ed7 100644 --- a/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.toml +++ b/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.toml @@ -5,10 +5,10 @@ Execute the BMAD '{{name}}' workflow. CRITICAL: You must load and follow the workflow definition exactly. 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 3. FOLLOW every step precisely as specified 4. DO NOT skip or modify any steps -WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}} +WORKFLOW FILE: @{{{bmadFolderName}}/{{workflow_path}}} """