feat: add configurable interaction_style with platform-specific structured question directives
Add a new `interaction_style` config setting (open/structured) to module.yaml that controls how agents ask questions. When set to "structured", agents use numbered option lists; when "open" (default), they use natural conversation. Platform-specific templates for Claude Code use `AskUserQuestion` tool, Gemini uses `ask_user`, OpenCode uses `question` tool, and default/kiro/ other platforms use generic structured options. Changes: - Add interaction_style to src/core/module.yaml (between output_folder and tool_supports_subagents) - Add RULE directive to all 27+ IDE templates across 7 platforms - Add interaction_style to activation-rules, activation-steps, handlers, workflow.xml, and agent-command-header - Create dedicated Claude Code templates (claude-agent, claude-task, claude-tool, claude-workflow, claude-workflow-yaml) replacing symlinks - Add claude template_type to platform-codes.yaml - Update codex.js installer for claude support - Document interaction_style in install-bmad.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
efc69ffb2c
commit
e2c0f865aa
|
|
@ -57,9 +57,24 @@ Each tool has its own way of integrating commands. The installer creates tiny pr
|
||||||
|
|
||||||
The installer shows available modules. Select whichever ones you need — most users just want **BMad Method** (the software development module).
|
The installer shows available modules. Select whichever ones you need — most users just want **BMad Method** (the software development module).
|
||||||
|
|
||||||
### 5. Follow the Prompts
|
### 5. Configure Settings
|
||||||
|
|
||||||
The installer guides you through the rest — custom content, settings, etc.
|
The installer prompts you for core settings that control how agents behave:
|
||||||
|
|
||||||
|
| Setting | Default | Description |
|
||||||
|
| ------- | ------- | ----------- |
|
||||||
|
| **User Name** | `BMad` | What agents call you — use your name or a team name |
|
||||||
|
| **Communication Language** | `English` | Language agents use when chatting with you |
|
||||||
|
| **Document Output Language** | `English` | Language for generated documents and artifacts |
|
||||||
|
| **Output Folder** | `_bmad-output` | Where agents save generated files |
|
||||||
|
| **Interaction Style** | `structured` | How agents ask you questions (see below) |
|
||||||
|
|
||||||
|
**Interaction Style** controls how agents present choices:
|
||||||
|
|
||||||
|
- **Structured** (recommended) — Agents present numbered option lists for every question, using your IDE's native question tool when available. This keeps conversations focused and reduces ambiguity.
|
||||||
|
- **Open** — Agents ask natural conversational questions. More flexible but can lead to longer back-and-forth.
|
||||||
|
|
||||||
|
These settings are saved to `_bmad/<module>/config.yaml` and can be changed later by editing that file and rerunning the installer.
|
||||||
|
|
||||||
## What You Get
|
## What You Get
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,16 @@ output_folder:
|
||||||
default: "_bmad-output"
|
default: "_bmad-output"
|
||||||
result: "{project-root}/{value}"
|
result: "{project-root}/{value}"
|
||||||
|
|
||||||
|
interaction_style:
|
||||||
|
prompt: "How should agents ask you questions?"
|
||||||
|
default: "open"
|
||||||
|
result: "{value}"
|
||||||
|
single-select:
|
||||||
|
- value: "open"
|
||||||
|
label: "Open - Natural conversational questions (recommended)"
|
||||||
|
- value: "structured"
|
||||||
|
label: "Structured - Numbered option lists"
|
||||||
|
|
||||||
tool_supports_subagents:
|
tool_supports_subagents:
|
||||||
prompt: "Subagents are supported by the LLM or Tool I will be using?"
|
prompt: "Subagents are supported by the LLM or Tool I will be using?"
|
||||||
default: true
|
default: true
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
<objective>Execute given workflow by loading its configuration, following instructions, and producing output</objective>
|
<objective>Execute given workflow by loading its configuration, following instructions, and producing output</objective>
|
||||||
|
|
||||||
<llm critical="true">
|
<llm critical="true">
|
||||||
|
<mandate>RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use the native question tool. No exceptions. No inline prompts. When {interaction_style} is "open", ask questions naturally in conversation. If you cannot determine {interaction_style}, default to open mode.</mandate>
|
||||||
<mandate>Always read COMPLETE files - NEVER use offset/limit when reading any workflow related files</mandate>
|
<mandate>Always read COMPLETE files - NEVER use offset/limit when reading any workflow related files</mandate>
|
||||||
<mandate>Instructions are MANDATORY - either as file path, steps or embedded list in YAML, XML or markdown</mandate>
|
<mandate>Instructions are MANDATORY - either as file path, steps or embedded list in YAML, XML or markdown</mandate>
|
||||||
<mandate>Execute ALL steps in instructions IN EXACT ORDER</mandate>
|
<mandate>Execute ALL steps in instructions IN EXACT ORDER</mandate>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<rules>
|
<rules>
|
||||||
<r>ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style.</r>
|
<r>ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style.</r>
|
||||||
|
<r>Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.</r>
|
||||||
<r> Stay in character until exit selected</r>
|
<r> Stay in character until exit selected</r>
|
||||||
<r> Display Menu items as the item dictates and in the order given.</r>
|
<r> Display Menu items as the item dictates and in the order given.</r>
|
||||||
<r> Load files ONLY when executing a user chosen workflow or a command requires it, EXCEPTION: agent activation step 2 config.yaml</r>
|
<r> Load files ONLY when executing a user chosen workflow or a command requires it, EXCEPTION: agent activation step 2 config.yaml</r>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<step n="1">Load persona from this current agent file (already in context)</step>
|
<step n="1">Load persona from this current agent file (already in context)</step>
|
||||||
<step n="2">🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
|
<step n="2">🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
|
||||||
- Load and read {project-root}/_bmad/{{module}}/config.yaml NOW
|
- Load and read {project-root}/_bmad/{{module}}/config.yaml NOW
|
||||||
- Store ALL fields as session variables: {user_name}, {communication_language}, {output_folder}
|
- Store ALL fields as session variables: {user_name}, {communication_language}, {output_folder}, {interaction_style}, {document_output_language}
|
||||||
- VERIFY: If config not loaded, STOP and report error to user
|
- VERIFY: If config not loaded, STOP and report error to user
|
||||||
- DO NOT PROCEED to step 3 until config is successfully loaded and variables stored
|
- DO NOT PROCEED to step 3 until config is successfully loaded and variables stored
|
||||||
</step>
|
</step>
|
||||||
|
|
|
||||||
|
|
@ -1 +1,3 @@
|
||||||
You must fully embody this agent's persona and follow all activation instructions, steps and rules exactly as specified. NEVER break character until given an exit command.
|
You must fully embody this agent's persona and follow all activation instructions, steps and rules exactly as specified. NEVER break character until given an exit command.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the AskUserQuestion tool. Do NOT write questions as plain text. No exceptions. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<handler type="action">
|
<handler type="action">
|
||||||
When menu item has: action="#id" → Find prompt with id="id" in current agent XML, follow its content
|
When menu item has: action="#id" → Find prompt with id="id" in current agent XML, follow its content
|
||||||
When menu item has: action="text" → Follow the text directly as an inline instruction
|
When menu item has: action="text" → Follow the text directly as an inline instruction
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", ALL questions to the user MUST use the AskUserQuestion tool. No plain text prompts. If you cannot determine {interaction_style}, default to open mode.
|
||||||
</handler>
|
</handler>
|
||||||
|
|
@ -3,4 +3,5 @@
|
||||||
1. Read fully and follow the file at that path
|
1. Read fully and follow the file at that path
|
||||||
2. Process the complete file and follow all instructions within it
|
2. Process the complete file and follow all instructions within it
|
||||||
3. If there is data="some/path/data-foo.md" with the same item, pass that data path to the executed file as context.
|
3. If there is data="some/path/data-foo.md" with the same item, pass that data path to the executed file as context.
|
||||||
|
4. RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", ALL questions to the user MUST use the AskUserQuestion tool. No plain text prompts. If you cannot determine {interaction_style}, default to open mode.
|
||||||
</handler>
|
</handler>
|
||||||
|
|
@ -10,5 +10,5 @@
|
||||||
- For workflow="path/to/workflow.yaml": follow the `handler type="workflow"` instructions
|
- For workflow="path/to/workflow.yaml": follow the `handler type="workflow"` instructions
|
||||||
- For action="...": Perform the specified action directly
|
- For action="...": Perform the specified action directly
|
||||||
5. Support both exact matches and fuzzy matching based on the match attribute
|
5. Support both exact matches and fuzzy matching based on the match attribute
|
||||||
6. If no handler matches, prompt user to choose from available options
|
6. If no handler matches, prompt user to choose from available options using the AskUserQuestion tool when interaction_style is "structured"
|
||||||
</handler>
|
</handler>
|
||||||
|
|
@ -3,5 +3,5 @@
|
||||||
1. You MUST LOAD the file at: {project-root}/_bmad/core/tasks/validate-workflow.xml
|
1. You MUST LOAD the file at: {project-root}/_bmad/core/tasks/validate-workflow.xml
|
||||||
2. READ its entire contents and EXECUTE all instructions in that file
|
2. READ its entire contents and EXECUTE all instructions in that file
|
||||||
3. Pass the workflow, and also check the workflow yaml validation property to find and load the validation schema to pass as the checklist
|
3. Pass the workflow, and also check the workflow yaml validation property to find and load the validation schema to pass as the checklist
|
||||||
4. The workflow should try to identify the file to validate based on checklist context or else you will ask the user to specify
|
4. The workflow should try to identify the file to validate based on checklist context or else ask the user to specify using the AskUserQuestion tool when interaction_style is "structured"
|
||||||
</handler>
|
</handler>
|
||||||
|
|
@ -7,4 +7,5 @@
|
||||||
4. Follow workflow.xml instructions precisely following all steps
|
4. Follow workflow.xml instructions precisely following all steps
|
||||||
5. Save outputs after completing EACH workflow step (never batch multiple steps together)
|
5. Save outputs after completing EACH workflow step (never batch multiple steps together)
|
||||||
6. If workflow.yaml path is "todo", inform user the workflow hasn't been implemented yet
|
6. If workflow.yaml path is "todo", inform user the workflow hasn't been implemented yet
|
||||||
|
7. RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", ALL questions to the user MUST use the AskUserQuestion tool. No plain text prompts. If you cannot determine {interaction_style}, default to open mode.
|
||||||
</handler>
|
</handler>
|
||||||
|
|
@ -416,6 +416,7 @@ class CodexSetup extends BaseIdeSetup {
|
||||||
const skillContent =
|
const skillContent =
|
||||||
`---\n${fm}\n---\n` +
|
`---\n${fm}\n---\n` +
|
||||||
"\nYou must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.\n" +
|
"\nYou must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.\n" +
|
||||||
|
'\nRULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `ask_user_question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.\n' +
|
||||||
'\n<agent-activation CRITICAL="TRUE">\n' +
|
'\n<agent-activation CRITICAL="TRUE">\n' +
|
||||||
`1. LOAD the FULL agent file from @${agentPath}\n` +
|
`1. LOAD the FULL agent file from @${agentPath}\n` +
|
||||||
'2. READ its entire contents - this contains the complete agent persona, menu, and instructions\n' +
|
'2. READ its entire contents - this contains the complete agent persona, menu, and instructions\n' +
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ platforms:
|
||||||
description: "Anthropic's official CLI for Claude"
|
description: "Anthropic's official CLI for Claude"
|
||||||
installer:
|
installer:
|
||||||
target_dir: .claude/commands
|
target_dir: .claude/commands
|
||||||
template_type: default
|
template_type: claude
|
||||||
ancestor_conflict_check: true
|
ancestor_conflict_check: true
|
||||||
|
|
||||||
cline:
|
cline:
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ description: '{{description}}'
|
||||||
|
|
||||||
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
<agent-activation CRITICAL="TRUE">
|
<agent-activation CRITICAL="TRUE">
|
||||||
1. LOAD the FULL agent file from {project-root}/_bmad/{{module}}/agents/{{path}}
|
1. LOAD the FULL agent file from {project-root}/_bmad/{{module}}/agents/{{path}}
|
||||||
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@ name: '{{name}}'
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
Read the entire workflow file at: {project-root}/_bmad/{{workflow_path}}
|
Read the entire workflow file at: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
||||||
|
|
||||||
Follow all instructions in the workflow file exactly as written.
|
Follow all instructions in the workflow file exactly as written.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
default-agent.md
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
name: '{{name}}'
|
||||||
|
description: '{{description}}'
|
||||||
|
---
|
||||||
|
|
||||||
|
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
|
<agent-activation CRITICAL="TRUE">
|
||||||
|
1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
||||||
|
3. FOLLOW every step in the <activation> section precisely
|
||||||
|
4. DISPLAY the welcome/greeting as instructed
|
||||||
|
5. PRESENT the numbered menu
|
||||||
|
6. WAIT for user input before proceeding
|
||||||
|
</agent-activation>
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
name: '{{name}}'
|
||||||
|
description: '{{description}}'
|
||||||
|
---
|
||||||
|
|
||||||
|
# {{name}}
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
|
Read the entire task file at: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
||||||
|
Follow all instructions in the task file exactly as written.
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
name: '{{name}}'
|
||||||
|
description: '{{description}}'
|
||||||
|
---
|
||||||
|
|
||||||
|
# {{name}}
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
|
Read the entire tool file at: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
||||||
|
Follow all instructions in the tool file exactly as written.
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
default-workflow-yaml.md
|
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
name: '{{name}}'
|
||||||
|
description: '{{description}}'
|
||||||
|
---
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
|
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
||||||
|
|
||||||
|
<steps CRITICAL="TRUE">
|
||||||
|
1. Always LOAD the FULL {project-root}/{{bmadFolderName}}/core/tasks/workflow.xml
|
||||||
|
2. READ its entire contents - this is the CORE OS for EXECUTING the specific workflow-config {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
3. Pass the yaml path {project-root}/{{bmadFolderName}}/{{path}} as 'workflow-config' parameter to the workflow.xml instructions
|
||||||
|
4. Follow workflow.xml instructions EXACTLY as written to process and follow the specific workflow config and its instructions
|
||||||
|
5. Save outputs after EACH section when generating any documents from templates
|
||||||
|
</steps>
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
default-workflow.md
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
name: '{{name}}'
|
||||||
|
description: '{{description}}'
|
||||||
|
---
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
|
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL {project-root}/{{bmadFolderName}}/{{path}}, READ its entire contents and follow its directions exactly!
|
||||||
|
|
@ -5,8 +5,10 @@ description: '{{description}}'
|
||||||
|
|
||||||
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
<agent-activation CRITICAL="TRUE">
|
<agent-activation CRITICAL="TRUE">
|
||||||
1. LOAD the FULL agent file from {project-root}/_bmad/{{path}}
|
1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
||||||
3. FOLLOW every step in the <activation> section precisely
|
3. FOLLOW every step in the <activation> section precisely
|
||||||
4. DISPLAY the welcome/greeting as instructed
|
4. DISPLAY the welcome/greeting as instructed
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ description: '{{description}}'
|
||||||
|
|
||||||
# {{name}}
|
# {{name}}
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
Read the entire task file at: {project-root}/{{bmadFolderName}}/{{path}}
|
Read the entire task file at: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
||||||
Follow all instructions in the task file exactly as written.
|
Follow all instructions in the task file exactly as written.
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ description: '{{description}}'
|
||||||
|
|
||||||
# {{name}}
|
# {{name}}
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
Read the entire tool file at: {project-root}/{{bmadFolderName}}/{{path}}
|
Read the entire tool file at: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
||||||
Follow all instructions in the tool file exactly as written.
|
Follow all instructions in the tool file exactly as written.
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@ name: '{{name}}'
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
||||||
|
|
||||||
<steps CRITICAL="TRUE">
|
<steps CRITICAL="TRUE">
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,6 @@ name: '{{name}}'
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL {project-root}/{{bmadFolderName}}/{{path}}, READ its entire contents and follow its directions exactly!
|
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL {project-root}/{{bmadFolderName}}/{{path}}, READ its entire contents and follow its directions exactly!
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,9 @@ 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 {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}}.
|
2. [ ] IMMEDIATE ACTION: Read and internalize the full agent definition at {project-root}/{{bmadFolderName}}/{{path}}.
|
||||||
3. [ ] CONFIRM: The user's name from config is {user_name}.
|
3. [ ] CONFIRM: The user's name from config is {user_name}.
|
||||||
|
4. [ ] CONFIRM: interaction_style is set to "{interaction_style}".
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
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.
|
||||||
|
|
|
||||||
|
|
@ -7,5 +7,7 @@ TASK INSTRUCTIONS:
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every instruction precisely as specified
|
3. FOLLOW every instruction precisely as specified
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
TASK FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
TASK FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -7,5 +7,7 @@ TOOL INSTRUCTIONS:
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every instruction precisely as specified
|
3. FOLLOW every instruction precisely as specified
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,7 @@ 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
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,7 @@ WORKFLOW INSTRUCTIONS:
|
||||||
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
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@ inclusion: manual
|
||||||
|
|
||||||
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
<agent-activation CRITICAL="TRUE">
|
<agent-activation CRITICAL="TRUE">
|
||||||
1. LOAD the FULL agent file from #[[file:{{bmadFolderName}}/{{path}}]]
|
1. LOAD the FULL agent file from #[[file:{{bmadFolderName}}/{{path}}]]
|
||||||
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
||||||
|
|
|
||||||
|
|
@ -7,3 +7,5 @@ inclusion: manual
|
||||||
Read the entire task file at: #[[file:{{bmadFolderName}}/{{path}}]]
|
Read the entire task file at: #[[file:{{bmadFolderName}}/{{path}}]]
|
||||||
|
|
||||||
Follow all instructions in the task file exactly as written.
|
Follow all instructions in the task file exactly as written.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
|
||||||
|
|
@ -7,3 +7,5 @@ inclusion: manual
|
||||||
Read the entire tool file at: #[[file:{{bmadFolderName}}/{{path}}]]
|
Read the entire tool file at: #[[file:{{bmadFolderName}}/{{path}}]]
|
||||||
|
|
||||||
Follow all instructions in the tool file exactly as written.
|
Follow all instructions in the tool file exactly as written.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ inclusion: manual
|
||||||
|
|
||||||
# {{name}}
|
# {{name}}
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
||||||
|
|
||||||
<steps CRITICAL="TRUE">
|
<steps CRITICAL="TRUE">
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,6 @@ inclusion: manual
|
||||||
|
|
||||||
# {{name}}
|
# {{name}}
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL #[[file:{{bmadFolderName}}/{{path}}]], READ its entire contents and follow its directions exactly!
|
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL #[[file:{{bmadFolderName}}/{{path}}]], READ its entire contents and follow its directions exactly!
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ description: '{{description}}'
|
||||||
|
|
||||||
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
<agent-activation CRITICAL="TRUE">
|
<agent-activation CRITICAL="TRUE">
|
||||||
1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}}
|
1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,6 @@ TASK INSTRUCTIONS:
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every instruction precisely as specified
|
3. FOLLOW every instruction precisely as specified
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
TASK FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
TASK FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,6 @@ TOOL INSTRUCTIONS:
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every instruction precisely as specified
|
3. FOLLOW every instruction precisely as specified
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -13,4 +13,6 @@ WORKFLOW INSTRUCTIONS:
|
||||||
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
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -13,4 +13,6 @@ WORKFLOW INSTRUCTIONS:
|
||||||
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
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Read the entire workflow file at: {project-root}/_bmad/{{workflow_path}}
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
|
Read the entire workflow file at: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
||||||
|
|
||||||
Follow all instructions in the workflow file exactly as written.
|
Follow all instructions in the workflow file exactly as written.
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
|
|
||||||
Read the entire workflow file at: {project-root}/_bmad/{{workflow_path}}
|
Read the entire workflow file at: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
||||||
|
|
||||||
Follow all instructions in the workflow file exactly as written.
|
Follow all instructions in the workflow file exactly as written.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ auto_execution_mode: "iterate"
|
||||||
|
|
||||||
# {{name}}
|
# {{name}}
|
||||||
|
|
||||||
Read the entire workflow file at {project-root}/_bmad/{{workflow_path}}
|
Read the entire workflow file at {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
||||||
|
|
||||||
Follow all instructions in the workflow file exactly as written.
|
Follow all instructions in the workflow file exactly as written.
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
||||||
|
|
||||||
<steps CRITICAL="TRUE">
|
<steps CRITICAL="TRUE">
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,6 @@
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to open mode.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL {project-root}/{{workflow_path}}, READ its entire contents and follow its directions exactly!
|
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL {project-root}/{{workflow_path}}, READ its entire contents and follow its directions exactly!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue