bmad-method 4.26.0 → 4.27.0
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/.vscode/settings.json +2 -0
- package/CHANGELOG.md +15 -0
- package/README.md +29 -282
- package/bmad-core/agents/analyst.md +3 -1
- package/bmad-core/agents/bmad-master.md +5 -1
- package/bmad-core/agents/bmad-orchestrator.md +1 -1
- package/bmad-core/core-config.yaml +1 -1
- package/bmad-core/data/bmad-kb.md +74 -15
- package/bmad-core/data/brainstorming-techniques.md +36 -0
- package/bmad-core/data/elicitation-methods.md +134 -0
- package/bmad-core/tasks/advanced-elicitation.md +82 -57
- package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
- package/bmad-core/templates/architecture-tmpl.md +23 -23
- package/bmad-core/templates/brainstorming-output-tmpl.md +149 -0
- package/bmad-core/templates/prd-tmpl.md +6 -6
- package/bmad-core/templates/prd-tmpl2.yaml +202 -0
- package/bmad-core/utils/plan-management.md +9 -13
- package/bmad-core/workflows/greenfield-service.yaml +1 -1
- package/common/tasks/create-doc.md +4 -4
- package/common/tasks/create-doc2.md +65 -0
- package/common/utils/bmad-doc-template.md +296 -0
- package/dist/agents/analyst.txt +481 -305
- package/dist/agents/architect.txt +60 -59
- package/dist/agents/bmad-master.txt +694 -399
- package/dist/agents/bmad-orchestrator.txt +197 -116
- package/dist/agents/dev.txt +18 -17
- package/dist/agents/pm.txt +47 -46
- package/dist/agents/po.txt +31 -30
- package/dist/agents/qa.txt +15 -14
- package/dist/agents/sm.txt +23 -22
- package/dist/agents/ux-expert.txt +29 -28
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +33 -32
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +19 -18
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +21 -20
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +385 -297
- package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +103 -77
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +29 -28
- package/dist/teams/team-all.txt +610 -438
- package/dist/teams/team-fullstack.txt +597 -425
- package/dist/teams/team-ide-minimal.txt +238 -157
- package/dist/teams/team-no-ui.txt +583 -411
- package/docs/agentic-tools/github-copilot-guide.md +29 -9
- package/docs/bmad-workflow-guide.md +2 -2
- package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +2 -2
- package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
- package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
- package/package.json +1 -1
- package/tools/builders/web-builder.js +117 -22
- package/tools/installer/config/install.config.yaml +2 -2
- package/tools/installer/lib/ide-setup.js +2 -2
- package/tools/installer/package.json +1 -1
- package/tools/lib/dependency-resolver.js +3 -3
- package/tools/md-assets/web-agent-startup-instructions.md +10 -10
- package/bmad-core/tasks/brainstorming-techniques.md +0 -238
|
@@ -8,14 +8,14 @@ You are now operating as a specialized AI agent from the BMad-Method framework.
|
|
|
8
8
|
|
|
9
9
|
2. **Resource Navigation**: This bundle contains all resources you need. Resources are marked with tags like:
|
|
10
10
|
|
|
11
|
-
- `==================== START: folder
|
|
12
|
-
- `==================== END: folder
|
|
11
|
+
- `==================== START: .bmad-core/folder/filename.md ====================`
|
|
12
|
+
- `==================== END: .bmad-core/folder/filename.md ====================`
|
|
13
13
|
|
|
14
14
|
When you need to reference a resource mentioned in your instructions:
|
|
15
15
|
|
|
16
16
|
- Look for the corresponding START/END tags
|
|
17
|
-
- The format is always
|
|
18
|
-
- If a section is specified (e.g., `tasks
|
|
17
|
+
- The format is always the full path with dot prefix (e.g., `.bmad-core/personas/analyst.md`, `.bmad-core/tasks/create-story.md`)
|
|
18
|
+
- If a section is specified (e.g., `{root}/tasks/create-story.md#section-name`), navigate to that section within the file
|
|
19
19
|
|
|
20
20
|
**Understanding YAML References**: In the agent configuration, resources are referenced in the dependencies section. For example:
|
|
21
21
|
|
|
@@ -29,8 +29,8 @@ dependencies:
|
|
|
29
29
|
|
|
30
30
|
These references map directly to bundle sections:
|
|
31
31
|
|
|
32
|
-
- `utils: template-format` → Look for `==================== START: utils
|
|
33
|
-
- `tasks: create-story` → Look for `==================== START: tasks
|
|
32
|
+
- `utils: template-format` → Look for `==================== START: .bmad-core/utils/template-format.md ====================`
|
|
33
|
+
- `tasks: create-story` → Look for `==================== START: .bmad-core/tasks/create-story.md ====================`
|
|
34
34
|
|
|
35
35
|
3. **Execution Context**: You are operating in a web environment. All your capabilities and knowledge are contained within this bundle. Work within these constraints to provide the best possible assistance.
|
|
36
36
|
|
|
@@ -38,7 +38,8 @@ These references map directly to bundle sections:
|
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
|
|
42
|
+
==================== START: .bmad-core/agents/bmad-master.md ====================
|
|
42
43
|
# bmad-master
|
|
43
44
|
|
|
44
45
|
CRITICAL: Read the full YAML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
|
|
@@ -75,6 +76,7 @@ commands:
|
|
|
75
76
|
- task {task}: Execute task, if not found or none specified, ONLY list available dependencies/tasks listed below
|
|
76
77
|
- list {task|template|util|checklist|workflow}: List resources by type ONLY from the corresponding dependencies sub item below
|
|
77
78
|
- create-doc {template}: execute task create-doc (no template = ONLY show available templates listed under dependencies/templates below)
|
|
79
|
+
- create-prd-alpha: Execute task create-doc2 with .bmad-core/templates/prd-tmpl2.yaml (EXPERIMENTAL)
|
|
78
80
|
- execute-checklist {checklist}: Run task execute-checklist (no checklist = ONLY show available checklists listed under dependencies/checklist below)
|
|
79
81
|
- shard-doc {document} {destination}: run the task shard-doc against the optionally provided document to the specified destination
|
|
80
82
|
- plan: Execute the task Create workflow plan
|
|
@@ -96,12 +98,13 @@ execution:
|
|
|
96
98
|
dependencies:
|
|
97
99
|
tasks:
|
|
98
100
|
- advanced-elicitation
|
|
99
|
-
- brainstorming-
|
|
101
|
+
- facilitate-brainstorming-session
|
|
100
102
|
- brownfield-create-epic
|
|
101
103
|
- brownfield-create-story
|
|
102
104
|
- correct-course
|
|
103
105
|
- create-deep-research-prompt
|
|
104
106
|
- create-doc
|
|
107
|
+
- create-doc2
|
|
105
108
|
- create-workflow-plan
|
|
106
109
|
- document-project
|
|
107
110
|
- create-next-story
|
|
@@ -120,10 +123,12 @@ dependencies:
|
|
|
120
123
|
- fullstack-architecture-tmpl
|
|
121
124
|
- market-research-tmpl
|
|
122
125
|
- prd-tmpl
|
|
126
|
+
- prd-tmpl2
|
|
123
127
|
- project-brief-tmpl
|
|
124
128
|
- story-tmpl
|
|
125
129
|
data:
|
|
126
130
|
- bmad-kb
|
|
131
|
+
- brainstorming-techniques
|
|
127
132
|
- technical-preferences
|
|
128
133
|
utils:
|
|
129
134
|
- plan-management
|
|
@@ -144,9 +149,9 @@ dependencies:
|
|
|
144
149
|
- story-dod-checklist
|
|
145
150
|
- story-draft-checklist
|
|
146
151
|
```
|
|
147
|
-
==================== END: agents
|
|
152
|
+
==================== END: .bmad-core/agents/bmad-master.md ====================
|
|
148
153
|
|
|
149
|
-
==================== START: tasks
|
|
154
|
+
==================== START: .bmad-core/tasks/advanced-elicitation.md ====================
|
|
150
155
|
# Advanced Elicitation Task
|
|
151
156
|
|
|
152
157
|
## Purpose
|
|
@@ -154,335 +159,258 @@ dependencies:
|
|
|
154
159
|
- Provide optional reflective and brainstorming actions to enhance content quality
|
|
155
160
|
- Enable deeper exploration of ideas through structured elicitation techniques
|
|
156
161
|
- Support iterative refinement through multiple analytical perspectives
|
|
162
|
+
- Usable during template-driven document creation or any chat conversation
|
|
157
163
|
|
|
158
|
-
##
|
|
164
|
+
## Usage Scenarios
|
|
159
165
|
|
|
160
|
-
### 1
|
|
166
|
+
### Scenario 1: Template Document Creation
|
|
161
167
|
|
|
162
|
-
|
|
168
|
+
After outputting a section during document creation:
|
|
163
169
|
|
|
164
|
-
1.
|
|
170
|
+
1. **Section Review**: Ask user to review the drafted section
|
|
171
|
+
2. **Offer Elicitation**: Present 9 carefully selected elicitation methods
|
|
172
|
+
3. **Simple Selection**: User types a number (0-8) to engage method, or 9 to proceed
|
|
173
|
+
4. **Execute & Loop**: Apply selected method, then re-offer choices until user proceeds
|
|
165
174
|
|
|
166
|
-
|
|
175
|
+
### Scenario 2: General Chat Elicitation
|
|
167
176
|
|
|
168
|
-
|
|
177
|
+
User can request advanced elicitation on any agent output:
|
|
169
178
|
|
|
170
|
-
|
|
171
|
-
|
|
179
|
+
- User says "do advanced elicitation" or similar
|
|
180
|
+
- Agent selects 9 relevant methods for the context
|
|
181
|
+
- Same simple 0-9 selection process
|
|
172
182
|
|
|
173
|
-
|
|
183
|
+
## Task Instructions
|
|
174
184
|
|
|
175
|
-
###
|
|
185
|
+
### 1. Intelligent Method Selection
|
|
176
186
|
|
|
177
|
-
|
|
187
|
+
**Context Analysis**: Before presenting options, analyze:
|
|
178
188
|
|
|
179
|
-
**
|
|
189
|
+
- **Content Type**: Technical specs, user stories, architecture, requirements, etc.
|
|
190
|
+
- **Complexity Level**: Simple, moderate, or complex content
|
|
191
|
+
- **Stakeholder Needs**: Who will use this information
|
|
192
|
+
- **Risk Level**: High-impact decisions vs routine items
|
|
193
|
+
- **Creative Potential**: Opportunities for innovation or alternatives
|
|
180
194
|
|
|
181
|
-
|
|
182
|
-
**Advanced Reflective, Elicitation & Brainstorming Actions**
|
|
183
|
-
Choose an action (0-9 - 9 to bypass - HELP for explanation of these options):
|
|
184
|
-
|
|
185
|
-
0. Expand or Contract for Audience
|
|
186
|
-
1. Explain Reasoning (CoT Step-by-Step)
|
|
187
|
-
2. Critique and Refine
|
|
188
|
-
3. Analyze Logical Flow and Dependencies
|
|
189
|
-
4. Assess Alignment with Overall Goals
|
|
190
|
-
5. Identify Potential Risks and Unforeseen Issues
|
|
191
|
-
6. Challenge from Critical Perspective (Self or Other Persona)
|
|
192
|
-
7. Explore Diverse Alternatives (ToT-Inspired)
|
|
193
|
-
8. Hindsight is 20/20: The 'If Only...' Reflection
|
|
194
|
-
9. Proceed / No Further Actions
|
|
195
|
-
```
|
|
195
|
+
**Method Selection Strategy**:
|
|
196
196
|
|
|
197
|
-
|
|
197
|
+
1. **Always Include Core Methods** (choose 3-4):
|
|
198
|
+
- Expand or Contract for Audience
|
|
199
|
+
- Critique and Refine
|
|
200
|
+
- Identify Potential Risks
|
|
201
|
+
- Assess Alignment with Goals
|
|
198
202
|
|
|
199
|
-
**
|
|
203
|
+
2. **Context-Specific Methods** (choose 4-5):
|
|
204
|
+
- **Technical Content**: Tree of Thoughts, ReWOO, Meta-Prompting
|
|
205
|
+
- **User-Facing Content**: Agile Team Perspective, Stakeholder Roundtable
|
|
206
|
+
- **Creative Content**: Innovation Tournament, Escape Room Challenge
|
|
207
|
+
- **Strategic Content**: Red Team vs Blue Team, Hindsight Reflection
|
|
200
208
|
|
|
201
|
-
|
|
202
|
-
- Detailed explanations of each option unless executing or the user asks, when giving the definition you can modify to tie its relevance
|
|
203
|
-
- Any internal template markup
|
|
209
|
+
3. **Always Include**: "Proceed / No Further Actions" as option 9
|
|
204
210
|
|
|
205
|
-
|
|
211
|
+
### 2. Section Context and Review
|
|
206
212
|
|
|
207
|
-
|
|
208
|
-
- Ask if they want to select another action or proceed with option 9 once complete
|
|
209
|
-
- Continue until user selects option 9 or indicates completion
|
|
213
|
+
When invoked after outputting a section:
|
|
210
214
|
|
|
211
|
-
|
|
215
|
+
1. **Provide Context Summary**: Give a brief 1-2 sentence summary of what the user should look for in the section just presented
|
|
212
216
|
|
|
213
|
-
|
|
214
|
-
[[LLM: Ask the user whether they want to 'expand' on the content (add more detail, elaborate) or 'contract' it (simplify, clarify, make more concise). Also, ask if there's a specific target audience they have in mind. Once clarified, perform the expansion or contraction from your current role's perspective, tailored to the specified audience if provided.]]
|
|
217
|
+
2. **Explain Visual Elements**: If the section contains diagrams, explain them briefly before offering elicitation options
|
|
215
218
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
2. Critique and Refine
|
|
220
|
-
[[LLM: From your current role's perspective, review your last output or the current section for flaws, inconsistencies, or areas for improvement, and then suggest a refined version reflecting your expertise.]]
|
|
221
|
-
|
|
222
|
-
3. Analyze Logical Flow and Dependencies
|
|
223
|
-
[[LLM: From your role's standpoint, examine the content's structure for logical progression, internal consistency, and any relevant dependencies. Confirm if elements are presented in an effective order.]]
|
|
224
|
-
|
|
225
|
-
4. Assess Alignment with Overall Goals
|
|
226
|
-
[[LLM: Evaluate how well the current content contributes to the stated overall goals of the document, interpreting this from your specific role's perspective and identifying any misalignments you perceive.]]
|
|
219
|
+
3. **Clarify Scope Options**: If the section contains multiple distinct items, inform the user they can apply elicitation actions to:
|
|
220
|
+
- The entire section as a whole
|
|
221
|
+
- Individual items within the section (specify which item when selecting an action)
|
|
227
222
|
|
|
228
|
-
|
|
229
|
-
[[LLM: Based on your role's expertise, brainstorm potential risks, overlooked edge cases, or unintended consequences related to the current content or proposal.]]
|
|
223
|
+
### 3. Present Elicitation Options
|
|
230
224
|
|
|
231
|
-
|
|
232
|
-
[[LLM: Adopt a critical perspective on the current content. If the user specifies another role or persona (e.g., 'as a customer', 'as [Another Persona Name]'), critique the content or play devil's advocate from that specified viewpoint. If no other role is specified, play devil's advocate from your own current persona's viewpoint, arguing against the proposal or current content and highlighting weaknesses or counterarguments specific to your concerns. This can also randomly include YAGNI when appropriate, such as when trimming the scope of an MVP, the perspective might challenge the need for something to cut MVP scope.]]
|
|
225
|
+
**Review Request Process:**
|
|
233
226
|
|
|
234
|
-
|
|
235
|
-
|
|
227
|
+
- Ask the user to review the drafted section
|
|
228
|
+
- In the SAME message, inform them they can suggest direct changes OR select an elicitation method
|
|
229
|
+
- Present 9 intelligently selected methods (0-8) plus "Proceed" (9)
|
|
230
|
+
- Keep descriptions short - just the method name
|
|
231
|
+
- Await simple numeric selection
|
|
236
232
|
|
|
237
|
-
|
|
238
|
-
[[LLM: In your current persona, imagine it's a retrospective for a project based on the current content. What's the one 'if only we had known/done X...' that your role would humorously or dramatically highlight, along with the imagined consequences?]]
|
|
233
|
+
**Action List Presentation Format:**
|
|
239
234
|
|
|
235
|
+
```text
|
|
236
|
+
**Advanced Elicitation Options**
|
|
237
|
+
Choose a number (0-8) or 9 to proceed:
|
|
238
|
+
|
|
239
|
+
0. [Method Name]
|
|
240
|
+
1. [Method Name]
|
|
241
|
+
2. [Method Name]
|
|
242
|
+
3. [Method Name]
|
|
243
|
+
4. [Method Name]
|
|
244
|
+
5. [Method Name]
|
|
245
|
+
6. [Method Name]
|
|
246
|
+
7. [Method Name]
|
|
247
|
+
8. [Method Name]
|
|
240
248
|
9. Proceed / No Further Actions
|
|
241
|
-
|
|
242
|
-
==================== END: tasks#advanced-elicitation ====================
|
|
243
|
-
|
|
244
|
-
==================== START: tasks#brainstorming-techniques ====================
|
|
245
|
-
# Brainstorming Techniques Task
|
|
249
|
+
```
|
|
246
250
|
|
|
247
|
-
|
|
251
|
+
**Response Handling:**
|
|
248
252
|
|
|
249
|
-
|
|
253
|
+
- **Numbers 0-8**: Execute the selected method, then re-offer the choice
|
|
254
|
+
- **Number 9**: Proceed to next section or continue conversation
|
|
255
|
+
- **Direct Feedback**: Apply user's suggested changes and continue
|
|
250
256
|
|
|
251
|
-
###
|
|
252
|
-
|
|
253
|
-
[[LLM: Begin by understanding the brainstorming context and goals. Ask clarifying questions if needed to determine the best approach.]]
|
|
254
|
-
|
|
255
|
-
1. **Establish Context**
|
|
256
|
-
|
|
257
|
-
- Understand the problem space or opportunity area
|
|
258
|
-
- Identify any constraints or parameters
|
|
259
|
-
- Determine session goals (divergent exploration vs. focused ideation)
|
|
260
|
-
|
|
261
|
-
2. **Select Technique Approach**
|
|
262
|
-
- Option A: User selects specific techniques
|
|
263
|
-
- Option B: Analyst recommends techniques based on context
|
|
264
|
-
- Option C: Random technique selection for creative variety
|
|
265
|
-
- Option D: Progressive technique flow (start broad, narrow down)
|
|
266
|
-
|
|
267
|
-
### 2. Core Brainstorming Techniques
|
|
268
|
-
|
|
269
|
-
#### Creative Expansion Techniques
|
|
270
|
-
|
|
271
|
-
1. **"What If" Scenarios**
|
|
272
|
-
[[LLM: Generate provocative what-if questions that challenge assumptions and expand thinking beyond current limitations.]]
|
|
273
|
-
|
|
274
|
-
- What if we had unlimited resources?
|
|
275
|
-
- What if this problem didn't exist?
|
|
276
|
-
- What if we approached this from a child's perspective?
|
|
277
|
-
- What if we had to solve this in 24 hours?
|
|
278
|
-
|
|
279
|
-
2. **Analogical Thinking**
|
|
280
|
-
[[LLM: Help user draw parallels between their challenge and other domains, industries, or natural systems.]]
|
|
281
|
-
|
|
282
|
-
- "How might this work like [X] but for [Y]?"
|
|
283
|
-
- Nature-inspired solutions (biomimicry)
|
|
284
|
-
- Cross-industry pattern matching
|
|
285
|
-
- Historical precedent analysis
|
|
286
|
-
|
|
287
|
-
3. **Reversal/Inversion**
|
|
288
|
-
[[LLM: Flip the problem or approach it from the opposite angle to reveal new insights.]]
|
|
289
|
-
|
|
290
|
-
- What if we did the exact opposite?
|
|
291
|
-
- How could we make this problem worse? (then reverse)
|
|
292
|
-
- Start from the end goal and work backward
|
|
293
|
-
- Reverse roles or perspectives
|
|
294
|
-
|
|
295
|
-
4. **First Principles Thinking**
|
|
296
|
-
[[LLM: Break down to fundamental truths and rebuild from scratch.]]
|
|
297
|
-
- What are the absolute fundamentals here?
|
|
298
|
-
- What assumptions can we challenge?
|
|
299
|
-
- If we started from zero, what would we build?
|
|
300
|
-
- What laws of physics/economics/human nature apply?
|
|
301
|
-
|
|
302
|
-
#### Structured Ideation Frameworks
|
|
303
|
-
|
|
304
|
-
1. **SCAMPER Method**
|
|
305
|
-
[[LLM: Guide through each SCAMPER prompt systematically.]]
|
|
306
|
-
|
|
307
|
-
- **S** = Substitute: What can be substituted?
|
|
308
|
-
- **C** = Combine: What can be combined or integrated?
|
|
309
|
-
- **A** = Adapt: What can be adapted from elsewhere?
|
|
310
|
-
- **M** = Modify/Magnify: What can be emphasized or reduced?
|
|
311
|
-
- **P** = Put to other uses: What else could this be used for?
|
|
312
|
-
- **E** = Eliminate: What can be removed or simplified?
|
|
313
|
-
- **R**= Reverse/Rearrange: What can be reversed or reordered?
|
|
314
|
-
|
|
315
|
-
2. **Six Thinking Hats**
|
|
316
|
-
[[LLM: Cycle through different thinking modes, spending focused time in each.]]
|
|
317
|
-
|
|
318
|
-
- White Hat: Facts and information
|
|
319
|
-
- Red Hat: Emotions and intuition
|
|
320
|
-
- Black Hat: Caution and critical thinking
|
|
321
|
-
- Yellow Hat: Optimism and benefits
|
|
322
|
-
- Green Hat: Creativity and alternatives
|
|
323
|
-
- Blue Hat: Process and control
|
|
324
|
-
|
|
325
|
-
3. **Mind Mapping**
|
|
326
|
-
[[LLM: Create text-based mind maps with clear hierarchical structure.]]
|
|
327
|
-
|
|
328
|
-
```plaintext
|
|
329
|
-
Central Concept
|
|
330
|
-
├── Branch 1
|
|
331
|
-
│ ├── Sub-idea 1.1
|
|
332
|
-
│ └── Sub-idea 1.2
|
|
333
|
-
├── Branch 2
|
|
334
|
-
│ ├── Sub-idea 2.1
|
|
335
|
-
│ └── Sub-idea 2.2
|
|
336
|
-
└── Branch 3
|
|
337
|
-
└── Sub-idea 3.1
|
|
338
|
-
```
|
|
257
|
+
### 4. Method Execution Framework
|
|
339
258
|
|
|
340
|
-
|
|
259
|
+
**Execution Process:**
|
|
341
260
|
|
|
342
|
-
1. **
|
|
343
|
-
|
|
261
|
+
1. **Retrieve Method**: Access the specific elicitation method from the elicitation-methods data file
|
|
262
|
+
2. **Apply Context**: Execute the method from your current role's perspective
|
|
263
|
+
3. **Provide Results**: Deliver insights, critiques, or alternatives relevant to the content
|
|
264
|
+
4. **Re-offer Choice**: Present the same 9 options again until user selects 9 or gives direct feedback
|
|
344
265
|
|
|
345
|
-
|
|
346
|
-
- Add to it with "Yes, and..."
|
|
347
|
-
- Build chains of connected ideas
|
|
348
|
-
- Explore tangents freely
|
|
266
|
+
**Execution Guidelines:**
|
|
349
267
|
|
|
350
|
-
|
|
351
|
-
|
|
268
|
+
- **Be Concise**: Focus on actionable insights, not lengthy explanations
|
|
269
|
+
- **Stay Relevant**: Tie all elicitation back to the specific content being analyzed
|
|
270
|
+
- **Identify Personas**: For multi-persona methods, clearly identify which viewpoint is speaking
|
|
271
|
+
- **Maintain Flow**: Keep the process moving efficiently
|
|
272
|
+
==================== END: .bmad-core/tasks/advanced-elicitation.md ====================
|
|
352
273
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
274
|
+
==================== START: .bmad-core/tasks/facilitate-brainstorming-session.md ====================
|
|
275
|
+
---
|
|
276
|
+
docOutputLocation: docs/brainstorming-session-results.md
|
|
277
|
+
template: brainstorming-output-tmpl
|
|
278
|
+
---
|
|
357
279
|
|
|
358
|
-
|
|
359
|
-
[[LLM: Use random words, images, or concepts as creative triggers.]]
|
|
360
|
-
- Random word association
|
|
361
|
-
- Picture/metaphor inspiration
|
|
362
|
-
- Forced connections between unrelated items
|
|
363
|
-
- Constraint-based creativity
|
|
280
|
+
# Facilitate Brainstorming Session Task
|
|
364
281
|
|
|
365
|
-
|
|
282
|
+
Facilitate interactive brainstorming sessions with users. Be creative and adaptive in applying techniques.
|
|
366
283
|
|
|
367
|
-
|
|
368
|
-
[[LLM: Dig deeper into root causes and underlying motivations.]]
|
|
284
|
+
## Process
|
|
369
285
|
|
|
370
|
-
|
|
371
|
-
- Uncover hidden assumptions
|
|
372
|
-
- Find root causes, not symptoms
|
|
373
|
-
- Identify intervention points
|
|
286
|
+
### Step 1: Session Setup
|
|
374
287
|
|
|
375
|
-
|
|
376
|
-
[[LLM: Break down into parameters and systematically explore combinations.]]
|
|
288
|
+
Ask 4 context questions (don't preview what happens next):
|
|
377
289
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
290
|
+
1. What are we brainstorming about?
|
|
291
|
+
2. Any constraints or parameters?
|
|
292
|
+
3. Goal: broad exploration or focused ideation?
|
|
293
|
+
4. Do you want a structured document output to reference later? (Y/N)
|
|
382
294
|
|
|
383
|
-
|
|
384
|
-
[[LLM: Make deliberately provocative statements to jar thinking.]]
|
|
385
|
-
- PO: Cars have square wheels
|
|
386
|
-
- PO: Customers pay us to take products
|
|
387
|
-
- PO: The problem solves itself
|
|
388
|
-
- Extract useful ideas from provocations
|
|
295
|
+
### Step 2: Present Approach Options
|
|
389
296
|
|
|
390
|
-
|
|
297
|
+
After getting answers to Step 1, present 4 approach options (numbered):
|
|
391
298
|
|
|
392
|
-
|
|
299
|
+
1. User selects specific techniques
|
|
300
|
+
2. Analyst recommends techniques based on context
|
|
301
|
+
3. Random technique selection for creative variety
|
|
302
|
+
4. Progressive technique flow (start broad, narrow down)
|
|
393
303
|
|
|
394
|
-
|
|
304
|
+
### Step 3: Execute Techniques Interactively
|
|
395
305
|
|
|
396
|
-
|
|
397
|
-
- First Principles
|
|
398
|
-
- Mind Mapping
|
|
306
|
+
**KEY PRINCIPLES:**
|
|
399
307
|
|
|
400
|
-
**
|
|
308
|
+
- **FACILITATOR ROLE**: Guide user to generate their own ideas through questions, prompts, and examples
|
|
309
|
+
- **CONTINUOUS ENGAGEMENT**: Keep user engaged with chosen technique until they want to switch or are satisfied
|
|
310
|
+
- **CAPTURE OUTPUT**: If document output requested, capture all ideas generated in each technique section
|
|
401
311
|
|
|
402
|
-
|
|
403
|
-
-
|
|
404
|
-
- Provocation Technique
|
|
312
|
+
**Technique Selection:**
|
|
313
|
+
If user selects Option 1, present numbered list of techniques from the brainstorming-techniques data file. User can select by number (e.g., "7" for Mind Mapping).
|
|
405
314
|
|
|
406
|
-
**
|
|
315
|
+
**Technique Execution:**
|
|
407
316
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
-
|
|
317
|
+
1. Apply selected technique according to data file description
|
|
318
|
+
2. Keep engaging with technique until user indicates they want to:
|
|
319
|
+
- Choose a different technique
|
|
320
|
+
- Apply current ideas to a new technique
|
|
321
|
+
- Move to convergent phase
|
|
322
|
+
- End session
|
|
411
323
|
|
|
412
|
-
**
|
|
324
|
+
**Output Capture (if requested):**
|
|
325
|
+
For each technique used, capture:
|
|
413
326
|
|
|
414
|
-
-
|
|
415
|
-
-
|
|
416
|
-
-
|
|
327
|
+
- Technique name and duration
|
|
328
|
+
- Key ideas generated by user
|
|
329
|
+
- Insights and patterns identified
|
|
330
|
+
- User's reflections on the process
|
|
417
331
|
|
|
418
|
-
|
|
332
|
+
### Step 4: Session Flow
|
|
419
333
|
|
|
420
|
-
-
|
|
421
|
-
-
|
|
422
|
-
-
|
|
334
|
+
1. **Warm-up** (5-10 min) - Build creative confidence
|
|
335
|
+
2. **Divergent** (20-30 min) - Generate quantity over quality
|
|
336
|
+
3. **Convergent** (15-20 min) - Group and categorize ideas
|
|
337
|
+
4. **Synthesis** (10-15 min) - Refine and develop concepts
|
|
423
338
|
|
|
424
|
-
###
|
|
339
|
+
### Step 5: Document Output (if requested)
|
|
425
340
|
|
|
426
|
-
|
|
341
|
+
Generate structured document with these sections:
|
|
427
342
|
|
|
428
|
-
|
|
343
|
+
**Executive Summary**
|
|
429
344
|
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
345
|
+
- Session topic and goals
|
|
346
|
+
- Techniques used and duration
|
|
347
|
+
- Total ideas generated
|
|
348
|
+
- Key themes and patterns identified
|
|
433
349
|
|
|
434
|
-
|
|
350
|
+
**Technique Sections** (for each technique used)
|
|
435
351
|
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
352
|
+
- Technique name and description
|
|
353
|
+
- Ideas generated (user's own words)
|
|
354
|
+
- Insights discovered
|
|
355
|
+
- Notable connections or patterns
|
|
439
356
|
|
|
440
|
-
|
|
357
|
+
**Idea Categorization**
|
|
441
358
|
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
359
|
+
- **Immediate Opportunities** - Ready to implement now
|
|
360
|
+
- **Future Innovations** - Requires development/research
|
|
361
|
+
- **Moonshots** - Ambitious, transformative concepts
|
|
362
|
+
- **Insights & Learnings** - Key realizations from session
|
|
445
363
|
|
|
446
|
-
|
|
447
|
-
- Combine complementary ideas
|
|
448
|
-
- Refine and develop concepts
|
|
449
|
-
- Prepare summary of insights
|
|
364
|
+
**Action Planning**
|
|
450
365
|
|
|
451
|
-
|
|
366
|
+
- Top 3 priority ideas with rationale
|
|
367
|
+
- Next steps for each priority
|
|
368
|
+
- Resources/research needed
|
|
369
|
+
- Timeline considerations
|
|
452
370
|
|
|
453
|
-
|
|
371
|
+
**Reflection & Follow-up**
|
|
454
372
|
|
|
455
|
-
|
|
373
|
+
- What worked well in this session
|
|
374
|
+
- Areas for further exploration
|
|
375
|
+
- Recommended follow-up techniques
|
|
376
|
+
- Questions that emerged for future sessions
|
|
377
|
+
|
|
378
|
+
## Key Principles
|
|
379
|
+
|
|
380
|
+
- **YOU ARE A FACILITATOR**: Guide the user to brainstorm, don't brainstorm for them
|
|
381
|
+
- **INTERACTIVE DIALOGUE**: Ask questions, wait for responses, build on their ideas
|
|
382
|
+
- **ONE TECHNIQUE AT A TIME**: Don't mix multiple techniques in one response
|
|
383
|
+
- **CONTINUOUS ENGAGEMENT**: Stay with one technique until user wants to switch
|
|
384
|
+
- **DRAW IDEAS OUT**: Use prompts and examples to help them generate their own ideas
|
|
385
|
+
- **REAL-TIME ADAPTATION**: Monitor engagement and adjust approach as needed
|
|
386
|
+
- Maintain energy and momentum
|
|
387
|
+
- Defer judgment during generation
|
|
388
|
+
- Quantity leads to quality (aim for 100 ideas in 60 minutes)
|
|
389
|
+
- Build on ideas collaboratively
|
|
390
|
+
- Document everything if output requested
|
|
456
391
|
|
|
457
|
-
|
|
458
|
-
- Number of ideas generated
|
|
459
|
-
- Key themes identified
|
|
392
|
+
## Advanced Engagement Strategies
|
|
460
393
|
|
|
461
|
-
**
|
|
394
|
+
**Energy Management**
|
|
462
395
|
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
4. **Insights & Learnings** - Key realizations from the session
|
|
396
|
+
- Check engagement levels: "How are you feeling about this direction?"
|
|
397
|
+
- Offer breaks or technique switches if energy flags
|
|
398
|
+
- Use encouraging language and celebrate idea generation
|
|
467
399
|
|
|
468
|
-
**
|
|
400
|
+
**Depth vs. Breadth**
|
|
469
401
|
|
|
470
|
-
-
|
|
471
|
-
-
|
|
472
|
-
-
|
|
402
|
+
- Ask follow-up questions to deepen ideas: "Tell me more about that..."
|
|
403
|
+
- Use "Yes, and..." to build on their ideas
|
|
404
|
+
- Help them make connections: "How does this relate to your earlier idea about...?"
|
|
473
405
|
|
|
474
|
-
|
|
406
|
+
**Transition Management**
|
|
475
407
|
|
|
476
|
-
-
|
|
477
|
-
-
|
|
478
|
-
-
|
|
479
|
-
|
|
480
|
-
- Document everything - even "silly" ideas can spark breakthroughs
|
|
481
|
-
- Take breaks if energy flags
|
|
482
|
-
- End with clear next actions
|
|
483
|
-
==================== END: tasks#brainstorming-techniques ====================
|
|
408
|
+
- Always ask before switching techniques: "Ready to try a different approach?"
|
|
409
|
+
- Offer options: "Should we explore this idea deeper or generate more alternatives?"
|
|
410
|
+
- Respect their process and timing
|
|
411
|
+
==================== END: .bmad-core/tasks/facilitate-brainstorming-session.md ====================
|
|
484
412
|
|
|
485
|
-
==================== START: tasks
|
|
413
|
+
==================== START: .bmad-core/tasks/brownfield-create-epic.md ====================
|
|
486
414
|
# Create Brownfield Epic Task
|
|
487
415
|
|
|
488
416
|
## Purpose
|
|
@@ -643,9 +571,9 @@ The epic creation is successful when:
|
|
|
643
571
|
- If the scope grows beyond 3 stories, consider the full brownfield PRD process
|
|
644
572
|
- Always prioritize existing system integrity over new functionality
|
|
645
573
|
- When in doubt about scope or complexity, escalate to full brownfield planning
|
|
646
|
-
==================== END: tasks
|
|
574
|
+
==================== END: .bmad-core/tasks/brownfield-create-epic.md ====================
|
|
647
575
|
|
|
648
|
-
==================== START: tasks
|
|
576
|
+
==================== START: .bmad-core/tasks/brownfield-create-story.md ====================
|
|
649
577
|
# Create Brownfield Story Task
|
|
650
578
|
|
|
651
579
|
## Purpose
|
|
@@ -793,9 +721,9 @@ The story creation is successful when:
|
|
|
793
721
|
- Always prioritize existing system integrity
|
|
794
722
|
- When in doubt about integration complexity, use brownfield-create-epic instead
|
|
795
723
|
- Stories should take no more than 4 hours of focused development work
|
|
796
|
-
==================== END: tasks
|
|
724
|
+
==================== END: .bmad-core/tasks/brownfield-create-story.md ====================
|
|
797
725
|
|
|
798
|
-
==================== START: tasks
|
|
726
|
+
==================== START: .bmad-core/tasks/correct-course.md ====================
|
|
799
727
|
# Correct Course Task
|
|
800
728
|
|
|
801
729
|
## Purpose
|
|
@@ -869,9 +797,9 @@ The story creation is successful when:
|
|
|
869
797
|
- A summary of the `change-checklist` analysis (issue, impact, rationale for the chosen path).
|
|
870
798
|
- Specific, clearly drafted proposed edits for all affected project artifacts.
|
|
871
799
|
- **Implicit:** An annotated `change-checklist` (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
|
|
872
|
-
==================== END: tasks
|
|
800
|
+
==================== END: .bmad-core/tasks/correct-course.md ====================
|
|
873
801
|
|
|
874
|
-
==================== START: tasks
|
|
802
|
+
==================== START: .bmad-core/tasks/create-deep-research-prompt.md ====================
|
|
875
803
|
# Create Deep Research Prompt Task
|
|
876
804
|
|
|
877
805
|
This task helps create comprehensive research prompts for various types of deep analysis. It can process inputs from brainstorming sessions, project briefs, market research, or specific research questions to generate targeted prompts for deeper investigation.
|
|
@@ -1173,9 +1101,9 @@ Present these numbered options to the user:
|
|
|
1173
1101
|
- Balance comprehensiveness with focus
|
|
1174
1102
|
- Document assumptions and limitations clearly
|
|
1175
1103
|
- Plan for iterative refinement based on initial findings
|
|
1176
|
-
==================== END: tasks
|
|
1104
|
+
==================== END: .bmad-core/tasks/create-deep-research-prompt.md ====================
|
|
1177
1105
|
|
|
1178
|
-
==================== START: tasks
|
|
1106
|
+
==================== START: .bmad-core/tasks/create-doc.md ====================
|
|
1179
1107
|
# Create Document from Template Task
|
|
1180
1108
|
|
|
1181
1109
|
## Purpose
|
|
@@ -1195,7 +1123,7 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
1195
1123
|
|
|
1196
1124
|
[[LLM: Check if plan tracking is enabled in core-config.yaml]]
|
|
1197
1125
|
|
|
1198
|
-
- If `workflow.trackProgress: true`, check for active plan using utils
|
|
1126
|
+
- If `workflow.trackProgress: true`, check for active plan using .bmad-core/utils/plan-management.md
|
|
1199
1127
|
- If plan exists and this document creation is part of the plan:
|
|
1200
1128
|
- Verify this is the expected next step
|
|
1201
1129
|
- If out of sequence and `enforceSequence: true`, warn user and halt without user override
|
|
@@ -1204,7 +1132,7 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
1204
1132
|
|
|
1205
1133
|
### 1. Identify Template
|
|
1206
1134
|
|
|
1207
|
-
- Load from `
|
|
1135
|
+
- Load from `.bmad-core/templates/*.md` or `.bmad-core/templates directory`
|
|
1208
1136
|
- Agent-specific templates are listed in agent's dependencies
|
|
1209
1137
|
- If agent has `templates: [prd-tmpl, architecture-tmpl]` for example, then offer to create "PRD" and "Architecture" documents
|
|
1210
1138
|
|
|
@@ -1222,14 +1150,14 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
1222
1150
|
|
|
1223
1151
|
### 4. Key Execution Patterns
|
|
1224
1152
|
|
|
1225
|
-
**When you see:** `[[LLM: Draft X and immediately execute tasks
|
|
1153
|
+
**When you see:** `[[LLM: Draft X and immediately execute .bmad-core/tasks/advanced-elicitation.md]]`
|
|
1226
1154
|
|
|
1227
1155
|
- Draft the content
|
|
1228
1156
|
- Present it to user
|
|
1229
1157
|
- IMMEDIATELY execute the task
|
|
1230
1158
|
- Wait for completion before continuing
|
|
1231
1159
|
|
|
1232
|
-
**When you see:** `[[LLM: After section completion, apply tasks
|
|
1160
|
+
**When you see:** `[[LLM: After section completion, apply .bmad-core/tasks/Y.md]]`
|
|
1233
1161
|
|
|
1234
1162
|
- Finish the section
|
|
1235
1163
|
- STOP and execute the task
|
|
@@ -1267,9 +1195,77 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
1267
1195
|
## Remember
|
|
1268
1196
|
|
|
1269
1197
|
Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
|
|
1270
|
-
==================== END: tasks
|
|
1198
|
+
==================== END: .bmad-core/tasks/create-doc.md ====================
|
|
1199
|
+
|
|
1200
|
+
==================== START: .bmad-core/tasks/create-doc2.md ====================
|
|
1201
|
+
# Create Document from Template (YAML Driven)
|
|
1202
|
+
|
|
1203
|
+
## CRITICAL: Mandatory Elicitation Format
|
|
1204
|
+
|
|
1205
|
+
**When `elicit: true`, ALWAYS use this exact format:**
|
|
1206
|
+
|
|
1207
|
+
1. Present section content
|
|
1208
|
+
2. Provide detailed rationale (explain trade-offs, assumptions, decisions made)
|
|
1209
|
+
3. Present numbered options 1-9:
|
|
1210
|
+
- **Option 1:** Always "Proceed to next section"
|
|
1211
|
+
- **Options 2-9:** Select 8 methods from data/elicitation-methods
|
|
1212
|
+
- End with: "Select 1-9 or just type your question/feedback:"
|
|
1213
|
+
|
|
1214
|
+
**NEVER ask yes/no questions or use any other format.**
|
|
1215
|
+
|
|
1216
|
+
## Processing Flow
|
|
1217
|
+
|
|
1218
|
+
1. **Parse YAML template** - Load template metadata and sections
|
|
1219
|
+
2. **Set preferences** - Show current mode (Interactive), confirm output file
|
|
1220
|
+
3. **Process each section:**
|
|
1221
|
+
- Skip if condition unmet
|
|
1222
|
+
- Draft content using section instruction
|
|
1223
|
+
- Present content + detailed rationale
|
|
1224
|
+
- **IF elicit: true** → MANDATORY 1-9 options format
|
|
1225
|
+
- Save to file if possible
|
|
1226
|
+
4. **Continue until complete**
|
|
1227
|
+
|
|
1228
|
+
## Detailed Rationale Requirements
|
|
1229
|
+
|
|
1230
|
+
When presenting section content, ALWAYS include rationale that explains:
|
|
1231
|
+
|
|
1232
|
+
- Trade-offs and choices made (what was chosen over alternatives and why)
|
|
1233
|
+
- Key assumptions made during drafting
|
|
1234
|
+
- Interesting or questionable decisions that need user attention
|
|
1235
|
+
- Areas that might need validation
|
|
1271
1236
|
|
|
1272
|
-
|
|
1237
|
+
## Elicitation Results Flow
|
|
1238
|
+
|
|
1239
|
+
After user selects elicitation method (2-9):
|
|
1240
|
+
|
|
1241
|
+
1. Execute method from data/elicitation-methods
|
|
1242
|
+
2. Present results with insights
|
|
1243
|
+
3. Offer options:
|
|
1244
|
+
- **1. Apply changes and update section**
|
|
1245
|
+
- **2. Return to elicitation menu**
|
|
1246
|
+
- **3. Ask any questions or engage further with this elicitation**
|
|
1247
|
+
|
|
1248
|
+
## YOLO Mode
|
|
1249
|
+
|
|
1250
|
+
User can type `#yolo` to toggle to YOLO mode (process all sections at once).
|
|
1251
|
+
|
|
1252
|
+
## CRITICAL REMINDERS
|
|
1253
|
+
|
|
1254
|
+
**❌ NEVER:**
|
|
1255
|
+
|
|
1256
|
+
- Ask yes/no questions for elicitation
|
|
1257
|
+
- Use any format other than 1-9 numbered options
|
|
1258
|
+
- Create new elicitation methods
|
|
1259
|
+
|
|
1260
|
+
**✅ ALWAYS:**
|
|
1261
|
+
|
|
1262
|
+
- Use exact 1-9 format when elicit: true
|
|
1263
|
+
- Select options 2-9 from data/elicitation-methods only
|
|
1264
|
+
- Provide detailed rationale explaining decisions
|
|
1265
|
+
- End with "Select 1-9 or just type your question/feedback:"
|
|
1266
|
+
==================== END: .bmad-core/tasks/create-doc2.md ====================
|
|
1267
|
+
|
|
1268
|
+
==================== START: .bmad-core/tasks/create-workflow-plan.md ====================
|
|
1273
1269
|
# Create Workflow Plan Task
|
|
1274
1270
|
|
|
1275
1271
|
## Purpose
|
|
@@ -1559,9 +1555,9 @@ BMad Orchestrator: "Based on your answers, I recommend the brownfield-fullstack
|
|
|
1559
1555
|
|
|
1560
1556
|
BMad Orchestrator: "I've created a workflow plan at docs/workflow-plan.md. This shows all the steps we'll go through, what documents will be created, and where you'll need to make decisions. Would you like to review it together?"
|
|
1561
1557
|
```
|
|
1562
|
-
==================== END: tasks
|
|
1558
|
+
==================== END: .bmad-core/tasks/create-workflow-plan.md ====================
|
|
1563
1559
|
|
|
1564
|
-
==================== START: tasks
|
|
1560
|
+
==================== START: .bmad-core/tasks/document-project.md ====================
|
|
1565
1561
|
# Document an Existing Project
|
|
1566
1562
|
|
|
1567
1563
|
## Purpose
|
|
@@ -1879,9 +1875,9 @@ Apply the advanced elicitation task after major sections to refine based on user
|
|
|
1879
1875
|
- Documents technical debt, workarounds, and constraints honestly
|
|
1880
1876
|
- For brownfield projects with PRD: Provides clear enhancement impact analysis
|
|
1881
1877
|
- The goal is PRACTICAL documentation for AI agents doing real work
|
|
1882
|
-
==================== END: tasks
|
|
1878
|
+
==================== END: .bmad-core/tasks/document-project.md ====================
|
|
1883
1879
|
|
|
1884
|
-
==================== START: tasks
|
|
1880
|
+
==================== START: .bmad-core/tasks/create-next-story.md ====================
|
|
1885
1881
|
# Create Next Story Task
|
|
1886
1882
|
|
|
1887
1883
|
## Purpose
|
|
@@ -1996,16 +1992,16 @@ ALWAYS cite source documents: `[Source: architecture/{filename}.md#{section}]`
|
|
|
1996
1992
|
- Any deviations or conflicts noted between epic and architecture
|
|
1997
1993
|
- Checklist Results
|
|
1998
1994
|
- Next steps: For Complex stories, suggest the user carefully review the story draft and also optionally have the PO run the task `validate-next-story`
|
|
1999
|
-
==================== END: tasks
|
|
1995
|
+
==================== END: .bmad-core/tasks/create-next-story.md ====================
|
|
2000
1996
|
|
|
2001
|
-
==================== START: tasks
|
|
1997
|
+
==================== START: .bmad-core/tasks/execute-checklist.md ====================
|
|
2002
1998
|
# Checklist Validation Task
|
|
2003
1999
|
|
|
2004
2000
|
This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
|
|
2005
2001
|
|
|
2006
2002
|
## Available Checklists
|
|
2007
2003
|
|
|
2008
|
-
If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the
|
|
2004
|
+
If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the .bmad-core/checklists folder to select the appropriate one to run.
|
|
2009
2005
|
|
|
2010
2006
|
## Instructions
|
|
2011
2007
|
|
|
@@ -2014,7 +2010,7 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
2014
2010
|
- If user or the task being run provides a checklist name:
|
|
2015
2011
|
- Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
|
|
2016
2012
|
- If multiple matches found, ask user to clarify
|
|
2017
|
-
- Load the appropriate checklist from
|
|
2013
|
+
- Load the appropriate checklist from .bmad-core/checklists/
|
|
2018
2014
|
- If no checklist specified:
|
|
2019
2015
|
- Ask the user which checklist they want to use
|
|
2020
2016
|
- Present the available options from the files in the checklists folder
|
|
@@ -2092,9 +2088,9 @@ The LLM will:
|
|
|
2092
2088
|
- Execute the complete checklist validation
|
|
2093
2089
|
- Present a final report with pass/fail rates and key findings
|
|
2094
2090
|
- Offer to provide detailed analysis of any section, especially those with warnings or failures
|
|
2095
|
-
==================== END: tasks
|
|
2091
|
+
==================== END: .bmad-core/tasks/execute-checklist.md ====================
|
|
2096
2092
|
|
|
2097
|
-
==================== START: tasks
|
|
2093
|
+
==================== START: .bmad-core/tasks/generate-ai-frontend-prompt.md ====================
|
|
2098
2094
|
# Create AI Frontend Prompt Task
|
|
2099
2095
|
|
|
2100
2096
|
## Purpose
|
|
@@ -2146,9 +2142,9 @@ You will now synthesize the inputs and the above principles into a final, compre
|
|
|
2146
2142
|
- Output the complete, generated prompt in a clear, copy-pasteable format (e.g., a large code block).
|
|
2147
2143
|
- Explain the structure of the prompt and why certain information was included, referencing the principles above.
|
|
2148
2144
|
- <important_note>Conclude by reminding the user that all AI-generated code will require careful human review, testing, and refinement to be considered production-ready.</important_note>
|
|
2149
|
-
==================== END: tasks
|
|
2145
|
+
==================== END: .bmad-core/tasks/generate-ai-frontend-prompt.md ====================
|
|
2150
2146
|
|
|
2151
|
-
==================== START: tasks
|
|
2147
|
+
==================== START: .bmad-core/tasks/index-docs.md ====================
|
|
2152
2148
|
# Index Documentation Task
|
|
2153
2149
|
|
|
2154
2150
|
## Purpose
|
|
@@ -2328,9 +2324,9 @@ Please provide:
|
|
|
2328
2324
|
5. Whether to include hidden files/folders (starting with `.`)
|
|
2329
2325
|
|
|
2330
2326
|
Would you like to proceed with documentation indexing? Please provide the required input above.
|
|
2331
|
-
==================== END: tasks
|
|
2327
|
+
==================== END: .bmad-core/tasks/index-docs.md ====================
|
|
2332
2328
|
|
|
2333
|
-
==================== START: tasks
|
|
2329
|
+
==================== START: .bmad-core/tasks/shard-doc.md ====================
|
|
2334
2330
|
# Document Sharding Task
|
|
2335
2331
|
|
|
2336
2332
|
## Purpose
|
|
@@ -2522,9 +2518,9 @@ Document sharded successfully:
|
|
|
2522
2518
|
- Preserve ALL formatting, including whitespace where significant
|
|
2523
2519
|
- Handle edge cases like sections with code blocks containing ## symbols
|
|
2524
2520
|
- Ensure the sharding is reversible (could reconstruct the original from shards)
|
|
2525
|
-
==================== END: tasks
|
|
2521
|
+
==================== END: .bmad-core/tasks/shard-doc.md ====================
|
|
2526
2522
|
|
|
2527
|
-
==================== START: tasks
|
|
2523
|
+
==================== START: .bmad-core/tasks/update-workflow-plan.md ====================
|
|
2528
2524
|
# Update Workflow Plan Task
|
|
2529
2525
|
|
|
2530
2526
|
## Purpose
|
|
@@ -2773,9 +2769,9 @@ The update is successful when:
|
|
|
2773
2769
|
- Consider creating backup before major updates
|
|
2774
2770
|
- Updates should enhance, not complicate, the workflow experience
|
|
2775
2771
|
- If plan becomes too cluttered, suggest creating fresh plan for next phase
|
|
2776
|
-
==================== END: tasks
|
|
2772
|
+
==================== END: .bmad-core/tasks/update-workflow-plan.md ====================
|
|
2777
2773
|
|
|
2778
|
-
==================== START: templates
|
|
2774
|
+
==================== START: .bmad-core/templates/architecture-tmpl.md ====================
|
|
2779
2775
|
# {{Project Name}} Architecture Document
|
|
2780
2776
|
|
|
2781
2777
|
[[LLM: If available, review any provided relevant documents to gather all relevant context before beginning. If at a minimum you cannot local `docs/prd.md` ask the user what docs will provide the basis for the architecture.]]
|
|
@@ -2786,7 +2782,7 @@ The update is successful when:
|
|
|
2786
2782
|
|
|
2787
2783
|
[[LLM: This section establishes the document's purpose and scope. Keep the content below but ensure project name is properly substituted.
|
|
2788
2784
|
|
|
2789
|
-
After presenting this section, apply
|
|
2785
|
+
After presenting this section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
2790
2786
|
|
|
2791
2787
|
This document outlines the overall project architecture for {{Project Name}}, including backend systems, shared services, and non-UI specific concerns. Its primary goal is to serve as the guiding architectural blueprint for AI-driven development, ensuring consistency and adherence to chosen patterns and technologies.
|
|
2792
2788
|
|
|
@@ -2831,7 +2827,7 @@ If the project includes a significant user interface, a separate Frontend Archit
|
|
|
2831
2827
|
|
|
2832
2828
|
Document the decision here before proceeding with the architecture design. In none, just say N/A
|
|
2833
2829
|
|
|
2834
|
-
After presenting this starter template section, apply
|
|
2830
|
+
After presenting this starter template section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
2835
2831
|
|
|
2836
2832
|
### Change Log
|
|
2837
2833
|
|
|
@@ -2842,7 +2838,7 @@ After presenting this starter template section, apply `tasks#advanced-elicitatio
|
|
|
2842
2838
|
|
|
2843
2839
|
## High Level Architecture
|
|
2844
2840
|
|
|
2845
|
-
[[LLM: This section contains multiple subsections that establish the foundation of the architecture. Present all subsections together (Introduction, Technical Summary, High Level Overview, Project Diagram, and Architectural Patterns), then apply
|
|
2841
|
+
[[LLM: This section contains multiple subsections that establish the foundation of the architecture. Present all subsections together (Introduction, Technical Summary, High Level Overview, Project Diagram, and Architectural Patterns), then apply `.bmad-core/tasks/advanced-elicitation.md` protocol to the complete High Level Architecture section. The user can choose to refine the entire section or specific subsections.]]
|
|
2846
2842
|
|
|
2847
2843
|
### Technical Summary
|
|
2848
2844
|
|
|
@@ -2864,7 +2860,7 @@ After presenting this starter template section, apply `tasks#advanced-elicitatio
|
|
|
2864
2860
|
4. Primary user interaction flow or data flow at a conceptual level
|
|
2865
2861
|
5. Key architectural decisions and their rationale
|
|
2866
2862
|
|
|
2867
|
-
After presenting this section, apply
|
|
2863
|
+
After presenting this section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
2868
2864
|
|
|
2869
2865
|
### High Level Project Diagram
|
|
2870
2866
|
|
|
@@ -2878,7 +2874,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
2878
2874
|
|
|
2879
2875
|
Use appropriate Mermaid diagram type (graph TD, C4, sequence) based on what best represents the architecture
|
|
2880
2876
|
|
|
2881
|
-
After presenting the diagram, apply
|
|
2877
|
+
After presenting the diagram, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
2882
2878
|
|
|
2883
2879
|
### Architectural and Design Patterns
|
|
2884
2880
|
|
|
@@ -2910,13 +2906,13 @@ Common patterns to consider:
|
|
|
2910
2906
|
|
|
2911
2907
|
@{/example}
|
|
2912
2908
|
|
|
2913
|
-
[[LLM: After presenting the patterns, apply
|
|
2909
|
+
[[LLM: After presenting the patterns, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
2914
2910
|
|
|
2915
2911
|
## Tech Stack
|
|
2916
2912
|
|
|
2917
2913
|
[[LLM: This is the DEFINITIVE technology selection section. Work with the user to make specific choices:
|
|
2918
2914
|
|
|
2919
|
-
1. Review PRD technical assumptions and any preferences from
|
|
2915
|
+
1. Review PRD technical assumptions and any preferences from `.bmad-core/data/technical-preferences.yaml` or an attached `technical-preferences`
|
|
2920
2916
|
2. For each category, present 2-3 viable options with pros/cons
|
|
2921
2917
|
3. Make a clear recommendation based on project needs
|
|
2922
2918
|
4. Get explicit user approval for each selection
|
|
@@ -2932,7 +2928,7 @@ Key decisions to finalize - before displaying the table, ensure you are aware of
|
|
|
2932
2928
|
- Database and storage solutions - if unclear suggest sql or nosql or other types depending on the project and depending on cloud provider offer a suggestion
|
|
2933
2929
|
- Development tools
|
|
2934
2930
|
|
|
2935
|
-
Upon render of the table, ensure the user is aware of the importance of this sections choices, should also look for gaps or disagreements with anything, ask for any clarifications if something is unclear why its in the list, and also right away apply
|
|
2931
|
+
Upon render of the table, ensure the user is aware of the importance of this sections choices, should also look for gaps or disagreements with anything, ask for any clarifications if something is unclear why its in the list, and also right away apply `.bmad-core/tasks/advanced-elicitation.md` display - this statement and the options should be rendered and then prompt right all before allowing user input.]]
|
|
2936
2932
|
|
|
2937
2933
|
### Cloud Infrastructure
|
|
2938
2934
|
|
|
@@ -2976,7 +2972,7 @@ Upon render of the table, ensure the user is aware of the importance of this sec
|
|
|
2976
2972
|
|
|
2977
2973
|
Create a clear conceptual model before moving to database schema.
|
|
2978
2974
|
|
|
2979
|
-
After presenting all data models, apply
|
|
2975
|
+
After presenting all data models, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
2980
2976
|
|
|
2981
2977
|
<<REPEAT: data_model>>
|
|
2982
2978
|
|
|
@@ -3010,7 +3006,7 @@ After presenting all data models, apply `tasks#advanced-elicitation` protocol]]
|
|
|
3010
3006
|
- Technology specifics based on tech stack choices
|
|
3011
3007
|
|
|
3012
3008
|
5. Create component diagrams where helpful
|
|
3013
|
-
6. After presenting all components, apply
|
|
3009
|
+
6. After presenting all components, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3014
3010
|
|
|
3015
3011
|
<<REPEAT: component>>
|
|
3016
3012
|
|
|
@@ -3037,7 +3033,7 @@ After presenting all data models, apply `tasks#advanced-elicitation` protocol]]
|
|
|
3037
3033
|
- Sequence diagrams for complex interactions
|
|
3038
3034
|
Choose the most appropriate for clarity
|
|
3039
3035
|
|
|
3040
|
-
After presenting the diagrams, apply
|
|
3036
|
+
After presenting the diagrams, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3041
3037
|
|
|
3042
3038
|
## External APIs
|
|
3043
3039
|
|
|
@@ -3091,7 +3087,7 @@ If no external APIs are needed, state this explicitly and skip to next section.]
|
|
|
3091
3087
|
|
|
3092
3088
|
^^/CONDITION: has_external_apis^^
|
|
3093
3089
|
|
|
3094
|
-
[[LLM: After presenting external APIs (or noting their absence), apply
|
|
3090
|
+
[[LLM: After presenting external APIs (or noting their absence), apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3095
3091
|
|
|
3096
3092
|
## Core Workflows
|
|
3097
3093
|
|
|
@@ -3105,7 +3101,7 @@ If no external APIs are needed, state this explicitly and skip to next section.]
|
|
|
3105
3101
|
|
|
3106
3102
|
Focus on workflows that clarify architecture decisions or complex interactions.
|
|
3107
3103
|
|
|
3108
|
-
After presenting the workflow diagrams, apply
|
|
3104
|
+
After presenting the workflow diagrams, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3109
3105
|
|
|
3110
3106
|
## REST API Spec
|
|
3111
3107
|
|
|
@@ -3139,7 +3135,7 @@ servers:
|
|
|
3139
3135
|
|
|
3140
3136
|
^^/CONDITION: has_rest_api^^
|
|
3141
3137
|
|
|
3142
|
-
[[LLM: After presenting the REST API spec (or noting its absence if not applicable), apply
|
|
3138
|
+
[[LLM: After presenting the REST API spec (or noting its absence if not applicable), apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3143
3139
|
|
|
3144
3140
|
## Database Schema
|
|
3145
3141
|
|
|
@@ -3153,7 +3149,7 @@ servers:
|
|
|
3153
3149
|
|
|
3154
3150
|
Present schema in format appropriate to database type (SQL DDL, JSON schema, etc.)
|
|
3155
3151
|
|
|
3156
|
-
After presenting the database schema, apply
|
|
3152
|
+
After presenting the database schema, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3157
3153
|
|
|
3158
3154
|
## Source Tree
|
|
3159
3155
|
|
|
@@ -3168,7 +3164,7 @@ After presenting the database schema, apply `tasks#advanced-elicitation` protoco
|
|
|
3168
3164
|
|
|
3169
3165
|
Adapt the structure based on project needs. For monorepos, show service separation. For serverless, show function organization. Include language-specific conventions.
|
|
3170
3166
|
|
|
3171
|
-
After presenting the structure, apply
|
|
3167
|
+
After presenting the structure, apply `.bmad-core/tasks/advanced-elicitation.md` protocol to refine based on user feedback.]]
|
|
3172
3168
|
|
|
3173
3169
|
```plaintext
|
|
3174
3170
|
{{project-root}}/
|
|
@@ -3211,7 +3207,7 @@ project-root/
|
|
|
3211
3207
|
@{/example}
|
|
3212
3208
|
```
|
|
3213
3209
|
|
|
3214
|
-
[[LLM: After presenting the source tree structure, apply
|
|
3210
|
+
[[LLM: After presenting the source tree structure, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3215
3211
|
|
|
3216
3212
|
## Infrastructure and Deployment
|
|
3217
3213
|
|
|
@@ -3256,7 +3252,7 @@ Get user input on deployment preferences and CI/CD tool choices.]]
|
|
|
3256
3252
|
- **Trigger Conditions:** {{rollback_triggers}}
|
|
3257
3253
|
- **Recovery Time Objective:** {{rto}}
|
|
3258
3254
|
|
|
3259
|
-
[[LLM: After presenting the infrastructure and deployment section, apply
|
|
3255
|
+
[[LLM: After presenting the infrastructure and deployment section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3260
3256
|
|
|
3261
3257
|
## Error Handling Strategy
|
|
3262
3258
|
|
|
@@ -3307,7 +3303,7 @@ This section guides both AI and human developers in consistent error handling.]]
|
|
|
3307
3303
|
- **Compensation Logic:** {{compensation_patterns}}
|
|
3308
3304
|
- **Idempotency:** {{idempotency_approach}}
|
|
3309
3305
|
|
|
3310
|
-
[[LLM: After presenting the error handling strategy, apply
|
|
3306
|
+
[[LLM: After presenting the error handling strategy, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3311
3307
|
|
|
3312
3308
|
## Coding Standards
|
|
3313
3309
|
|
|
@@ -3368,7 +3364,7 @@ Avoid obvious rules like "use SOLID principles" or "write clean code"]]
|
|
|
3368
3364
|
|
|
3369
3365
|
^^/CONDITION: has_language_specifics^^
|
|
3370
3366
|
|
|
3371
|
-
[[LLM: After presenting the coding standards, apply
|
|
3367
|
+
[[LLM: After presenting the coding standards, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3372
3368
|
|
|
3373
3369
|
## Test Strategy and Standards
|
|
3374
3370
|
|
|
@@ -3381,7 +3377,7 @@ Avoid obvious rules like "use SOLID principles" or "write clean code"]]
|
|
|
3381
3377
|
5. Determine integration test infrastructure
|
|
3382
3378
|
6. Plan for test data and external dependencies
|
|
3383
3379
|
|
|
3384
|
-
Note: Basic info goes in Coding Standards for dev agent. This detailed section is for QA agent and team reference. Apply
|
|
3380
|
+
Note: Basic info goes in Coding Standards for dev agent. This detailed section is for QA agent and team reference. Apply `.bmad-core/tasks/advanced-elicitation.md` after initial draft.]]
|
|
3385
3381
|
|
|
3386
3382
|
### Testing Philosophy
|
|
3387
3383
|
|
|
@@ -3442,7 +3438,7 @@ Note: Basic info goes in Coding Standards for dev agent. This detailed section i
|
|
|
3442
3438
|
- **Performance Tests:** {{perf_test_approach}}
|
|
3443
3439
|
- **Security Tests:** {{security_test_approach}}
|
|
3444
3440
|
|
|
3445
|
-
[[LLM: After presenting the test strategy section, apply
|
|
3441
|
+
[[LLM: After presenting the test strategy section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3446
3442
|
|
|
3447
3443
|
## Security
|
|
3448
3444
|
|
|
@@ -3506,7 +3502,7 @@ Note: Basic info goes in Coding Standards for dev agent. This detailed section i
|
|
|
3506
3502
|
- **DAST Tool:** {{dynamic_analysis}}
|
|
3507
3503
|
- **Penetration Testing:** {{pentest_schedule}}
|
|
3508
3504
|
|
|
3509
|
-
[[LLM: After presenting the security section, apply
|
|
3505
|
+
[[LLM: After presenting the security section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
3510
3506
|
|
|
3511
3507
|
## Checklist Results Report
|
|
3512
3508
|
|
|
@@ -3552,9 +3548,9 @@ Note: Basic info goes in Coding Standards for dev agent. This detailed section i
|
|
|
3552
3548
|
- Reference to this architecture and coding standards
|
|
3553
3549
|
- First epic/story to implement
|
|
3554
3550
|
- Key technical decisions to follow]]
|
|
3555
|
-
==================== END: templates
|
|
3551
|
+
==================== END: .bmad-core/templates/architecture-tmpl.md ====================
|
|
3556
3552
|
|
|
3557
|
-
==================== START: templates
|
|
3553
|
+
==================== START: .bmad-core/templates/brownfield-architecture-tmpl.md ====================
|
|
3558
3554
|
# {{Project Name}} Brownfield Enhancement Architecture
|
|
3559
3555
|
|
|
3560
3556
|
[[LLM: The default path and filename unless specified is docs/architecture.md]]
|
|
@@ -4099,9 +4095,9 @@ Present risk assessment and apply `tasks#advanced-elicitation` protocol]]
|
|
|
4099
4095
|
- Key technical decisions based on real project constraints
|
|
4100
4096
|
- Existing system compatibility requirements with specific verification steps
|
|
4101
4097
|
- Clear sequencing of implementation to minimize risk to existing functionality]]
|
|
4102
|
-
==================== END: templates
|
|
4098
|
+
==================== END: .bmad-core/templates/brownfield-architecture-tmpl.md ====================
|
|
4103
4099
|
|
|
4104
|
-
==================== START: templates
|
|
4100
|
+
==================== START: .bmad-core/templates/brownfield-prd-tmpl.md ====================
|
|
4105
4101
|
# {{Project Name}} Brownfield Enhancement PRD
|
|
4106
4102
|
|
|
4107
4103
|
[[LLM: The default path and filename unless specified is docs/prd.md]]
|
|
@@ -4368,9 +4364,9 @@ so that {{benefit}}.
|
|
|
4368
4364
|
- IV3: [[LLM: Performance impact verification requirement]]
|
|
4369
4365
|
|
|
4370
4366
|
<</REPEAT>>
|
|
4371
|
-
==================== END: templates
|
|
4367
|
+
==================== END: .bmad-core/templates/brownfield-prd-tmpl.md ====================
|
|
4372
4368
|
|
|
4373
|
-
==================== START: templates
|
|
4369
|
+
==================== START: .bmad-core/templates/competitor-analysis-tmpl.md ====================
|
|
4374
4370
|
# Competitive Analysis Report: {{Project/Product Name}}
|
|
4375
4371
|
|
|
4376
4372
|
[[LLM: The default path and filename unless specified is docs/competitor-analysis.md]]
|
|
@@ -4662,9 +4658,9 @@ so that {{benefit}}.
|
|
|
4662
4658
|
9. Proceed to next section
|
|
4663
4659
|
|
|
4664
4660
|
These replace the standard elicitation options when working on competitive analysis documents.]]
|
|
4665
|
-
==================== END: templates
|
|
4661
|
+
==================== END: .bmad-core/templates/competitor-analysis-tmpl.md ====================
|
|
4666
4662
|
|
|
4667
|
-
==================== START: templates
|
|
4663
|
+
==================== START: .bmad-core/templates/front-end-architecture-tmpl.md ====================
|
|
4668
4664
|
# {{Project Name}} Frontend Architecture Document
|
|
4669
4665
|
|
|
4670
4666
|
[[LLM: The default path and filename unless specified is docs/ui-architecture.md]]
|
|
@@ -4840,9 +4836,9 @@ Document the starter template decision and any constraints it imposes before pro
|
|
|
4840
4836
|
- Key import patterns
|
|
4841
4837
|
- File naming conventions
|
|
4842
4838
|
- Project-specific patterns and utilities]]
|
|
4843
|
-
==================== END: templates
|
|
4839
|
+
==================== END: .bmad-core/templates/front-end-architecture-tmpl.md ====================
|
|
4844
4840
|
|
|
4845
|
-
==================== START: templates
|
|
4841
|
+
==================== START: .bmad-core/templates/front-end-spec-tmpl.md ====================
|
|
4846
4842
|
# {{Project Name}} UI/UX Specification
|
|
4847
4843
|
|
|
4848
4844
|
[[LLM: The default path and filename unless specified is docs/front-end-spec.md]]
|
|
@@ -5256,9 +5252,9 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
5256
5252
|
## Checklist Results
|
|
5257
5253
|
|
|
5258
5254
|
[[LLM: If a UI/UX checklist exists, run it against this document and report results here.]]
|
|
5259
|
-
==================== END: templates
|
|
5255
|
+
==================== END: .bmad-core/templates/front-end-spec-tmpl.md ====================
|
|
5260
5256
|
|
|
5261
|
-
==================== START: templates
|
|
5257
|
+
==================== START: .bmad-core/templates/fullstack-architecture-tmpl.md ====================
|
|
5262
5258
|
# {{Project Name}} Fullstack Architecture Document
|
|
5263
5259
|
|
|
5264
5260
|
[[LLM: The default path and filename unless specified is docs/architecture.md]]
|
|
@@ -6277,9 +6273,9 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
6277
6273
|
## Checklist Results Report
|
|
6278
6274
|
|
|
6279
6275
|
[[LLM: Before running the checklist, offer to output the full architecture document. Once user confirms, execute the `architect-checklist` and populate results here.]]
|
|
6280
|
-
==================== END: templates
|
|
6276
|
+
==================== END: .bmad-core/templates/fullstack-architecture-tmpl.md ====================
|
|
6281
6277
|
|
|
6282
|
-
==================== START: templates
|
|
6278
|
+
==================== START: .bmad-core/templates/market-research-tmpl.md ====================
|
|
6283
6279
|
# Market Research Report: {{Project/Product Name}}
|
|
6284
6280
|
|
|
6285
6281
|
[[LLM: The default path and filename unless specified is docs/market-research.md]]
|
|
@@ -6543,9 +6539,9 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
6543
6539
|
9. Proceed to next section
|
|
6544
6540
|
|
|
6545
6541
|
These replace the standard elicitation options when working on market research documents.]]
|
|
6546
|
-
==================== END: templates
|
|
6542
|
+
==================== END: .bmad-core/templates/market-research-tmpl.md ====================
|
|
6547
6543
|
|
|
6548
|
-
==================== START: templates
|
|
6544
|
+
==================== START: .bmad-core/templates/prd-tmpl.md ====================
|
|
6549
6545
|
# {{Project Name}} Product Requirements Document (PRD)
|
|
6550
6546
|
|
|
6551
6547
|
[[LLM: The default path and filename unless specified is docs/prd.md]]
|
|
@@ -6573,7 +6569,7 @@ These replace the standard elicitation options when working on market research d
|
|
|
6573
6569
|
|
|
6574
6570
|
## Requirements
|
|
6575
6571
|
|
|
6576
|
-
[[LLM: Draft the list of functional and non functional requirements under the two child sections, and immediately execute tasks
|
|
6572
|
+
[[LLM: Draft the list of functional and non functional requirements under the two child sections, and immediately execute .bmad-core/tasks/advanced-elicitation.md display]]
|
|
6577
6573
|
|
|
6578
6574
|
### Functional
|
|
6579
6575
|
|
|
@@ -6596,7 +6592,7 @@ These replace the standard elicitation options when working on market research d
|
|
|
6596
6592
|
3. Clearly let the user know where assumptions were made
|
|
6597
6593
|
4. Ask targeted questions for unclear/missing elements or areas needing more specification
|
|
6598
6594
|
5. This is NOT detailed UI spec - focus on product vision and user goals
|
|
6599
|
-
6. After section completion, immediately apply
|
|
6595
|
+
6. After section completion, immediately apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6600
6596
|
|
|
6601
6597
|
### Overall UX Vision
|
|
6602
6598
|
|
|
@@ -6638,12 +6634,12 @@ These replace the standard elicitation options when working on market research d
|
|
|
6638
6634
|
|
|
6639
6635
|
[[LLM: Gather technical decisions that will guide the Architect. Steps:
|
|
6640
6636
|
|
|
6641
|
-
1. Check if
|
|
6637
|
+
1. Check if `.bmad-core/data/technical-preferences.yaml` or an attached `technical-preferences` file exists - use it to pre-populate choices
|
|
6642
6638
|
2. Ask user about: languages, frameworks, starter templates, libraries, APIs, deployment targets
|
|
6643
6639
|
3. For unknowns, offer guidance based on project goals and MVP scope
|
|
6644
6640
|
4. Document ALL technical choices with rationale (why this choice fits the project)
|
|
6645
6641
|
5. These become constraints for the Architect - be specific and complete
|
|
6646
|
-
6. After section completion, apply
|
|
6642
|
+
6. After section completion, apply `.bmad-core/tasks/advanced-elicitation.md` protocol.]]
|
|
6647
6643
|
|
|
6648
6644
|
### Repository Structure: { Monorepo, Polyrepo, etc...}
|
|
6649
6645
|
|
|
@@ -6661,7 +6657,7 @@ These replace the standard elicitation options when working on market research d
|
|
|
6661
6657
|
|
|
6662
6658
|
## Epics
|
|
6663
6659
|
|
|
6664
|
-
[[LLM: First, present a high-level list of all epics for user approval, the epic_list and immediately execute tasks
|
|
6660
|
+
[[LLM: First, present a high-level list of all epics for user approval, the epic_list and immediately execute .bmad-core/tasks/advanced-elicitation.md display. Each epic should have a title and a short (1 sentence) goal statement. This allows the user to review the overall structure before diving into details.
|
|
6665
6661
|
|
|
6666
6662
|
CRITICAL: Epics MUST be logically sequential following agile best practices:
|
|
6667
6663
|
|
|
@@ -6687,7 +6683,7 @@ CRITICAL: Epics MUST be logically sequential following agile best practices:
|
|
|
6687
6683
|
|
|
6688
6684
|
@{/example}
|
|
6689
6685
|
|
|
6690
|
-
[[LLM: After the epic list is approved, present each `epic_details` with all its stories and acceptance criteria as a complete review unit and immediately execute tasks
|
|
6686
|
+
[[LLM: After the epic list is approved, present each `epic_details` with all its stories and acceptance criteria as a complete review unit and immediately execute .bmad-core/tasks/advanced-elicitation.md display, before moving on to the next epic.]]
|
|
6691
6687
|
|
|
6692
6688
|
<<REPEAT: epic_details>>
|
|
6693
6689
|
|
|
@@ -6748,9 +6744,214 @@ so that {{benefit}}.
|
|
|
6748
6744
|
### Architect Prompt
|
|
6749
6745
|
|
|
6750
6746
|
[[LLM: This section will contain the prompt for the Architect, keep it short and to the point to initiate create architecture mode using this document as input.]]
|
|
6751
|
-
==================== END: templates
|
|
6752
|
-
|
|
6753
|
-
==================== START: templates
|
|
6747
|
+
==================== END: .bmad-core/templates/prd-tmpl.md ====================
|
|
6748
|
+
|
|
6749
|
+
==================== START: .bmad-core/templates/prd-tmpl2.yaml ====================
|
|
6750
|
+
template:
|
|
6751
|
+
id: prd-template-v2
|
|
6752
|
+
name: Product Requirements Document
|
|
6753
|
+
version: 2.0
|
|
6754
|
+
output:
|
|
6755
|
+
format: markdown
|
|
6756
|
+
filename: docs/prd.md
|
|
6757
|
+
title: "{{project_name}} Product Requirements Document (PRD)"
|
|
6758
|
+
|
|
6759
|
+
workflow:
|
|
6760
|
+
mode: interactive
|
|
6761
|
+
elicitation: advanced-elicitation
|
|
6762
|
+
|
|
6763
|
+
sections:
|
|
6764
|
+
- id: goals-context
|
|
6765
|
+
title: Goals and Background Context
|
|
6766
|
+
instruction: |
|
|
6767
|
+
Ask if Project Brief document is available. If NO Project Brief exists, STRONGLY recommend creating one first using project-brief-tmpl (it provides essential foundation: problem statement, target users, success metrics, MVP scope, constraints). If user insists on PRD without brief, gather this information during Goals section. If Project Brief exists, review and use it to populate Goals (bullet list of desired outcomes) and Background Context (1-2 paragraphs on what this solves and why) so we can determine what is and is not in scope for PRD mvp. Either way this is critical to determine the requirements. Include Change Log table.
|
|
6768
|
+
sections:
|
|
6769
|
+
- id: goals
|
|
6770
|
+
title: Goals
|
|
6771
|
+
type: bullet-list
|
|
6772
|
+
instruction: Bullet list of 1 line desired outcomes the PRD will deliver if successful - user and project desires
|
|
6773
|
+
- id: background
|
|
6774
|
+
title: Background Context
|
|
6775
|
+
type: paragraphs
|
|
6776
|
+
instruction: 1-2 short paragraphs summarizing the background context, such as what we learned in the brief without being redundant with the goals, what and why this solves a problem, what the current landscape or need is
|
|
6777
|
+
- id: changelog
|
|
6778
|
+
title: Change Log
|
|
6779
|
+
type: table
|
|
6780
|
+
columns: [Date, Version, Description, Author]
|
|
6781
|
+
instruction: Track document versions and changes
|
|
6782
|
+
|
|
6783
|
+
- id: requirements
|
|
6784
|
+
title: Requirements
|
|
6785
|
+
instruction: Draft the list of functional and non functional requirements under the two child sections
|
|
6786
|
+
elicit: true
|
|
6787
|
+
sections:
|
|
6788
|
+
- id: functional
|
|
6789
|
+
title: Functional
|
|
6790
|
+
type: numbered-list
|
|
6791
|
+
prefix: FR
|
|
6792
|
+
instruction: Each Requirement will be a bullet markdown and an identifier sequence starting with FR
|
|
6793
|
+
examples:
|
|
6794
|
+
- "FR6: The Todo List uses AI to detect and warn against potentially duplicate todo items that are worded differently."
|
|
6795
|
+
- id: non-functional
|
|
6796
|
+
title: Non Functional
|
|
6797
|
+
type: numbered-list
|
|
6798
|
+
prefix: NFR
|
|
6799
|
+
instruction: Each Requirement will be a bullet markdown and an identifier sequence starting with NFR
|
|
6800
|
+
examples:
|
|
6801
|
+
- "NFR1: AWS service usage must aim to stay within free-tier limits where feasible."
|
|
6802
|
+
|
|
6803
|
+
- id: ui-goals
|
|
6804
|
+
title: User Interface Design Goals
|
|
6805
|
+
condition: PRD has UX/UI requirements
|
|
6806
|
+
instruction: |
|
|
6807
|
+
Capture high-level UI/UX vision to guide Design Architect and to inform story creation. Steps:
|
|
6808
|
+
|
|
6809
|
+
1. Pre-fill all subsections with educated guesses based on project context
|
|
6810
|
+
2. Present the complete rendered section to user
|
|
6811
|
+
3. Clearly let the user know where assumptions were made
|
|
6812
|
+
4. Ask targeted questions for unclear/missing elements or areas needing more specification
|
|
6813
|
+
5. This is NOT detailed UI spec - focus on product vision and user goals
|
|
6814
|
+
elicit: true
|
|
6815
|
+
choices:
|
|
6816
|
+
accessibility: [None, WCAG AA, WCAG AAA]
|
|
6817
|
+
platforms: [Web Responsive, Mobile Only, Desktop Only, Cross-Platform]
|
|
6818
|
+
sections:
|
|
6819
|
+
- id: ux-vision
|
|
6820
|
+
title: Overall UX Vision
|
|
6821
|
+
- id: interaction-paradigms
|
|
6822
|
+
title: Key Interaction Paradigms
|
|
6823
|
+
- id: core-screens
|
|
6824
|
+
title: Core Screens and Views
|
|
6825
|
+
instruction: From a product perspective, what are the most critical screens or views necessary to deliver the the PRD values and goals? This is meant to be Conceptual High Level to Drive Rough Epic or User Stories
|
|
6826
|
+
examples:
|
|
6827
|
+
- "Login Screen"
|
|
6828
|
+
- "Main Dashboard"
|
|
6829
|
+
- "Item Detail Page"
|
|
6830
|
+
- "Settings Page"
|
|
6831
|
+
- id: accessibility
|
|
6832
|
+
title: "Accessibility: {None|WCAG AA|WCAG AAA|Custom Requirements}"
|
|
6833
|
+
- id: branding
|
|
6834
|
+
title: Branding
|
|
6835
|
+
instruction: Any known branding elements or style guides that must be incorporated?
|
|
6836
|
+
examples:
|
|
6837
|
+
- "Replicate the look and feel of early 1900s black and white cinema, including animated effects replicating film damage or projector glitches during page or state transitions."
|
|
6838
|
+
- "Attached is the full color pallet and tokens for our corporate branding."
|
|
6839
|
+
- id: target-platforms
|
|
6840
|
+
title: "Target Device and Platforms: {Web Responsive|Mobile Only|Desktop Only|Cross-Platform}"
|
|
6841
|
+
examples:
|
|
6842
|
+
- "Web Responsive, and all mobile platforms"
|
|
6843
|
+
- "iPhone Only"
|
|
6844
|
+
- "ASCII Windows Desktop"
|
|
6845
|
+
|
|
6846
|
+
- id: technical-assumptions
|
|
6847
|
+
title: Technical Assumptions
|
|
6848
|
+
instruction: |
|
|
6849
|
+
Gather technical decisions that will guide the Architect. Steps:
|
|
6850
|
+
|
|
6851
|
+
1. Check if .bmad-core/data/technical-preferences.yaml or an attached technical-preferences file exists - use it to pre-populate choices
|
|
6852
|
+
2. Ask user about: languages, frameworks, starter templates, libraries, APIs, deployment targets
|
|
6853
|
+
3. For unknowns, offer guidance based on project goals and MVP scope
|
|
6854
|
+
4. Document ALL technical choices with rationale (why this choice fits the project)
|
|
6855
|
+
5. These become constraints for the Architect - be specific and complete
|
|
6856
|
+
elicit: true
|
|
6857
|
+
choices:
|
|
6858
|
+
repository: [Monorepo, Polyrepo]
|
|
6859
|
+
architecture: [Monolith, Microservices, Serverless]
|
|
6860
|
+
testing: [Unit Only, Unit + Integration, Full Testing Pyramid]
|
|
6861
|
+
sections:
|
|
6862
|
+
- id: repository-structure
|
|
6863
|
+
title: "Repository Structure: {Monorepo|Polyrepo|Multi-repo}"
|
|
6864
|
+
- id: service-architecture
|
|
6865
|
+
title: Service Architecture
|
|
6866
|
+
instruction: "CRITICAL DECISION - Document the high-level service architecture (e.g., Monolith, Microservices, Serverless functions within a Monorepo)."
|
|
6867
|
+
- id: testing-requirements
|
|
6868
|
+
title: Testing Requirements
|
|
6869
|
+
instruction: "CRITICAL DECISION - Document the testing requirements, unit only, integration, e2e, manual, need for manual testing convenience methods)."
|
|
6870
|
+
- id: additional-assumptions
|
|
6871
|
+
title: Additional Technical Assumptions and Requests
|
|
6872
|
+
instruction: Throughout the entire process of drafting this document, if any other technical assumptions are raised or discovered appropriate for the architect, add them here as additional bulleted items
|
|
6873
|
+
|
|
6874
|
+
- id: epic-list
|
|
6875
|
+
title: Epic List
|
|
6876
|
+
instruction: |
|
|
6877
|
+
Present a high-level list of all epics for user approval. Each epic should have a title and a short (1 sentence) goal statement. This allows the user to review the overall structure before diving into details.
|
|
6878
|
+
|
|
6879
|
+
CRITICAL: Epics MUST be logically sequential following agile best practices:
|
|
6880
|
+
|
|
6881
|
+
- Each epic should deliver a significant, end-to-end, fully deployable increment of testable functionality
|
|
6882
|
+
- Epic 1 must establish foundational project infrastructure (app setup, Git, CI/CD, core services) unless we are adding new functionality to an existing app, while also delivering an initial piece of functionality, even as simple as a health-check route or display of a simple canary page - remember this when we produce the stories for the first epic!
|
|
6883
|
+
- Each subsequent epic builds upon previous epics' functionality delivering major blocks of functionality that provide tangible value to users or business when deployed
|
|
6884
|
+
- Not every project needs multiple epics, an epic needs to deliver value. For example, an API completed can deliver value even if a UI is not complete and planned for a separate epic.
|
|
6885
|
+
- Err on the side of less epics, but let the user know your rationale and offer options for splitting them if it seems some are too large or focused on disparate things.
|
|
6886
|
+
- Cross Cutting Concerns should flow through epics and stories and not be final stories. For example, adding a logging framework as a last story of an epic, or at the end of a project as a final epic or story would be terrible as we would not have logging from the beginning.
|
|
6887
|
+
elicit: true
|
|
6888
|
+
examples:
|
|
6889
|
+
- "Epic 1: Foundation & Core Infrastructure: Establish project setup, authentication, and basic user management"
|
|
6890
|
+
- "Epic 2: Core Business Entities: Create and manage primary domain objects with CRUD operations"
|
|
6891
|
+
- "Epic 3: User Workflows & Interactions: Enable key user journeys and business processes"
|
|
6892
|
+
- "Epic 4: Reporting & Analytics: Provide insights and data visualization for users"
|
|
6893
|
+
|
|
6894
|
+
- id: epic-details
|
|
6895
|
+
title: Epic {{epic_number}} {{epic_title}}
|
|
6896
|
+
repeatable: true
|
|
6897
|
+
instruction: |
|
|
6898
|
+
After the epic list is approved, present each epic with all its stories and acceptance criteria as a complete review unit.
|
|
6899
|
+
|
|
6900
|
+
For each epic provide expanded goal (2-3 sentences describing the objective and value all the stories will achieve).
|
|
6901
|
+
|
|
6902
|
+
CRITICAL STORY SEQUENCING REQUIREMENTS:
|
|
6903
|
+
|
|
6904
|
+
- Stories within each epic MUST be logically sequential
|
|
6905
|
+
- Each story should be a "vertical slice" delivering complete functionality aside from early enabler stories for project foundation
|
|
6906
|
+
- No story should depend on work from a later story or epic
|
|
6907
|
+
- Identify and note any direct prerequisite stories
|
|
6908
|
+
- Focus on "what" and "why" not "how" (leave technical implementation to Architect) yet be precise enough to support a logical sequential order of operations from story to story.
|
|
6909
|
+
- Ensure each story delivers clear user or business value, try to avoid enablers and build them into stories that deliver value.
|
|
6910
|
+
- Size stories for AI agent execution: Each story must be completable by a single AI agent in one focused session without context overflow
|
|
6911
|
+
- Think "junior developer working for 2-4 hours" - stories must be small, focused, and self-contained
|
|
6912
|
+
- If a story seems complex, break it down further as long as it can deliver a vertical slice
|
|
6913
|
+
elicit: true
|
|
6914
|
+
template: "{{epic_goal}}"
|
|
6915
|
+
sections:
|
|
6916
|
+
- id: story
|
|
6917
|
+
title: Story {{epic_number}}.{{story_number}} {{story_title}}
|
|
6918
|
+
repeatable: true
|
|
6919
|
+
template: |
|
|
6920
|
+
As a {{user_type}},
|
|
6921
|
+
I want {{action}},
|
|
6922
|
+
so that {{benefit}}.
|
|
6923
|
+
sections:
|
|
6924
|
+
- id: acceptance-criteria
|
|
6925
|
+
title: Acceptance Criteria
|
|
6926
|
+
type: numbered-list
|
|
6927
|
+
item_template: "{{criterion_number}}: {{criteria}}"
|
|
6928
|
+
repeatable: true
|
|
6929
|
+
instruction: |
|
|
6930
|
+
Define clear, comprehensive, and testable acceptance criteria that:
|
|
6931
|
+
|
|
6932
|
+
- Precisely define what "done" means from a functional perspective
|
|
6933
|
+
- Are unambiguous and serve as basis for verification
|
|
6934
|
+
- Include any critical non-functional requirements from the PRD
|
|
6935
|
+
- Consider local testability for backend/data components
|
|
6936
|
+
- Specify UI/UX requirements and framework adherence where applicable
|
|
6937
|
+
- Avoid cross-cutting concerns that should be in other stories or PRD sections
|
|
6938
|
+
|
|
6939
|
+
- id: checklist-results
|
|
6940
|
+
title: Checklist Results Report
|
|
6941
|
+
instruction: Before running the checklist and drafting the prompts, offer to output the full updated PRD. If outputting it, confirm with the user that you will be proceeding to run the checklist and produce the report. Once the user confirms, execute the pm-checklist and populate the results in this section.
|
|
6942
|
+
|
|
6943
|
+
- id: next-steps
|
|
6944
|
+
title: Next Steps
|
|
6945
|
+
sections:
|
|
6946
|
+
- id: design-architect-prompt
|
|
6947
|
+
title: Design Architect Prompt
|
|
6948
|
+
instruction: This section will contain the prompt for the Design Architect, keep it short and to the point to initiate create architecture mode using this document as input.
|
|
6949
|
+
- id: architect-prompt
|
|
6950
|
+
title: Architect Prompt
|
|
6951
|
+
instruction: This section will contain the prompt for the Architect, keep it short and to the point to initiate create architecture mode using this document as input.
|
|
6952
|
+
==================== END: .bmad-core/templates/prd-tmpl2.yaml ====================
|
|
6953
|
+
|
|
6954
|
+
==================== START: .bmad-core/templates/project-brief-tmpl.md ====================
|
|
6754
6955
|
---
|
|
6755
6956
|
defaultOutput: docs/brief.md
|
|
6756
6957
|
---
|
|
@@ -6983,9 +7184,9 @@ This Project Brief provides the full context for {{Project Name}}. Please start
|
|
|
6983
7184
|
9. Proceed to next section
|
|
6984
7185
|
|
|
6985
7186
|
These replace the standard elicitation options when working on project brief documents.]]
|
|
6986
|
-
==================== END: templates
|
|
7187
|
+
==================== END: .bmad-core/templates/project-brief-tmpl.md ====================
|
|
6987
7188
|
|
|
6988
|
-
==================== START: templates
|
|
7189
|
+
==================== START: .bmad-core/templates/story-tmpl.md ====================
|
|
6989
7190
|
---
|
|
6990
7191
|
defaultOutput: docs/stories/{{EpicNum}}.{{StoryNum}}.{{Short Title Copied from Epic File specific story}}.md
|
|
6991
7192
|
smAgent:
|
|
@@ -7044,9 +7245,9 @@ smAgent:
|
|
|
7044
7245
|
### File List
|
|
7045
7246
|
|
|
7046
7247
|
## QA Results
|
|
7047
|
-
==================== END: templates
|
|
7248
|
+
==================== END: .bmad-core/templates/story-tmpl.md ====================
|
|
7048
7249
|
|
|
7049
|
-
==================== START: checklists
|
|
7250
|
+
==================== START: .bmad-core/checklists/architect-checklist.md ====================
|
|
7050
7251
|
# Architect Solution Validation Checklist
|
|
7051
7252
|
|
|
7052
7253
|
This checklist serves as a comprehensive framework for the Architect to validate the technical design and architecture before development execution. The Architect should systematically work through each item, ensuring the architecture is robust, scalable, secure, and aligned with the product requirements.
|
|
@@ -7490,9 +7691,9 @@ Now that you've completed the checklist, generate a comprehensive validation rep
|
|
|
7490
7691
|
- Component design clarity
|
|
7491
7692
|
|
|
7492
7693
|
After presenting the report, ask the user if they would like detailed analysis of any specific section, especially those with warnings or failures.]]
|
|
7493
|
-
==================== END: checklists
|
|
7694
|
+
==================== END: .bmad-core/checklists/architect-checklist.md ====================
|
|
7494
7695
|
|
|
7495
|
-
==================== START: checklists
|
|
7696
|
+
==================== START: .bmad-core/checklists/change-checklist.md ====================
|
|
7496
7697
|
# Change Navigation Checklist
|
|
7497
7698
|
|
|
7498
7699
|
**Purpose:** To systematically guide the selected Agent and user through the analysis and planning required when a significant change (pivot, tech issue, missing requirement, failed story) is identified during the BMad workflow.
|
|
@@ -7675,9 +7876,9 @@ Keep it action-oriented and forward-looking.]]
|
|
|
7675
7876
|
- [ ] **Confirm Next Steps:** Reiterate the handoff plan and the next actions to be taken by specific agents.
|
|
7676
7877
|
|
|
7677
7878
|
---
|
|
7678
|
-
==================== END: checklists
|
|
7879
|
+
==================== END: .bmad-core/checklists/change-checklist.md ====================
|
|
7679
7880
|
|
|
7680
|
-
==================== START: checklists
|
|
7881
|
+
==================== START: .bmad-core/checklists/pm-checklist.md ====================
|
|
7681
7882
|
# Product Manager (PM) Requirements Checklist
|
|
7682
7883
|
|
|
7683
7884
|
This checklist serves as a comprehensive framework to ensure the Product Requirements Document (PRD) and Epic definitions are complete, well-structured, and appropriately scoped for MVP development. The PM should systematically work through each item during the product definition process.
|
|
@@ -8053,9 +8254,9 @@ After presenting the report, ask if the user wants:
|
|
|
8053
8254
|
|
|
8054
8255
|
- **READY FOR ARCHITECT**: The PRD and epics are comprehensive, properly structured, and ready for architectural design.
|
|
8055
8256
|
- **NEEDS REFINEMENT**: The requirements documentation requires additional work to address the identified deficiencies.
|
|
8056
|
-
==================== END: checklists
|
|
8257
|
+
==================== END: .bmad-core/checklists/pm-checklist.md ====================
|
|
8057
8258
|
|
|
8058
|
-
==================== START: checklists
|
|
8259
|
+
==================== START: .bmad-core/checklists/po-master-checklist.md ====================
|
|
8059
8260
|
# Product Owner (PO) Master Validation Checklist
|
|
8060
8261
|
|
|
8061
8262
|
This checklist serves as a comprehensive framework for the Product Owner to validate project plans before development execution. It adapts intelligently based on project type (greenfield vs brownfield) and includes UI/UX considerations when applicable.
|
|
@@ -8497,9 +8698,9 @@ After presenting the report, ask if the user wants:
|
|
|
8497
8698
|
- **APPROVED**: The plan is comprehensive, properly sequenced, and ready for implementation.
|
|
8498
8699
|
- **CONDITIONAL**: The plan requires specific adjustments before proceeding.
|
|
8499
8700
|
- **REJECTED**: The plan requires significant revision to address critical deficiencies.
|
|
8500
|
-
==================== END: checklists
|
|
8701
|
+
==================== END: .bmad-core/checklists/po-master-checklist.md ====================
|
|
8501
8702
|
|
|
8502
|
-
==================== START: checklists
|
|
8703
|
+
==================== START: .bmad-core/checklists/story-dod-checklist.md ====================
|
|
8503
8704
|
# Story Definition of Done (DoD) Checklist
|
|
8504
8705
|
|
|
8505
8706
|
## Instructions for Developer Agent
|
|
@@ -8601,9 +8802,9 @@ After completing the checklist:
|
|
|
8601
8802
|
Be honest - it's better to flag issues now than have them discovered later.]]
|
|
8602
8803
|
|
|
8603
8804
|
- [ ] I, the Developer Agent, confirm that all applicable items above have been addressed.
|
|
8604
|
-
==================== END: checklists
|
|
8805
|
+
==================== END: .bmad-core/checklists/story-dod-checklist.md ====================
|
|
8605
8806
|
|
|
8606
|
-
==================== START: checklists
|
|
8807
|
+
==================== START: .bmad-core/checklists/story-draft-checklist.md ====================
|
|
8607
8808
|
# Story Draft Checklist
|
|
8608
8809
|
|
|
8609
8810
|
The Scrum Master should use this checklist to validate that each story contains sufficient context for a developer agent to implement it successfully, while assuming the dev agent has reasonable capabilities to figure things out.
|
|
@@ -8760,9 +8961,9 @@ Be pragmatic - perfect documentation doesn't exist, but it must be enough to pro
|
|
|
8760
8961
|
- READY: The story provides sufficient context for implementation
|
|
8761
8962
|
- NEEDS REVISION: The story requires updates (see issues)
|
|
8762
8963
|
- BLOCKED: External information required (specify what information)
|
|
8763
|
-
==================== END: checklists
|
|
8964
|
+
==================== END: .bmad-core/checklists/story-draft-checklist.md ====================
|
|
8764
8965
|
|
|
8765
|
-
==================== START: data
|
|
8966
|
+
==================== START: .bmad-core/data/bmad-kb.md ====================
|
|
8766
8967
|
# BMad Knowledge Base
|
|
8767
8968
|
|
|
8768
8969
|
## Overview
|
|
@@ -8798,13 +8999,15 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
8798
8999
|
|
|
8799
9000
|
### The Two-Phase Approach
|
|
8800
9001
|
|
|
8801
|
-
|
|
9002
|
+
#### Phase 1: Planning (Web UI - Cost Effective)
|
|
9003
|
+
|
|
8802
9004
|
- Use large context windows (Gemini's 1M tokens)
|
|
8803
9005
|
- Generate comprehensive documents (PRD, Architecture)
|
|
8804
9006
|
- Leverage multiple agents for brainstorming
|
|
8805
9007
|
- Create once, use throughout development
|
|
8806
9008
|
|
|
8807
|
-
|
|
9009
|
+
#### Phase 2: Development (IDE - Implementation)
|
|
9010
|
+
|
|
8808
9011
|
- Shard documents into manageable pieces
|
|
8809
9012
|
- Execute focused SM → Dev cycles
|
|
8810
9013
|
- One story at a time, sequential progress
|
|
@@ -8834,6 +9037,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
8834
9037
|
### Quick Start Options
|
|
8835
9038
|
|
|
8836
9039
|
#### Option 1: Web UI
|
|
9040
|
+
|
|
8837
9041
|
**Best for**: ChatGPT, Claude, Gemini users who want to start immediately
|
|
8838
9042
|
|
|
8839
9043
|
1. Navigate to `dist/teams/`
|
|
@@ -8843,6 +9047,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
8843
9047
|
5. Type `/help` to see available commands
|
|
8844
9048
|
|
|
8845
9049
|
#### Option 2: IDE Integration
|
|
9050
|
+
|
|
8846
9051
|
**Best for**: Cursor, Claude Code, Windsurf, Trae, Cline, Roo Code, Github Copilot users
|
|
8847
9052
|
|
|
8848
9053
|
```bash
|
|
@@ -8851,6 +9056,7 @@ npx bmad-method install
|
|
|
8851
9056
|
```
|
|
8852
9057
|
|
|
8853
9058
|
**Installation Steps**:
|
|
9059
|
+
|
|
8854
9060
|
- Choose "Complete installation"
|
|
8855
9061
|
- Select your IDE from supported options:
|
|
8856
9062
|
- **Cursor**: Native AI integration
|
|
@@ -8859,11 +9065,12 @@ npx bmad-method install
|
|
|
8859
9065
|
- **Trae**: Built-in AI capabilities
|
|
8860
9066
|
- **Cline**: VS Code extension with AI features
|
|
8861
9067
|
- **Roo Code**: Web-based IDE with agent support
|
|
8862
|
-
- **
|
|
9068
|
+
- **GitHub Copilot**: VS Code extension with AI peer programming assistant
|
|
8863
9069
|
|
|
8864
9070
|
**Note for VS Code Users**: BMad-Method assumes when you mention "VS Code" that you're using it with an AI-powered extension like GitHub Copilot, Cline, or Roo. Standard VS Code without AI capabilities cannot run BMad agents. The installer includes built-in support for Cline and Roo.
|
|
8865
9071
|
|
|
8866
9072
|
**Verify Installation**:
|
|
9073
|
+
|
|
8867
9074
|
- `.bmad-core/` folder created with all agents
|
|
8868
9075
|
- IDE-specific integration files created
|
|
8869
9076
|
- All agent commands/rules/modes available
|
|
@@ -8873,12 +9080,14 @@ npx bmad-method install
|
|
|
8873
9080
|
### Environment Selection Guide
|
|
8874
9081
|
|
|
8875
9082
|
**Use Web UI for**:
|
|
9083
|
+
|
|
8876
9084
|
- Initial planning and documentation (PRD, architecture)
|
|
8877
9085
|
- Cost-effective document creation (especially with Gemini)
|
|
8878
9086
|
- Brainstorming and analysis phases
|
|
8879
9087
|
- Multi-agent consultation and planning
|
|
8880
9088
|
|
|
8881
9089
|
**Use IDE for**:
|
|
9090
|
+
|
|
8882
9091
|
- Active development and coding
|
|
8883
9092
|
- File operations and project integration
|
|
8884
9093
|
- Document sharding and story management
|
|
@@ -8891,35 +9100,41 @@ npx bmad-method install
|
|
|
8891
9100
|
**Can you do everything in IDE?** Yes, but understand the tradeoffs:
|
|
8892
9101
|
|
|
8893
9102
|
**Pros of IDE-Only**:
|
|
9103
|
+
|
|
8894
9104
|
- Single environment workflow
|
|
8895
9105
|
- Direct file operations from start
|
|
8896
9106
|
- No copy/paste between environments
|
|
8897
9107
|
- Immediate project integration
|
|
8898
9108
|
|
|
8899
9109
|
**Cons of IDE-Only**:
|
|
9110
|
+
|
|
8900
9111
|
- Higher token costs for large document creation
|
|
8901
9112
|
- Smaller context windows (varies by IDE/model)
|
|
8902
9113
|
- May hit limits during planning phases
|
|
8903
9114
|
- Less cost-effective for brainstorming
|
|
8904
9115
|
|
|
8905
9116
|
**Using Web Agents in IDE**:
|
|
9117
|
+
|
|
8906
9118
|
- **NOT RECOMMENDED**: Web agents (PM, Architect) have rich dependencies designed for large contexts
|
|
8907
9119
|
- **Why it matters**: Dev agents are kept lean to maximize coding context
|
|
8908
9120
|
- **The principle**: "Dev agents code, planning agents plan" - mixing breaks this optimization
|
|
8909
9121
|
|
|
8910
9122
|
**About bmad-master and bmad-orchestrator**:
|
|
9123
|
+
|
|
8911
9124
|
- **bmad-master**: CAN do any task without switching agents, BUT...
|
|
8912
9125
|
- **Still use specialized agents for planning**: PM, Architect, and UX Expert have tuned personas that produce better results
|
|
8913
9126
|
- **Why specialization matters**: Each agent's personality and focus creates higher quality outputs
|
|
8914
9127
|
- **If using bmad-master/orchestrator**: Fine for planning phases, but...
|
|
8915
9128
|
|
|
8916
9129
|
**CRITICAL RULE for Development**:
|
|
9130
|
+
|
|
8917
9131
|
- **ALWAYS use SM agent for story creation** - Never use bmad-master/orchestrator
|
|
8918
9132
|
- **ALWAYS use Dev agent for implementation** - Never use bmad-master/orchestrator
|
|
8919
9133
|
- **Why this matters**: SM and Dev agents are specifically optimized for the development workflow
|
|
8920
9134
|
- **No exceptions**: Even if using bmad-master for everything else, switch to SM → Dev for implementation
|
|
8921
9135
|
|
|
8922
9136
|
**Best Practice for IDE-Only**:
|
|
9137
|
+
|
|
8923
9138
|
1. Use PM/Architect/UX agents for planning (better than bmad-master)
|
|
8924
9139
|
2. Create documents directly in project
|
|
8925
9140
|
3. Shard immediately after creation
|
|
@@ -8943,17 +9158,20 @@ This configuration file acts as a map for BMad agents, telling them exactly wher
|
|
|
8943
9158
|
### Key Configuration Areas
|
|
8944
9159
|
|
|
8945
9160
|
#### PRD Configuration
|
|
9161
|
+
|
|
8946
9162
|
- **prdVersion**: Tells agents if PRD follows v3 or v4 conventions
|
|
8947
9163
|
- **prdSharded**: Whether epics are embedded (false) or in separate files (true)
|
|
8948
9164
|
- **prdShardedLocation**: Where to find sharded epic files
|
|
8949
9165
|
- **epicFilePattern**: Pattern for epic filenames (e.g., `epic-{n}*.md`)
|
|
8950
9166
|
|
|
8951
9167
|
#### Architecture Configuration
|
|
9168
|
+
|
|
8952
9169
|
- **architectureVersion**: v3 (monolithic) or v4 (sharded)
|
|
8953
9170
|
- **architectureSharded**: Whether architecture is split into components
|
|
8954
9171
|
- **architectureShardedLocation**: Where sharded architecture files live
|
|
8955
9172
|
|
|
8956
9173
|
#### Developer Files
|
|
9174
|
+
|
|
8957
9175
|
- **devLoadAlwaysFiles**: List of files the dev agent loads for every task
|
|
8958
9176
|
- **devDebugLog**: Where dev agent logs repeated failures
|
|
8959
9177
|
- **agentCoreDump**: Export location for chat conversations
|
|
@@ -8968,6 +9186,7 @@ This configuration file acts as a map for BMad agents, telling them exactly wher
|
|
|
8968
9186
|
### Common Configurations
|
|
8969
9187
|
|
|
8970
9188
|
**Legacy V3 Project**:
|
|
9189
|
+
|
|
8971
9190
|
```yaml
|
|
8972
9191
|
prdVersion: v3
|
|
8973
9192
|
prdSharded: false
|
|
@@ -8976,6 +9195,7 @@ architectureSharded: false
|
|
|
8976
9195
|
```
|
|
8977
9196
|
|
|
8978
9197
|
**V4 Optimized Project**:
|
|
9198
|
+
|
|
8979
9199
|
```yaml
|
|
8980
9200
|
prdVersion: v4
|
|
8981
9201
|
prdSharded: true
|
|
@@ -9041,18 +9261,21 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
9041
9261
|
#### IDE-Specific Syntax
|
|
9042
9262
|
|
|
9043
9263
|
**Agent Loading by IDE**:
|
|
9264
|
+
|
|
9044
9265
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
9045
9266
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
9046
9267
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
9047
9268
|
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
9048
9269
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
9049
|
-
- **
|
|
9270
|
+
- **GitHub Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
9050
9271
|
|
|
9051
9272
|
**Chat Management Guidelines**:
|
|
9273
|
+
|
|
9052
9274
|
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
9053
9275
|
- **Roo Code**: Switch modes within the same conversation
|
|
9054
9276
|
|
|
9055
9277
|
**Common Task Commands**:
|
|
9278
|
+
|
|
9056
9279
|
- `*help` - Show available commands
|
|
9057
9280
|
- `*status` - Show current context/progress
|
|
9058
9281
|
- `*exit` - Exit the agent mode
|
|
@@ -9061,6 +9284,7 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
9061
9284
|
- `*create` - Run create-next-story task (SM agent)
|
|
9062
9285
|
|
|
9063
9286
|
**In Web UI**:
|
|
9287
|
+
|
|
9064
9288
|
```text
|
|
9065
9289
|
/pm create-doc prd
|
|
9066
9290
|
/architect review system design
|
|
@@ -9074,16 +9298,19 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
9074
9298
|
### Pre-Built Teams
|
|
9075
9299
|
|
|
9076
9300
|
#### Team All
|
|
9301
|
+
|
|
9077
9302
|
- **Includes**: All 10 agents + orchestrator
|
|
9078
9303
|
- **Use Case**: Complete projects requiring all roles
|
|
9079
9304
|
- **Bundle**: `team-all.txt`
|
|
9080
9305
|
|
|
9081
9306
|
#### Team Fullstack
|
|
9307
|
+
|
|
9082
9308
|
- **Includes**: PM, Architect, Developer, QA, UX Expert
|
|
9083
9309
|
- **Use Case**: End-to-end web/mobile development
|
|
9084
9310
|
- **Bundle**: `team-fullstack.txt`
|
|
9085
9311
|
|
|
9086
9312
|
#### Team No-UI
|
|
9313
|
+
|
|
9087
9314
|
- **Includes**: PM, Architect, Developer, QA (no UX Expert)
|
|
9088
9315
|
- **Use Case**: Backend services, APIs, system development
|
|
9089
9316
|
- **Bundle**: `team-no-ui.txt`
|
|
@@ -9097,22 +9324,26 @@ The BMad-Method is built around a modular architecture centered on the `bmad-cor
|
|
|
9097
9324
|
### Key Architectural Components
|
|
9098
9325
|
|
|
9099
9326
|
#### 1. Agents (`bmad-core/agents/`)
|
|
9327
|
+
|
|
9100
9328
|
- **Purpose**: Each markdown file defines a specialized AI agent for a specific Agile role (PM, Dev, Architect, etc.)
|
|
9101
9329
|
- **Structure**: Contains YAML headers specifying the agent's persona, capabilities, and dependencies
|
|
9102
9330
|
- **Dependencies**: Lists of tasks, templates, checklists, and data files the agent can use
|
|
9103
9331
|
- **Startup Instructions**: Can load project-specific documentation for immediate context
|
|
9104
9332
|
|
|
9105
9333
|
#### 2. Agent Teams (`bmad-core/agent-teams/`)
|
|
9334
|
+
|
|
9106
9335
|
- **Purpose**: Define collections of agents bundled together for specific purposes
|
|
9107
9336
|
- **Examples**: `team-all.yaml` (comprehensive bundle), `team-fullstack.yaml` (full-stack development)
|
|
9108
9337
|
- **Usage**: Creates pre-packaged contexts for web UI environments
|
|
9109
9338
|
|
|
9110
9339
|
#### 3. Workflows (`bmad-core/workflows/`)
|
|
9340
|
+
|
|
9111
9341
|
- **Purpose**: YAML files defining prescribed sequences of steps for specific project types
|
|
9112
9342
|
- **Types**: Greenfield (new projects) and Brownfield (existing projects) for UI, service, and fullstack development
|
|
9113
9343
|
- **Structure**: Defines agent interactions, artifacts created, and transition conditions
|
|
9114
9344
|
|
|
9115
9345
|
#### 4. Reusable Resources
|
|
9346
|
+
|
|
9116
9347
|
- **Templates** (`bmad-core/templates/`): Markdown templates for PRDs, architecture specs, user stories
|
|
9117
9348
|
- **Tasks** (`bmad-core/tasks/`): Instructions for specific repeatable actions like "shard-doc" or "create-next-story"
|
|
9118
9349
|
- **Checklists** (`bmad-core/checklists/`): Quality assurance checklists for validation and review
|
|
@@ -9152,6 +9383,7 @@ BMad employs a sophisticated template system with three key components:
|
|
|
9152
9383
|
### Technical Preferences Integration
|
|
9153
9384
|
|
|
9154
9385
|
The `technical-preferences.md` file serves as a persistent technical profile that:
|
|
9386
|
+
|
|
9155
9387
|
- Ensures consistency across all agents and projects
|
|
9156
9388
|
- Eliminates repetitive technology specification
|
|
9157
9389
|
- Provides personalized recommendations aligned with user preferences
|
|
@@ -9160,6 +9392,7 @@ The `technical-preferences.md` file serves as a persistent technical profile tha
|
|
|
9160
9392
|
### Build and Delivery Process
|
|
9161
9393
|
|
|
9162
9394
|
The `web-builder.js` tool creates web-ready bundles by:
|
|
9395
|
+
|
|
9163
9396
|
1. Reading agent or team definition files
|
|
9164
9397
|
2. Recursively resolving all dependencies
|
|
9165
9398
|
3. Concatenating content into single text files with clear separators
|
|
@@ -9174,11 +9407,13 @@ This architecture enables seamless operation across environments while maintaini
|
|
|
9174
9407
|
**Ideal for cost efficiency with Gemini's massive context:**
|
|
9175
9408
|
|
|
9176
9409
|
**For Brownfield Projects - Start Here!**:
|
|
9410
|
+
|
|
9177
9411
|
1. **Upload entire project to Gemini Web** (GitHub URL, files, or zip)
|
|
9178
9412
|
2. **Document existing system**: `/analyst` → `*document-project`
|
|
9179
9413
|
3. **Creates comprehensive docs** from entire codebase analysis
|
|
9180
9414
|
|
|
9181
9415
|
**For All Projects**:
|
|
9416
|
+
|
|
9182
9417
|
1. **Optional Analysis**: `/analyst` - Market research, competitive analysis
|
|
9183
9418
|
2. **Project Brief**: Create foundation document (Analyst or user)
|
|
9184
9419
|
3. **PRD Creation**: `/pm create-doc prd` - Comprehensive product requirements
|
|
@@ -9189,12 +9424,14 @@ This architecture enables seamless operation across environments while maintaini
|
|
|
9189
9424
|
#### Example Planning Prompts
|
|
9190
9425
|
|
|
9191
9426
|
**For PRD Creation**:
|
|
9427
|
+
|
|
9192
9428
|
```text
|
|
9193
9429
|
"I want to build a [type] application that [core purpose].
|
|
9194
9430
|
Help me brainstorm features and create a comprehensive PRD."
|
|
9195
9431
|
```
|
|
9196
9432
|
|
|
9197
9433
|
**For Architecture Design**:
|
|
9434
|
+
|
|
9198
9435
|
```text
|
|
9199
9436
|
"Based on this PRD, design a scalable technical architecture
|
|
9200
9437
|
that can handle [specific requirements]."
|
|
@@ -9212,7 +9449,7 @@ that can handle [specific requirements]."
|
|
|
9212
9449
|
|
|
9213
9450
|
**Prerequisites**: Planning documents must exist in `docs/` folder
|
|
9214
9451
|
|
|
9215
|
-
1. **Document Sharding** (CRITICAL STEP):
|
|
9452
|
+
1. **Document Sharding** (CRITICAL STEP):
|
|
9216
9453
|
- Documents created by PM/Architect (in Web or IDE) MUST be sharded for development
|
|
9217
9454
|
- Two methods to shard:
|
|
9218
9455
|
a) **Manual**: Drag `shard-doc` task + document file into chat
|
|
@@ -9226,32 +9463,33 @@ that can handle [specific requirements]."
|
|
|
9226
9463
|
- Source tree document and coding standards for dev agent reference
|
|
9227
9464
|
- Sharded docs for SM agent story creation
|
|
9228
9465
|
|
|
9229
|
-
|
|
9466
|
+
Resulting Folder Structure:
|
|
9467
|
+
|
|
9230
9468
|
- `docs/prd/` - Broken down PRD sections
|
|
9231
9469
|
- `docs/architecture/` - Broken down architecture sections
|
|
9232
9470
|
- `docs/stories/` - Generated user stories
|
|
9233
9471
|
|
|
9234
|
-
|
|
9472
|
+
1. **Development Cycle** (Sequential, one story at a time):
|
|
9235
9473
|
|
|
9236
9474
|
**CRITICAL CONTEXT MANAGEMENT**:
|
|
9237
9475
|
- **Context windows matter!** Always use fresh, clean context windows
|
|
9238
9476
|
- **Model selection matters!** Use most powerful thinking model for SM story creation
|
|
9239
9477
|
- **ALWAYS start new chat between SM, Dev, and QA work**
|
|
9240
9478
|
|
|
9241
|
-
**Step 1 - Story Creation**:
|
|
9479
|
+
**Step 1 - Story Creation**:
|
|
9242
9480
|
- **NEW CLEAN CHAT** → Select powerful model → `@sm` → `*create`
|
|
9243
9481
|
- SM executes create-next-story task
|
|
9244
9482
|
- Review generated story in `docs/stories/`
|
|
9245
9483
|
- Update status from "Draft" to "Approved"
|
|
9246
|
-
|
|
9247
|
-
**Step 2 - Story Implementation**:
|
|
9484
|
+
|
|
9485
|
+
**Step 2 - Story Implementation**:
|
|
9248
9486
|
- **NEW CLEAN CHAT** → `@dev`
|
|
9249
9487
|
- Agent asks which story to implement
|
|
9250
9488
|
- Include story file content to save dev agent lookup time
|
|
9251
9489
|
- Dev follows tasks/subtasks, marking completion
|
|
9252
9490
|
- Dev maintains File List of all changes
|
|
9253
9491
|
- Dev marks story as "Review" when complete with all tests passing
|
|
9254
|
-
|
|
9492
|
+
|
|
9255
9493
|
**Step 3 - Senior QA Review**:
|
|
9256
9494
|
- **NEW CLEAN CHAT** → `@qa` → execute review-story task
|
|
9257
9495
|
- QA performs senior developer code review
|
|
@@ -9259,7 +9497,7 @@ that can handle [specific requirements]."
|
|
|
9259
9497
|
- QA appends results to story's QA Results section
|
|
9260
9498
|
- If approved: Status → "Done"
|
|
9261
9499
|
- If changes needed: Status stays "Review" with unchecked items for dev
|
|
9262
|
-
|
|
9500
|
+
|
|
9263
9501
|
**Step 4 - Repeat**: Continue SM → Dev → QA cycle until all epic stories complete
|
|
9264
9502
|
|
|
9265
9503
|
**Important**: Only 1 story in progress at a time, worked sequentially until all epic stories complete.
|
|
@@ -9267,6 +9505,7 @@ that can handle [specific requirements]."
|
|
|
9267
9505
|
### Status Tracking Workflow
|
|
9268
9506
|
|
|
9269
9507
|
Stories progress through defined statuses:
|
|
9508
|
+
|
|
9270
9509
|
- **Draft** → **Approved** → **InProgress** → **Done**
|
|
9271
9510
|
|
|
9272
9511
|
Each status change requires user verification and approval before proceeding.
|
|
@@ -9274,6 +9513,7 @@ Each status change requires user verification and approval before proceeding.
|
|
|
9274
9513
|
### Workflow Types
|
|
9275
9514
|
|
|
9276
9515
|
#### Greenfield Development
|
|
9516
|
+
|
|
9277
9517
|
- Business analysis and market research
|
|
9278
9518
|
- Product requirements and feature definition
|
|
9279
9519
|
- System architecture and design
|
|
@@ -9287,6 +9527,7 @@ Each status change requires user verification and approval before proceeding.
|
|
|
9287
9527
|
**Complete Brownfield Workflow Options**:
|
|
9288
9528
|
|
|
9289
9529
|
**Option 1: PRD-First (Recommended for Large Codebases/Monorepos)**:
|
|
9530
|
+
|
|
9290
9531
|
1. **Upload project to Gemini Web** (GitHub URL, files, or zip)
|
|
9291
9532
|
2. **Create PRD first**: `@pm` → `*create-doc brownfield-prd`
|
|
9292
9533
|
3. **Focused documentation**: `@analyst` → `*document-project`
|
|
@@ -9297,18 +9538,19 @@ Each status change requires user verification and approval before proceeding.
|
|
|
9297
9538
|
- Avoids bloating docs with unused code
|
|
9298
9539
|
|
|
9299
9540
|
**Option 2: Document-First (Good for Smaller Projects)**:
|
|
9541
|
+
|
|
9300
9542
|
1. **Upload project to Gemini Web**
|
|
9301
9543
|
2. **Document everything**: `@analyst` → `*document-project`
|
|
9302
9544
|
3. **Then create PRD**: `@pm` → `*create-doc brownfield-prd`
|
|
9303
9545
|
- More thorough but can create excessive documentation
|
|
9304
9546
|
|
|
9305
|
-
|
|
9547
|
+
4. **Requirements Gathering**:
|
|
9306
9548
|
- **Brownfield PRD**: Use PM agent with `brownfield-prd-tmpl`
|
|
9307
9549
|
- **Analyzes**: Existing system, constraints, integration points
|
|
9308
9550
|
- **Defines**: Enhancement scope, compatibility requirements, risk assessment
|
|
9309
9551
|
- **Creates**: Epic and story structure for changes
|
|
9310
9552
|
|
|
9311
|
-
|
|
9553
|
+
5. **Architecture Planning**:
|
|
9312
9554
|
- **Brownfield Architecture**: Use Architect agent with `brownfield-architecture-tmpl`
|
|
9313
9555
|
- **Integration Strategy**: How new features integrate with existing system
|
|
9314
9556
|
- **Migration Planning**: Gradual rollout and backwards compatibility
|
|
@@ -9317,10 +9559,12 @@ Each status change requires user verification and approval before proceeding.
|
|
|
9317
9559
|
**Brownfield-Specific Resources**:
|
|
9318
9560
|
|
|
9319
9561
|
**Templates**:
|
|
9562
|
+
|
|
9320
9563
|
- `brownfield-prd-tmpl.md`: Comprehensive enhancement planning with existing system analysis
|
|
9321
9564
|
- `brownfield-architecture-tmpl.md`: Integration-focused architecture for existing systems
|
|
9322
9565
|
|
|
9323
9566
|
**Tasks**:
|
|
9567
|
+
|
|
9324
9568
|
- `document-project`: Generates comprehensive documentation from existing codebase
|
|
9325
9569
|
- `brownfield-create-epic`: Creates single epic for focused enhancements (when full PRD is overkill)
|
|
9326
9570
|
- `brownfield-create-story`: Creates individual story for small, isolated changes
|
|
@@ -9328,18 +9572,21 @@ Each status change requires user verification and approval before proceeding.
|
|
|
9328
9572
|
**When to Use Each Approach**:
|
|
9329
9573
|
|
|
9330
9574
|
**Full Brownfield Workflow** (Recommended for):
|
|
9575
|
+
|
|
9331
9576
|
- Major feature additions
|
|
9332
9577
|
- System modernization
|
|
9333
9578
|
- Complex integrations
|
|
9334
9579
|
- Multiple related changes
|
|
9335
9580
|
|
|
9336
9581
|
**Quick Epic/Story Creation** (Use when):
|
|
9582
|
+
|
|
9337
9583
|
- Single, focused enhancement
|
|
9338
9584
|
- Isolated bug fixes
|
|
9339
9585
|
- Small feature additions
|
|
9340
9586
|
- Well-documented existing system
|
|
9341
9587
|
|
|
9342
9588
|
**Critical Success Factors**:
|
|
9589
|
+
|
|
9343
9590
|
1. **Documentation First**: Always run `document-project` if docs are outdated/missing
|
|
9344
9591
|
2. **Context Matters**: Provide agents access to relevant code sections
|
|
9345
9592
|
3. **Integration Focus**: Emphasize compatibility and non-breaking changes
|
|
@@ -9355,6 +9602,7 @@ Each status change requires user verification and approval before proceeding.
|
|
|
9355
9602
|
- `docs/architecture.md` - System Architecture Document
|
|
9356
9603
|
|
|
9357
9604
|
**Why These Names Matter**:
|
|
9605
|
+
|
|
9358
9606
|
- Agents automatically reference these files during development
|
|
9359
9607
|
- Sharding tasks expect these specific filenames
|
|
9360
9608
|
- Workflow automation depends on standard naming
|
|
@@ -9373,6 +9621,7 @@ Each status change requires user verification and approval before proceeding.
|
|
|
9373
9621
|
Templates with Level 2 headings (`##`) can be automatically sharded:
|
|
9374
9622
|
|
|
9375
9623
|
**Original PRD**:
|
|
9624
|
+
|
|
9376
9625
|
```markdown
|
|
9377
9626
|
## Goals and Background Context
|
|
9378
9627
|
## Requirements
|
|
@@ -9381,6 +9630,7 @@ Templates with Level 2 headings (`##`) can be automatically sharded:
|
|
|
9381
9630
|
```
|
|
9382
9631
|
|
|
9383
9632
|
**After Sharding**:
|
|
9633
|
+
|
|
9384
9634
|
- `docs/prd/goals-and-background-context.md`
|
|
9385
9635
|
- `docs/prd/requirements.md`
|
|
9386
9636
|
- `docs/prd/user-interface-design-goals.md`
|
|
@@ -9393,12 +9643,14 @@ Use the `shard-doc` task or `@kayvan/markdown-tree-parser` tool for automatic sh
|
|
|
9393
9643
|
### Environment-Specific Usage
|
|
9394
9644
|
|
|
9395
9645
|
**Web UI Best For**:
|
|
9646
|
+
|
|
9396
9647
|
- Initial planning and documentation phases
|
|
9397
9648
|
- Cost-effective large document creation
|
|
9398
9649
|
- Agent consultation and brainstorming
|
|
9399
9650
|
- Multi-agent workflows with orchestrator
|
|
9400
9651
|
|
|
9401
9652
|
**IDE Best For**:
|
|
9653
|
+
|
|
9402
9654
|
- Active development and implementation
|
|
9403
9655
|
- File operations and project integration
|
|
9404
9656
|
- Story management and development cycles
|
|
@@ -9433,6 +9685,7 @@ Use the `shard-doc` task or `@kayvan/markdown-tree-parser` tool for automatic sh
|
|
|
9433
9685
|
For full details, see `CONTRIBUTING.md`. Key points:
|
|
9434
9686
|
|
|
9435
9687
|
**Fork Workflow**:
|
|
9688
|
+
|
|
9436
9689
|
1. Fork the repository
|
|
9437
9690
|
2. Create feature branches
|
|
9438
9691
|
3. Submit PRs to `next` branch (default) or `main` for critical fixes only
|
|
@@ -9440,12 +9693,14 @@ For full details, see `CONTRIBUTING.md`. Key points:
|
|
|
9440
9693
|
5. One feature/fix per PR
|
|
9441
9694
|
|
|
9442
9695
|
**PR Requirements**:
|
|
9696
|
+
|
|
9443
9697
|
- Clear descriptions (max 200 words) with What/Why/How/Testing
|
|
9444
9698
|
- Use conventional commits (feat:, fix:, docs:)
|
|
9445
9699
|
- Atomic commits - one logical change per commit
|
|
9446
9700
|
- Must align with guiding principles
|
|
9447
9701
|
|
|
9448
9702
|
**Core Principles** (from GUIDING-PRINCIPLES.md):
|
|
9703
|
+
|
|
9449
9704
|
- **Dev Agents Must Be Lean**: Minimize dependencies, save context for code
|
|
9450
9705
|
- **Natural Language First**: Everything in markdown, no code in core
|
|
9451
9706
|
- **Core vs Expansion Packs**: Core for universal needs, packs for specialized domains
|
|
@@ -9467,12 +9722,14 @@ Expansion packs extend BMad-Method beyond traditional software development into
|
|
|
9467
9722
|
### Available Expansion Packs
|
|
9468
9723
|
|
|
9469
9724
|
**Technical Packs**:
|
|
9725
|
+
|
|
9470
9726
|
- **Infrastructure/DevOps**: Cloud architects, SRE experts, security specialists
|
|
9471
9727
|
- **Game Development**: Game designers, level designers, narrative writers
|
|
9472
9728
|
- **Mobile Development**: iOS/Android specialists, mobile UX experts
|
|
9473
9729
|
- **Data Science**: ML engineers, data scientists, visualization experts
|
|
9474
9730
|
|
|
9475
9731
|
**Non-Technical Packs**:
|
|
9732
|
+
|
|
9476
9733
|
- **Business Strategy**: Consultants, financial analysts, marketing strategists
|
|
9477
9734
|
- **Creative Writing**: Plot architects, character developers, world builders
|
|
9478
9735
|
- **Health & Wellness**: Fitness trainers, nutritionists, habit engineers
|
|
@@ -9480,6 +9737,7 @@ Expansion packs extend BMad-Method beyond traditional software development into
|
|
|
9480
9737
|
- **Legal Support**: Contract analysts, compliance checkers
|
|
9481
9738
|
|
|
9482
9739
|
**Specialty Packs**:
|
|
9740
|
+
|
|
9483
9741
|
- **Expansion Creator**: Tools to build your own expansion packs
|
|
9484
9742
|
- **RPG Game Master**: Tabletop gaming assistance
|
|
9485
9743
|
- **Life Event Planning**: Wedding planners, event coordinators
|
|
@@ -9489,11 +9747,13 @@ Expansion packs extend BMad-Method beyond traditional software development into
|
|
|
9489
9747
|
|
|
9490
9748
|
1. **Browse Available Packs**: Check `expansion-packs/` directory
|
|
9491
9749
|
2. **Get Inspiration**: See `docs/expansion-packs.md` for detailed examples and ideas
|
|
9492
|
-
3. **Install via CLI**:
|
|
9750
|
+
3. **Install via CLI**:
|
|
9751
|
+
|
|
9493
9752
|
```bash
|
|
9494
9753
|
npx bmad-method install
|
|
9495
9754
|
# Select "Install expansion pack" option
|
|
9496
9755
|
```
|
|
9756
|
+
|
|
9497
9757
|
4. **Use in Your Workflow**: Installed packs integrate seamlessly with existing agents
|
|
9498
9758
|
|
|
9499
9759
|
### Creating Custom Expansion Packs
|
|
@@ -9514,15 +9774,54 @@ Use the **expansion-creator** pack to build your own:
|
|
|
9514
9774
|
- **Documentation**: Check `docs/` folder for project-specific context
|
|
9515
9775
|
- **Community**: Discord and GitHub resources available for support
|
|
9516
9776
|
- **Contributing**: See `CONTRIBUTING.md` for full guidelines
|
|
9517
|
-
==================== END: data
|
|
9777
|
+
==================== END: .bmad-core/data/bmad-kb.md ====================
|
|
9778
|
+
|
|
9779
|
+
==================== START: .bmad-core/data/brainstorming-techniques.md ====================
|
|
9780
|
+
# Brainstorming Techniques Data
|
|
9781
|
+
|
|
9782
|
+
## Creative Expansion
|
|
9783
|
+
|
|
9784
|
+
1. **What If Scenarios**: Ask one provocative question, get their response, then ask another
|
|
9785
|
+
2. **Analogical Thinking**: Give one example analogy, ask them to find 2-3 more
|
|
9786
|
+
3. **Reversal/Inversion**: Pose the reverse question, let them work through it
|
|
9787
|
+
4. **First Principles Thinking**: Ask "What are the fundamentals?" and guide them to break it down
|
|
9788
|
+
|
|
9789
|
+
## Structured Frameworks
|
|
9790
|
+
|
|
9791
|
+
5. **SCAMPER Method**: Go through one letter at a time, wait for their ideas before moving to next
|
|
9792
|
+
6. **Six Thinking Hats**: Present one hat, ask for their thoughts, then move to next hat
|
|
9793
|
+
7. **Mind Mapping**: Start with central concept, ask them to suggest branches
|
|
9794
|
+
|
|
9795
|
+
## Collaborative Techniques
|
|
9796
|
+
|
|
9797
|
+
8. **"Yes, And..." Building**: They give idea, you "yes and" it, they "yes and" back - alternate
|
|
9798
|
+
9. **Brainwriting/Round Robin**: They suggest idea, you build on it, ask them to build on yours
|
|
9799
|
+
10. **Random Stimulation**: Give one random prompt/word, ask them to make connections
|
|
9800
|
+
|
|
9801
|
+
## Deep Exploration
|
|
9802
|
+
|
|
9803
|
+
11. **Five Whys**: Ask "why" and wait for their answer before asking next "why"
|
|
9804
|
+
12. **Morphological Analysis**: Ask them to list parameters first, then explore combinations together
|
|
9805
|
+
13. **Provocation Technique (PO)**: Give one provocative statement, ask them to extract useful ideas
|
|
9806
|
+
|
|
9807
|
+
## Advanced Techniques
|
|
9808
|
+
|
|
9809
|
+
14. **Forced Relationships**: Connect two unrelated concepts and ask them to find the bridge
|
|
9810
|
+
15. **Assumption Reversal**: Challenge their core assumptions and ask them to build from there
|
|
9811
|
+
16. **Role Playing**: Ask them to brainstorm from different stakeholder perspectives
|
|
9812
|
+
17. **Time Shifting**: "How would you solve this in 1995? 2030?"
|
|
9813
|
+
18. **Resource Constraints**: "What if you had only $10 and 1 hour?"
|
|
9814
|
+
19. **Metaphor Mapping**: Use extended metaphors to explore solutions
|
|
9815
|
+
20. **Question Storming**: Generate questions instead of answers first
|
|
9816
|
+
==================== END: .bmad-core/data/brainstorming-techniques.md ====================
|
|
9518
9817
|
|
|
9519
|
-
==================== START: data
|
|
9818
|
+
==================== START: .bmad-core/data/technical-preferences.md ====================
|
|
9520
9819
|
# User-Defined Preferred Patterns and Preferences
|
|
9521
9820
|
|
|
9522
9821
|
None Listed
|
|
9523
|
-
==================== END: data
|
|
9822
|
+
==================== END: .bmad-core/data/technical-preferences.md ====================
|
|
9524
9823
|
|
|
9525
|
-
==================== START: utils
|
|
9824
|
+
==================== START: .bmad-core/utils/plan-management.md ====================
|
|
9526
9825
|
# Plan Management Utility
|
|
9527
9826
|
|
|
9528
9827
|
## Purpose
|
|
@@ -9533,14 +9832,10 @@ Provides utilities for agents and tasks to interact with workflow plans, check p
|
|
|
9533
9832
|
|
|
9534
9833
|
### 1. Check Plan Existence
|
|
9535
9834
|
|
|
9536
|
-
[[LLM: When any agent starts or task begins, check if a workflow plan exists]]
|
|
9537
|
-
|
|
9538
|
-
```
|
|
9539
9835
|
Check for workflow plan:
|
|
9836
|
+
|
|
9540
9837
|
1. Look for docs/workflow-plan.md (default location)
|
|
9541
|
-
2.
|
|
9542
|
-
3. Return plan status (exists/not exists)
|
|
9543
|
-
```
|
|
9838
|
+
2. Return plan status to user (exists/not exists) - if not exists then HALT.
|
|
9544
9839
|
|
|
9545
9840
|
### 2. Parse Plan Status
|
|
9546
9841
|
|
|
@@ -9581,7 +9876,7 @@ Check for workflow plan:
|
|
|
9581
9876
|
|
|
9582
9877
|
**Warning Templates:**
|
|
9583
9878
|
|
|
9584
|
-
```
|
|
9879
|
+
```text
|
|
9585
9880
|
SEQUENCE WARNING:
|
|
9586
9881
|
The workflow plan shows you should complete "{expected_step}" next.
|
|
9587
9882
|
You're attempting to: "{requested_action}"
|
|
@@ -9615,7 +9910,7 @@ In flexible mode: Allow with confirmation
|
|
|
9615
9910
|
|
|
9616
9911
|
**For Agents (startup sequence)**:
|
|
9617
9912
|
|
|
9618
|
-
```
|
|
9913
|
+
```text
|
|
9619
9914
|
1. Check if plan exists using this utility
|
|
9620
9915
|
2. If exists:
|
|
9621
9916
|
- Parse current status
|
|
@@ -9626,7 +9921,7 @@ In flexible mode: Allow with confirmation
|
|
|
9626
9921
|
|
|
9627
9922
|
**For Tasks (pre-execution)**:
|
|
9628
9923
|
|
|
9629
|
-
```
|
|
9924
|
+
```text
|
|
9630
9925
|
1. Check if plan exists
|
|
9631
9926
|
2. If exists:
|
|
9632
9927
|
- Verify this task aligns with plan
|
|
@@ -9642,7 +9937,7 @@ In flexible mode: Allow with confirmation
|
|
|
9642
9937
|
|
|
9643
9938
|
[[LLM: Standard format for showing plan status]]
|
|
9644
9939
|
|
|
9645
|
-
```
|
|
9940
|
+
```text
|
|
9646
9941
|
📋 Workflow Plan Status
|
|
9647
9942
|
━━━━━━━━━━━━━━━━━━━━
|
|
9648
9943
|
Workflow: {workflow_name}
|
|
@@ -9695,7 +9990,7 @@ If user wants to abandon plan:
|
|
|
9695
9990
|
|
|
9696
9991
|
### Example 1: Agent Startup Check
|
|
9697
9992
|
|
|
9698
|
-
```
|
|
9993
|
+
```text
|
|
9699
9994
|
BMad Master starting...
|
|
9700
9995
|
|
|
9701
9996
|
[Check for plan]
|
|
@@ -9709,7 +10004,7 @@ Use *agent pm to switch, or *plan-status to see full progress.
|
|
|
9709
10004
|
|
|
9710
10005
|
### Example 2: Task Sequence Warning
|
|
9711
10006
|
|
|
9712
|
-
```
|
|
10007
|
+
```text
|
|
9713
10008
|
User: *task create-next-story
|
|
9714
10009
|
|
|
9715
10010
|
[Plan check triggered]
|
|
@@ -9725,7 +10020,7 @@ Would you like to:
|
|
|
9725
10020
|
|
|
9726
10021
|
### Example 3: Automatic Plan Update
|
|
9727
10022
|
|
|
9728
|
-
```
|
|
10023
|
+
```text
|
|
9729
10024
|
[After completing create-doc task for PRD]
|
|
9730
10025
|
|
|
9731
10026
|
✅ Plan Updated: Marked "Create PRD" as complete
|
|
@@ -9746,9 +10041,9 @@ Would you like to:
|
|
|
9746
10041
|
- Malformed plan: Warn but continue, treat as no plan
|
|
9747
10042
|
- Update failures: Log but don't block task completion
|
|
9748
10043
|
- Parse errors: Fallback to basic text search
|
|
9749
|
-
==================== END: utils
|
|
10044
|
+
==================== END: .bmad-core/utils/plan-management.md ====================
|
|
9750
10045
|
|
|
9751
|
-
==================== START: utils
|
|
10046
|
+
==================== START: .bmad-core/utils/template-format.md ====================
|
|
9752
10047
|
# Template Format Conventions
|
|
9753
10048
|
|
|
9754
10049
|
Templates in the BMad method use standardized markup for AI processing. These conventions ensure consistent document generation.
|
|
@@ -9775,9 +10070,9 @@ Templates in the BMad method use standardized markup for AI processing. These co
|
|
|
9775
10070
|
- Template elements are for AI processing only
|
|
9776
10071
|
- Focus on faithful template execution and clean output
|
|
9777
10072
|
- All template-specific instructions are embedded within templates
|
|
9778
|
-
==================== END: utils
|
|
10073
|
+
==================== END: .bmad-core/utils/template-format.md ====================
|
|
9779
10074
|
|
|
9780
|
-
==================== START: utils
|
|
10075
|
+
==================== START: .bmad-core/utils/workflow-management.md ====================
|
|
9781
10076
|
# Workflow Management
|
|
9782
10077
|
|
|
9783
10078
|
Enables BMad orchestrator to manage and execute team workflows.
|
|
@@ -9847,4 +10142,4 @@ Handle conditional paths by asking clarifying questions when needed.
|
|
|
9847
10142
|
## Agent Integration
|
|
9848
10143
|
|
|
9849
10144
|
Agents should be workflow-aware: know active workflow, their role, access artifacts, understand expected outputs.
|
|
9850
|
-
==================== END: utils
|
|
10145
|
+
==================== END: .bmad-core/utils/workflow-management.md ====================
|