bmad-method 6.0.0-alpha.10 → 6.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +215 -1109
- package/README.md +129 -359
- package/docs/custom-agent-installation.md +169 -0
- package/{v6-open-items.md → docs/v6-open-items.md} +1 -1
- package/package.json +2 -1
- package/src/core/resources/excalidraw/README.md +160 -0
- package/src/core/resources/excalidraw/library-loader.md +50 -0
- package/src/modules/bmb/docs/agent-compilation.md +340 -0
- package/src/modules/bmb/docs/agent-menu-patterns.md +524 -0
- package/src/modules/bmb/docs/expert-agent-architecture.md +364 -0
- package/src/modules/bmb/docs/index.md +55 -0
- package/src/modules/bmb/docs/module-agent-architecture.md +367 -0
- package/src/modules/bmb/docs/simple-agent-architecture.md +288 -0
- package/src/modules/bmb/docs/understanding-agent-types.md +184 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +242 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
- package/src/modules/bmb/reference/agents/module-examples/README.md +50 -0
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
- package/src/modules/bmb/reference/agents/simple-examples/README.md +223 -0
- package/src/modules/bmb/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
- package/src/modules/bmb/reference/readme.md +3 -0
- package/src/modules/bmb/workflows/create-agent/agent-validation-checklist.md +174 -0
- package/src/modules/bmb/workflows/create-agent/brainstorm-context.md +99 -120
- package/src/modules/bmb/workflows/create-agent/communication-presets.csv +61 -0
- package/src/modules/bmb/workflows/create-agent/instructions.md +126 -65
- package/src/modules/bmb/workflows/create-agent/workflow.yaml +19 -12
- package/src/modules/bmb/workflows/edit-agent/README.md +174 -47
- package/src/modules/bmb/workflows/edit-agent/instructions.md +397 -33
- package/src/modules/bmb/workflows/edit-agent/workflow.yaml +24 -8
- package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +1 -1
- package/src/modules/bmm/agents/analyst.agent.yaml +2 -2
- package/src/modules/bmm/agents/architect.agent.yaml +10 -2
- package/src/modules/bmm/agents/dev.agent.yaml +2 -2
- package/src/modules/bmm/agents/pm.agent.yaml +7 -3
- package/src/modules/bmm/agents/sm.agent.yaml +2 -2
- package/src/modules/bmm/agents/tea.agent.yaml +2 -2
- package/src/modules/bmm/agents/tech-writer.agent.yaml +15 -3
- package/src/modules/bmm/agents/ux-designer.agent.yaml +6 -2
- package/src/modules/bmm/docs/README.md +4 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +5919 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +2 -0
- package/src/modules/bmm/docs/quick-start.md +6 -0
- package/src/modules/bmm/docs/scale-adaptive-system.md +6 -0
- package/src/modules/bmm/docs/workflows-implementation.md +10 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +4 -4
- package/src/modules/bmm/workflows/{2-plan-workflows → 3-solutioning}/create-epics-and-stories/workflow.yaml +5 -5
- package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +1 -1
- package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-dataflow/instructions.md +7 -8
- package/src/modules/bmm/workflows/diagrams/create-dataflow/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-diagram/instructions.md +9 -10
- package/src/modules/bmm/workflows/diagrams/create-diagram/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-flowchart/instructions.md +4 -5
- package/src/modules/bmm/workflows/diagrams/create-flowchart/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-wireframe/instructions.md +3 -3
- package/src/modules/bmm/workflows/diagrams/create-wireframe/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +18 -30
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +2 -14
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +2 -14
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +2 -14
- package/src/modules/cis/agents/presentation-master.agent.yaml +60 -0
- package/tools/cli/commands/agent-install.js +409 -0
- package/tools/cli/installers/lib/core/installer.js +119 -0
- package/tools/cli/installers/lib/ide/_base-ide.js +25 -0
- package/tools/cli/installers/lib/ide/antigravity.js +463 -0
- package/tools/cli/installers/lib/ide/claude-code.js +43 -0
- package/tools/cli/installers/lib/ide/codex.js +217 -32
- package/tools/cli/installers/lib/ide/cursor.js +48 -0
- package/tools/cli/installers/lib/ide/github-copilot.js +74 -0
- package/tools/cli/installers/lib/ide/manager.js +35 -0
- package/tools/cli/installers/lib/ide/opencode.js +45 -0
- package/tools/cli/installers/lib/ide/windsurf.js +47 -0
- package/tools/cli/lib/agent/compiler.js +390 -0
- package/tools/cli/lib/agent/installer.js +725 -0
- package/tools/cli/lib/agent/template-engine.js +152 -0
- package/docs/installers-bundlers/web-bundler-usage.md +0 -54
- package/src/modules/bmb/workflows/create-agent/README.md +0 -203
- package/src/modules/bmb/workflows/create-agent/agent-architecture.md +0 -415
- package/src/modules/bmb/workflows/create-agent/agent-command-patterns.md +0 -759
- package/src/modules/bmb/workflows/create-agent/agent-types.md +0 -292
- package/src/modules/bmb/workflows/create-agent/checklist.md +0 -62
- package/src/modules/bmb/workflows/create-agent/communication-styles.md +0 -202
- package/src/modules/bmb/workflows/edit-agent/checklist.md +0 -112
- package/src/modules/bmb/workflows/redoc/README.md +0 -87
- package/src/modules/bmb/workflows/redoc/checklist.md +0 -99
- package/src/modules/bmb/workflows/redoc/instructions.md +0 -265
- package/src/modules/bmb/workflows/redoc/workflow.yaml +0 -34
- package/src/modules/bmm/agents/frame-expert.agent.yaml +0 -42
- package/src/modules/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -24
- package/src/modules/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -25
- package/src/modules/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -28
- package/src/modules/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -24
- package/src/modules/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
- /package/src/{modules/bmm/workflows/frame-expert/_shared → core/resources/excalidraw}/excalidraw-helpers.md +0 -0
- /package/src/{modules/bmm/workflows/frame-expert/_shared → core/resources/excalidraw}/validate-json-instructions.md +0 -0
- /package/src/modules/bmm/workflows/{2-plan-workflows → 3-solutioning}/create-epics-and-stories/epics-template.md +0 -0
- /package/src/modules/bmm/workflows/{2-plan-workflows → 3-solutioning}/create-epics-and-stories/instructions.md +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/_shared/excalidraw-library.json +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/_shared/excalidraw-templates.yaml +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-dataflow/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-diagram/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-flowchart/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-wireframe/checklist.md +0 -0
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
<critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
|
|
4
4
|
<critical>You MUST have already loaded and processed: {project-root}/{bmad_folder}/bmb/workflows/create-agent/workflow.yaml</critical>
|
|
5
|
-
<critical>
|
|
6
|
-
<critical>Reference activation conventions from: {agent_activation_rules}</critical>
|
|
5
|
+
<critical>Reference examples by type: Simple: {simple_agent_examples} | Expert: {expert_agent_examples} | Module: {module_agent_examples}</critical>
|
|
7
6
|
<critical>Communicate in {communication_language} throughout the agent creation process</critical>
|
|
8
7
|
<critical>⚠️ ABSOLUTELY NO TIME ESTIMATES - NEVER mention hours, days, weeks, months, or ANY time-based predictions. AI has fundamentally changed development speed - what once took teams weeks/months can now be done by one person in hours. DO NOT give ANY time estimates whatsoever.</critical>
|
|
9
8
|
|
|
10
9
|
<workflow>
|
|
11
10
|
|
|
12
|
-
<step n="
|
|
11
|
+
<step n="1" goal="Optional brainstorming for agent ideas">
|
|
13
12
|
<ask>Do you want to brainstorm agent ideas first? [y/n]</ask>
|
|
14
13
|
|
|
15
14
|
<check if="user answered yes">
|
|
@@ -20,61 +19,111 @@
|
|
|
20
19
|
</check>
|
|
21
20
|
|
|
22
21
|
<check if="user answered no">
|
|
23
|
-
<action>Proceed directly to Step
|
|
22
|
+
<action>Proceed directly to Step 2</action>
|
|
24
23
|
</check>
|
|
25
24
|
</step>
|
|
26
25
|
|
|
27
|
-
<step n="
|
|
26
|
+
<step n="2" goal="Load technical documentation">
|
|
28
27
|
<critical>Load and understand the agent building documentation</critical>
|
|
29
|
-
<action>Load
|
|
30
|
-
<action>Load
|
|
31
|
-
<action>
|
|
32
|
-
<action>Understand the YAML agent schema and how it compiles to final .md via the installer</action>
|
|
33
|
-
<action>Understand the differences between Simple, Expert, and Module agents</action>
|
|
28
|
+
<action>CRITICAL: Load compilation guide FIRST: {agent_compilation} - this shows what the compiler AUTO-INJECTS so you don't duplicate it</action>
|
|
29
|
+
<action>Load menu patterns guide: {agent_menu_patterns}</action>
|
|
30
|
+
<action>Understand: You provide persona, prompts, menu. Compiler adds activation, handlers, rules, help/exit.</action>
|
|
34
31
|
</step>
|
|
35
32
|
|
|
36
|
-
<step n="
|
|
37
|
-
<action>If brainstorming was completed in Step
|
|
33
|
+
<step n="3" goal="Discover the agent's purpose and type through natural conversation">
|
|
34
|
+
<action>If brainstorming was completed in Step 1, reference those results to guide the conversation</action>
|
|
38
35
|
|
|
39
36
|
<action>Guide user to articulate their agent's core purpose, exploring the problems it will solve, tasks it will handle, target users, and what makes it special</action>
|
|
40
37
|
|
|
41
|
-
<action>As the purpose becomes clear, analyze the conversation to determine the appropriate agent type
|
|
38
|
+
<action>As the purpose becomes clear, analyze the conversation to determine the appropriate agent type</action>
|
|
42
39
|
|
|
43
|
-
**Agent
|
|
40
|
+
**CRITICAL:** Agent types differ in **architecture and integration**, NOT capabilities. ALL types can write files, execute commands, and use system resources.
|
|
44
41
|
|
|
45
|
-
|
|
46
|
-
- Expert Agent: Domain-specific with knowledge base needs
|
|
47
|
-
- Module Agent: Complex with multiple workflows and system integration
|
|
42
|
+
**Agent Type Decision Framework:**
|
|
48
43
|
|
|
49
|
-
|
|
44
|
+
- **Simple Agent** - Self-contained (all in YAML), stateless, no persistent memory
|
|
45
|
+
- Choose when: Single-purpose utility, each run independent, logic fits in YAML
|
|
46
|
+
- CAN write to {output_folder}, update files, execute commands
|
|
47
|
+
|
|
48
|
+
- **Expert Agent** - Personal sidecar files, persistent memory, domain-restricted
|
|
49
|
+
- Choose when: Needs to remember across sessions, personal knowledge base, learning over time
|
|
50
|
+
- CAN have personal workflows in sidecar if critical_actions loads workflow engine
|
|
51
|
+
|
|
52
|
+
- **Module Agent** - Workflow orchestration, team integration, shared infrastructure
|
|
53
|
+
- Choose when: Coordinates workflows, works with other agents, professional operations
|
|
54
|
+
- CAN invoke module workflows and coordinate with team agents
|
|
55
|
+
|
|
56
|
+
**Reference:** See {project-root}/{bmad_folder}/bmb/docs/understanding-agent-types.md for "The Same Agent, Three Ways" example.
|
|
57
|
+
|
|
58
|
+
<action>Present your recommendation naturally, explaining why the agent type fits their **architecture needs** (state/integration), not capability limits</action>
|
|
59
|
+
|
|
60
|
+
<action>Load ONLY the appropriate architecture documentation based on selected type:
|
|
61
|
+
|
|
62
|
+
- Simple Agent → Load {simple_agent_architecture}
|
|
63
|
+
- Expert Agent → Load {expert_agent_architecture}
|
|
64
|
+
- Module Agent → Load {module_agent_architecture}
|
|
65
|
+
|
|
66
|
+
Study the loaded architecture doc thoroughly to understand YAML structure, compilation process, and best practices specific to this agent type.
|
|
67
|
+
</action>
|
|
50
68
|
|
|
51
69
|
**Path Determination:**
|
|
52
70
|
|
|
53
71
|
<check if="module agent selected">
|
|
54
|
-
<
|
|
72
|
+
<ask>CRITICAL: Find out from the user what module and the path to the module this agent will be added to!</ask>
|
|
55
73
|
<action>Store as {{target_module}} for path determination</action>
|
|
56
|
-
<note>Agent will be saved to: {
|
|
74
|
+
<note>Agent will be saved to: {module_output_file}</note>
|
|
57
75
|
</check>
|
|
58
76
|
|
|
59
77
|
<check if="standalone agent selected">
|
|
60
78
|
<action>Explain this will be their personal agent, not tied to a module</action>
|
|
61
|
-
<note>Agent will be saved to: {
|
|
62
|
-
<note>All sidecar files will be in the same folder</note>
|
|
79
|
+
<note>Agent will be saved to: {standalone_output_file}</note>
|
|
80
|
+
<note>All sidecar files will be in the same folder as the agent</note>
|
|
63
81
|
</check>
|
|
64
82
|
|
|
65
|
-
<critical>Determine agent location:</critical>
|
|
83
|
+
<critical>Determine agent location using workflow variables:</critical>
|
|
66
84
|
|
|
67
|
-
- Module Agent → {
|
|
68
|
-
- Standalone Agent → {
|
|
85
|
+
- Module Agent → {module_output_file}
|
|
86
|
+
- Standalone Agent → {standalone_output_file}
|
|
69
87
|
|
|
70
88
|
<note>Keep agent naming/identity details for later - let them emerge naturally through the creation process</note>
|
|
71
89
|
|
|
72
90
|
<template-output>agent_purpose_and_type</template-output>
|
|
73
91
|
</step>
|
|
74
92
|
|
|
75
|
-
<step n="
|
|
93
|
+
<step n="4" goal="Shape the agent's personality through discovery">
|
|
76
94
|
<action>If brainstorming was completed, weave personality insights naturally into the conversation</action>
|
|
77
95
|
|
|
96
|
+
<critical>Understanding the Four Persona Fields - How the Compiled Agent LLM Interprets Them</critical>
|
|
97
|
+
|
|
98
|
+
When the agent is compiled and activated, the LLM reads these fields to understand its persona. Each field serves a DISTINCT purpose:
|
|
99
|
+
|
|
100
|
+
**Role** → WHAT the agent does
|
|
101
|
+
|
|
102
|
+
- LLM interprets: "What knowledge, skills, and capabilities do I possess?"
|
|
103
|
+
- Example: "Strategic Business Analyst + Requirements Expert"
|
|
104
|
+
- Example: "Commit Message Artisan"
|
|
105
|
+
|
|
106
|
+
**Identity** → WHO the agent is
|
|
107
|
+
|
|
108
|
+
- LLM interprets: "What background, experience, and context shape my responses?"
|
|
109
|
+
- Example: "Senior analyst with 8+ years connecting market insights to strategy..."
|
|
110
|
+
- Example: "I understand commit messages are documentation for future developers..."
|
|
111
|
+
|
|
112
|
+
**Communication_Style** → HOW the agent talks
|
|
113
|
+
|
|
114
|
+
- LLM interprets: "What verbal patterns, word choice, quirks, and phrasing do I use?"
|
|
115
|
+
- Example: "Talks like a pulp super hero with dramatic flair and heroic language"
|
|
116
|
+
- Example: "Systematic and probing. Structures findings hierarchically."
|
|
117
|
+
- Example: "Poetic drama and flair with every turn of a phrase."
|
|
118
|
+
|
|
119
|
+
**Principles** → WHAT GUIDES the agent's decisions
|
|
120
|
+
|
|
121
|
+
- LLM interprets: "What beliefs and operating philosophy drive my choices and recommendations?"
|
|
122
|
+
- Example: "Every business challenge has root causes. Ground findings in evidence."
|
|
123
|
+
- Example: "Every commit tells a story - capture the why, not just the what."
|
|
124
|
+
|
|
125
|
+
<critical>DO NOT MIX THESE FIELDS! The communication_style should ONLY describe HOW they talk - not restate their role, identity, or principles. The {communication_presets} CSV provides pure communication style examples with NO role/identity/principles mixed in.</critical>
|
|
126
|
+
|
|
78
127
|
<action>Guide user to envision the agent's personality by exploring how analytical vs creative, formal vs casual, and mentor vs peer vs assistant traits would make it excel at its job</action>
|
|
79
128
|
|
|
80
129
|
**Role Development:**
|
|
@@ -86,51 +135,63 @@
|
|
|
86
135
|
<example>Example emerged identity: "Senior analyst with deep expertise in market research..."</example>
|
|
87
136
|
|
|
88
137
|
**Communication Style Selection:**
|
|
89
|
-
<action>
|
|
90
|
-
|
|
91
|
-
|
|
138
|
+
<action>Present the 13 available categories to user:
|
|
139
|
+
|
|
140
|
+
- adventurous (pulp-superhero, film-noir, pirate-captain, etc.)
|
|
141
|
+
- analytical (data-scientist, forensic-investigator, strategic-planner)
|
|
142
|
+
- creative (mad-scientist, artist-visionary, jazz-improviser)
|
|
143
|
+
- devoted (overprotective-guardian, adoring-superfan, loyal-companion)
|
|
144
|
+
- dramatic (shakespearean, soap-opera, opera-singer)
|
|
145
|
+
- educational (patient-teacher, socratic-guide, sports-coach)
|
|
146
|
+
- entertaining (game-show-host, stand-up-comedian, improv-performer)
|
|
147
|
+
- inspirational (life-coach, mountain-guide, phoenix-rising)
|
|
148
|
+
- mystical (zen-master, tarot-reader, yoda-sage, oracle)
|
|
149
|
+
- professional (executive-consultant, supportive-mentor, direct-consultant)
|
|
150
|
+
- quirky (cooking-chef, nature-documentary, conspiracy-theorist)
|
|
151
|
+
- retro (80s-action-hero, 1950s-announcer, disco-era)
|
|
152
|
+
- warm (southern-hospitality, italian-grandmother, camp-counselor)
|
|
153
|
+
</action>
|
|
92
154
|
|
|
93
|
-
|
|
155
|
+
<action>Once user picks category interest, load ONLY that category from {communication_presets}</action>
|
|
94
156
|
|
|
95
|
-
|
|
157
|
+
<action>Present the presets in that category with name, style_text, and sample from CSV. The style_text is the actual concise communication_style value to use in the YAML field</action>
|
|
96
158
|
|
|
97
|
-
|
|
98
|
-
2. Film Noir Detective - Mysterious, noir dialogue, hunches
|
|
99
|
-
3. Wild West Sheriff - Western drawl, partner talk, frontier justice
|
|
100
|
-
4. Shakespearean Scholar - Elizabethan language, theatrical
|
|
101
|
-
5. 80s Action Hero - One-liners, macho, bubblegum
|
|
102
|
-
6. Pirate Captain - Ahoy, treasure hunting, nautical terms
|
|
103
|
-
7. Wise Sage/Yoda - Cryptic wisdom, inverted syntax
|
|
104
|
-
8. Game Show Host - Enthusiastic, game show tropes
|
|
159
|
+
<action>When user selects a preset, use the style_text directly as their communication_style (e.g., "Talks like a pulp super hero with dramatic flair")</action>
|
|
105
160
|
|
|
106
|
-
|
|
161
|
+
<critical>KEEP COMMUNICATION_STYLE CONCISE - 1-2 sentences MAX describing ONLY how they talk.
|
|
107
162
|
|
|
108
|
-
|
|
109
|
-
10. Supportive Mentor - Patient guidance, celebrates wins
|
|
110
|
-
11. Direct Consultant - Straight to the point, efficient
|
|
111
|
-
12. Collaborative Partner - Team-oriented, inclusive
|
|
163
|
+
The {communication_presets} CSV shows PURE communication styles - notice they contain NO role, identity, or principles:
|
|
112
164
|
|
|
113
|
-
|
|
165
|
+
- "Talks like a pulp super hero with dramatic flair and heroic language" ← Pure verbal style
|
|
166
|
+
- "Evidence-based systematic approach. Patterns and correlations." ← Pure verbal style
|
|
167
|
+
- "Poetic drama and flair with every turn of a phrase." ← Pure verbal style
|
|
168
|
+
- "Straight-to-the-point efficient delivery. No fluff." ← Pure verbal style
|
|
114
169
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
15. Nature Documentarian - Wildlife documentary style
|
|
118
|
-
16. Time Traveler - Temporal references, timeline talk
|
|
119
|
-
17. Conspiracy Theorist - Everything is connected
|
|
120
|
-
18. Zen Master - Philosophical, paradoxical
|
|
121
|
-
19. Star Trek Captain - Space exploration protocols
|
|
122
|
-
20. Soap Opera Drama - Dramatic reveals, gasps
|
|
123
|
-
21. Reality TV Contestant - Confessionals, drama
|
|
170
|
+
NEVER write: "Experienced analyst who uses systematic approaches..." ← That's mixing identity + style!
|
|
171
|
+
DO write: "Systematic and probing. Structures findings hierarchically." ← Pure style!</critical>
|
|
124
172
|
|
|
125
|
-
<action>
|
|
173
|
+
<action>For custom styles, mix traits from different presets: "Combine 'dramatic_pauses' from pulp-superhero with 'evidence_based' from data-scientist"</action>
|
|
126
174
|
|
|
127
175
|
**Principles Development:**
|
|
128
176
|
<action>Guide user to articulate 5-8 core principles that should guide the agent's decisions, shaping their thoughts into "I believe..." or "I operate..." statements that reveal themselves through the conversation</action>
|
|
129
177
|
|
|
130
|
-
|
|
178
|
+
**Interaction Approach:**
|
|
179
|
+
<ask>How should this agent guide users - with adaptive conversation (intent-based) or structured steps (prescriptive)?</ask>
|
|
180
|
+
|
|
181
|
+
- **Intent-Based (Recommended)** - Agent adapts conversation based on user context, skill level, and needs
|
|
182
|
+
- Example: "Guide user to understand their problem by exploring symptoms, attempts, and desired outcomes"
|
|
183
|
+
- Flexible, conversational, responsive to user's unique situation
|
|
184
|
+
|
|
185
|
+
- **Prescriptive** - Agent follows structured questions with specific options
|
|
186
|
+
- Example: "Ask: 1. What is the issue? [A] Performance [B] Security [C] Usability"
|
|
187
|
+
- Consistent, predictable, clear paths
|
|
188
|
+
|
|
189
|
+
<note>Most agents use intent-based for better UX. This shapes how all prompts and commands will be written.</note>
|
|
190
|
+
|
|
191
|
+
<template-output>agent_persona, interaction_approach</template-output>
|
|
131
192
|
</step>
|
|
132
193
|
|
|
133
|
-
<step n="
|
|
194
|
+
<step n="5" goal="Build capabilities through natural progression">
|
|
134
195
|
<action>Guide user to define what capabilities the agent should have, starting with core commands they've mentioned and then exploring additional possibilities that would complement the agent's purpose</action>
|
|
135
196
|
|
|
136
197
|
<action>As capabilities emerge, subtly guide toward technical implementation without breaking the conversational flow</action>
|
|
@@ -138,7 +199,7 @@
|
|
|
138
199
|
<template-output>initial_capabilities</template-output>
|
|
139
200
|
</step>
|
|
140
201
|
|
|
141
|
-
<step n="
|
|
202
|
+
<step n="6" goal="Refine commands and discover advanced features">
|
|
142
203
|
<critical>Help and Exit are auto-injected; do NOT add them. Triggers are auto-prefixed with * during build.</critical>
|
|
143
204
|
|
|
144
205
|
<action>Transform their natural language capabilities into technical YAML command structure, explaining the implementation approach as you structure each capability into workflows, actions, or prompts</action>
|
|
@@ -212,7 +273,7 @@ This is typically used when creating specialized modules that reuse common workf
|
|
|
212
273
|
<template-output>agent_commands</template-output>
|
|
213
274
|
</step>
|
|
214
275
|
|
|
215
|
-
<step n="
|
|
276
|
+
<step n="7" goal="Name the agent at the perfect moment">
|
|
216
277
|
<action>Guide user to name the agent based on everything discovered so far - its purpose, personality, and capabilities, helping them see how the naming naturally emerges from who this agent is</action>
|
|
217
278
|
|
|
218
279
|
<action>Explore naming options by connecting personality traits, specializations, and communication style to potential names that feel meaningful and appropriate</action>
|
|
@@ -229,7 +290,7 @@ This is typically used when creating specialized modules that reuse common workf
|
|
|
229
290
|
<template-output>agent_identity</template-output>
|
|
230
291
|
</step>
|
|
231
292
|
|
|
232
|
-
<step n="
|
|
293
|
+
<step n="8" goal="Bring it all together">
|
|
233
294
|
<action>Share the journey of what you've created together, summarizing how the agent started with a purpose, discovered its personality traits, gained capabilities, and received its name</action>
|
|
234
295
|
|
|
235
296
|
<action>Generate the complete YAML incorporating all discovered elements:</action>
|
|
@@ -270,7 +331,7 @@ menu: {{The capabilities built}}
|
|
|
270
331
|
<template-output>complete_agent</template-output>
|
|
271
332
|
</step>
|
|
272
333
|
|
|
273
|
-
<step n="
|
|
334
|
+
<step n="9" goal="Optional personalization" optional="true">
|
|
274
335
|
<ask>Would you like to create a customization file? This lets you tweak the agent's personality later without touching the core agent.</ask>
|
|
275
336
|
|
|
276
337
|
<check if="user interested">
|
|
@@ -302,7 +363,7 @@ menu: {{The capabilities built}}
|
|
|
302
363
|
<template-output>agent_config</template-output>
|
|
303
364
|
</step>
|
|
304
365
|
|
|
305
|
-
<step n="
|
|
366
|
+
<step n="10" goal="Set up the agent's workspace" if="agent_type == 'expert'">
|
|
306
367
|
<action>Guide user through setting up the Expert agent's personal workspace, making it feel like preparing an office with notes, research areas, and data folders</action>
|
|
307
368
|
|
|
308
369
|
<action>Determine sidecar location based on whether build tools are available (next to agent YAML) or not (in output folder with clear structure)</action>
|
|
@@ -370,7 +431,7 @@ Add domain-specific resources here.
|
|
|
370
431
|
<template-output>sidecar_resources</template-output>
|
|
371
432
|
</step>
|
|
372
433
|
|
|
373
|
-
<step n="
|
|
434
|
+
<step n="11" goal="Handle build tools availability">
|
|
374
435
|
<action>Check if BMAD build tools are available in this project</action>
|
|
375
436
|
|
|
376
437
|
<check if="BMAD-METHOD project with build tools">
|
|
@@ -396,7 +457,7 @@ Add domain-specific resources here.
|
|
|
396
457
|
<template-output>build_handling</template-output>
|
|
397
458
|
</step>
|
|
398
459
|
|
|
399
|
-
<step n="
|
|
460
|
+
<step n="12" goal="Quality check with personality">
|
|
400
461
|
<action>Run validation conversationally, presenting checks as friendly confirmations while running technical validation behind the scenes</action>
|
|
401
462
|
|
|
402
463
|
**Conversational Checks:**
|
|
@@ -423,7 +484,7 @@ Add domain-specific resources here.
|
|
|
423
484
|
<template-output>validation_results</template-output>
|
|
424
485
|
</step>
|
|
425
486
|
|
|
426
|
-
<step n="
|
|
487
|
+
<step n="13" goal="Celebrate and guide next steps">
|
|
427
488
|
<action>Celebrate the accomplishment, sharing what type of agent was created with its key characteristics and top capabilities</action>
|
|
428
489
|
|
|
429
490
|
<action>Guide user through how to activate the agent:</action>
|
|
@@ -10,20 +10,24 @@ user_name: "{config_source}:user_name"
|
|
|
10
10
|
communication_language: "{config_source}:communication_language"
|
|
11
11
|
|
|
12
12
|
# Technical documentation for agent building
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
agent_compilation: "{project-root}/{bmad_folder}/bmb/docs/agent-compilation.md"
|
|
14
|
+
understanding_agent_types: "{project-root}/{bmad_folder}/bmb/docs/understanding-agent-types.md"
|
|
15
|
+
simple_agent_architecture: "{project-root}/{bmad_folder}/bmb/docs/simple-agent-architecture.md"
|
|
16
|
+
expert_agent_architecture: "{project-root}/{bmad_folder}/bmb/docs/expert-agent-architecture.md"
|
|
17
|
+
module_agent_architecture: "{project-root}/{bmad_folder}/bmb/docs/module-agent-architecture.md"
|
|
18
|
+
agent_menu_patterns: "{project-root}/{bmad_folder}/bmb/docs/agent-menu-patterns.md"
|
|
19
|
+
communication_presets: "{installed_path}/communication-presets.csv"
|
|
17
20
|
|
|
18
|
-
# Reference examples
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
# Reference examples
|
|
22
|
+
simple_agent_examples: "{project-root}/src/modules/bmb/reference/agents/simple-examples/"
|
|
23
|
+
expert_agent_examples: "{project-root}/src/modules/bmb/reference/agents/expert-examples/"
|
|
24
|
+
module_agent_examples: "{project-root}/src/modules/bmb/reference/agents/module-examples/"
|
|
21
25
|
|
|
22
26
|
# Module path and component files
|
|
23
27
|
installed_path: "{project-root}/{bmad_folder}/bmb/workflows/create-agent"
|
|
24
28
|
template: false # This is an interactive workflow - no template needed
|
|
25
29
|
instructions: "{installed_path}/instructions.md"
|
|
26
|
-
validation: "{installed_path}/checklist.md"
|
|
30
|
+
validation: "{installed_path}/agent-validation-checklist.md"
|
|
27
31
|
|
|
28
32
|
# Output configuration - YAML agents compiled to .md at install time
|
|
29
33
|
# Module agents: Save to {bmad_folder}/{{target_module}}/agents/
|
|
@@ -42,7 +46,10 @@ web_bundle:
|
|
|
42
46
|
web_bundle_files:
|
|
43
47
|
- "{bmad_folder}/bmb/workflows/create-agent/instructions.md"
|
|
44
48
|
- "{bmad_folder}/bmb/workflows/create-agent/checklist.md"
|
|
45
|
-
- "{bmad_folder}/bmb/
|
|
46
|
-
- "{bmad_folder}/bmb/
|
|
47
|
-
- "{bmad_folder}/bmb/
|
|
48
|
-
- "{bmad_folder}/bmb/
|
|
49
|
+
- "{bmad_folder}/bmb/docs/agent-compilation.md"
|
|
50
|
+
- "{bmad_folder}/bmb/docs/understanding-agent-types.md"
|
|
51
|
+
- "{bmad_folder}/bmb/docs/simple-agent-architecture.md"
|
|
52
|
+
- "{bmad_folder}/bmb/docs/expert-agent-architecture.md"
|
|
53
|
+
- "{bmad_folder}/bmb/docs/module-agent-architecture.md"
|
|
54
|
+
- "{bmad_folder}/bmb/docs/agent-menu-patterns.md"
|
|
55
|
+
- "{bmad_folder}/bmb/workflows/create-agent/communication-presets.csv"
|