bmad-method 4.30.4 → 4.32.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 +1 -7
- package/CHANGELOG.md +117 -170
- package/README.md +46 -7
- package/bmad-core/agents/analyst.md +1 -1
- package/bmad-core/agents/architect.md +2 -3
- package/bmad-core/agents/bmad-master.md +0 -1
- package/bmad-core/agents/bmad-orchestrator.md +9 -10
- package/bmad-core/agents/dev.md +1 -2
- package/bmad-core/agents/pm.md +3 -1
- package/bmad-core/agents/po.md +1 -1
- package/bmad-core/agents/qa.md +1 -1
- package/bmad-core/agents/sm.md +1 -1
- package/bmad-core/agents/ux-expert.md +1 -1
- package/bmad-core/bmad-core/user-guide.md +0 -0
- package/bmad-core/data/bmad-kb.md +12 -2
- package/bmad-core/data/elicitation-methods.md +20 -0
- package/bmad-core/enhanced-ide-development-workflow.md +43 -0
- package/bmad-core/tasks/advanced-elicitation.md +2 -0
- package/bmad-core/tasks/create-brownfield-story.md +20 -3
- package/bmad-core/tasks/document-project.md +19 -13
- package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
- package/bmad-core/tasks/index-docs.md +0 -1
- package/bmad-core/tasks/kb-mode-interaction.md +3 -3
- package/bmad-core/tasks/review-story.md +18 -1
- package/bmad-core/user-guide.md +251 -0
- package/{docs → bmad-core}/working-in-the-brownfield.md +39 -36
- package/dist/agents/analyst.txt +6 -6
- package/dist/agents/architect.txt +8 -3
- package/dist/agents/bmad-master.txt +2 -1
- package/dist/agents/pm.txt +9 -2
- package/dist/agents/po.txt +2 -318
- package/dist/agents/qa.txt +0 -1
- package/dist/agents/sm.txt +3 -3
- package/dist/agents/ux-expert.txt +2 -297
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +6 -6
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +4047 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +1520 -185
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +214 -1229
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +537 -373
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +6917 -2140
- package/dist/teams/team-all.txt +30 -25
- package/dist/teams/team-fullstack.txt +27 -21
- package/dist/teams/team-ide-minimal.txt +5 -322
- package/dist/teams/team-no-ui.txt +25 -16
- package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +3 -1
- package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +1 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +80 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +21 -16
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +25 -25
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +15 -14
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +396 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +203 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +1 -1
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +93 -121
- package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +1 -1
- package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +593 -68
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +151 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +165 -198
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +200 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +938 -453
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +3 -3
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +517 -155
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +12 -12
- package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +11 -11
- package/package.json +79 -76
- package/tools/cli.js +9 -0
- package/tools/flattener/main.js +559 -0
- package/tools/installer/lib/installer.js +4 -0
- package/tools/installer/package.json +1 -1
- package/.husky/pre-commit +0 -2
- package/.prettierignore +0 -21
- package/.prettierrc +0 -23
- package/docs/agentic-tools/claude-code-guide.md +0 -19
- package/docs/agentic-tools/cline-guide.md +0 -16
- package/docs/agentic-tools/cursor-guide.md +0 -14
- package/docs/agentic-tools/gemini-cli-guide.md +0 -31
- package/docs/agentic-tools/github-copilot-guide.md +0 -42
- package/docs/agentic-tools/roo-code-guide.md +0 -15
- package/docs/agentic-tools/trae-guide.md +0 -14
- package/docs/agentic-tools/windsurf-guide.md +0 -14
- package/docs/bmad-workflow-guide.md +0 -166
- package/docs/user-guide.md +0 -1142
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ Foundations in Agentic Agile Driven Development, known as the Breakthrough Metho
|
|
|
23
23
|
|
|
24
24
|
This two-phase approach eliminates both **planning inconsistency** and **context loss** - the biggest problems in AI-assisted development. Your Dev agent opens a story file with complete understanding of what to build, how to build it, and why.
|
|
25
25
|
|
|
26
|
-
**📖 [See the complete workflow in the User Guide](
|
|
26
|
+
**📖 [See the complete workflow in the User Guide](bmad-core/user-guide.md)** - Planning phase, development cycle, and all agent roles
|
|
27
27
|
|
|
28
28
|
## Quick Navigation
|
|
29
29
|
|
|
@@ -31,15 +31,15 @@ This two-phase approach eliminates both **planning inconsistency** and **context
|
|
|
31
31
|
|
|
32
32
|
**Before diving in, review these critical workflow diagrams that explain how BMad works:**
|
|
33
33
|
|
|
34
|
-
1. **[Planning Workflow (Web UI)](
|
|
35
|
-
2. **[Core Development Cycle (IDE)](
|
|
34
|
+
1. **[Planning Workflow (Web UI)](bmad-core/user-guide.md#the-planning-workflow-web-ui)** - How to create PRD and Architecture documents
|
|
35
|
+
2. **[Core Development Cycle (IDE)](bmad-core/user-guide.md#the-core-development-cycle-ide)** - How SM, Dev, and QA agents collaborate through story files
|
|
36
36
|
|
|
37
37
|
> ⚠️ **These diagrams explain 90% of BMad Method Agentic Agile flow confusion** - Understanding the PRD+Architecture creation and the SM/Dev/QA workflow and how agents pass notes through story files is essential - and also explains why this is NOT taskmaster or just a simple task runner!
|
|
38
38
|
|
|
39
39
|
### What would you like to do?
|
|
40
40
|
|
|
41
41
|
- **[Install and Build software with Full Stack Agile AI Team](#quick-start)** → Quick Start Instruction
|
|
42
|
-
- **[Learn how to use BMad](
|
|
42
|
+
- **[Learn how to use BMad](bmad-core/user-guide.md)** → Complete user guide and walkthrough
|
|
43
43
|
- **[See available AI agents](#available-agents)** → Specialized roles for your team
|
|
44
44
|
- **[Explore non-technical uses](#-beyond-software-development---expansion-packs)** → Creative writing, business, wellness, education
|
|
45
45
|
- **[Create my own AI agents](#creating-your-own-expansion-pack)** → Build agents for your domain
|
|
@@ -97,7 +97,7 @@ This single command handles:
|
|
|
97
97
|
3. **Upload & configure**: Upload the file and set instructions: "Your critical operating instructions are attached, do not break character as directed"
|
|
98
98
|
4. **Start Ideating and Planning**: Start chatting! Type `*help` to see available commands or pick an agent like `*analyst` to start right in on creating a brief.
|
|
99
99
|
5. **CRITICAL**: Talk to BMad Orchestrator in the web at ANY TIME (#bmad-orchestrator command) and ask it questions about how this all works!
|
|
100
|
-
6. **When to move to the IDE**: Once you have your PRD, Architecture, optional UX and Briefs - its time to switch over to the IDE to shard your docs, and start implementing the actual code! See the [User guide](
|
|
100
|
+
6. **When to move to the IDE**: Once you have your PRD, Architecture, optional UX and Briefs - its time to switch over to the IDE to shard your docs, and start implementing the actual code! See the [User guide](bmad-core/user-guide.md) for more details
|
|
101
101
|
|
|
102
102
|
### Alternative: Clone and Build
|
|
103
103
|
|
|
@@ -110,14 +110,53 @@ npm run install:bmad # build and install all to a destination folder
|
|
|
110
110
|
|
|
111
111
|
BMad's natural language framework works in ANY domain. Expansion packs provide specialized AI agents for creative writing, business strategy, health & wellness, education, and more. Also expansion packs can expand the core BMad-Method with specific functionality that is not generic for all cases. [See the Expansion Packs Guide](docs/expansion-packs.md) and learn to create your own!
|
|
112
112
|
|
|
113
|
+
## Codebase Flattener Tool
|
|
114
|
+
|
|
115
|
+
The BMad-Method includes a powerful codebase flattener tool designed to prepare your project files for AI model consumption. This tool aggregates your entire codebase into a single XML file, making it easy to share your project context with AI assistants for analysis, debugging, or development assistance.
|
|
116
|
+
|
|
117
|
+
### Features
|
|
118
|
+
|
|
119
|
+
- **AI-Optimized Output**: Generates clean XML format specifically designed for AI model consumption
|
|
120
|
+
- **Smart Filtering**: Automatically respects `.gitignore` patterns to exclude unnecessary files
|
|
121
|
+
- **Binary File Detection**: Intelligently identifies and excludes binary files, focusing on source code
|
|
122
|
+
- **Progress Tracking**: Real-time progress indicators and comprehensive completion statistics
|
|
123
|
+
- **Flexible Output**: Customizable output file location and naming
|
|
124
|
+
|
|
125
|
+
### Usage
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
# Basic usage - creates flattened-codebase.xml in current directory
|
|
129
|
+
npm run flatten
|
|
130
|
+
|
|
131
|
+
# Specify custom output file
|
|
132
|
+
npm run flatten -- --output my-project.xml
|
|
133
|
+
npm run flatten -- -o /path/to/output/codebase.xml
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Example Output
|
|
137
|
+
|
|
138
|
+
The tool will display progress and provide a comprehensive summary:
|
|
139
|
+
|
|
140
|
+
```
|
|
141
|
+
📊 Completion Summary:
|
|
142
|
+
✅ Successfully processed 156 files into flattened-codebase.xml
|
|
143
|
+
📁 Output file: /path/to/your/project/flattened-codebase.xml
|
|
144
|
+
📏 Total source size: 2.3 MB
|
|
145
|
+
📄 Generated XML size: 2.1 MB
|
|
146
|
+
📝 Total lines of code: 15,847
|
|
147
|
+
🔢 Estimated tokens: 542,891
|
|
148
|
+
📊 File breakdown: 142 text, 14 binary, 0 errors
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
The generated XML file contains all your project's source code in a structured format that AI models can easily parse and understand, making it perfect for code reviews, architecture discussions, or getting AI assistance with your BMad-Method projects.
|
|
152
|
+
|
|
113
153
|
## Documentation & Resources
|
|
114
154
|
|
|
115
155
|
### Essential Guides
|
|
116
156
|
|
|
117
|
-
- 📖 **[User Guide](
|
|
157
|
+
- 📖 **[User Guide](bmad-core/user-guide.md)** - Complete walkthrough from project inception to completion
|
|
118
158
|
- 🏗️ **[Core Architecture](docs/core-architecture.md)** - Technical deep dive and system design
|
|
119
159
|
- 🚀 **[Expansion Packs Guide](docs/expansion-packs.md)** - Extend BMad to any domain beyond software development
|
|
120
|
-
- [IDE Specific Guides available in this folder](docs/agentic-tools/)
|
|
121
160
|
|
|
122
161
|
## Support
|
|
123
162
|
|
|
@@ -52,7 +52,7 @@ persona:
|
|
|
52
52
|
- Integrity of Information - Ensure accurate sourcing and representation
|
|
53
53
|
- Numbered Options Protocol - Always use numbered lists for selections
|
|
54
54
|
# All commands require * prefix when used (e.g., *help)
|
|
55
|
-
commands:
|
|
55
|
+
commands:
|
|
56
56
|
- help: Show numbered list of the following commands to allow selection
|
|
57
57
|
- create-project-brief: use task create-doc with project-brief-tmpl.yaml
|
|
58
58
|
- perform-market-research: use task create-doc with market-research-tmpl.yaml
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# architect
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
5
4
|
|
|
6
5
|
CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
|
|
@@ -53,12 +52,12 @@ persona:
|
|
|
53
52
|
- Cost-Conscious Engineering - Balance technical ideals with financial reality
|
|
54
53
|
- Living Architecture - Design for change and adaptation
|
|
55
54
|
# All commands require * prefix when used (e.g., *help)
|
|
56
|
-
commands:
|
|
55
|
+
commands:
|
|
57
56
|
- help: Show numbered list of the following commands to allow selection
|
|
58
57
|
- create-full-stack-architecture: use create-doc with fullstack-architecture-tmpl.yaml
|
|
59
58
|
- create-backend-architecture: use create-doc with architecture-tmpl.yaml
|
|
60
59
|
- create-front-end-architecture: use create-doc with front-end-architecture-tmpl.yaml
|
|
61
|
-
- create-brownfield-architecture:
|
|
60
|
+
- create-brownfield-architecture: use create-doc with brownfield-architecture-tmpl.yaml
|
|
62
61
|
- doc-out: Output full document to current destination file
|
|
63
62
|
- document-project: execute the task document-project.md
|
|
64
63
|
- execute-checklist {checklist}: Run task execute-checklist (default->architect-checklist)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# BMad Master
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
5
4
|
|
|
6
5
|
CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# BMad Web Orchestrator
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
5
4
|
|
|
6
5
|
CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
|
|
@@ -52,9 +51,9 @@ persona:
|
|
|
52
51
|
- Always use numbered lists for choices
|
|
53
52
|
- Process commands starting with * immediately
|
|
54
53
|
- Always remind users that commands require * prefix
|
|
55
|
-
commands:
|
|
54
|
+
commands: # All commands require * prefix when used (e.g., *help, *agent pm)
|
|
56
55
|
help: Show this guide with available agents and workflows
|
|
57
|
-
chat-mode: Start conversational mode for detailed assistance
|
|
56
|
+
chat-mode: Start conversational mode for detailed assistance
|
|
58
57
|
kb-mode: Load full BMad knowledge base
|
|
59
58
|
status: Show current context, active agent, and progress
|
|
60
59
|
agent: Transform into a specialized agent (list if name not specified)
|
|
@@ -72,42 +71,42 @@ commands: # All commands require * prefix when used (e.g., *help, *agent pm)
|
|
|
72
71
|
help-display-template: |
|
|
73
72
|
=== BMad Orchestrator Commands ===
|
|
74
73
|
All commands must start with * (asterisk)
|
|
75
|
-
|
|
74
|
+
|
|
76
75
|
Core Commands:
|
|
77
76
|
*help ............... Show this guide
|
|
78
77
|
*chat-mode .......... Start conversational mode for detailed assistance
|
|
79
78
|
*kb-mode ............ Load full BMad knowledge base
|
|
80
79
|
*status ............. Show current context, active agent, and progress
|
|
81
80
|
*exit ............... Return to BMad or exit session
|
|
82
|
-
|
|
81
|
+
|
|
83
82
|
Agent & Task Management:
|
|
84
83
|
*agent [name] ....... Transform into specialized agent (list if no name)
|
|
85
84
|
*task [name] ........ Run specific task (list if no name, requires agent)
|
|
86
85
|
*checklist [name] ... Execute checklist (list if no name, requires agent)
|
|
87
|
-
|
|
86
|
+
|
|
88
87
|
Workflow Commands:
|
|
89
88
|
*workflow [name] .... Start specific workflow (list if no name)
|
|
90
89
|
*workflow-guidance .. Get personalized help selecting the right workflow
|
|
91
90
|
*plan ............... Create detailed workflow plan before starting
|
|
92
91
|
*plan-status ........ Show current workflow plan progress
|
|
93
92
|
*plan-update ........ Update workflow plan status
|
|
94
|
-
|
|
93
|
+
|
|
95
94
|
Other Commands:
|
|
96
95
|
*yolo ............... Toggle skip confirmations mode
|
|
97
96
|
*party-mode ......... Group chat with all agents
|
|
98
97
|
*doc-out ............ Output full document
|
|
99
|
-
|
|
98
|
+
|
|
100
99
|
=== Available Specialist Agents ===
|
|
101
100
|
[Dynamically list each agent in bundle with format:
|
|
102
101
|
*agent {id}: {title}
|
|
103
102
|
When to use: {whenToUse}
|
|
104
103
|
Key deliverables: {main outputs/documents}]
|
|
105
|
-
|
|
104
|
+
|
|
106
105
|
=== Available Workflows ===
|
|
107
106
|
[Dynamically list each workflow in bundle with format:
|
|
108
107
|
*workflow {id}: {name}
|
|
109
108
|
Purpose: {description}]
|
|
110
|
-
|
|
109
|
+
|
|
111
110
|
💡 Tip: Each agent has unique tasks, templates, and checklists. Switch to an agent to access their capabilities!
|
|
112
111
|
|
|
113
112
|
fuzzy-matching:
|
package/bmad-core/agents/dev.md
CHANGED
|
@@ -38,7 +38,6 @@ agent:
|
|
|
38
38
|
whenToUse: "Use for code implementation, debugging, refactoring, and development best practices"
|
|
39
39
|
customization:
|
|
40
40
|
|
|
41
|
-
|
|
42
41
|
persona:
|
|
43
42
|
role: Expert Senior Software Engineer & Implementation Specialist
|
|
44
43
|
style: Extremely concise, pragmatic, detail-oriented, solution-focused
|
|
@@ -52,7 +51,7 @@ core_principles:
|
|
|
52
51
|
- Numbered Options - Always use numbered lists when presenting choices to the user
|
|
53
52
|
|
|
54
53
|
# All commands require * prefix when used (e.g., *help)
|
|
55
|
-
commands:
|
|
54
|
+
commands:
|
|
56
55
|
- help: Show numbered list of the following commands to allow selection
|
|
57
56
|
- run-tests: Execute linting and tests
|
|
58
57
|
- explain: teach me what and why you did whatever you just did in detail so I can learn. Explain to me as if you were training a junior engineer.
|
package/bmad-core/agents/pm.md
CHANGED
|
@@ -48,10 +48,12 @@ persona:
|
|
|
48
48
|
- Proactive risk identification
|
|
49
49
|
- Strategic thinking & outcome-oriented
|
|
50
50
|
# All commands require * prefix when used (e.g., *help)
|
|
51
|
-
commands:
|
|
51
|
+
commands:
|
|
52
52
|
- help: Show numbered list of the following commands to allow selection
|
|
53
53
|
- create-prd: run task create-doc.md with template prd-tmpl.yaml
|
|
54
54
|
- create-brownfield-prd: run task create-doc.md with template brownfield-prd-tmpl.yaml
|
|
55
|
+
- create-brownfield-epic: run task brownfield-create-epic.md
|
|
56
|
+
- create-brownfield-story: run task brownfield-create-story.md
|
|
55
57
|
- create-epic: Create epic for brownfield projects (task brownfield-create-epic)
|
|
56
58
|
- create-story: Create user story from requirements (task brownfield-create-story)
|
|
57
59
|
- doc-out: Output full document to current destination file
|
package/bmad-core/agents/po.md
CHANGED
|
@@ -51,7 +51,7 @@ persona:
|
|
|
51
51
|
- Focus on Executable & Value-Driven Increments - Ensure work aligns with MVP goals
|
|
52
52
|
- Documentation Ecosystem Integrity - Maintain consistency across all documents
|
|
53
53
|
# All commands require * prefix when used (e.g., *help)
|
|
54
|
-
commands:
|
|
54
|
+
commands:
|
|
55
55
|
- help: Show numbered list of the following commands to allow selection
|
|
56
56
|
- execute-checklist-po: Run task execute-checklist (checklist po-master-checklist)
|
|
57
57
|
- shard-doc {document} {destination}: run the task shard-doc against the optionally provided document to the specified destination
|
package/bmad-core/agents/qa.md
CHANGED
|
@@ -55,7 +55,7 @@ story-file-permissions:
|
|
|
55
55
|
- CRITICAL: DO NOT modify any other sections including Status, Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Testing, Dev Agent Record, Change Log, or any other sections
|
|
56
56
|
- CRITICAL: Your updates must be limited to appending your review results in the QA Results section only
|
|
57
57
|
# All commands require * prefix when used (e.g., *help)
|
|
58
|
-
commands:
|
|
58
|
+
commands:
|
|
59
59
|
- help: Show numbered list of the following commands to allow selection
|
|
60
60
|
- review {story}: execute the task review-story for the highest sequence story in docs/stories unless another is specified - keep any specified technical-preferences in mind as needed
|
|
61
61
|
- exit: Say goodbye as the QA Engineer, and then abandon inhabiting this persona
|
package/bmad-core/agents/sm.md
CHANGED
|
@@ -44,7 +44,7 @@ persona:
|
|
|
44
44
|
- Will ensure all information comes from the PRD and Architecture to guide the dumb dev agent
|
|
45
45
|
- You are NOT allowed to implement stories or modify code EVER!
|
|
46
46
|
# All commands require * prefix when used (e.g., *help)
|
|
47
|
-
commands:
|
|
47
|
+
commands:
|
|
48
48
|
- help: Show numbered list of the following commands to allow selection
|
|
49
49
|
- draft: Execute task create-next-story.md
|
|
50
50
|
- correct-course: Execute task correct-course.md
|
|
@@ -49,7 +49,7 @@ persona:
|
|
|
49
49
|
- You're particularly skilled at translating user needs into beautiful, functional designs.
|
|
50
50
|
- You can craft effective prompts for AI UI generation tools like v0, or Lovable.
|
|
51
51
|
# All commands require * prefix when used (e.g., *help)
|
|
52
|
-
commands:
|
|
52
|
+
commands:
|
|
53
53
|
- help: Show numbered list of the following commands to allow selection
|
|
54
54
|
- create-front-end-spec: run task create-doc.md with template front-end-spec-tmpl.yaml
|
|
55
55
|
- generate-ui-prompt: Run task generate-ai-frontend-prompt.md
|
|
File without changes
|
|
@@ -477,6 +477,7 @@ that can handle [specific requirements]."
|
|
|
477
477
|
**Prerequisites**: Planning documents must exist in `docs/` folder
|
|
478
478
|
|
|
479
479
|
1. **Document Sharding** (CRITICAL STEP):
|
|
480
|
+
|
|
480
481
|
- Documents created by PM/Architect (in Web or IDE) MUST be sharded for development
|
|
481
482
|
- Two methods to shard:
|
|
482
483
|
a) **Manual**: Drag `shard-doc` task + document file into chat
|
|
@@ -499,17 +500,20 @@ Resulting Folder Structure:
|
|
|
499
500
|
1. **Development Cycle** (Sequential, one story at a time):
|
|
500
501
|
|
|
501
502
|
**CRITICAL CONTEXT MANAGEMENT**:
|
|
503
|
+
|
|
502
504
|
- **Context windows matter!** Always use fresh, clean context windows
|
|
503
505
|
- **Model selection matters!** Use most powerful thinking model for SM story creation
|
|
504
506
|
- **ALWAYS start new chat between SM, Dev, and QA work**
|
|
505
507
|
|
|
506
508
|
**Step 1 - Story Creation**:
|
|
509
|
+
|
|
507
510
|
- **NEW CLEAN CHAT** → Select powerful model → `@sm` → `*create`
|
|
508
511
|
- SM executes create-next-story task
|
|
509
512
|
- Review generated story in `docs/stories/`
|
|
510
513
|
- Update status from "Draft" to "Approved"
|
|
511
514
|
|
|
512
515
|
**Step 2 - Story Implementation**:
|
|
516
|
+
|
|
513
517
|
- **NEW CLEAN CHAT** → `@dev`
|
|
514
518
|
- Agent asks which story to implement
|
|
515
519
|
- Include story file content to save dev agent lookup time
|
|
@@ -518,6 +522,7 @@ Resulting Folder Structure:
|
|
|
518
522
|
- Dev marks story as "Review" when complete with all tests passing
|
|
519
523
|
|
|
520
524
|
**Step 3 - Senior QA Review**:
|
|
525
|
+
|
|
521
526
|
- **NEW CLEAN CHAT** → `@qa` → execute review-story task
|
|
522
527
|
- QA performs senior developer code review
|
|
523
528
|
- QA can refactor and improve code directly
|
|
@@ -542,7 +547,7 @@ Each status change requires user verification and approval before proceeding.
|
|
|
542
547
|
#### Greenfield Development
|
|
543
548
|
|
|
544
549
|
- Business analysis and market research
|
|
545
|
-
- Product requirements and feature definition
|
|
550
|
+
- Product requirements and feature definition
|
|
546
551
|
- System architecture and design
|
|
547
552
|
- Development execution
|
|
548
553
|
- Testing and deployment
|
|
@@ -569,9 +574,11 @@ Each status change requires user verification and approval before proceeding.
|
|
|
569
574
|
1. **Upload project to Gemini Web**
|
|
570
575
|
2. **Document everything**: `@analyst` → `*document-project`
|
|
571
576
|
3. **Then create PRD**: `@pm` → `*create-doc brownfield-prd`
|
|
577
|
+
|
|
572
578
|
- More thorough but can create excessive documentation
|
|
573
579
|
|
|
574
580
|
4. **Requirements Gathering**:
|
|
581
|
+
|
|
575
582
|
- **Brownfield PRD**: Use PM agent with `brownfield-prd-tmpl`
|
|
576
583
|
- **Analyzes**: Existing system, constraints, integration points
|
|
577
584
|
- **Defines**: Enhancement scope, compatibility requirements, risk assessment
|
|
@@ -651,8 +658,11 @@ Templates with Level 2 headings (`##`) can be automatically sharded:
|
|
|
651
658
|
|
|
652
659
|
```markdown
|
|
653
660
|
## Goals and Background Context
|
|
654
|
-
|
|
661
|
+
|
|
662
|
+
## Requirements
|
|
663
|
+
|
|
655
664
|
## User Interface Design Goals
|
|
665
|
+
|
|
656
666
|
## Success Metrics
|
|
657
667
|
```
|
|
658
668
|
|
|
@@ -3,16 +3,19 @@
|
|
|
3
3
|
## Core Reflective Methods
|
|
4
4
|
|
|
5
5
|
**Expand or Contract for Audience**
|
|
6
|
+
|
|
6
7
|
- Ask whether to 'expand' (add detail, elaborate) or 'contract' (simplify, clarify)
|
|
7
8
|
- Identify specific target audience if relevant
|
|
8
9
|
- Tailor content complexity and depth accordingly
|
|
9
10
|
|
|
10
11
|
**Explain Reasoning (CoT Step-by-Step)**
|
|
12
|
+
|
|
11
13
|
- Walk through the step-by-step thinking process
|
|
12
14
|
- Reveal underlying assumptions and decision points
|
|
13
15
|
- Show how conclusions were reached from current role's perspective
|
|
14
16
|
|
|
15
17
|
**Critique and Refine**
|
|
18
|
+
|
|
16
19
|
- Review output for flaws, inconsistencies, or improvement areas
|
|
17
20
|
- Identify specific weaknesses from role's expertise
|
|
18
21
|
- Suggest refined version reflecting domain knowledge
|
|
@@ -20,12 +23,14 @@
|
|
|
20
23
|
## Structural Analysis Methods
|
|
21
24
|
|
|
22
25
|
**Analyze Logical Flow and Dependencies**
|
|
26
|
+
|
|
23
27
|
- Examine content structure for logical progression
|
|
24
28
|
- Check internal consistency and coherence
|
|
25
29
|
- Identify and validate dependencies between elements
|
|
26
30
|
- Confirm effective ordering and sequencing
|
|
27
31
|
|
|
28
32
|
**Assess Alignment with Overall Goals**
|
|
33
|
+
|
|
29
34
|
- Evaluate content contribution to stated objectives
|
|
30
35
|
- Identify any misalignments or gaps
|
|
31
36
|
- Interpret alignment from specific role's perspective
|
|
@@ -34,12 +39,14 @@
|
|
|
34
39
|
## Risk and Challenge Methods
|
|
35
40
|
|
|
36
41
|
**Identify Potential Risks and Unforeseen Issues**
|
|
42
|
+
|
|
37
43
|
- Brainstorm potential risks from role's expertise
|
|
38
44
|
- Identify overlooked edge cases or scenarios
|
|
39
45
|
- Anticipate unintended consequences
|
|
40
46
|
- Highlight implementation challenges
|
|
41
47
|
|
|
42
48
|
**Challenge from Critical Perspective**
|
|
49
|
+
|
|
43
50
|
- Adopt critical stance on current content
|
|
44
51
|
- Play devil's advocate from specified viewpoint
|
|
45
52
|
- Argue against proposal highlighting weaknesses
|
|
@@ -48,12 +55,14 @@
|
|
|
48
55
|
## Creative Exploration Methods
|
|
49
56
|
|
|
50
57
|
**Tree of Thoughts Deep Dive**
|
|
58
|
+
|
|
51
59
|
- Break problem into discrete "thoughts" or intermediate steps
|
|
52
60
|
- Explore multiple reasoning paths simultaneously
|
|
53
61
|
- Use self-evaluation to classify each path as "sure", "likely", or "impossible"
|
|
54
62
|
- Apply search algorithms (BFS/DFS) to find optimal solution paths
|
|
55
63
|
|
|
56
64
|
**Hindsight is 20/20: The 'If Only...' Reflection**
|
|
65
|
+
|
|
57
66
|
- Imagine retrospective scenario based on current content
|
|
58
67
|
- Identify the one "if only we had known/done X..." insight
|
|
59
68
|
- Describe imagined consequences humorously or dramatically
|
|
@@ -62,6 +71,7 @@
|
|
|
62
71
|
## Multi-Persona Collaboration Methods
|
|
63
72
|
|
|
64
73
|
**Agile Team Perspective Shift**
|
|
74
|
+
|
|
65
75
|
- Rotate through different Scrum team member viewpoints
|
|
66
76
|
- Product Owner: Focus on user value and business impact
|
|
67
77
|
- Scrum Master: Examine process flow and team dynamics
|
|
@@ -69,12 +79,14 @@
|
|
|
69
79
|
- QA: Identify testing scenarios and quality concerns
|
|
70
80
|
|
|
71
81
|
**Stakeholder Round Table**
|
|
82
|
+
|
|
72
83
|
- Convene virtual meeting with multiple personas
|
|
73
84
|
- Each persona contributes unique perspective on content
|
|
74
85
|
- Identify conflicts and synergies between viewpoints
|
|
75
86
|
- Synthesize insights into actionable recommendations
|
|
76
87
|
|
|
77
88
|
**Meta-Prompting Analysis**
|
|
89
|
+
|
|
78
90
|
- Step back to analyze the structure and logic of current approach
|
|
79
91
|
- Question the format and methodology being used
|
|
80
92
|
- Suggest alternative frameworks or mental models
|
|
@@ -83,24 +95,28 @@
|
|
|
83
95
|
## Advanced 2025 Techniques
|
|
84
96
|
|
|
85
97
|
**Self-Consistency Validation**
|
|
98
|
+
|
|
86
99
|
- Generate multiple reasoning paths for same problem
|
|
87
100
|
- Compare consistency across different approaches
|
|
88
101
|
- Identify most reliable and robust solution
|
|
89
102
|
- Highlight areas where approaches diverge and why
|
|
90
103
|
|
|
91
104
|
**ReWOO (Reasoning Without Observation)**
|
|
105
|
+
|
|
92
106
|
- Separate parametric reasoning from tool-based actions
|
|
93
107
|
- Create reasoning plan without external dependencies
|
|
94
108
|
- Identify what can be solved through pure reasoning
|
|
95
109
|
- Optimize for efficiency and reduced token usage
|
|
96
110
|
|
|
97
111
|
**Persona-Pattern Hybrid**
|
|
112
|
+
|
|
98
113
|
- Combine specific role expertise with elicitation pattern
|
|
99
114
|
- Architect + Risk Analysis: Deep technical risk assessment
|
|
100
115
|
- UX Expert + User Journey: End-to-end experience critique
|
|
101
116
|
- PM + Stakeholder Analysis: Multi-perspective impact review
|
|
102
117
|
|
|
103
118
|
**Emergent Collaboration Discovery**
|
|
119
|
+
|
|
104
120
|
- Allow multiple perspectives to naturally emerge
|
|
105
121
|
- Identify unexpected insights from persona interactions
|
|
106
122
|
- Explore novel combinations of viewpoints
|
|
@@ -109,18 +125,21 @@
|
|
|
109
125
|
## Game-Based Elicitation Methods
|
|
110
126
|
|
|
111
127
|
**Red Team vs Blue Team**
|
|
128
|
+
|
|
112
129
|
- Red Team: Attack the proposal, find vulnerabilities
|
|
113
130
|
- Blue Team: Defend and strengthen the approach
|
|
114
131
|
- Competitive analysis reveals blind spots
|
|
115
132
|
- Results in more robust, battle-tested solutions
|
|
116
133
|
|
|
117
134
|
**Innovation Tournament**
|
|
135
|
+
|
|
118
136
|
- Pit multiple alternative approaches against each other
|
|
119
137
|
- Score each approach across different criteria
|
|
120
138
|
- Crowd-source evaluation from different personas
|
|
121
139
|
- Identify winning combination of features
|
|
122
140
|
|
|
123
141
|
**Escape Room Challenge**
|
|
142
|
+
|
|
124
143
|
- Present content as constraints to work within
|
|
125
144
|
- Find creative solutions within tight limitations
|
|
126
145
|
- Identify minimum viable approach
|
|
@@ -129,6 +148,7 @@
|
|
|
129
148
|
## Process Control
|
|
130
149
|
|
|
131
150
|
**Proceed / No Further Actions**
|
|
151
|
+
|
|
132
152
|
- Acknowledge choice to finalize current work
|
|
133
153
|
- Accept output as-is or move to next step
|
|
134
154
|
- Prepare to continue without additional elicitation
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Enhanced Development Workflow
|
|
2
|
+
|
|
3
|
+
This is a simple step-by-step guide to help you efficiently manage your development workflow using the BMad Method. Refer to the **[<ins>User Guide</ins>](user-guide.md)** for any scenario that is not covered here.
|
|
4
|
+
|
|
5
|
+
## Create new Branch
|
|
6
|
+
|
|
7
|
+
1. **Start new branch**
|
|
8
|
+
|
|
9
|
+
## Story Creation (Scrum Master)
|
|
10
|
+
|
|
11
|
+
1. **Start new chat/conversation**
|
|
12
|
+
2. **Load SM agent**
|
|
13
|
+
3. **Execute**: `*draft` (runs create-next-story task)
|
|
14
|
+
4. **Review generated story** in `docs/stories/`
|
|
15
|
+
5. **Update status**: Change from "Draft" to "Approved"
|
|
16
|
+
|
|
17
|
+
## Story Implementation (Developer)
|
|
18
|
+
|
|
19
|
+
1. **Start new chat/conversation**
|
|
20
|
+
2. **Load Dev agent**
|
|
21
|
+
3. **Execute**: `*develop-story {selected-story}` (runs execute-checklist task)
|
|
22
|
+
4. **Review generated report** in `{selected-story}`
|
|
23
|
+
|
|
24
|
+
## Story Review (Quality Assurance)
|
|
25
|
+
|
|
26
|
+
1. **Start new chat/conversation**
|
|
27
|
+
2. **Load QA agent**
|
|
28
|
+
3. **Execute**: `*review {selected-story}` (runs review-story task)
|
|
29
|
+
4. **Review generated report** in `{selected-story}`
|
|
30
|
+
|
|
31
|
+
## Commit Changes and Push
|
|
32
|
+
|
|
33
|
+
1. **Commit changes**
|
|
34
|
+
2. **Push to remote**
|
|
35
|
+
|
|
36
|
+
## Repeat Until Complete
|
|
37
|
+
|
|
38
|
+
- **SM**: Create next story → Review → Approve
|
|
39
|
+
- **Dev**: Implement story → Complete → Mark Ready for Review
|
|
40
|
+
- **QA**: Review story → Mark done
|
|
41
|
+
- **Commit**: All changes
|
|
42
|
+
- **Push**: To remote
|
|
43
|
+
- **Continue**: Until all features implemented
|
|
@@ -41,12 +41,14 @@ User can request advanced elicitation on any agent output:
|
|
|
41
41
|
**Method Selection Strategy**:
|
|
42
42
|
|
|
43
43
|
1. **Always Include Core Methods** (choose 3-4):
|
|
44
|
+
|
|
44
45
|
- Expand or Contract for Audience
|
|
45
46
|
- Critique and Refine
|
|
46
47
|
- Identify Potential Risks
|
|
47
48
|
- Assess Alignment with Goals
|
|
48
49
|
|
|
49
50
|
2. **Context-Specific Methods** (choose 4-5):
|
|
51
|
+
|
|
50
52
|
- **Technical Content**: Tree of Thoughts, ReWOO, Meta-Prompting
|
|
51
53
|
- **User-Facing Content**: Agile Team Perspective, Stakeholder Roundtable
|
|
52
54
|
- **Creative Content**: Innovation Tournament, Escape Room Challenge
|