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/agent-teams/team-fullstack.yaml ====================
|
|
42
43
|
bundle:
|
|
43
44
|
name: Team Fullstack
|
|
44
45
|
icon: 🚀
|
|
@@ -57,9 +58,9 @@ workflows:
|
|
|
57
58
|
- greenfield-fullstack
|
|
58
59
|
- greenfield-service
|
|
59
60
|
- greenfield-ui
|
|
60
|
-
==================== END: agent-teams
|
|
61
|
+
==================== END: .bmad-core/agent-teams/team-fullstack.yaml ====================
|
|
61
62
|
|
|
62
|
-
==================== START: agents
|
|
63
|
+
==================== START: .bmad-core/agents/bmad-orchestrator.md ====================
|
|
63
64
|
# bmad-orchestrator
|
|
64
65
|
|
|
65
66
|
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:
|
|
@@ -90,7 +91,7 @@ startup:
|
|
|
90
91
|
- Announce: Introduce yourself as the BMad Orchestrator, explain you can coordinate agents and workflows
|
|
91
92
|
- IMPORTANT: Tell users that all commands start with * (e.g., *help, *agent, *workflow)
|
|
92
93
|
- Mention *help shows all available commands and options
|
|
93
|
-
- Check for active workflow plan using utils
|
|
94
|
+
- Check for active workflow plan using .bmad-core/utils/plan-management.md
|
|
94
95
|
- 'If plan exists: Show 📋 Active plan: {workflow} ({progress}% complete). Use *plan-status for details.'
|
|
95
96
|
- 'If plan exists: Suggest next action based on plan progress'
|
|
96
97
|
- Assess user goal against available agents and workflows in this bundle
|
|
@@ -196,9 +197,9 @@ dependencies:
|
|
|
196
197
|
- workflow-management
|
|
197
198
|
- template-format
|
|
198
199
|
```
|
|
199
|
-
==================== END: agents
|
|
200
|
+
==================== END: .bmad-core/agents/bmad-orchestrator.md ====================
|
|
200
201
|
|
|
201
|
-
==================== START: agents
|
|
202
|
+
==================== START: .bmad-core/agents/analyst.md ====================
|
|
202
203
|
# analyst
|
|
203
204
|
|
|
204
205
|
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:
|
|
@@ -248,7 +249,7 @@ commands:
|
|
|
248
249
|
- exit: Say goodbye as the Business Analyst, and then abandon inhabiting this persona
|
|
249
250
|
dependencies:
|
|
250
251
|
tasks:
|
|
251
|
-
- brainstorming-
|
|
252
|
+
- facilitate-brainstorming-session
|
|
252
253
|
- create-deep-research-prompt
|
|
253
254
|
- create-doc
|
|
254
255
|
- advanced-elicitation
|
|
@@ -257,14 +258,16 @@ dependencies:
|
|
|
257
258
|
- project-brief-tmpl
|
|
258
259
|
- market-research-tmpl
|
|
259
260
|
- competitor-analysis-tmpl
|
|
261
|
+
- brainstorming-output-tmpl
|
|
260
262
|
data:
|
|
261
263
|
- bmad-kb
|
|
264
|
+
- brainstorming-techniques
|
|
262
265
|
utils:
|
|
263
266
|
- template-format
|
|
264
267
|
```
|
|
265
|
-
==================== END: agents
|
|
268
|
+
==================== END: .bmad-core/agents/analyst.md ====================
|
|
266
269
|
|
|
267
|
-
==================== START: agents
|
|
270
|
+
==================== START: .bmad-core/agents/pm.md ====================
|
|
268
271
|
# pm
|
|
269
272
|
|
|
270
273
|
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:
|
|
@@ -324,9 +327,9 @@ dependencies:
|
|
|
324
327
|
utils:
|
|
325
328
|
- template-format
|
|
326
329
|
```
|
|
327
|
-
==================== END: agents
|
|
330
|
+
==================== END: .bmad-core/agents/pm.md ====================
|
|
328
331
|
|
|
329
|
-
==================== START: agents
|
|
332
|
+
==================== START: .bmad-core/agents/ux-expert.md ====================
|
|
330
333
|
# ux-expert
|
|
331
334
|
|
|
332
335
|
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:
|
|
@@ -381,9 +384,9 @@ dependencies:
|
|
|
381
384
|
utils:
|
|
382
385
|
- template-format
|
|
383
386
|
```
|
|
384
|
-
==================== END: agents
|
|
387
|
+
==================== END: .bmad-core/agents/ux-expert.md ====================
|
|
385
388
|
|
|
386
|
-
==================== START: agents
|
|
389
|
+
==================== START: .bmad-core/agents/architect.md ====================
|
|
387
390
|
# architect
|
|
388
391
|
|
|
389
392
|
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:
|
|
@@ -446,9 +449,9 @@ dependencies:
|
|
|
446
449
|
utils:
|
|
447
450
|
- template-format
|
|
448
451
|
```
|
|
449
|
-
==================== END: agents
|
|
452
|
+
==================== END: .bmad-core/agents/architect.md ====================
|
|
450
453
|
|
|
451
|
-
==================== START: agents
|
|
454
|
+
==================== START: .bmad-core/agents/po.md ====================
|
|
452
455
|
# po
|
|
453
456
|
|
|
454
457
|
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:
|
|
@@ -512,9 +515,9 @@ dependencies:
|
|
|
512
515
|
utils:
|
|
513
516
|
- template-format
|
|
514
517
|
```
|
|
515
|
-
==================== END: agents
|
|
518
|
+
==================== END: .bmad-core/agents/po.md ====================
|
|
516
519
|
|
|
517
|
-
==================== START: tasks
|
|
520
|
+
==================== START: .bmad-core/tasks/advanced-elicitation.md ====================
|
|
518
521
|
# Advanced Elicitation Task
|
|
519
522
|
|
|
520
523
|
## Purpose
|
|
@@ -522,94 +525,119 @@ dependencies:
|
|
|
522
525
|
- Provide optional reflective and brainstorming actions to enhance content quality
|
|
523
526
|
- Enable deeper exploration of ideas through structured elicitation techniques
|
|
524
527
|
- Support iterative refinement through multiple analytical perspectives
|
|
528
|
+
- Usable during template-driven document creation or any chat conversation
|
|
525
529
|
|
|
526
|
-
##
|
|
530
|
+
## Usage Scenarios
|
|
527
531
|
|
|
528
|
-
### 1
|
|
532
|
+
### Scenario 1: Template Document Creation
|
|
529
533
|
|
|
530
|
-
|
|
534
|
+
After outputting a section during document creation:
|
|
531
535
|
|
|
532
|
-
1.
|
|
536
|
+
1. **Section Review**: Ask user to review the drafted section
|
|
537
|
+
2. **Offer Elicitation**: Present 9 carefully selected elicitation methods
|
|
538
|
+
3. **Simple Selection**: User types a number (0-8) to engage method, or 9 to proceed
|
|
539
|
+
4. **Execute & Loop**: Apply selected method, then re-offer choices until user proceeds
|
|
533
540
|
|
|
534
|
-
|
|
541
|
+
### Scenario 2: General Chat Elicitation
|
|
535
542
|
|
|
536
|
-
|
|
543
|
+
User can request advanced elicitation on any agent output:
|
|
537
544
|
|
|
538
|
-
|
|
539
|
-
|
|
545
|
+
- User says "do advanced elicitation" or similar
|
|
546
|
+
- Agent selects 9 relevant methods for the context
|
|
547
|
+
- Same simple 0-9 selection process
|
|
540
548
|
|
|
541
|
-
|
|
549
|
+
## Task Instructions
|
|
542
550
|
|
|
543
|
-
###
|
|
551
|
+
### 1. Intelligent Method Selection
|
|
544
552
|
|
|
545
|
-
|
|
553
|
+
**Context Analysis**: Before presenting options, analyze:
|
|
546
554
|
|
|
547
|
-
**
|
|
555
|
+
- **Content Type**: Technical specs, user stories, architecture, requirements, etc.
|
|
556
|
+
- **Complexity Level**: Simple, moderate, or complex content
|
|
557
|
+
- **Stakeholder Needs**: Who will use this information
|
|
558
|
+
- **Risk Level**: High-impact decisions vs routine items
|
|
559
|
+
- **Creative Potential**: Opportunities for innovation or alternatives
|
|
548
560
|
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
561
|
+
**Method Selection Strategy**:
|
|
562
|
+
|
|
563
|
+
1. **Always Include Core Methods** (choose 3-4):
|
|
564
|
+
- Expand or Contract for Audience
|
|
565
|
+
- Critique and Refine
|
|
566
|
+
- Identify Potential Risks
|
|
567
|
+
- Assess Alignment with Goals
|
|
568
|
+
|
|
569
|
+
2. **Context-Specific Methods** (choose 4-5):
|
|
570
|
+
- **Technical Content**: Tree of Thoughts, ReWOO, Meta-Prompting
|
|
571
|
+
- **User-Facing Content**: Agile Team Perspective, Stakeholder Roundtable
|
|
572
|
+
- **Creative Content**: Innovation Tournament, Escape Room Challenge
|
|
573
|
+
- **Strategic Content**: Red Team vs Blue Team, Hindsight Reflection
|
|
574
|
+
|
|
575
|
+
3. **Always Include**: "Proceed / No Further Actions" as option 9
|
|
564
576
|
|
|
565
|
-
### 2.
|
|
577
|
+
### 2. Section Context and Review
|
|
566
578
|
|
|
567
|
-
|
|
579
|
+
When invoked after outputting a section:
|
|
568
580
|
|
|
569
|
-
-
|
|
570
|
-
- Detailed explanations of each option unless executing or the user asks, when giving the definition you can modify to tie its relevance
|
|
571
|
-
- Any internal template markup
|
|
581
|
+
1. **Provide Context Summary**: Give a brief 1-2 sentence summary of what the user should look for in the section just presented
|
|
572
582
|
|
|
573
|
-
**
|
|
583
|
+
2. **Explain Visual Elements**: If the section contains diagrams, explain them briefly before offering elicitation options
|
|
574
584
|
|
|
575
|
-
|
|
576
|
-
-
|
|
577
|
-
-
|
|
585
|
+
3. **Clarify Scope Options**: If the section contains multiple distinct items, inform the user they can apply elicitation actions to:
|
|
586
|
+
- The entire section as a whole
|
|
587
|
+
- Individual items within the section (specify which item when selecting an action)
|
|
578
588
|
|
|
579
|
-
|
|
589
|
+
### 3. Present Elicitation Options
|
|
580
590
|
|
|
581
|
-
|
|
582
|
-
[[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.]]
|
|
591
|
+
**Review Request Process:**
|
|
583
592
|
|
|
584
|
-
|
|
585
|
-
|
|
593
|
+
- Ask the user to review the drafted section
|
|
594
|
+
- In the SAME message, inform them they can suggest direct changes OR select an elicitation method
|
|
595
|
+
- Present 9 intelligently selected methods (0-8) plus "Proceed" (9)
|
|
596
|
+
- Keep descriptions short - just the method name
|
|
597
|
+
- Await simple numeric selection
|
|
586
598
|
|
|
587
|
-
|
|
588
|
-
[[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.]]
|
|
599
|
+
**Action List Presentation Format:**
|
|
589
600
|
|
|
590
|
-
|
|
591
|
-
|
|
601
|
+
```text
|
|
602
|
+
**Advanced Elicitation Options**
|
|
603
|
+
Choose a number (0-8) or 9 to proceed:
|
|
604
|
+
|
|
605
|
+
0. [Method Name]
|
|
606
|
+
1. [Method Name]
|
|
607
|
+
2. [Method Name]
|
|
608
|
+
3. [Method Name]
|
|
609
|
+
4. [Method Name]
|
|
610
|
+
5. [Method Name]
|
|
611
|
+
6. [Method Name]
|
|
612
|
+
7. [Method Name]
|
|
613
|
+
8. [Method Name]
|
|
614
|
+
9. Proceed / No Further Actions
|
|
615
|
+
```
|
|
592
616
|
|
|
593
|
-
|
|
594
|
-
[[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.]]
|
|
617
|
+
**Response Handling:**
|
|
595
618
|
|
|
596
|
-
|
|
597
|
-
|
|
619
|
+
- **Numbers 0-8**: Execute the selected method, then re-offer the choice
|
|
620
|
+
- **Number 9**: Proceed to next section or continue conversation
|
|
621
|
+
- **Direct Feedback**: Apply user's suggested changes and continue
|
|
598
622
|
|
|
599
|
-
|
|
600
|
-
[[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.]]
|
|
623
|
+
### 4. Method Execution Framework
|
|
601
624
|
|
|
602
|
-
|
|
603
|
-
[[LLM: From your role's perspective, first broadly brainstorm a range of diverse approaches or solutions to the current topic. Then, from this wider exploration, select and present 2 distinct alternatives, detailing the pros, cons, and potential implications you foresee for each.]]
|
|
625
|
+
**Execution Process:**
|
|
604
626
|
|
|
605
|
-
|
|
606
|
-
|
|
627
|
+
1. **Retrieve Method**: Access the specific elicitation method from the elicitation-methods data file
|
|
628
|
+
2. **Apply Context**: Execute the method from your current role's perspective
|
|
629
|
+
3. **Provide Results**: Deliver insights, critiques, or alternatives relevant to the content
|
|
630
|
+
4. **Re-offer Choice**: Present the same 9 options again until user selects 9 or gives direct feedback
|
|
607
631
|
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
632
|
+
**Execution Guidelines:**
|
|
633
|
+
|
|
634
|
+
- **Be Concise**: Focus on actionable insights, not lengthy explanations
|
|
635
|
+
- **Stay Relevant**: Tie all elicitation back to the specific content being analyzed
|
|
636
|
+
- **Identify Personas**: For multi-persona methods, clearly identify which viewpoint is speaking
|
|
637
|
+
- **Maintain Flow**: Keep the process moving efficiently
|
|
638
|
+
==================== END: .bmad-core/tasks/advanced-elicitation.md ====================
|
|
611
639
|
|
|
612
|
-
==================== START: tasks
|
|
640
|
+
==================== START: .bmad-core/tasks/create-doc.md ====================
|
|
613
641
|
# Create Document from Template Task
|
|
614
642
|
|
|
615
643
|
## Purpose
|
|
@@ -629,7 +657,7 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
629
657
|
|
|
630
658
|
[[LLM: Check if plan tracking is enabled in core-config.yaml]]
|
|
631
659
|
|
|
632
|
-
- If `workflow.trackProgress: true`, check for active plan using utils
|
|
660
|
+
- If `workflow.trackProgress: true`, check for active plan using .bmad-core/utils/plan-management.md
|
|
633
661
|
- If plan exists and this document creation is part of the plan:
|
|
634
662
|
- Verify this is the expected next step
|
|
635
663
|
- If out of sequence and `enforceSequence: true`, warn user and halt without user override
|
|
@@ -638,7 +666,7 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
638
666
|
|
|
639
667
|
### 1. Identify Template
|
|
640
668
|
|
|
641
|
-
- Load from `
|
|
669
|
+
- Load from `.bmad-core/templates/*.md` or `.bmad-core/templates directory`
|
|
642
670
|
- Agent-specific templates are listed in agent's dependencies
|
|
643
671
|
- If agent has `templates: [prd-tmpl, architecture-tmpl]` for example, then offer to create "PRD" and "Architecture" documents
|
|
644
672
|
|
|
@@ -656,14 +684,14 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
656
684
|
|
|
657
685
|
### 4. Key Execution Patterns
|
|
658
686
|
|
|
659
|
-
**When you see:** `[[LLM: Draft X and immediately execute tasks
|
|
687
|
+
**When you see:** `[[LLM: Draft X and immediately execute .bmad-core/tasks/advanced-elicitation.md]]`
|
|
660
688
|
|
|
661
689
|
- Draft the content
|
|
662
690
|
- Present it to user
|
|
663
691
|
- IMMEDIATELY execute the task
|
|
664
692
|
- Wait for completion before continuing
|
|
665
693
|
|
|
666
|
-
**When you see:** `[[LLM: After section completion, apply tasks
|
|
694
|
+
**When you see:** `[[LLM: After section completion, apply .bmad-core/tasks/Y.md]]`
|
|
667
695
|
|
|
668
696
|
- Finish the section
|
|
669
697
|
- STOP and execute the task
|
|
@@ -701,9 +729,9 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
701
729
|
## Remember
|
|
702
730
|
|
|
703
731
|
Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
|
|
704
|
-
==================== END: tasks
|
|
732
|
+
==================== END: .bmad-core/tasks/create-doc.md ====================
|
|
705
733
|
|
|
706
|
-
==================== START: tasks
|
|
734
|
+
==================== START: .bmad-core/tasks/create-workflow-plan.md ====================
|
|
707
735
|
# Create Workflow Plan Task
|
|
708
736
|
|
|
709
737
|
## Purpose
|
|
@@ -993,9 +1021,9 @@ BMad Orchestrator: "Based on your answers, I recommend the brownfield-fullstack
|
|
|
993
1021
|
|
|
994
1022
|
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?"
|
|
995
1023
|
```
|
|
996
|
-
==================== END: tasks
|
|
1024
|
+
==================== END: .bmad-core/tasks/create-workflow-plan.md ====================
|
|
997
1025
|
|
|
998
|
-
==================== START: tasks
|
|
1026
|
+
==================== START: .bmad-core/tasks/kb-mode-interaction.md ====================
|
|
999
1027
|
# KB Mode Interaction Task
|
|
1000
1028
|
|
|
1001
1029
|
## Purpose
|
|
@@ -1066,9 +1094,9 @@ Or ask me about anything else related to BMad-Method!
|
|
|
1066
1094
|
**User**: Tell me about workflows
|
|
1067
1095
|
|
|
1068
1096
|
**Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
|
|
1069
|
-
==================== END: tasks
|
|
1097
|
+
==================== END: .bmad-core/tasks/kb-mode-interaction.md ====================
|
|
1070
1098
|
|
|
1071
|
-
==================== START: tasks
|
|
1099
|
+
==================== START: .bmad-core/tasks/update-workflow-plan.md ====================
|
|
1072
1100
|
# Update Workflow Plan Task
|
|
1073
1101
|
|
|
1074
1102
|
## Purpose
|
|
@@ -1317,9 +1345,9 @@ The update is successful when:
|
|
|
1317
1345
|
- Consider creating backup before major updates
|
|
1318
1346
|
- Updates should enhance, not complicate, the workflow experience
|
|
1319
1347
|
- If plan becomes too cluttered, suggest creating fresh plan for next phase
|
|
1320
|
-
==================== END: tasks
|
|
1348
|
+
==================== END: .bmad-core/tasks/update-workflow-plan.md ====================
|
|
1321
1349
|
|
|
1322
|
-
==================== START: data
|
|
1350
|
+
==================== START: .bmad-core/data/bmad-kb.md ====================
|
|
1323
1351
|
# BMad Knowledge Base
|
|
1324
1352
|
|
|
1325
1353
|
## Overview
|
|
@@ -1355,13 +1383,15 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
1355
1383
|
|
|
1356
1384
|
### The Two-Phase Approach
|
|
1357
1385
|
|
|
1358
|
-
|
|
1386
|
+
#### Phase 1: Planning (Web UI - Cost Effective)
|
|
1387
|
+
|
|
1359
1388
|
- Use large context windows (Gemini's 1M tokens)
|
|
1360
1389
|
- Generate comprehensive documents (PRD, Architecture)
|
|
1361
1390
|
- Leverage multiple agents for brainstorming
|
|
1362
1391
|
- Create once, use throughout development
|
|
1363
1392
|
|
|
1364
|
-
|
|
1393
|
+
#### Phase 2: Development (IDE - Implementation)
|
|
1394
|
+
|
|
1365
1395
|
- Shard documents into manageable pieces
|
|
1366
1396
|
- Execute focused SM → Dev cycles
|
|
1367
1397
|
- One story at a time, sequential progress
|
|
@@ -1391,6 +1421,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
1391
1421
|
### Quick Start Options
|
|
1392
1422
|
|
|
1393
1423
|
#### Option 1: Web UI
|
|
1424
|
+
|
|
1394
1425
|
**Best for**: ChatGPT, Claude, Gemini users who want to start immediately
|
|
1395
1426
|
|
|
1396
1427
|
1. Navigate to `dist/teams/`
|
|
@@ -1400,6 +1431,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
1400
1431
|
5. Type `/help` to see available commands
|
|
1401
1432
|
|
|
1402
1433
|
#### Option 2: IDE Integration
|
|
1434
|
+
|
|
1403
1435
|
**Best for**: Cursor, Claude Code, Windsurf, Trae, Cline, Roo Code, Github Copilot users
|
|
1404
1436
|
|
|
1405
1437
|
```bash
|
|
@@ -1408,6 +1440,7 @@ npx bmad-method install
|
|
|
1408
1440
|
```
|
|
1409
1441
|
|
|
1410
1442
|
**Installation Steps**:
|
|
1443
|
+
|
|
1411
1444
|
- Choose "Complete installation"
|
|
1412
1445
|
- Select your IDE from supported options:
|
|
1413
1446
|
- **Cursor**: Native AI integration
|
|
@@ -1416,11 +1449,12 @@ npx bmad-method install
|
|
|
1416
1449
|
- **Trae**: Built-in AI capabilities
|
|
1417
1450
|
- **Cline**: VS Code extension with AI features
|
|
1418
1451
|
- **Roo Code**: Web-based IDE with agent support
|
|
1419
|
-
- **
|
|
1452
|
+
- **GitHub Copilot**: VS Code extension with AI peer programming assistant
|
|
1420
1453
|
|
|
1421
1454
|
**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.
|
|
1422
1455
|
|
|
1423
1456
|
**Verify Installation**:
|
|
1457
|
+
|
|
1424
1458
|
- `.bmad-core/` folder created with all agents
|
|
1425
1459
|
- IDE-specific integration files created
|
|
1426
1460
|
- All agent commands/rules/modes available
|
|
@@ -1430,12 +1464,14 @@ npx bmad-method install
|
|
|
1430
1464
|
### Environment Selection Guide
|
|
1431
1465
|
|
|
1432
1466
|
**Use Web UI for**:
|
|
1467
|
+
|
|
1433
1468
|
- Initial planning and documentation (PRD, architecture)
|
|
1434
1469
|
- Cost-effective document creation (especially with Gemini)
|
|
1435
1470
|
- Brainstorming and analysis phases
|
|
1436
1471
|
- Multi-agent consultation and planning
|
|
1437
1472
|
|
|
1438
1473
|
**Use IDE for**:
|
|
1474
|
+
|
|
1439
1475
|
- Active development and coding
|
|
1440
1476
|
- File operations and project integration
|
|
1441
1477
|
- Document sharding and story management
|
|
@@ -1448,35 +1484,41 @@ npx bmad-method install
|
|
|
1448
1484
|
**Can you do everything in IDE?** Yes, but understand the tradeoffs:
|
|
1449
1485
|
|
|
1450
1486
|
**Pros of IDE-Only**:
|
|
1487
|
+
|
|
1451
1488
|
- Single environment workflow
|
|
1452
1489
|
- Direct file operations from start
|
|
1453
1490
|
- No copy/paste between environments
|
|
1454
1491
|
- Immediate project integration
|
|
1455
1492
|
|
|
1456
1493
|
**Cons of IDE-Only**:
|
|
1494
|
+
|
|
1457
1495
|
- Higher token costs for large document creation
|
|
1458
1496
|
- Smaller context windows (varies by IDE/model)
|
|
1459
1497
|
- May hit limits during planning phases
|
|
1460
1498
|
- Less cost-effective for brainstorming
|
|
1461
1499
|
|
|
1462
1500
|
**Using Web Agents in IDE**:
|
|
1501
|
+
|
|
1463
1502
|
- **NOT RECOMMENDED**: Web agents (PM, Architect) have rich dependencies designed for large contexts
|
|
1464
1503
|
- **Why it matters**: Dev agents are kept lean to maximize coding context
|
|
1465
1504
|
- **The principle**: "Dev agents code, planning agents plan" - mixing breaks this optimization
|
|
1466
1505
|
|
|
1467
1506
|
**About bmad-master and bmad-orchestrator**:
|
|
1507
|
+
|
|
1468
1508
|
- **bmad-master**: CAN do any task without switching agents, BUT...
|
|
1469
1509
|
- **Still use specialized agents for planning**: PM, Architect, and UX Expert have tuned personas that produce better results
|
|
1470
1510
|
- **Why specialization matters**: Each agent's personality and focus creates higher quality outputs
|
|
1471
1511
|
- **If using bmad-master/orchestrator**: Fine for planning phases, but...
|
|
1472
1512
|
|
|
1473
1513
|
**CRITICAL RULE for Development**:
|
|
1514
|
+
|
|
1474
1515
|
- **ALWAYS use SM agent for story creation** - Never use bmad-master/orchestrator
|
|
1475
1516
|
- **ALWAYS use Dev agent for implementation** - Never use bmad-master/orchestrator
|
|
1476
1517
|
- **Why this matters**: SM and Dev agents are specifically optimized for the development workflow
|
|
1477
1518
|
- **No exceptions**: Even if using bmad-master for everything else, switch to SM → Dev for implementation
|
|
1478
1519
|
|
|
1479
1520
|
**Best Practice for IDE-Only**:
|
|
1521
|
+
|
|
1480
1522
|
1. Use PM/Architect/UX agents for planning (better than bmad-master)
|
|
1481
1523
|
2. Create documents directly in project
|
|
1482
1524
|
3. Shard immediately after creation
|
|
@@ -1500,17 +1542,20 @@ This configuration file acts as a map for BMad agents, telling them exactly wher
|
|
|
1500
1542
|
### Key Configuration Areas
|
|
1501
1543
|
|
|
1502
1544
|
#### PRD Configuration
|
|
1545
|
+
|
|
1503
1546
|
- **prdVersion**: Tells agents if PRD follows v3 or v4 conventions
|
|
1504
1547
|
- **prdSharded**: Whether epics are embedded (false) or in separate files (true)
|
|
1505
1548
|
- **prdShardedLocation**: Where to find sharded epic files
|
|
1506
1549
|
- **epicFilePattern**: Pattern for epic filenames (e.g., `epic-{n}*.md`)
|
|
1507
1550
|
|
|
1508
1551
|
#### Architecture Configuration
|
|
1552
|
+
|
|
1509
1553
|
- **architectureVersion**: v3 (monolithic) or v4 (sharded)
|
|
1510
1554
|
- **architectureSharded**: Whether architecture is split into components
|
|
1511
1555
|
- **architectureShardedLocation**: Where sharded architecture files live
|
|
1512
1556
|
|
|
1513
1557
|
#### Developer Files
|
|
1558
|
+
|
|
1514
1559
|
- **devLoadAlwaysFiles**: List of files the dev agent loads for every task
|
|
1515
1560
|
- **devDebugLog**: Where dev agent logs repeated failures
|
|
1516
1561
|
- **agentCoreDump**: Export location for chat conversations
|
|
@@ -1525,6 +1570,7 @@ This configuration file acts as a map for BMad agents, telling them exactly wher
|
|
|
1525
1570
|
### Common Configurations
|
|
1526
1571
|
|
|
1527
1572
|
**Legacy V3 Project**:
|
|
1573
|
+
|
|
1528
1574
|
```yaml
|
|
1529
1575
|
prdVersion: v3
|
|
1530
1576
|
prdSharded: false
|
|
@@ -1533,6 +1579,7 @@ architectureSharded: false
|
|
|
1533
1579
|
```
|
|
1534
1580
|
|
|
1535
1581
|
**V4 Optimized Project**:
|
|
1582
|
+
|
|
1536
1583
|
```yaml
|
|
1537
1584
|
prdVersion: v4
|
|
1538
1585
|
prdSharded: true
|
|
@@ -1598,18 +1645,21 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
1598
1645
|
#### IDE-Specific Syntax
|
|
1599
1646
|
|
|
1600
1647
|
**Agent Loading by IDE**:
|
|
1648
|
+
|
|
1601
1649
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
1602
1650
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
1603
1651
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
1604
1652
|
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
1605
1653
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
1606
|
-
- **
|
|
1654
|
+
- **GitHub Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
1607
1655
|
|
|
1608
1656
|
**Chat Management Guidelines**:
|
|
1657
|
+
|
|
1609
1658
|
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
1610
1659
|
- **Roo Code**: Switch modes within the same conversation
|
|
1611
1660
|
|
|
1612
1661
|
**Common Task Commands**:
|
|
1662
|
+
|
|
1613
1663
|
- `*help` - Show available commands
|
|
1614
1664
|
- `*status` - Show current context/progress
|
|
1615
1665
|
- `*exit` - Exit the agent mode
|
|
@@ -1618,6 +1668,7 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
1618
1668
|
- `*create` - Run create-next-story task (SM agent)
|
|
1619
1669
|
|
|
1620
1670
|
**In Web UI**:
|
|
1671
|
+
|
|
1621
1672
|
```text
|
|
1622
1673
|
/pm create-doc prd
|
|
1623
1674
|
/architect review system design
|
|
@@ -1631,16 +1682,19 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
1631
1682
|
### Pre-Built Teams
|
|
1632
1683
|
|
|
1633
1684
|
#### Team All
|
|
1685
|
+
|
|
1634
1686
|
- **Includes**: All 10 agents + orchestrator
|
|
1635
1687
|
- **Use Case**: Complete projects requiring all roles
|
|
1636
1688
|
- **Bundle**: `team-all.txt`
|
|
1637
1689
|
|
|
1638
1690
|
#### Team Fullstack
|
|
1691
|
+
|
|
1639
1692
|
- **Includes**: PM, Architect, Developer, QA, UX Expert
|
|
1640
1693
|
- **Use Case**: End-to-end web/mobile development
|
|
1641
1694
|
- **Bundle**: `team-fullstack.txt`
|
|
1642
1695
|
|
|
1643
1696
|
#### Team No-UI
|
|
1697
|
+
|
|
1644
1698
|
- **Includes**: PM, Architect, Developer, QA (no UX Expert)
|
|
1645
1699
|
- **Use Case**: Backend services, APIs, system development
|
|
1646
1700
|
- **Bundle**: `team-no-ui.txt`
|
|
@@ -1654,22 +1708,26 @@ The BMad-Method is built around a modular architecture centered on the `bmad-cor
|
|
|
1654
1708
|
### Key Architectural Components
|
|
1655
1709
|
|
|
1656
1710
|
#### 1. Agents (`bmad-core/agents/`)
|
|
1711
|
+
|
|
1657
1712
|
- **Purpose**: Each markdown file defines a specialized AI agent for a specific Agile role (PM, Dev, Architect, etc.)
|
|
1658
1713
|
- **Structure**: Contains YAML headers specifying the agent's persona, capabilities, and dependencies
|
|
1659
1714
|
- **Dependencies**: Lists of tasks, templates, checklists, and data files the agent can use
|
|
1660
1715
|
- **Startup Instructions**: Can load project-specific documentation for immediate context
|
|
1661
1716
|
|
|
1662
1717
|
#### 2. Agent Teams (`bmad-core/agent-teams/`)
|
|
1718
|
+
|
|
1663
1719
|
- **Purpose**: Define collections of agents bundled together for specific purposes
|
|
1664
1720
|
- **Examples**: `team-all.yaml` (comprehensive bundle), `team-fullstack.yaml` (full-stack development)
|
|
1665
1721
|
- **Usage**: Creates pre-packaged contexts for web UI environments
|
|
1666
1722
|
|
|
1667
1723
|
#### 3. Workflows (`bmad-core/workflows/`)
|
|
1724
|
+
|
|
1668
1725
|
- **Purpose**: YAML files defining prescribed sequences of steps for specific project types
|
|
1669
1726
|
- **Types**: Greenfield (new projects) and Brownfield (existing projects) for UI, service, and fullstack development
|
|
1670
1727
|
- **Structure**: Defines agent interactions, artifacts created, and transition conditions
|
|
1671
1728
|
|
|
1672
1729
|
#### 4. Reusable Resources
|
|
1730
|
+
|
|
1673
1731
|
- **Templates** (`bmad-core/templates/`): Markdown templates for PRDs, architecture specs, user stories
|
|
1674
1732
|
- **Tasks** (`bmad-core/tasks/`): Instructions for specific repeatable actions like "shard-doc" or "create-next-story"
|
|
1675
1733
|
- **Checklists** (`bmad-core/checklists/`): Quality assurance checklists for validation and review
|
|
@@ -1709,6 +1767,7 @@ BMad employs a sophisticated template system with three key components:
|
|
|
1709
1767
|
### Technical Preferences Integration
|
|
1710
1768
|
|
|
1711
1769
|
The `technical-preferences.md` file serves as a persistent technical profile that:
|
|
1770
|
+
|
|
1712
1771
|
- Ensures consistency across all agents and projects
|
|
1713
1772
|
- Eliminates repetitive technology specification
|
|
1714
1773
|
- Provides personalized recommendations aligned with user preferences
|
|
@@ -1717,6 +1776,7 @@ The `technical-preferences.md` file serves as a persistent technical profile tha
|
|
|
1717
1776
|
### Build and Delivery Process
|
|
1718
1777
|
|
|
1719
1778
|
The `web-builder.js` tool creates web-ready bundles by:
|
|
1779
|
+
|
|
1720
1780
|
1. Reading agent or team definition files
|
|
1721
1781
|
2. Recursively resolving all dependencies
|
|
1722
1782
|
3. Concatenating content into single text files with clear separators
|
|
@@ -1731,11 +1791,13 @@ This architecture enables seamless operation across environments while maintaini
|
|
|
1731
1791
|
**Ideal for cost efficiency with Gemini's massive context:**
|
|
1732
1792
|
|
|
1733
1793
|
**For Brownfield Projects - Start Here!**:
|
|
1794
|
+
|
|
1734
1795
|
1. **Upload entire project to Gemini Web** (GitHub URL, files, or zip)
|
|
1735
1796
|
2. **Document existing system**: `/analyst` → `*document-project`
|
|
1736
1797
|
3. **Creates comprehensive docs** from entire codebase analysis
|
|
1737
1798
|
|
|
1738
1799
|
**For All Projects**:
|
|
1800
|
+
|
|
1739
1801
|
1. **Optional Analysis**: `/analyst` - Market research, competitive analysis
|
|
1740
1802
|
2. **Project Brief**: Create foundation document (Analyst or user)
|
|
1741
1803
|
3. **PRD Creation**: `/pm create-doc prd` - Comprehensive product requirements
|
|
@@ -1746,12 +1808,14 @@ This architecture enables seamless operation across environments while maintaini
|
|
|
1746
1808
|
#### Example Planning Prompts
|
|
1747
1809
|
|
|
1748
1810
|
**For PRD Creation**:
|
|
1811
|
+
|
|
1749
1812
|
```text
|
|
1750
1813
|
"I want to build a [type] application that [core purpose].
|
|
1751
1814
|
Help me brainstorm features and create a comprehensive PRD."
|
|
1752
1815
|
```
|
|
1753
1816
|
|
|
1754
1817
|
**For Architecture Design**:
|
|
1818
|
+
|
|
1755
1819
|
```text
|
|
1756
1820
|
"Based on this PRD, design a scalable technical architecture
|
|
1757
1821
|
that can handle [specific requirements]."
|
|
@@ -1769,7 +1833,7 @@ that can handle [specific requirements]."
|
|
|
1769
1833
|
|
|
1770
1834
|
**Prerequisites**: Planning documents must exist in `docs/` folder
|
|
1771
1835
|
|
|
1772
|
-
1. **Document Sharding** (CRITICAL STEP):
|
|
1836
|
+
1. **Document Sharding** (CRITICAL STEP):
|
|
1773
1837
|
- Documents created by PM/Architect (in Web or IDE) MUST be sharded for development
|
|
1774
1838
|
- Two methods to shard:
|
|
1775
1839
|
a) **Manual**: Drag `shard-doc` task + document file into chat
|
|
@@ -1783,32 +1847,33 @@ that can handle [specific requirements]."
|
|
|
1783
1847
|
- Source tree document and coding standards for dev agent reference
|
|
1784
1848
|
- Sharded docs for SM agent story creation
|
|
1785
1849
|
|
|
1786
|
-
|
|
1850
|
+
Resulting Folder Structure:
|
|
1851
|
+
|
|
1787
1852
|
- `docs/prd/` - Broken down PRD sections
|
|
1788
1853
|
- `docs/architecture/` - Broken down architecture sections
|
|
1789
1854
|
- `docs/stories/` - Generated user stories
|
|
1790
1855
|
|
|
1791
|
-
|
|
1856
|
+
1. **Development Cycle** (Sequential, one story at a time):
|
|
1792
1857
|
|
|
1793
1858
|
**CRITICAL CONTEXT MANAGEMENT**:
|
|
1794
1859
|
- **Context windows matter!** Always use fresh, clean context windows
|
|
1795
1860
|
- **Model selection matters!** Use most powerful thinking model for SM story creation
|
|
1796
1861
|
- **ALWAYS start new chat between SM, Dev, and QA work**
|
|
1797
1862
|
|
|
1798
|
-
**Step 1 - Story Creation**:
|
|
1863
|
+
**Step 1 - Story Creation**:
|
|
1799
1864
|
- **NEW CLEAN CHAT** → Select powerful model → `@sm` → `*create`
|
|
1800
1865
|
- SM executes create-next-story task
|
|
1801
1866
|
- Review generated story in `docs/stories/`
|
|
1802
1867
|
- Update status from "Draft" to "Approved"
|
|
1803
|
-
|
|
1804
|
-
**Step 2 - Story Implementation**:
|
|
1868
|
+
|
|
1869
|
+
**Step 2 - Story Implementation**:
|
|
1805
1870
|
- **NEW CLEAN CHAT** → `@dev`
|
|
1806
1871
|
- Agent asks which story to implement
|
|
1807
1872
|
- Include story file content to save dev agent lookup time
|
|
1808
1873
|
- Dev follows tasks/subtasks, marking completion
|
|
1809
1874
|
- Dev maintains File List of all changes
|
|
1810
1875
|
- Dev marks story as "Review" when complete with all tests passing
|
|
1811
|
-
|
|
1876
|
+
|
|
1812
1877
|
**Step 3 - Senior QA Review**:
|
|
1813
1878
|
- **NEW CLEAN CHAT** → `@qa` → execute review-story task
|
|
1814
1879
|
- QA performs senior developer code review
|
|
@@ -1816,7 +1881,7 @@ that can handle [specific requirements]."
|
|
|
1816
1881
|
- QA appends results to story's QA Results section
|
|
1817
1882
|
- If approved: Status → "Done"
|
|
1818
1883
|
- If changes needed: Status stays "Review" with unchecked items for dev
|
|
1819
|
-
|
|
1884
|
+
|
|
1820
1885
|
**Step 4 - Repeat**: Continue SM → Dev → QA cycle until all epic stories complete
|
|
1821
1886
|
|
|
1822
1887
|
**Important**: Only 1 story in progress at a time, worked sequentially until all epic stories complete.
|
|
@@ -1824,6 +1889,7 @@ that can handle [specific requirements]."
|
|
|
1824
1889
|
### Status Tracking Workflow
|
|
1825
1890
|
|
|
1826
1891
|
Stories progress through defined statuses:
|
|
1892
|
+
|
|
1827
1893
|
- **Draft** → **Approved** → **InProgress** → **Done**
|
|
1828
1894
|
|
|
1829
1895
|
Each status change requires user verification and approval before proceeding.
|
|
@@ -1831,6 +1897,7 @@ Each status change requires user verification and approval before proceeding.
|
|
|
1831
1897
|
### Workflow Types
|
|
1832
1898
|
|
|
1833
1899
|
#### Greenfield Development
|
|
1900
|
+
|
|
1834
1901
|
- Business analysis and market research
|
|
1835
1902
|
- Product requirements and feature definition
|
|
1836
1903
|
- System architecture and design
|
|
@@ -1844,6 +1911,7 @@ Each status change requires user verification and approval before proceeding.
|
|
|
1844
1911
|
**Complete Brownfield Workflow Options**:
|
|
1845
1912
|
|
|
1846
1913
|
**Option 1: PRD-First (Recommended for Large Codebases/Monorepos)**:
|
|
1914
|
+
|
|
1847
1915
|
1. **Upload project to Gemini Web** (GitHub URL, files, or zip)
|
|
1848
1916
|
2. **Create PRD first**: `@pm` → `*create-doc brownfield-prd`
|
|
1849
1917
|
3. **Focused documentation**: `@analyst` → `*document-project`
|
|
@@ -1854,18 +1922,19 @@ Each status change requires user verification and approval before proceeding.
|
|
|
1854
1922
|
- Avoids bloating docs with unused code
|
|
1855
1923
|
|
|
1856
1924
|
**Option 2: Document-First (Good for Smaller Projects)**:
|
|
1925
|
+
|
|
1857
1926
|
1. **Upload project to Gemini Web**
|
|
1858
1927
|
2. **Document everything**: `@analyst` → `*document-project`
|
|
1859
1928
|
3. **Then create PRD**: `@pm` → `*create-doc brownfield-prd`
|
|
1860
1929
|
- More thorough but can create excessive documentation
|
|
1861
1930
|
|
|
1862
|
-
|
|
1931
|
+
4. **Requirements Gathering**:
|
|
1863
1932
|
- **Brownfield PRD**: Use PM agent with `brownfield-prd-tmpl`
|
|
1864
1933
|
- **Analyzes**: Existing system, constraints, integration points
|
|
1865
1934
|
- **Defines**: Enhancement scope, compatibility requirements, risk assessment
|
|
1866
1935
|
- **Creates**: Epic and story structure for changes
|
|
1867
1936
|
|
|
1868
|
-
|
|
1937
|
+
5. **Architecture Planning**:
|
|
1869
1938
|
- **Brownfield Architecture**: Use Architect agent with `brownfield-architecture-tmpl`
|
|
1870
1939
|
- **Integration Strategy**: How new features integrate with existing system
|
|
1871
1940
|
- **Migration Planning**: Gradual rollout and backwards compatibility
|
|
@@ -1874,10 +1943,12 @@ Each status change requires user verification and approval before proceeding.
|
|
|
1874
1943
|
**Brownfield-Specific Resources**:
|
|
1875
1944
|
|
|
1876
1945
|
**Templates**:
|
|
1946
|
+
|
|
1877
1947
|
- `brownfield-prd-tmpl.md`: Comprehensive enhancement planning with existing system analysis
|
|
1878
1948
|
- `brownfield-architecture-tmpl.md`: Integration-focused architecture for existing systems
|
|
1879
1949
|
|
|
1880
1950
|
**Tasks**:
|
|
1951
|
+
|
|
1881
1952
|
- `document-project`: Generates comprehensive documentation from existing codebase
|
|
1882
1953
|
- `brownfield-create-epic`: Creates single epic for focused enhancements (when full PRD is overkill)
|
|
1883
1954
|
- `brownfield-create-story`: Creates individual story for small, isolated changes
|
|
@@ -1885,18 +1956,21 @@ Each status change requires user verification and approval before proceeding.
|
|
|
1885
1956
|
**When to Use Each Approach**:
|
|
1886
1957
|
|
|
1887
1958
|
**Full Brownfield Workflow** (Recommended for):
|
|
1959
|
+
|
|
1888
1960
|
- Major feature additions
|
|
1889
1961
|
- System modernization
|
|
1890
1962
|
- Complex integrations
|
|
1891
1963
|
- Multiple related changes
|
|
1892
1964
|
|
|
1893
1965
|
**Quick Epic/Story Creation** (Use when):
|
|
1966
|
+
|
|
1894
1967
|
- Single, focused enhancement
|
|
1895
1968
|
- Isolated bug fixes
|
|
1896
1969
|
- Small feature additions
|
|
1897
1970
|
- Well-documented existing system
|
|
1898
1971
|
|
|
1899
1972
|
**Critical Success Factors**:
|
|
1973
|
+
|
|
1900
1974
|
1. **Documentation First**: Always run `document-project` if docs are outdated/missing
|
|
1901
1975
|
2. **Context Matters**: Provide agents access to relevant code sections
|
|
1902
1976
|
3. **Integration Focus**: Emphasize compatibility and non-breaking changes
|
|
@@ -1912,6 +1986,7 @@ Each status change requires user verification and approval before proceeding.
|
|
|
1912
1986
|
- `docs/architecture.md` - System Architecture Document
|
|
1913
1987
|
|
|
1914
1988
|
**Why These Names Matter**:
|
|
1989
|
+
|
|
1915
1990
|
- Agents automatically reference these files during development
|
|
1916
1991
|
- Sharding tasks expect these specific filenames
|
|
1917
1992
|
- Workflow automation depends on standard naming
|
|
@@ -1930,6 +2005,7 @@ Each status change requires user verification and approval before proceeding.
|
|
|
1930
2005
|
Templates with Level 2 headings (`##`) can be automatically sharded:
|
|
1931
2006
|
|
|
1932
2007
|
**Original PRD**:
|
|
2008
|
+
|
|
1933
2009
|
```markdown
|
|
1934
2010
|
## Goals and Background Context
|
|
1935
2011
|
## Requirements
|
|
@@ -1938,6 +2014,7 @@ Templates with Level 2 headings (`##`) can be automatically sharded:
|
|
|
1938
2014
|
```
|
|
1939
2015
|
|
|
1940
2016
|
**After Sharding**:
|
|
2017
|
+
|
|
1941
2018
|
- `docs/prd/goals-and-background-context.md`
|
|
1942
2019
|
- `docs/prd/requirements.md`
|
|
1943
2020
|
- `docs/prd/user-interface-design-goals.md`
|
|
@@ -1950,12 +2027,14 @@ Use the `shard-doc` task or `@kayvan/markdown-tree-parser` tool for automatic sh
|
|
|
1950
2027
|
### Environment-Specific Usage
|
|
1951
2028
|
|
|
1952
2029
|
**Web UI Best For**:
|
|
2030
|
+
|
|
1953
2031
|
- Initial planning and documentation phases
|
|
1954
2032
|
- Cost-effective large document creation
|
|
1955
2033
|
- Agent consultation and brainstorming
|
|
1956
2034
|
- Multi-agent workflows with orchestrator
|
|
1957
2035
|
|
|
1958
2036
|
**IDE Best For**:
|
|
2037
|
+
|
|
1959
2038
|
- Active development and implementation
|
|
1960
2039
|
- File operations and project integration
|
|
1961
2040
|
- Story management and development cycles
|
|
@@ -1990,6 +2069,7 @@ Use the `shard-doc` task or `@kayvan/markdown-tree-parser` tool for automatic sh
|
|
|
1990
2069
|
For full details, see `CONTRIBUTING.md`. Key points:
|
|
1991
2070
|
|
|
1992
2071
|
**Fork Workflow**:
|
|
2072
|
+
|
|
1993
2073
|
1. Fork the repository
|
|
1994
2074
|
2. Create feature branches
|
|
1995
2075
|
3. Submit PRs to `next` branch (default) or `main` for critical fixes only
|
|
@@ -1997,12 +2077,14 @@ For full details, see `CONTRIBUTING.md`. Key points:
|
|
|
1997
2077
|
5. One feature/fix per PR
|
|
1998
2078
|
|
|
1999
2079
|
**PR Requirements**:
|
|
2080
|
+
|
|
2000
2081
|
- Clear descriptions (max 200 words) with What/Why/How/Testing
|
|
2001
2082
|
- Use conventional commits (feat:, fix:, docs:)
|
|
2002
2083
|
- Atomic commits - one logical change per commit
|
|
2003
2084
|
- Must align with guiding principles
|
|
2004
2085
|
|
|
2005
2086
|
**Core Principles** (from GUIDING-PRINCIPLES.md):
|
|
2087
|
+
|
|
2006
2088
|
- **Dev Agents Must Be Lean**: Minimize dependencies, save context for code
|
|
2007
2089
|
- **Natural Language First**: Everything in markdown, no code in core
|
|
2008
2090
|
- **Core vs Expansion Packs**: Core for universal needs, packs for specialized domains
|
|
@@ -2024,12 +2106,14 @@ Expansion packs extend BMad-Method beyond traditional software development into
|
|
|
2024
2106
|
### Available Expansion Packs
|
|
2025
2107
|
|
|
2026
2108
|
**Technical Packs**:
|
|
2109
|
+
|
|
2027
2110
|
- **Infrastructure/DevOps**: Cloud architects, SRE experts, security specialists
|
|
2028
2111
|
- **Game Development**: Game designers, level designers, narrative writers
|
|
2029
2112
|
- **Mobile Development**: iOS/Android specialists, mobile UX experts
|
|
2030
2113
|
- **Data Science**: ML engineers, data scientists, visualization experts
|
|
2031
2114
|
|
|
2032
2115
|
**Non-Technical Packs**:
|
|
2116
|
+
|
|
2033
2117
|
- **Business Strategy**: Consultants, financial analysts, marketing strategists
|
|
2034
2118
|
- **Creative Writing**: Plot architects, character developers, world builders
|
|
2035
2119
|
- **Health & Wellness**: Fitness trainers, nutritionists, habit engineers
|
|
@@ -2037,6 +2121,7 @@ Expansion packs extend BMad-Method beyond traditional software development into
|
|
|
2037
2121
|
- **Legal Support**: Contract analysts, compliance checkers
|
|
2038
2122
|
|
|
2039
2123
|
**Specialty Packs**:
|
|
2124
|
+
|
|
2040
2125
|
- **Expansion Creator**: Tools to build your own expansion packs
|
|
2041
2126
|
- **RPG Game Master**: Tabletop gaming assistance
|
|
2042
2127
|
- **Life Event Planning**: Wedding planners, event coordinators
|
|
@@ -2046,11 +2131,13 @@ Expansion packs extend BMad-Method beyond traditional software development into
|
|
|
2046
2131
|
|
|
2047
2132
|
1. **Browse Available Packs**: Check `expansion-packs/` directory
|
|
2048
2133
|
2. **Get Inspiration**: See `docs/expansion-packs.md` for detailed examples and ideas
|
|
2049
|
-
3. **Install via CLI**:
|
|
2134
|
+
3. **Install via CLI**:
|
|
2135
|
+
|
|
2050
2136
|
```bash
|
|
2051
2137
|
npx bmad-method install
|
|
2052
2138
|
# Select "Install expansion pack" option
|
|
2053
2139
|
```
|
|
2140
|
+
|
|
2054
2141
|
4. **Use in Your Workflow**: Installed packs integrate seamlessly with existing agents
|
|
2055
2142
|
|
|
2056
2143
|
### Creating Custom Expansion Packs
|
|
@@ -2071,9 +2158,9 @@ Use the **expansion-creator** pack to build your own:
|
|
|
2071
2158
|
- **Documentation**: Check `docs/` folder for project-specific context
|
|
2072
2159
|
- **Community**: Discord and GitHub resources available for support
|
|
2073
2160
|
- **Contributing**: See `CONTRIBUTING.md` for full guidelines
|
|
2074
|
-
==================== END: data
|
|
2161
|
+
==================== END: .bmad-core/data/bmad-kb.md ====================
|
|
2075
2162
|
|
|
2076
|
-
==================== START: utils
|
|
2163
|
+
==================== START: .bmad-core/utils/plan-management.md ====================
|
|
2077
2164
|
# Plan Management Utility
|
|
2078
2165
|
|
|
2079
2166
|
## Purpose
|
|
@@ -2084,14 +2171,10 @@ Provides utilities for agents and tasks to interact with workflow plans, check p
|
|
|
2084
2171
|
|
|
2085
2172
|
### 1. Check Plan Existence
|
|
2086
2173
|
|
|
2087
|
-
[[LLM: When any agent starts or task begins, check if a workflow plan exists]]
|
|
2088
|
-
|
|
2089
|
-
```
|
|
2090
2174
|
Check for workflow plan:
|
|
2175
|
+
|
|
2091
2176
|
1. Look for docs/workflow-plan.md (default location)
|
|
2092
|
-
2.
|
|
2093
|
-
3. Return plan status (exists/not exists)
|
|
2094
|
-
```
|
|
2177
|
+
2. Return plan status to user (exists/not exists) - if not exists then HALT.
|
|
2095
2178
|
|
|
2096
2179
|
### 2. Parse Plan Status
|
|
2097
2180
|
|
|
@@ -2132,7 +2215,7 @@ Check for workflow plan:
|
|
|
2132
2215
|
|
|
2133
2216
|
**Warning Templates:**
|
|
2134
2217
|
|
|
2135
|
-
```
|
|
2218
|
+
```text
|
|
2136
2219
|
SEQUENCE WARNING:
|
|
2137
2220
|
The workflow plan shows you should complete "{expected_step}" next.
|
|
2138
2221
|
You're attempting to: "{requested_action}"
|
|
@@ -2166,7 +2249,7 @@ In flexible mode: Allow with confirmation
|
|
|
2166
2249
|
|
|
2167
2250
|
**For Agents (startup sequence)**:
|
|
2168
2251
|
|
|
2169
|
-
```
|
|
2252
|
+
```text
|
|
2170
2253
|
1. Check if plan exists using this utility
|
|
2171
2254
|
2. If exists:
|
|
2172
2255
|
- Parse current status
|
|
@@ -2177,7 +2260,7 @@ In flexible mode: Allow with confirmation
|
|
|
2177
2260
|
|
|
2178
2261
|
**For Tasks (pre-execution)**:
|
|
2179
2262
|
|
|
2180
|
-
```
|
|
2263
|
+
```text
|
|
2181
2264
|
1. Check if plan exists
|
|
2182
2265
|
2. If exists:
|
|
2183
2266
|
- Verify this task aligns with plan
|
|
@@ -2193,7 +2276,7 @@ In flexible mode: Allow with confirmation
|
|
|
2193
2276
|
|
|
2194
2277
|
[[LLM: Standard format for showing plan status]]
|
|
2195
2278
|
|
|
2196
|
-
```
|
|
2279
|
+
```text
|
|
2197
2280
|
📋 Workflow Plan Status
|
|
2198
2281
|
━━━━━━━━━━━━━━━━━━━━
|
|
2199
2282
|
Workflow: {workflow_name}
|
|
@@ -2246,7 +2329,7 @@ If user wants to abandon plan:
|
|
|
2246
2329
|
|
|
2247
2330
|
### Example 1: Agent Startup Check
|
|
2248
2331
|
|
|
2249
|
-
```
|
|
2332
|
+
```text
|
|
2250
2333
|
BMad Master starting...
|
|
2251
2334
|
|
|
2252
2335
|
[Check for plan]
|
|
@@ -2260,7 +2343,7 @@ Use *agent pm to switch, or *plan-status to see full progress.
|
|
|
2260
2343
|
|
|
2261
2344
|
### Example 2: Task Sequence Warning
|
|
2262
2345
|
|
|
2263
|
-
```
|
|
2346
|
+
```text
|
|
2264
2347
|
User: *task create-next-story
|
|
2265
2348
|
|
|
2266
2349
|
[Plan check triggered]
|
|
@@ -2276,7 +2359,7 @@ Would you like to:
|
|
|
2276
2359
|
|
|
2277
2360
|
### Example 3: Automatic Plan Update
|
|
2278
2361
|
|
|
2279
|
-
```
|
|
2362
|
+
```text
|
|
2280
2363
|
[After completing create-doc task for PRD]
|
|
2281
2364
|
|
|
2282
2365
|
✅ Plan Updated: Marked "Create PRD" as complete
|
|
@@ -2297,9 +2380,9 @@ Would you like to:
|
|
|
2297
2380
|
- Malformed plan: Warn but continue, treat as no plan
|
|
2298
2381
|
- Update failures: Log but don't block task completion
|
|
2299
2382
|
- Parse errors: Fallback to basic text search
|
|
2300
|
-
==================== END: utils
|
|
2383
|
+
==================== END: .bmad-core/utils/plan-management.md ====================
|
|
2301
2384
|
|
|
2302
|
-
==================== START: utils
|
|
2385
|
+
==================== START: .bmad-core/utils/workflow-management.md ====================
|
|
2303
2386
|
# Workflow Management
|
|
2304
2387
|
|
|
2305
2388
|
Enables BMad orchestrator to manage and execute team workflows.
|
|
@@ -2369,9 +2452,9 @@ Handle conditional paths by asking clarifying questions when needed.
|
|
|
2369
2452
|
## Agent Integration
|
|
2370
2453
|
|
|
2371
2454
|
Agents should be workflow-aware: know active workflow, their role, access artifacts, understand expected outputs.
|
|
2372
|
-
==================== END: utils
|
|
2455
|
+
==================== END: .bmad-core/utils/workflow-management.md ====================
|
|
2373
2456
|
|
|
2374
|
-
==================== START: utils
|
|
2457
|
+
==================== START: .bmad-core/utils/template-format.md ====================
|
|
2375
2458
|
# Template Format Conventions
|
|
2376
2459
|
|
|
2377
2460
|
Templates in the BMad method use standardized markup for AI processing. These conventions ensure consistent document generation.
|
|
@@ -2398,250 +2481,148 @@ Templates in the BMad method use standardized markup for AI processing. These co
|
|
|
2398
2481
|
- Template elements are for AI processing only
|
|
2399
2482
|
- Focus on faithful template execution and clean output
|
|
2400
2483
|
- All template-specific instructions are embedded within templates
|
|
2401
|
-
==================== END: utils
|
|
2402
|
-
|
|
2403
|
-
==================== START: tasks#brainstorming-techniques ====================
|
|
2404
|
-
# Brainstorming Techniques Task
|
|
2405
|
-
|
|
2406
|
-
This task provides a comprehensive toolkit of creative brainstorming techniques for ideation and innovative thinking. The analyst can use these techniques to facilitate productive brainstorming sessions with users.
|
|
2407
|
-
|
|
2408
|
-
## Process
|
|
2484
|
+
==================== END: .bmad-core/utils/template-format.md ====================
|
|
2409
2485
|
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
- Understand the problem space or opportunity area
|
|
2417
|
-
- Identify any constraints or parameters
|
|
2418
|
-
- Determine session goals (divergent exploration vs. focused ideation)
|
|
2419
|
-
|
|
2420
|
-
2. **Select Technique Approach**
|
|
2421
|
-
- Option A: User selects specific techniques
|
|
2422
|
-
- Option B: Analyst recommends techniques based on context
|
|
2423
|
-
- Option C: Random technique selection for creative variety
|
|
2424
|
-
- Option D: Progressive technique flow (start broad, narrow down)
|
|
2425
|
-
|
|
2426
|
-
### 2. Core Brainstorming Techniques
|
|
2427
|
-
|
|
2428
|
-
#### Creative Expansion Techniques
|
|
2429
|
-
|
|
2430
|
-
1. **"What If" Scenarios**
|
|
2431
|
-
[[LLM: Generate provocative what-if questions that challenge assumptions and expand thinking beyond current limitations.]]
|
|
2432
|
-
|
|
2433
|
-
- What if we had unlimited resources?
|
|
2434
|
-
- What if this problem didn't exist?
|
|
2435
|
-
- What if we approached this from a child's perspective?
|
|
2436
|
-
- What if we had to solve this in 24 hours?
|
|
2437
|
-
|
|
2438
|
-
2. **Analogical Thinking**
|
|
2439
|
-
[[LLM: Help user draw parallels between their challenge and other domains, industries, or natural systems.]]
|
|
2440
|
-
|
|
2441
|
-
- "How might this work like [X] but for [Y]?"
|
|
2442
|
-
- Nature-inspired solutions (biomimicry)
|
|
2443
|
-
- Cross-industry pattern matching
|
|
2444
|
-
- Historical precedent analysis
|
|
2445
|
-
|
|
2446
|
-
3. **Reversal/Inversion**
|
|
2447
|
-
[[LLM: Flip the problem or approach it from the opposite angle to reveal new insights.]]
|
|
2448
|
-
|
|
2449
|
-
- What if we did the exact opposite?
|
|
2450
|
-
- How could we make this problem worse? (then reverse)
|
|
2451
|
-
- Start from the end goal and work backward
|
|
2452
|
-
- Reverse roles or perspectives
|
|
2453
|
-
|
|
2454
|
-
4. **First Principles Thinking**
|
|
2455
|
-
[[LLM: Break down to fundamental truths and rebuild from scratch.]]
|
|
2456
|
-
- What are the absolute fundamentals here?
|
|
2457
|
-
- What assumptions can we challenge?
|
|
2458
|
-
- If we started from zero, what would we build?
|
|
2459
|
-
- What laws of physics/economics/human nature apply?
|
|
2460
|
-
|
|
2461
|
-
#### Structured Ideation Frameworks
|
|
2462
|
-
|
|
2463
|
-
1. **SCAMPER Method**
|
|
2464
|
-
[[LLM: Guide through each SCAMPER prompt systematically.]]
|
|
2465
|
-
|
|
2466
|
-
- **S** = Substitute: What can be substituted?
|
|
2467
|
-
- **C** = Combine: What can be combined or integrated?
|
|
2468
|
-
- **A** = Adapt: What can be adapted from elsewhere?
|
|
2469
|
-
- **M** = Modify/Magnify: What can be emphasized or reduced?
|
|
2470
|
-
- **P** = Put to other uses: What else could this be used for?
|
|
2471
|
-
- **E** = Eliminate: What can be removed or simplified?
|
|
2472
|
-
- **R**= Reverse/Rearrange: What can be reversed or reordered?
|
|
2473
|
-
|
|
2474
|
-
2. **Six Thinking Hats**
|
|
2475
|
-
[[LLM: Cycle through different thinking modes, spending focused time in each.]]
|
|
2476
|
-
|
|
2477
|
-
- White Hat: Facts and information
|
|
2478
|
-
- Red Hat: Emotions and intuition
|
|
2479
|
-
- Black Hat: Caution and critical thinking
|
|
2480
|
-
- Yellow Hat: Optimism and benefits
|
|
2481
|
-
- Green Hat: Creativity and alternatives
|
|
2482
|
-
- Blue Hat: Process and control
|
|
2483
|
-
|
|
2484
|
-
3. **Mind Mapping**
|
|
2485
|
-
[[LLM: Create text-based mind maps with clear hierarchical structure.]]
|
|
2486
|
-
|
|
2487
|
-
```plaintext
|
|
2488
|
-
Central Concept
|
|
2489
|
-
├── Branch 1
|
|
2490
|
-
│ ├── Sub-idea 1.1
|
|
2491
|
-
│ └── Sub-idea 1.2
|
|
2492
|
-
├── Branch 2
|
|
2493
|
-
│ ├── Sub-idea 2.1
|
|
2494
|
-
│ └── Sub-idea 2.2
|
|
2495
|
-
└── Branch 3
|
|
2496
|
-
└── Sub-idea 3.1
|
|
2497
|
-
```
|
|
2498
|
-
|
|
2499
|
-
#### Collaborative Techniques
|
|
2500
|
-
|
|
2501
|
-
1. **"Yes, And..." Building**
|
|
2502
|
-
[[LLM: Accept every idea and build upon it without judgment. Encourage wild ideas and defer criticism.]]
|
|
2503
|
-
|
|
2504
|
-
- Accept the premise of each idea
|
|
2505
|
-
- Add to it with "Yes, and..."
|
|
2506
|
-
- Build chains of connected ideas
|
|
2507
|
-
- Explore tangents freely
|
|
2508
|
-
|
|
2509
|
-
2. **Brainwriting/Round Robin**
|
|
2510
|
-
[[LLM: Simulate multiple perspectives by generating ideas from different viewpoints.]]
|
|
2511
|
-
|
|
2512
|
-
- Generate ideas from stakeholder perspectives
|
|
2513
|
-
- Build on previous ideas in rounds
|
|
2514
|
-
- Combine unrelated ideas
|
|
2515
|
-
- Cross-pollinate concepts
|
|
2486
|
+
==================== START: .bmad-core/tasks/facilitate-brainstorming-session.md ====================
|
|
2487
|
+
---
|
|
2488
|
+
docOutputLocation: docs/brainstorming-session-results.md
|
|
2489
|
+
template: brainstorming-output-tmpl
|
|
2490
|
+
---
|
|
2516
2491
|
|
|
2517
|
-
|
|
2518
|
-
[[LLM: Use random words, images, or concepts as creative triggers.]]
|
|
2519
|
-
- Random word association
|
|
2520
|
-
- Picture/metaphor inspiration
|
|
2521
|
-
- Forced connections between unrelated items
|
|
2522
|
-
- Constraint-based creativity
|
|
2492
|
+
# Facilitate Brainstorming Session Task
|
|
2523
2493
|
|
|
2524
|
-
|
|
2494
|
+
Facilitate interactive brainstorming sessions with users. Be creative and adaptive in applying techniques.
|
|
2525
2495
|
|
|
2526
|
-
|
|
2527
|
-
[[LLM: Dig deeper into root causes and underlying motivations.]]
|
|
2496
|
+
## Process
|
|
2528
2497
|
|
|
2529
|
-
|
|
2530
|
-
- Uncover hidden assumptions
|
|
2531
|
-
- Find root causes, not symptoms
|
|
2532
|
-
- Identify intervention points
|
|
2498
|
+
### Step 1: Session Setup
|
|
2533
2499
|
|
|
2534
|
-
|
|
2535
|
-
[[LLM: Break down into parameters and systematically explore combinations.]]
|
|
2500
|
+
Ask 4 context questions (don't preview what happens next):
|
|
2536
2501
|
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2502
|
+
1. What are we brainstorming about?
|
|
2503
|
+
2. Any constraints or parameters?
|
|
2504
|
+
3. Goal: broad exploration or focused ideation?
|
|
2505
|
+
4. Do you want a structured document output to reference later? (Y/N)
|
|
2541
2506
|
|
|
2542
|
-
|
|
2543
|
-
[[LLM: Make deliberately provocative statements to jar thinking.]]
|
|
2544
|
-
- PO: Cars have square wheels
|
|
2545
|
-
- PO: Customers pay us to take products
|
|
2546
|
-
- PO: The problem solves itself
|
|
2547
|
-
- Extract useful ideas from provocations
|
|
2507
|
+
### Step 2: Present Approach Options
|
|
2548
2508
|
|
|
2549
|
-
|
|
2509
|
+
After getting answers to Step 1, present 4 approach options (numbered):
|
|
2550
2510
|
|
|
2551
|
-
|
|
2511
|
+
1. User selects specific techniques
|
|
2512
|
+
2. Analyst recommends techniques based on context
|
|
2513
|
+
3. Random technique selection for creative variety
|
|
2514
|
+
4. Progressive technique flow (start broad, narrow down)
|
|
2552
2515
|
|
|
2553
|
-
|
|
2516
|
+
### Step 3: Execute Techniques Interactively
|
|
2554
2517
|
|
|
2555
|
-
|
|
2556
|
-
- First Principles
|
|
2557
|
-
- Mind Mapping
|
|
2518
|
+
**KEY PRINCIPLES:**
|
|
2558
2519
|
|
|
2559
|
-
**
|
|
2520
|
+
- **FACILITATOR ROLE**: Guide user to generate their own ideas through questions, prompts, and examples
|
|
2521
|
+
- **CONTINUOUS ENGAGEMENT**: Keep user engaged with chosen technique until they want to switch or are satisfied
|
|
2522
|
+
- **CAPTURE OUTPUT**: If document output requested, capture all ideas generated in each technique section
|
|
2560
2523
|
|
|
2561
|
-
|
|
2562
|
-
-
|
|
2563
|
-
- Provocation Technique
|
|
2524
|
+
**Technique Selection:**
|
|
2525
|
+
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).
|
|
2564
2526
|
|
|
2565
|
-
**
|
|
2527
|
+
**Technique Execution:**
|
|
2566
2528
|
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
-
|
|
2529
|
+
1. Apply selected technique according to data file description
|
|
2530
|
+
2. Keep engaging with technique until user indicates they want to:
|
|
2531
|
+
- Choose a different technique
|
|
2532
|
+
- Apply current ideas to a new technique
|
|
2533
|
+
- Move to convergent phase
|
|
2534
|
+
- End session
|
|
2570
2535
|
|
|
2571
|
-
**
|
|
2536
|
+
**Output Capture (if requested):**
|
|
2537
|
+
For each technique used, capture:
|
|
2572
2538
|
|
|
2573
|
-
-
|
|
2574
|
-
-
|
|
2575
|
-
-
|
|
2539
|
+
- Technique name and duration
|
|
2540
|
+
- Key ideas generated by user
|
|
2541
|
+
- Insights and patterns identified
|
|
2542
|
+
- User's reflections on the process
|
|
2576
2543
|
|
|
2577
|
-
|
|
2544
|
+
### Step 4: Session Flow
|
|
2578
2545
|
|
|
2579
|
-
-
|
|
2580
|
-
-
|
|
2581
|
-
-
|
|
2546
|
+
1. **Warm-up** (5-10 min) - Build creative confidence
|
|
2547
|
+
2. **Divergent** (20-30 min) - Generate quantity over quality
|
|
2548
|
+
3. **Convergent** (15-20 min) - Group and categorize ideas
|
|
2549
|
+
4. **Synthesis** (10-15 min) - Refine and develop concepts
|
|
2582
2550
|
|
|
2583
|
-
###
|
|
2551
|
+
### Step 5: Document Output (if requested)
|
|
2584
2552
|
|
|
2585
|
-
|
|
2553
|
+
Generate structured document with these sections:
|
|
2586
2554
|
|
|
2587
|
-
|
|
2555
|
+
**Executive Summary**
|
|
2588
2556
|
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2557
|
+
- Session topic and goals
|
|
2558
|
+
- Techniques used and duration
|
|
2559
|
+
- Total ideas generated
|
|
2560
|
+
- Key themes and patterns identified
|
|
2592
2561
|
|
|
2593
|
-
|
|
2562
|
+
**Technique Sections** (for each technique used)
|
|
2594
2563
|
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2564
|
+
- Technique name and description
|
|
2565
|
+
- Ideas generated (user's own words)
|
|
2566
|
+
- Insights discovered
|
|
2567
|
+
- Notable connections or patterns
|
|
2598
2568
|
|
|
2599
|
-
|
|
2569
|
+
**Idea Categorization**
|
|
2600
2570
|
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2571
|
+
- **Immediate Opportunities** - Ready to implement now
|
|
2572
|
+
- **Future Innovations** - Requires development/research
|
|
2573
|
+
- **Moonshots** - Ambitious, transformative concepts
|
|
2574
|
+
- **Insights & Learnings** - Key realizations from session
|
|
2604
2575
|
|
|
2605
|
-
|
|
2606
|
-
- Combine complementary ideas
|
|
2607
|
-
- Refine and develop concepts
|
|
2608
|
-
- Prepare summary of insights
|
|
2576
|
+
**Action Planning**
|
|
2609
2577
|
|
|
2610
|
-
|
|
2578
|
+
- Top 3 priority ideas with rationale
|
|
2579
|
+
- Next steps for each priority
|
|
2580
|
+
- Resources/research needed
|
|
2581
|
+
- Timeline considerations
|
|
2611
2582
|
|
|
2612
|
-
|
|
2583
|
+
**Reflection & Follow-up**
|
|
2613
2584
|
|
|
2614
|
-
|
|
2585
|
+
- What worked well in this session
|
|
2586
|
+
- Areas for further exploration
|
|
2587
|
+
- Recommended follow-up techniques
|
|
2588
|
+
- Questions that emerged for future sessions
|
|
2589
|
+
|
|
2590
|
+
## Key Principles
|
|
2591
|
+
|
|
2592
|
+
- **YOU ARE A FACILITATOR**: Guide the user to brainstorm, don't brainstorm for them
|
|
2593
|
+
- **INTERACTIVE DIALOGUE**: Ask questions, wait for responses, build on their ideas
|
|
2594
|
+
- **ONE TECHNIQUE AT A TIME**: Don't mix multiple techniques in one response
|
|
2595
|
+
- **CONTINUOUS ENGAGEMENT**: Stay with one technique until user wants to switch
|
|
2596
|
+
- **DRAW IDEAS OUT**: Use prompts and examples to help them generate their own ideas
|
|
2597
|
+
- **REAL-TIME ADAPTATION**: Monitor engagement and adjust approach as needed
|
|
2598
|
+
- Maintain energy and momentum
|
|
2599
|
+
- Defer judgment during generation
|
|
2600
|
+
- Quantity leads to quality (aim for 100 ideas in 60 minutes)
|
|
2601
|
+
- Build on ideas collaboratively
|
|
2602
|
+
- Document everything if output requested
|
|
2615
2603
|
|
|
2616
|
-
|
|
2617
|
-
- Number of ideas generated
|
|
2618
|
-
- Key themes identified
|
|
2604
|
+
## Advanced Engagement Strategies
|
|
2619
2605
|
|
|
2620
|
-
**
|
|
2606
|
+
**Energy Management**
|
|
2621
2607
|
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
4. **Insights & Learnings** - Key realizations from the session
|
|
2608
|
+
- Check engagement levels: "How are you feeling about this direction?"
|
|
2609
|
+
- Offer breaks or technique switches if energy flags
|
|
2610
|
+
- Use encouraging language and celebrate idea generation
|
|
2626
2611
|
|
|
2627
|
-
**
|
|
2612
|
+
**Depth vs. Breadth**
|
|
2628
2613
|
|
|
2629
|
-
-
|
|
2630
|
-
-
|
|
2631
|
-
-
|
|
2614
|
+
- Ask follow-up questions to deepen ideas: "Tell me more about that..."
|
|
2615
|
+
- Use "Yes, and..." to build on their ideas
|
|
2616
|
+
- Help them make connections: "How does this relate to your earlier idea about...?"
|
|
2632
2617
|
|
|
2633
|
-
|
|
2618
|
+
**Transition Management**
|
|
2634
2619
|
|
|
2635
|
-
-
|
|
2636
|
-
-
|
|
2637
|
-
-
|
|
2638
|
-
|
|
2639
|
-
- Document everything - even "silly" ideas can spark breakthroughs
|
|
2640
|
-
- Take breaks if energy flags
|
|
2641
|
-
- End with clear next actions
|
|
2642
|
-
==================== END: tasks#brainstorming-techniques ====================
|
|
2620
|
+
- Always ask before switching techniques: "Ready to try a different approach?"
|
|
2621
|
+
- Offer options: "Should we explore this idea deeper or generate more alternatives?"
|
|
2622
|
+
- Respect their process and timing
|
|
2623
|
+
==================== END: .bmad-core/tasks/facilitate-brainstorming-session.md ====================
|
|
2643
2624
|
|
|
2644
|
-
==================== START: tasks
|
|
2625
|
+
==================== START: .bmad-core/tasks/create-deep-research-prompt.md ====================
|
|
2645
2626
|
# Create Deep Research Prompt Task
|
|
2646
2627
|
|
|
2647
2628
|
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.
|
|
@@ -2943,9 +2924,9 @@ Present these numbered options to the user:
|
|
|
2943
2924
|
- Balance comprehensiveness with focus
|
|
2944
2925
|
- Document assumptions and limitations clearly
|
|
2945
2926
|
- Plan for iterative refinement based on initial findings
|
|
2946
|
-
==================== END: tasks
|
|
2927
|
+
==================== END: .bmad-core/tasks/create-deep-research-prompt.md ====================
|
|
2947
2928
|
|
|
2948
|
-
==================== START: tasks
|
|
2929
|
+
==================== START: .bmad-core/tasks/document-project.md ====================
|
|
2949
2930
|
# Document an Existing Project
|
|
2950
2931
|
|
|
2951
2932
|
## Purpose
|
|
@@ -3263,9 +3244,9 @@ Apply the advanced elicitation task after major sections to refine based on user
|
|
|
3263
3244
|
- Documents technical debt, workarounds, and constraints honestly
|
|
3264
3245
|
- For brownfield projects with PRD: Provides clear enhancement impact analysis
|
|
3265
3246
|
- The goal is PRACTICAL documentation for AI agents doing real work
|
|
3266
|
-
==================== END: tasks
|
|
3247
|
+
==================== END: .bmad-core/tasks/document-project.md ====================
|
|
3267
3248
|
|
|
3268
|
-
==================== START: templates
|
|
3249
|
+
==================== START: .bmad-core/templates/project-brief-tmpl.md ====================
|
|
3269
3250
|
---
|
|
3270
3251
|
defaultOutput: docs/brief.md
|
|
3271
3252
|
---
|
|
@@ -3498,9 +3479,9 @@ This Project Brief provides the full context for {{Project Name}}. Please start
|
|
|
3498
3479
|
9. Proceed to next section
|
|
3499
3480
|
|
|
3500
3481
|
These replace the standard elicitation options when working on project brief documents.]]
|
|
3501
|
-
==================== END: templates
|
|
3482
|
+
==================== END: .bmad-core/templates/project-brief-tmpl.md ====================
|
|
3502
3483
|
|
|
3503
|
-
==================== START: templates
|
|
3484
|
+
==================== START: .bmad-core/templates/market-research-tmpl.md ====================
|
|
3504
3485
|
# Market Research Report: {{Project/Product Name}}
|
|
3505
3486
|
|
|
3506
3487
|
[[LLM: The default path and filename unless specified is docs/market-research.md]]
|
|
@@ -3764,9 +3745,9 @@ These replace the standard elicitation options when working on project brief doc
|
|
|
3764
3745
|
9. Proceed to next section
|
|
3765
3746
|
|
|
3766
3747
|
These replace the standard elicitation options when working on market research documents.]]
|
|
3767
|
-
==================== END: templates
|
|
3748
|
+
==================== END: .bmad-core/templates/market-research-tmpl.md ====================
|
|
3768
3749
|
|
|
3769
|
-
==================== START: templates
|
|
3750
|
+
==================== START: .bmad-core/templates/competitor-analysis-tmpl.md ====================
|
|
3770
3751
|
# Competitive Analysis Report: {{Project/Product Name}}
|
|
3771
3752
|
|
|
3772
3753
|
[[LLM: The default path and filename unless specified is docs/competitor-analysis.md]]
|
|
@@ -4058,9 +4039,200 @@ These replace the standard elicitation options when working on market research d
|
|
|
4058
4039
|
9. Proceed to next section
|
|
4059
4040
|
|
|
4060
4041
|
These replace the standard elicitation options when working on competitive analysis documents.]]
|
|
4061
|
-
==================== END: templates
|
|
4042
|
+
==================== END: .bmad-core/templates/competitor-analysis-tmpl.md ====================
|
|
4043
|
+
|
|
4044
|
+
==================== START: .bmad-core/templates/brainstorming-output-tmpl.md ====================
|
|
4045
|
+
---
|
|
4046
|
+
defaultOutput: docs/brainstorming-session-results.md
|
|
4047
|
+
---
|
|
4048
|
+
|
|
4049
|
+
# Brainstorming Session Results
|
|
4050
|
+
|
|
4051
|
+
**Session Date:** [DATE]
|
|
4052
|
+
**Facilitator:** [Agent Role] [Agent Name]
|
|
4053
|
+
**Participant:** [USER NAME]
|
|
4054
|
+
|
|
4055
|
+
## Executive Summary
|
|
4056
|
+
|
|
4057
|
+
**Topic:** [SESSION TOPIC]
|
|
4058
|
+
|
|
4059
|
+
**Session Goals:** [STATED GOALS]
|
|
4060
|
+
|
|
4061
|
+
**Techniques Used:** [LIST OF TECHNIQUES AND DURATION]
|
|
4062
|
+
|
|
4063
|
+
**Total Ideas Generated:** [NUMBER]
|
|
4064
|
+
|
|
4065
|
+
**Key Themes Identified:**
|
|
4066
|
+
|
|
4067
|
+
- [THEME 1]
|
|
4068
|
+
- [THEME 2]
|
|
4069
|
+
- [THEME 3]
|
|
4070
|
+
|
|
4071
|
+
---
|
|
4072
|
+
|
|
4073
|
+
## Technique Sessions
|
|
4074
|
+
|
|
4075
|
+
### [TECHNIQUE NAME 1] - [DURATION]
|
|
4076
|
+
|
|
4077
|
+
**Description:** [BRIEF DESCRIPTION OF TECHNIQUE]
|
|
4078
|
+
|
|
4079
|
+
**Ideas Generated:**
|
|
4080
|
+
|
|
4081
|
+
1. [USER IDEA 1]
|
|
4082
|
+
2. [USER IDEA 2]
|
|
4083
|
+
3. [USER IDEA 3]
|
|
4084
|
+
[etc.]
|
|
4085
|
+
|
|
4086
|
+
**Insights Discovered:**
|
|
4087
|
+
|
|
4088
|
+
- [INSIGHT 1]
|
|
4089
|
+
- [INSIGHT 2]
|
|
4090
|
+
|
|
4091
|
+
**Notable Connections:**
|
|
4092
|
+
|
|
4093
|
+
- [CONNECTION OR PATTERN IDENTIFIED]
|
|
4094
|
+
|
|
4095
|
+
---
|
|
4096
|
+
|
|
4097
|
+
### [TECHNIQUE NAME 2] - [DURATION]
|
|
4098
|
+
|
|
4099
|
+
[Repeat format for each technique used]
|
|
4100
|
+
|
|
4101
|
+
---
|
|
4102
|
+
|
|
4103
|
+
## Idea Categorization
|
|
4104
|
+
|
|
4105
|
+
### Immediate Opportunities
|
|
4106
|
+
|
|
4107
|
+
*Ideas ready to implement now*
|
|
4108
|
+
|
|
4109
|
+
1. **[IDEA NAME]**
|
|
4110
|
+
- Description: [BRIEF DESCRIPTION]
|
|
4111
|
+
- Why immediate: [RATIONALE]
|
|
4112
|
+
- Resources needed: [BASIC REQUIREMENTS]
|
|
4113
|
+
|
|
4114
|
+
### Future Innovations
|
|
4115
|
+
|
|
4116
|
+
*Ideas requiring development/research*
|
|
4117
|
+
|
|
4118
|
+
1. **[IDEA NAME]**
|
|
4119
|
+
- Description: [BRIEF DESCRIPTION]
|
|
4120
|
+
- Development needed: [WHAT'S REQUIRED]
|
|
4121
|
+
- Timeline estimate: [ROUGH TIMEFRAME]
|
|
4122
|
+
|
|
4123
|
+
### Moonshots
|
|
4062
4124
|
|
|
4063
|
-
|
|
4125
|
+
*Ambitious, transformative concepts*
|
|
4126
|
+
|
|
4127
|
+
1. **[IDEA NAME]**
|
|
4128
|
+
- Description: [BRIEF DESCRIPTION]
|
|
4129
|
+
- Transformative potential: [WHY IT'S A MOONSHOT]
|
|
4130
|
+
- Challenges to overcome: [MAJOR OBSTACLES]
|
|
4131
|
+
|
|
4132
|
+
### Insights & Learnings
|
|
4133
|
+
|
|
4134
|
+
*Key realizations from the session*
|
|
4135
|
+
|
|
4136
|
+
- [INSIGHT 1]: [DESCRIPTION AND IMPLICATIONS]
|
|
4137
|
+
- [INSIGHT 2]: [DESCRIPTION AND IMPLICATIONS]
|
|
4138
|
+
|
|
4139
|
+
---
|
|
4140
|
+
|
|
4141
|
+
## Action Planning
|
|
4142
|
+
|
|
4143
|
+
### Top 3 Priority Ideas
|
|
4144
|
+
|
|
4145
|
+
**#1 Priority: [IDEA NAME]**
|
|
4146
|
+
|
|
4147
|
+
- Rationale: [WHY THIS IS TOP PRIORITY]
|
|
4148
|
+
- Next steps: [SPECIFIC ACTIONS TO TAKE]
|
|
4149
|
+
- Resources needed: [WHAT'S REQUIRED]
|
|
4150
|
+
- Timeline: [WHEN TO START/COMPLETE]
|
|
4151
|
+
|
|
4152
|
+
**#2 Priority: [IDEA NAME]**
|
|
4153
|
+
|
|
4154
|
+
- [Same format]
|
|
4155
|
+
|
|
4156
|
+
**#3 Priority: [IDEA NAME]**
|
|
4157
|
+
|
|
4158
|
+
- [Same format]
|
|
4159
|
+
|
|
4160
|
+
---
|
|
4161
|
+
|
|
4162
|
+
## Reflection & Follow-up
|
|
4163
|
+
|
|
4164
|
+
### What Worked Well
|
|
4165
|
+
|
|
4166
|
+
- [SUCCESSFUL ASPECT 1]
|
|
4167
|
+
- [SUCCESSFUL ASPECT 2]
|
|
4168
|
+
|
|
4169
|
+
### Areas for Further Exploration
|
|
4170
|
+
|
|
4171
|
+
- [AREA 1]: [WHY IT NEEDS MORE EXPLORATION]
|
|
4172
|
+
- [AREA 2]: [WHY IT NEEDS MORE EXPLORATION]
|
|
4173
|
+
|
|
4174
|
+
### Recommended Follow-up Techniques
|
|
4175
|
+
|
|
4176
|
+
- [TECHNIQUE 1]: [WHY IT WOULD BE HELPFUL]
|
|
4177
|
+
- [TECHNIQUE 2]: [WHY IT WOULD BE HELPFUL]
|
|
4178
|
+
|
|
4179
|
+
### Questions That Emerged
|
|
4180
|
+
|
|
4181
|
+
- [QUESTION 1]
|
|
4182
|
+
- [QUESTION 2]
|
|
4183
|
+
- [QUESTION 3]
|
|
4184
|
+
|
|
4185
|
+
### Next Session Planning
|
|
4186
|
+
|
|
4187
|
+
- **Suggested topics:** [FOLLOW-UP TOPICS]
|
|
4188
|
+
- **Recommended timeframe:** [WHEN TO RECONVENE]
|
|
4189
|
+
- **Preparation needed:** [WHAT TO RESEARCH/PREPARE]
|
|
4190
|
+
|
|
4191
|
+
---
|
|
4192
|
+
|
|
4193
|
+
*Session facilitated using the BMAD-METHOD brainstorming framework*
|
|
4194
|
+
==================== END: .bmad-core/templates/brainstorming-output-tmpl.md ====================
|
|
4195
|
+
|
|
4196
|
+
==================== START: .bmad-core/data/brainstorming-techniques.md ====================
|
|
4197
|
+
# Brainstorming Techniques Data
|
|
4198
|
+
|
|
4199
|
+
## Creative Expansion
|
|
4200
|
+
|
|
4201
|
+
1. **What If Scenarios**: Ask one provocative question, get their response, then ask another
|
|
4202
|
+
2. **Analogical Thinking**: Give one example analogy, ask them to find 2-3 more
|
|
4203
|
+
3. **Reversal/Inversion**: Pose the reverse question, let them work through it
|
|
4204
|
+
4. **First Principles Thinking**: Ask "What are the fundamentals?" and guide them to break it down
|
|
4205
|
+
|
|
4206
|
+
## Structured Frameworks
|
|
4207
|
+
|
|
4208
|
+
5. **SCAMPER Method**: Go through one letter at a time, wait for their ideas before moving to next
|
|
4209
|
+
6. **Six Thinking Hats**: Present one hat, ask for their thoughts, then move to next hat
|
|
4210
|
+
7. **Mind Mapping**: Start with central concept, ask them to suggest branches
|
|
4211
|
+
|
|
4212
|
+
## Collaborative Techniques
|
|
4213
|
+
|
|
4214
|
+
8. **"Yes, And..." Building**: They give idea, you "yes and" it, they "yes and" back - alternate
|
|
4215
|
+
9. **Brainwriting/Round Robin**: They suggest idea, you build on it, ask them to build on yours
|
|
4216
|
+
10. **Random Stimulation**: Give one random prompt/word, ask them to make connections
|
|
4217
|
+
|
|
4218
|
+
## Deep Exploration
|
|
4219
|
+
|
|
4220
|
+
11. **Five Whys**: Ask "why" and wait for their answer before asking next "why"
|
|
4221
|
+
12. **Morphological Analysis**: Ask them to list parameters first, then explore combinations together
|
|
4222
|
+
13. **Provocation Technique (PO)**: Give one provocative statement, ask them to extract useful ideas
|
|
4223
|
+
|
|
4224
|
+
## Advanced Techniques
|
|
4225
|
+
|
|
4226
|
+
14. **Forced Relationships**: Connect two unrelated concepts and ask them to find the bridge
|
|
4227
|
+
15. **Assumption Reversal**: Challenge their core assumptions and ask them to build from there
|
|
4228
|
+
16. **Role Playing**: Ask them to brainstorm from different stakeholder perspectives
|
|
4229
|
+
17. **Time Shifting**: "How would you solve this in 1995? 2030?"
|
|
4230
|
+
18. **Resource Constraints**: "What if you had only $10 and 1 hour?"
|
|
4231
|
+
19. **Metaphor Mapping**: Use extended metaphors to explore solutions
|
|
4232
|
+
20. **Question Storming**: Generate questions instead of answers first
|
|
4233
|
+
==================== END: .bmad-core/data/brainstorming-techniques.md ====================
|
|
4234
|
+
|
|
4235
|
+
==================== START: .bmad-core/tasks/correct-course.md ====================
|
|
4064
4236
|
# Correct Course Task
|
|
4065
4237
|
|
|
4066
4238
|
## Purpose
|
|
@@ -4134,9 +4306,9 @@ These replace the standard elicitation options when working on competitive analy
|
|
|
4134
4306
|
- A summary of the `change-checklist` analysis (issue, impact, rationale for the chosen path).
|
|
4135
4307
|
- Specific, clearly drafted proposed edits for all affected project artifacts.
|
|
4136
4308
|
- **Implicit:** An annotated `change-checklist` (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
|
|
4137
|
-
==================== END: tasks
|
|
4309
|
+
==================== END: .bmad-core/tasks/correct-course.md ====================
|
|
4138
4310
|
|
|
4139
|
-
==================== START: tasks
|
|
4311
|
+
==================== START: .bmad-core/tasks/brownfield-create-epic.md ====================
|
|
4140
4312
|
# Create Brownfield Epic Task
|
|
4141
4313
|
|
|
4142
4314
|
## Purpose
|
|
@@ -4297,9 +4469,9 @@ The epic creation is successful when:
|
|
|
4297
4469
|
- If the scope grows beyond 3 stories, consider the full brownfield PRD process
|
|
4298
4470
|
- Always prioritize existing system integrity over new functionality
|
|
4299
4471
|
- When in doubt about scope or complexity, escalate to full brownfield planning
|
|
4300
|
-
==================== END: tasks
|
|
4472
|
+
==================== END: .bmad-core/tasks/brownfield-create-epic.md ====================
|
|
4301
4473
|
|
|
4302
|
-
==================== START: tasks
|
|
4474
|
+
==================== START: .bmad-core/tasks/brownfield-create-story.md ====================
|
|
4303
4475
|
# Create Brownfield Story Task
|
|
4304
4476
|
|
|
4305
4477
|
## Purpose
|
|
@@ -4447,16 +4619,16 @@ The story creation is successful when:
|
|
|
4447
4619
|
- Always prioritize existing system integrity
|
|
4448
4620
|
- When in doubt about integration complexity, use brownfield-create-epic instead
|
|
4449
4621
|
- Stories should take no more than 4 hours of focused development work
|
|
4450
|
-
==================== END: tasks
|
|
4622
|
+
==================== END: .bmad-core/tasks/brownfield-create-story.md ====================
|
|
4451
4623
|
|
|
4452
|
-
==================== START: tasks
|
|
4624
|
+
==================== START: .bmad-core/tasks/execute-checklist.md ====================
|
|
4453
4625
|
# Checklist Validation Task
|
|
4454
4626
|
|
|
4455
4627
|
This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
|
|
4456
4628
|
|
|
4457
4629
|
## Available Checklists
|
|
4458
4630
|
|
|
4459
|
-
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
|
|
4631
|
+
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.
|
|
4460
4632
|
|
|
4461
4633
|
## Instructions
|
|
4462
4634
|
|
|
@@ -4465,7 +4637,7 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
4465
4637
|
- If user or the task being run provides a checklist name:
|
|
4466
4638
|
- Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
|
|
4467
4639
|
- If multiple matches found, ask user to clarify
|
|
4468
|
-
- Load the appropriate checklist from
|
|
4640
|
+
- Load the appropriate checklist from .bmad-core/checklists/
|
|
4469
4641
|
- If no checklist specified:
|
|
4470
4642
|
- Ask the user which checklist they want to use
|
|
4471
4643
|
- Present the available options from the files in the checklists folder
|
|
@@ -4543,9 +4715,9 @@ The LLM will:
|
|
|
4543
4715
|
- Execute the complete checklist validation
|
|
4544
4716
|
- Present a final report with pass/fail rates and key findings
|
|
4545
4717
|
- Offer to provide detailed analysis of any section, especially those with warnings or failures
|
|
4546
|
-
==================== END: tasks
|
|
4718
|
+
==================== END: .bmad-core/tasks/execute-checklist.md ====================
|
|
4547
4719
|
|
|
4548
|
-
==================== START: tasks
|
|
4720
|
+
==================== START: .bmad-core/tasks/shard-doc.md ====================
|
|
4549
4721
|
# Document Sharding Task
|
|
4550
4722
|
|
|
4551
4723
|
## Purpose
|
|
@@ -4737,9 +4909,9 @@ Document sharded successfully:
|
|
|
4737
4909
|
- Preserve ALL formatting, including whitespace where significant
|
|
4738
4910
|
- Handle edge cases like sections with code blocks containing ## symbols
|
|
4739
4911
|
- Ensure the sharding is reversible (could reconstruct the original from shards)
|
|
4740
|
-
==================== END: tasks
|
|
4912
|
+
==================== END: .bmad-core/tasks/shard-doc.md ====================
|
|
4741
4913
|
|
|
4742
|
-
==================== START: templates
|
|
4914
|
+
==================== START: .bmad-core/templates/prd-tmpl.md ====================
|
|
4743
4915
|
# {{Project Name}} Product Requirements Document (PRD)
|
|
4744
4916
|
|
|
4745
4917
|
[[LLM: The default path and filename unless specified is docs/prd.md]]
|
|
@@ -4767,7 +4939,7 @@ Document sharded successfully:
|
|
|
4767
4939
|
|
|
4768
4940
|
## Requirements
|
|
4769
4941
|
|
|
4770
|
-
[[LLM: Draft the list of functional and non functional requirements under the two child sections, and immediately execute tasks
|
|
4942
|
+
[[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]]
|
|
4771
4943
|
|
|
4772
4944
|
### Functional
|
|
4773
4945
|
|
|
@@ -4790,7 +4962,7 @@ Document sharded successfully:
|
|
|
4790
4962
|
3. Clearly let the user know where assumptions were made
|
|
4791
4963
|
4. Ask targeted questions for unclear/missing elements or areas needing more specification
|
|
4792
4964
|
5. This is NOT detailed UI spec - focus on product vision and user goals
|
|
4793
|
-
6. After section completion, immediately apply
|
|
4965
|
+
6. After section completion, immediately apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
4794
4966
|
|
|
4795
4967
|
### Overall UX Vision
|
|
4796
4968
|
|
|
@@ -4832,12 +5004,12 @@ Document sharded successfully:
|
|
|
4832
5004
|
|
|
4833
5005
|
[[LLM: Gather technical decisions that will guide the Architect. Steps:
|
|
4834
5006
|
|
|
4835
|
-
1. Check if
|
|
5007
|
+
1. Check if `.bmad-core/data/technical-preferences.yaml` or an attached `technical-preferences` file exists - use it to pre-populate choices
|
|
4836
5008
|
2. Ask user about: languages, frameworks, starter templates, libraries, APIs, deployment targets
|
|
4837
5009
|
3. For unknowns, offer guidance based on project goals and MVP scope
|
|
4838
5010
|
4. Document ALL technical choices with rationale (why this choice fits the project)
|
|
4839
5011
|
5. These become constraints for the Architect - be specific and complete
|
|
4840
|
-
6. After section completion, apply
|
|
5012
|
+
6. After section completion, apply `.bmad-core/tasks/advanced-elicitation.md` protocol.]]
|
|
4841
5013
|
|
|
4842
5014
|
### Repository Structure: { Monorepo, Polyrepo, etc...}
|
|
4843
5015
|
|
|
@@ -4855,7 +5027,7 @@ Document sharded successfully:
|
|
|
4855
5027
|
|
|
4856
5028
|
## Epics
|
|
4857
5029
|
|
|
4858
|
-
[[LLM: First, present a high-level list of all epics for user approval, the epic_list and immediately execute tasks
|
|
5030
|
+
[[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.
|
|
4859
5031
|
|
|
4860
5032
|
CRITICAL: Epics MUST be logically sequential following agile best practices:
|
|
4861
5033
|
|
|
@@ -4881,7 +5053,7 @@ CRITICAL: Epics MUST be logically sequential following agile best practices:
|
|
|
4881
5053
|
|
|
4882
5054
|
@{/example}
|
|
4883
5055
|
|
|
4884
|
-
[[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
|
|
5056
|
+
[[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.]]
|
|
4885
5057
|
|
|
4886
5058
|
<<REPEAT: epic_details>>
|
|
4887
5059
|
|
|
@@ -4942,9 +5114,9 @@ so that {{benefit}}.
|
|
|
4942
5114
|
### Architect Prompt
|
|
4943
5115
|
|
|
4944
5116
|
[[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.]]
|
|
4945
|
-
==================== END: templates
|
|
5117
|
+
==================== END: .bmad-core/templates/prd-tmpl.md ====================
|
|
4946
5118
|
|
|
4947
|
-
==================== START: templates
|
|
5119
|
+
==================== START: .bmad-core/templates/brownfield-prd-tmpl.md ====================
|
|
4948
5120
|
# {{Project Name}} Brownfield Enhancement PRD
|
|
4949
5121
|
|
|
4950
5122
|
[[LLM: The default path and filename unless specified is docs/prd.md]]
|
|
@@ -5211,9 +5383,9 @@ so that {{benefit}}.
|
|
|
5211
5383
|
- IV3: [[LLM: Performance impact verification requirement]]
|
|
5212
5384
|
|
|
5213
5385
|
<</REPEAT>>
|
|
5214
|
-
==================== END: templates
|
|
5386
|
+
==================== END: .bmad-core/templates/brownfield-prd-tmpl.md ====================
|
|
5215
5387
|
|
|
5216
|
-
==================== START: checklists
|
|
5388
|
+
==================== START: .bmad-core/checklists/pm-checklist.md ====================
|
|
5217
5389
|
# Product Manager (PM) Requirements Checklist
|
|
5218
5390
|
|
|
5219
5391
|
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.
|
|
@@ -5589,9 +5761,9 @@ After presenting the report, ask if the user wants:
|
|
|
5589
5761
|
|
|
5590
5762
|
- **READY FOR ARCHITECT**: The PRD and epics are comprehensive, properly structured, and ready for architectural design.
|
|
5591
5763
|
- **NEEDS REFINEMENT**: The requirements documentation requires additional work to address the identified deficiencies.
|
|
5592
|
-
==================== END: checklists
|
|
5764
|
+
==================== END: .bmad-core/checklists/pm-checklist.md ====================
|
|
5593
5765
|
|
|
5594
|
-
==================== START: checklists
|
|
5766
|
+
==================== START: .bmad-core/checklists/change-checklist.md ====================
|
|
5595
5767
|
# Change Navigation Checklist
|
|
5596
5768
|
|
|
5597
5769
|
**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.
|
|
@@ -5774,15 +5946,15 @@ Keep it action-oriented and forward-looking.]]
|
|
|
5774
5946
|
- [ ] **Confirm Next Steps:** Reiterate the handoff plan and the next actions to be taken by specific agents.
|
|
5775
5947
|
|
|
5776
5948
|
---
|
|
5777
|
-
==================== END: checklists
|
|
5949
|
+
==================== END: .bmad-core/checklists/change-checklist.md ====================
|
|
5778
5950
|
|
|
5779
|
-
==================== START: data
|
|
5951
|
+
==================== START: .bmad-core/data/technical-preferences.md ====================
|
|
5780
5952
|
# User-Defined Preferred Patterns and Preferences
|
|
5781
5953
|
|
|
5782
5954
|
None Listed
|
|
5783
|
-
==================== END: data
|
|
5955
|
+
==================== END: .bmad-core/data/technical-preferences.md ====================
|
|
5784
5956
|
|
|
5785
|
-
==================== START: tasks
|
|
5957
|
+
==================== START: .bmad-core/tasks/generate-ai-frontend-prompt.md ====================
|
|
5786
5958
|
# Create AI Frontend Prompt Task
|
|
5787
5959
|
|
|
5788
5960
|
## Purpose
|
|
@@ -5834,9 +6006,9 @@ You will now synthesize the inputs and the above principles into a final, compre
|
|
|
5834
6006
|
- Output the complete, generated prompt in a clear, copy-pasteable format (e.g., a large code block).
|
|
5835
6007
|
- Explain the structure of the prompt and why certain information was included, referencing the principles above.
|
|
5836
6008
|
- <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>
|
|
5837
|
-
==================== END: tasks
|
|
6009
|
+
==================== END: .bmad-core/tasks/generate-ai-frontend-prompt.md ====================
|
|
5838
6010
|
|
|
5839
|
-
==================== START: templates
|
|
6011
|
+
==================== START: .bmad-core/templates/front-end-spec-tmpl.md ====================
|
|
5840
6012
|
# {{Project Name}} UI/UX Specification
|
|
5841
6013
|
|
|
5842
6014
|
[[LLM: The default path and filename unless specified is docs/front-end-spec.md]]
|
|
@@ -6250,9 +6422,9 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
6250
6422
|
## Checklist Results
|
|
6251
6423
|
|
|
6252
6424
|
[[LLM: If a UI/UX checklist exists, run it against this document and report results here.]]
|
|
6253
|
-
==================== END: templates
|
|
6425
|
+
==================== END: .bmad-core/templates/front-end-spec-tmpl.md ====================
|
|
6254
6426
|
|
|
6255
|
-
==================== START: templates
|
|
6427
|
+
==================== START: .bmad-core/templates/architecture-tmpl.md ====================
|
|
6256
6428
|
# {{Project Name}} Architecture Document
|
|
6257
6429
|
|
|
6258
6430
|
[[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.]]
|
|
@@ -6263,7 +6435,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
6263
6435
|
|
|
6264
6436
|
[[LLM: This section establishes the document's purpose and scope. Keep the content below but ensure project name is properly substituted.
|
|
6265
6437
|
|
|
6266
|
-
After presenting this section, apply
|
|
6438
|
+
After presenting this section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6267
6439
|
|
|
6268
6440
|
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.
|
|
6269
6441
|
|
|
@@ -6308,7 +6480,7 @@ If the project includes a significant user interface, a separate Frontend Archit
|
|
|
6308
6480
|
|
|
6309
6481
|
Document the decision here before proceeding with the architecture design. In none, just say N/A
|
|
6310
6482
|
|
|
6311
|
-
After presenting this starter template section, apply
|
|
6483
|
+
After presenting this starter template section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6312
6484
|
|
|
6313
6485
|
### Change Log
|
|
6314
6486
|
|
|
@@ -6319,7 +6491,7 @@ After presenting this starter template section, apply `tasks#advanced-elicitatio
|
|
|
6319
6491
|
|
|
6320
6492
|
## High Level Architecture
|
|
6321
6493
|
|
|
6322
|
-
[[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
|
|
6494
|
+
[[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.]]
|
|
6323
6495
|
|
|
6324
6496
|
### Technical Summary
|
|
6325
6497
|
|
|
@@ -6341,7 +6513,7 @@ After presenting this starter template section, apply `tasks#advanced-elicitatio
|
|
|
6341
6513
|
4. Primary user interaction flow or data flow at a conceptual level
|
|
6342
6514
|
5. Key architectural decisions and their rationale
|
|
6343
6515
|
|
|
6344
|
-
After presenting this section, apply
|
|
6516
|
+
After presenting this section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6345
6517
|
|
|
6346
6518
|
### High Level Project Diagram
|
|
6347
6519
|
|
|
@@ -6355,7 +6527,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
6355
6527
|
|
|
6356
6528
|
Use appropriate Mermaid diagram type (graph TD, C4, sequence) based on what best represents the architecture
|
|
6357
6529
|
|
|
6358
|
-
After presenting the diagram, apply
|
|
6530
|
+
After presenting the diagram, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6359
6531
|
|
|
6360
6532
|
### Architectural and Design Patterns
|
|
6361
6533
|
|
|
@@ -6387,13 +6559,13 @@ Common patterns to consider:
|
|
|
6387
6559
|
|
|
6388
6560
|
@{/example}
|
|
6389
6561
|
|
|
6390
|
-
[[LLM: After presenting the patterns, apply
|
|
6562
|
+
[[LLM: After presenting the patterns, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6391
6563
|
|
|
6392
6564
|
## Tech Stack
|
|
6393
6565
|
|
|
6394
6566
|
[[LLM: This is the DEFINITIVE technology selection section. Work with the user to make specific choices:
|
|
6395
6567
|
|
|
6396
|
-
1. Review PRD technical assumptions and any preferences from
|
|
6568
|
+
1. Review PRD technical assumptions and any preferences from `.bmad-core/data/technical-preferences.yaml` or an attached `technical-preferences`
|
|
6397
6569
|
2. For each category, present 2-3 viable options with pros/cons
|
|
6398
6570
|
3. Make a clear recommendation based on project needs
|
|
6399
6571
|
4. Get explicit user approval for each selection
|
|
@@ -6409,7 +6581,7 @@ Key decisions to finalize - before displaying the table, ensure you are aware of
|
|
|
6409
6581
|
- 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
|
|
6410
6582
|
- Development tools
|
|
6411
6583
|
|
|
6412
|
-
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
|
|
6584
|
+
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.]]
|
|
6413
6585
|
|
|
6414
6586
|
### Cloud Infrastructure
|
|
6415
6587
|
|
|
@@ -6453,7 +6625,7 @@ Upon render of the table, ensure the user is aware of the importance of this sec
|
|
|
6453
6625
|
|
|
6454
6626
|
Create a clear conceptual model before moving to database schema.
|
|
6455
6627
|
|
|
6456
|
-
After presenting all data models, apply
|
|
6628
|
+
After presenting all data models, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6457
6629
|
|
|
6458
6630
|
<<REPEAT: data_model>>
|
|
6459
6631
|
|
|
@@ -6487,7 +6659,7 @@ After presenting all data models, apply `tasks#advanced-elicitation` protocol]]
|
|
|
6487
6659
|
- Technology specifics based on tech stack choices
|
|
6488
6660
|
|
|
6489
6661
|
5. Create component diagrams where helpful
|
|
6490
|
-
6. After presenting all components, apply
|
|
6662
|
+
6. After presenting all components, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6491
6663
|
|
|
6492
6664
|
<<REPEAT: component>>
|
|
6493
6665
|
|
|
@@ -6514,7 +6686,7 @@ After presenting all data models, apply `tasks#advanced-elicitation` protocol]]
|
|
|
6514
6686
|
- Sequence diagrams for complex interactions
|
|
6515
6687
|
Choose the most appropriate for clarity
|
|
6516
6688
|
|
|
6517
|
-
After presenting the diagrams, apply
|
|
6689
|
+
After presenting the diagrams, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6518
6690
|
|
|
6519
6691
|
## External APIs
|
|
6520
6692
|
|
|
@@ -6568,7 +6740,7 @@ If no external APIs are needed, state this explicitly and skip to next section.]
|
|
|
6568
6740
|
|
|
6569
6741
|
^^/CONDITION: has_external_apis^^
|
|
6570
6742
|
|
|
6571
|
-
[[LLM: After presenting external APIs (or noting their absence), apply
|
|
6743
|
+
[[LLM: After presenting external APIs (or noting their absence), apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6572
6744
|
|
|
6573
6745
|
## Core Workflows
|
|
6574
6746
|
|
|
@@ -6582,7 +6754,7 @@ If no external APIs are needed, state this explicitly and skip to next section.]
|
|
|
6582
6754
|
|
|
6583
6755
|
Focus on workflows that clarify architecture decisions or complex interactions.
|
|
6584
6756
|
|
|
6585
|
-
After presenting the workflow diagrams, apply
|
|
6757
|
+
After presenting the workflow diagrams, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6586
6758
|
|
|
6587
6759
|
## REST API Spec
|
|
6588
6760
|
|
|
@@ -6616,7 +6788,7 @@ servers:
|
|
|
6616
6788
|
|
|
6617
6789
|
^^/CONDITION: has_rest_api^^
|
|
6618
6790
|
|
|
6619
|
-
[[LLM: After presenting the REST API spec (or noting its absence if not applicable), apply
|
|
6791
|
+
[[LLM: After presenting the REST API spec (or noting its absence if not applicable), apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6620
6792
|
|
|
6621
6793
|
## Database Schema
|
|
6622
6794
|
|
|
@@ -6630,7 +6802,7 @@ servers:
|
|
|
6630
6802
|
|
|
6631
6803
|
Present schema in format appropriate to database type (SQL DDL, JSON schema, etc.)
|
|
6632
6804
|
|
|
6633
|
-
After presenting the database schema, apply
|
|
6805
|
+
After presenting the database schema, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6634
6806
|
|
|
6635
6807
|
## Source Tree
|
|
6636
6808
|
|
|
@@ -6645,7 +6817,7 @@ After presenting the database schema, apply `tasks#advanced-elicitation` protoco
|
|
|
6645
6817
|
|
|
6646
6818
|
Adapt the structure based on project needs. For monorepos, show service separation. For serverless, show function organization. Include language-specific conventions.
|
|
6647
6819
|
|
|
6648
|
-
After presenting the structure, apply
|
|
6820
|
+
After presenting the structure, apply `.bmad-core/tasks/advanced-elicitation.md` protocol to refine based on user feedback.]]
|
|
6649
6821
|
|
|
6650
6822
|
```plaintext
|
|
6651
6823
|
{{project-root}}/
|
|
@@ -6688,7 +6860,7 @@ project-root/
|
|
|
6688
6860
|
@{/example}
|
|
6689
6861
|
```
|
|
6690
6862
|
|
|
6691
|
-
[[LLM: After presenting the source tree structure, apply
|
|
6863
|
+
[[LLM: After presenting the source tree structure, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6692
6864
|
|
|
6693
6865
|
## Infrastructure and Deployment
|
|
6694
6866
|
|
|
@@ -6733,7 +6905,7 @@ Get user input on deployment preferences and CI/CD tool choices.]]
|
|
|
6733
6905
|
- **Trigger Conditions:** {{rollback_triggers}}
|
|
6734
6906
|
- **Recovery Time Objective:** {{rto}}
|
|
6735
6907
|
|
|
6736
|
-
[[LLM: After presenting the infrastructure and deployment section, apply
|
|
6908
|
+
[[LLM: After presenting the infrastructure and deployment section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6737
6909
|
|
|
6738
6910
|
## Error Handling Strategy
|
|
6739
6911
|
|
|
@@ -6784,7 +6956,7 @@ This section guides both AI and human developers in consistent error handling.]]
|
|
|
6784
6956
|
- **Compensation Logic:** {{compensation_patterns}}
|
|
6785
6957
|
- **Idempotency:** {{idempotency_approach}}
|
|
6786
6958
|
|
|
6787
|
-
[[LLM: After presenting the error handling strategy, apply
|
|
6959
|
+
[[LLM: After presenting the error handling strategy, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6788
6960
|
|
|
6789
6961
|
## Coding Standards
|
|
6790
6962
|
|
|
@@ -6845,7 +7017,7 @@ Avoid obvious rules like "use SOLID principles" or "write clean code"]]
|
|
|
6845
7017
|
|
|
6846
7018
|
^^/CONDITION: has_language_specifics^^
|
|
6847
7019
|
|
|
6848
|
-
[[LLM: After presenting the coding standards, apply
|
|
7020
|
+
[[LLM: After presenting the coding standards, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6849
7021
|
|
|
6850
7022
|
## Test Strategy and Standards
|
|
6851
7023
|
|
|
@@ -6858,7 +7030,7 @@ Avoid obvious rules like "use SOLID principles" or "write clean code"]]
|
|
|
6858
7030
|
5. Determine integration test infrastructure
|
|
6859
7031
|
6. Plan for test data and external dependencies
|
|
6860
7032
|
|
|
6861
|
-
Note: Basic info goes in Coding Standards for dev agent. This detailed section is for QA agent and team reference. Apply
|
|
7033
|
+
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.]]
|
|
6862
7034
|
|
|
6863
7035
|
### Testing Philosophy
|
|
6864
7036
|
|
|
@@ -6919,7 +7091,7 @@ Note: Basic info goes in Coding Standards for dev agent. This detailed section i
|
|
|
6919
7091
|
- **Performance Tests:** {{perf_test_approach}}
|
|
6920
7092
|
- **Security Tests:** {{security_test_approach}}
|
|
6921
7093
|
|
|
6922
|
-
[[LLM: After presenting the test strategy section, apply
|
|
7094
|
+
[[LLM: After presenting the test strategy section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6923
7095
|
|
|
6924
7096
|
## Security
|
|
6925
7097
|
|
|
@@ -6983,7 +7155,7 @@ Note: Basic info goes in Coding Standards for dev agent. This detailed section i
|
|
|
6983
7155
|
- **DAST Tool:** {{dynamic_analysis}}
|
|
6984
7156
|
- **Penetration Testing:** {{pentest_schedule}}
|
|
6985
7157
|
|
|
6986
|
-
[[LLM: After presenting the security section, apply
|
|
7158
|
+
[[LLM: After presenting the security section, apply `.bmad-core/tasks/advanced-elicitation.md` protocol]]
|
|
6987
7159
|
|
|
6988
7160
|
## Checklist Results Report
|
|
6989
7161
|
|
|
@@ -7029,9 +7201,9 @@ Note: Basic info goes in Coding Standards for dev agent. This detailed section i
|
|
|
7029
7201
|
- Reference to this architecture and coding standards
|
|
7030
7202
|
- First epic/story to implement
|
|
7031
7203
|
- Key technical decisions to follow]]
|
|
7032
|
-
==================== END: templates
|
|
7204
|
+
==================== END: .bmad-core/templates/architecture-tmpl.md ====================
|
|
7033
7205
|
|
|
7034
|
-
==================== START: templates
|
|
7206
|
+
==================== START: .bmad-core/templates/front-end-architecture-tmpl.md ====================
|
|
7035
7207
|
# {{Project Name}} Frontend Architecture Document
|
|
7036
7208
|
|
|
7037
7209
|
[[LLM: The default path and filename unless specified is docs/ui-architecture.md]]
|
|
@@ -7207,9 +7379,9 @@ Document the starter template decision and any constraints it imposes before pro
|
|
|
7207
7379
|
- Key import patterns
|
|
7208
7380
|
- File naming conventions
|
|
7209
7381
|
- Project-specific patterns and utilities]]
|
|
7210
|
-
==================== END: templates
|
|
7382
|
+
==================== END: .bmad-core/templates/front-end-architecture-tmpl.md ====================
|
|
7211
7383
|
|
|
7212
|
-
==================== START: templates
|
|
7384
|
+
==================== START: .bmad-core/templates/fullstack-architecture-tmpl.md ====================
|
|
7213
7385
|
# {{Project Name}} Fullstack Architecture Document
|
|
7214
7386
|
|
|
7215
7387
|
[[LLM: The default path and filename unless specified is docs/architecture.md]]
|
|
@@ -8228,9 +8400,9 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
8228
8400
|
## Checklist Results Report
|
|
8229
8401
|
|
|
8230
8402
|
[[LLM: Before running the checklist, offer to output the full architecture document. Once user confirms, execute the `architect-checklist` and populate results here.]]
|
|
8231
|
-
==================== END: templates
|
|
8403
|
+
==================== END: .bmad-core/templates/fullstack-architecture-tmpl.md ====================
|
|
8232
8404
|
|
|
8233
|
-
==================== START: templates
|
|
8405
|
+
==================== START: .bmad-core/templates/brownfield-architecture-tmpl.md ====================
|
|
8234
8406
|
# {{Project Name}} Brownfield Enhancement Architecture
|
|
8235
8407
|
|
|
8236
8408
|
[[LLM: The default path and filename unless specified is docs/architecture.md]]
|
|
@@ -8775,9 +8947,9 @@ Present risk assessment and apply `tasks#advanced-elicitation` protocol]]
|
|
|
8775
8947
|
- Key technical decisions based on real project constraints
|
|
8776
8948
|
- Existing system compatibility requirements with specific verification steps
|
|
8777
8949
|
- Clear sequencing of implementation to minimize risk to existing functionality]]
|
|
8778
|
-
==================== END: templates
|
|
8950
|
+
==================== END: .bmad-core/templates/brownfield-architecture-tmpl.md ====================
|
|
8779
8951
|
|
|
8780
|
-
==================== START: checklists
|
|
8952
|
+
==================== START: .bmad-core/checklists/architect-checklist.md ====================
|
|
8781
8953
|
# Architect Solution Validation Checklist
|
|
8782
8954
|
|
|
8783
8955
|
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.
|
|
@@ -9221,9 +9393,9 @@ Now that you've completed the checklist, generate a comprehensive validation rep
|
|
|
9221
9393
|
- Component design clarity
|
|
9222
9394
|
|
|
9223
9395
|
After presenting the report, ask the user if they would like detailed analysis of any specific section, especially those with warnings or failures.]]
|
|
9224
|
-
==================== END: checklists
|
|
9396
|
+
==================== END: .bmad-core/checklists/architect-checklist.md ====================
|
|
9225
9397
|
|
|
9226
|
-
==================== START: tasks
|
|
9398
|
+
==================== START: .bmad-core/tasks/validate-next-story.md ====================
|
|
9227
9399
|
# Validate Next Story Task
|
|
9228
9400
|
|
|
9229
9401
|
## Purpose
|
|
@@ -9358,9 +9530,9 @@ Provide a structured validation report including:
|
|
|
9358
9530
|
- **NO-GO**: Story requires fixes before implementation
|
|
9359
9531
|
- **Implementation Readiness Score**: 1-10 scale
|
|
9360
9532
|
- **Confidence Level**: High/Medium/Low for successful implementation
|
|
9361
|
-
==================== END: tasks
|
|
9533
|
+
==================== END: .bmad-core/tasks/validate-next-story.md ====================
|
|
9362
9534
|
|
|
9363
|
-
==================== START: templates
|
|
9535
|
+
==================== START: .bmad-core/templates/story-tmpl.md ====================
|
|
9364
9536
|
---
|
|
9365
9537
|
defaultOutput: docs/stories/{{EpicNum}}.{{StoryNum}}.{{Short Title Copied from Epic File specific story}}.md
|
|
9366
9538
|
smAgent:
|
|
@@ -9419,9 +9591,9 @@ smAgent:
|
|
|
9419
9591
|
### File List
|
|
9420
9592
|
|
|
9421
9593
|
## QA Results
|
|
9422
|
-
==================== END: templates
|
|
9594
|
+
==================== END: .bmad-core/templates/story-tmpl.md ====================
|
|
9423
9595
|
|
|
9424
|
-
==================== START: checklists
|
|
9596
|
+
==================== START: .bmad-core/checklists/po-master-checklist.md ====================
|
|
9425
9597
|
# Product Owner (PO) Master Validation Checklist
|
|
9426
9598
|
|
|
9427
9599
|
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.
|
|
@@ -9863,9 +10035,9 @@ After presenting the report, ask if the user wants:
|
|
|
9863
10035
|
- **APPROVED**: The plan is comprehensive, properly sequenced, and ready for implementation.
|
|
9864
10036
|
- **CONDITIONAL**: The plan requires specific adjustments before proceeding.
|
|
9865
10037
|
- **REJECTED**: The plan requires significant revision to address critical deficiencies.
|
|
9866
|
-
==================== END: checklists
|
|
10038
|
+
==================== END: .bmad-core/checklists/po-master-checklist.md ====================
|
|
9867
10039
|
|
|
9868
|
-
==================== START: workflows
|
|
10040
|
+
==================== START: .bmad-core/workflows/brownfield-fullstack.yaml ====================
|
|
9869
10041
|
workflow:
|
|
9870
10042
|
id: brownfield-fullstack
|
|
9871
10043
|
name: Brownfield Full-Stack Enhancement
|
|
@@ -10163,9 +10335,9 @@ workflow:
|
|
|
10163
10335
|
{{if missing_context}}: May need to gather additional context from user during story creation.
|
|
10164
10336
|
|
|
10165
10337
|
complete: "All planning artifacts validated and development can begin. Stories will be created based on available documentation format."
|
|
10166
|
-
==================== END: workflows
|
|
10338
|
+
==================== END: .bmad-core/workflows/brownfield-fullstack.yaml ====================
|
|
10167
10339
|
|
|
10168
|
-
==================== START: workflows
|
|
10340
|
+
==================== START: .bmad-core/workflows/brownfield-service.yaml ====================
|
|
10169
10341
|
workflow:
|
|
10170
10342
|
id: brownfield-service
|
|
10171
10343
|
name: Brownfield Service/API Enhancement
|
|
@@ -10353,9 +10525,9 @@ workflow:
|
|
|
10353
10525
|
architect_to_po: "Architecture complete. Save it as docs/architecture.md. Please validate all artifacts for service integration safety."
|
|
10354
10526
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
10355
10527
|
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
10356
|
-
==================== END: workflows
|
|
10528
|
+
==================== END: .bmad-core/workflows/brownfield-service.yaml ====================
|
|
10357
10529
|
|
|
10358
|
-
==================== START: workflows
|
|
10530
|
+
==================== START: .bmad-core/workflows/brownfield-ui.yaml ====================
|
|
10359
10531
|
workflow:
|
|
10360
10532
|
id: brownfield-ui
|
|
10361
10533
|
name: Brownfield UI/Frontend Enhancement
|
|
@@ -10553,9 +10725,9 @@ workflow:
|
|
|
10553
10725
|
architect_to_po: "Architecture complete. Save it as docs/architecture.md. Please validate all artifacts for UI integration safety."
|
|
10554
10726
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
10555
10727
|
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
10556
|
-
==================== END: workflows
|
|
10728
|
+
==================== END: .bmad-core/workflows/brownfield-ui.yaml ====================
|
|
10557
10729
|
|
|
10558
|
-
==================== START: workflows
|
|
10730
|
+
==================== START: .bmad-core/workflows/greenfield-fullstack.yaml ====================
|
|
10559
10731
|
workflow:
|
|
10560
10732
|
id: greenfield-fullstack
|
|
10561
10733
|
name: Greenfield Full-Stack Application Development
|
|
@@ -10796,9 +10968,9 @@ workflow:
|
|
|
10796
10968
|
updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
|
|
10797
10969
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
10798
10970
|
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
10799
|
-
==================== END: workflows
|
|
10971
|
+
==================== END: .bmad-core/workflows/greenfield-fullstack.yaml ====================
|
|
10800
10972
|
|
|
10801
|
-
==================== START: workflows
|
|
10973
|
+
==================== START: .bmad-core/workflows/greenfield-service.yaml ====================
|
|
10802
10974
|
workflow:
|
|
10803
10975
|
id: greenfield-service
|
|
10804
10976
|
name: Greenfield Service/API Development
|
|
@@ -10937,7 +11109,7 @@ workflow:
|
|
|
10937
11109
|
All stories implemented and reviewed!
|
|
10938
11110
|
Service development phase complete.
|
|
10939
11111
|
|
|
10940
|
-
Reference: data
|
|
11112
|
+
Reference: .bmad-core/data/bmad-kb.md#IDE Development Workflow
|
|
10941
11113
|
|
|
10942
11114
|
flow_diagram: |
|
|
10943
11115
|
```mermaid
|
|
@@ -11005,9 +11177,9 @@ workflow:
|
|
|
11005
11177
|
updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
|
|
11006
11178
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
11007
11179
|
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
11008
|
-
==================== END: workflows
|
|
11180
|
+
==================== END: .bmad-core/workflows/greenfield-service.yaml ====================
|
|
11009
11181
|
|
|
11010
|
-
==================== START: workflows
|
|
11182
|
+
==================== START: .bmad-core/workflows/greenfield-ui.yaml ====================
|
|
11011
11183
|
workflow:
|
|
11012
11184
|
id: greenfield-ui
|
|
11013
11185
|
name: Greenfield UI/Frontend Development
|
|
@@ -11243,4 +11415,4 @@ workflow:
|
|
|
11243
11415
|
updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
|
|
11244
11416
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
11245
11417
|
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
11246
|
-
==================== END: workflows
|
|
11418
|
+
==================== END: .bmad-core/workflows/greenfield-ui.yaml ====================
|