bmad-method 4.13.0 → 4.14.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/CHANGELOG.md +7 -0
- package/GUIDING-PRINCIPLES.md +0 -33
- package/README.md +3 -2
- package/bmad-core/agents/analyst.md +3 -1
- package/bmad-core/agents/dev.md +3 -2
- package/bmad-core/agents/qa.md +15 -14
- package/bmad-core/data/bmad-kb.md +280 -19
- package/bmad-core/tasks/document-project.md +250 -322
- package/bmad-core/tasks/review-story.md +135 -0
- package/bmad-core/templates/story-tmpl.md +8 -0
- package/bmad-core/workflows/brownfield-fullstack.yml +36 -1
- package/bmad-core/workflows/brownfield-service.yml +36 -1
- package/bmad-core/workflows/brownfield-ui.yml +36 -1
- package/bmad-core/workflows/greenfield-fullstack.yml +36 -1
- package/bmad-core/workflows/greenfield-service.yml +36 -1
- package/bmad-core/workflows/greenfield-ui.yml +36 -1
- package/dist/agents/analyst.txt +227 -17
- package/dist/agents/bmad-master.txt +260 -24
- package/dist/agents/bmad-orchestrator.txt +227 -17
- package/dist/agents/dev.txt +6 -4
- package/dist/agents/pm.txt +25 -7
- package/dist/agents/po.txt +33 -7
- package/dist/agents/qa.txt +153 -14
- package/dist/agents/sm.txt +8 -0
- package/dist/expansion-packs/expansion-creator/agents/bmad-the-creator.txt +4 -12
- package/dist/teams/team-all.txt +635 -48
- package/dist/teams/team-fullstack.txt +476 -30
- package/dist/teams/team-ide-minimal.txt +419 -42
- package/dist/teams/team-no-ui.txt +332 -26
- package/docs/working-in-the-brownfield.md +362 -0
- package/package.json +1 -1
- package/tools/installer/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [4.14.0](https://github.com/bmadcode/BMAD-METHOD/compare/v4.13.0...v4.14.0) (2025-06-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* enhance QA agent as senior developer with code review capabilities and major brownfield improvements ([3af3d33](https://github.com/bmadcode/BMAD-METHOD/commit/3af3d33d4a40586479a382620687fa99a9f6a5f7))
|
|
7
|
+
|
|
1
8
|
# [4.13.0](https://github.com/bmadcode/BMAD-METHOD/compare/v4.12.0...v4.13.0) (2025-06-24)
|
|
2
9
|
|
|
3
10
|
|
package/GUIDING-PRINCIPLES.md
CHANGED
|
@@ -77,39 +77,6 @@ See [Expansion Packs Guide](../docs/expansion-packs.md) for detailed examples an
|
|
|
77
77
|
5. NEVER display template markup or LLM instructions to users
|
|
78
78
|
6. Focus on clean output - all processing instructions stay internal
|
|
79
79
|
|
|
80
|
-
## Examples
|
|
81
|
-
|
|
82
|
-
### Good Dev Agent
|
|
83
|
-
|
|
84
|
-
```yaml
|
|
85
|
-
name: API Developer
|
|
86
|
-
role: Creates REST APIs
|
|
87
|
-
dependencies:
|
|
88
|
-
templates:
|
|
89
|
-
- api-endpoint-tmpl
|
|
90
|
-
tasks:
|
|
91
|
-
- implement-endpoint
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
### Good Planning Agent (Web)
|
|
95
|
-
|
|
96
|
-
```yaml
|
|
97
|
-
name: PRD Writer
|
|
98
|
-
role: Creates comprehensive PRDs
|
|
99
|
-
dependencies:
|
|
100
|
-
templates:
|
|
101
|
-
- prd-tmpl
|
|
102
|
-
- epic-tmpl
|
|
103
|
-
- story-tmpl
|
|
104
|
-
tasks:
|
|
105
|
-
- elicit-requirements
|
|
106
|
-
- analyze-market
|
|
107
|
-
- define-features
|
|
108
|
-
data:
|
|
109
|
-
- prd-best-practices
|
|
110
|
-
- market-analysis-guide
|
|
111
|
-
```
|
|
112
|
-
|
|
113
80
|
## Remember
|
|
114
81
|
|
|
115
82
|
- The power is in natural language orchestration, not code
|
package/README.md
CHANGED
|
@@ -188,14 +188,14 @@ The reason #2 and 3 are optional is because now BMad V4 makes sharding optional
|
|
|
188
188
|
|
|
189
189
|
This configuration file tells BMAD agents exactly where to find your project documents and how they're structured. It's the key to V4's flexibility and backwards compatibility.
|
|
190
190
|
|
|
191
|
-
#### Key Features
|
|
191
|
+
#### Key Features
|
|
192
192
|
|
|
193
193
|
- **Version Awareness**: Agents understand if your PRD/Architecture follows V4 conventions or earlier versions
|
|
194
194
|
- **Flexible Document Locations**: Works whether your epics are embedded in PRD or properly sharded
|
|
195
195
|
- **Developer Context**: Define which files the dev agent should always load
|
|
196
196
|
- **Debug Support**: Built-in logging for troubleshooting story implementation
|
|
197
197
|
|
|
198
|
-
#### Why It Matters
|
|
198
|
+
#### Why It Matters
|
|
199
199
|
|
|
200
200
|
- **Use BMAD with ANY project structure** - V3, V4, or custom layouts
|
|
201
201
|
- **No forced migrations** - Keep your existing document organization
|
|
@@ -363,6 +363,7 @@ npm install
|
|
|
363
363
|
### Workflow Guides
|
|
364
364
|
|
|
365
365
|
- 📚 [Universal BMAD Workflow Guide](docs/bmad-workflow-guide.md) - Core workflow that applies to all IDEs
|
|
366
|
+
- 🏗️ [Working in the Brownfield Guide](docs/working-in-the-brownfield.md) - Complete guide for enhancing existing projects
|
|
366
367
|
- 🎯 [Cursor Guide](docs/cursor-guide.md) - Complete workflow for Cursor users
|
|
367
368
|
- 🤖 [Claude Code Guide](docs/claude-code-guide.md) - Complete workflow for Claude Code users
|
|
368
369
|
- 🌊 [Windsurf Guide](docs/windsurf-guide.md) - Complete workflow for Windsurf users
|
|
@@ -16,7 +16,7 @@ agent:
|
|
|
16
16
|
id: analyst
|
|
17
17
|
title: Business Analyst
|
|
18
18
|
icon: 📊
|
|
19
|
-
whenToUse: Use for market research, brainstorming, competitive analysis, creating project briefs,
|
|
19
|
+
whenToUse: Use for market research, brainstorming, competitive analysis, creating project briefs, initial project discovery, and documenting existing projects (brownfield)
|
|
20
20
|
customization: null
|
|
21
21
|
persona:
|
|
22
22
|
role: Insightful Analyst & Strategic Ideation Partner
|
|
@@ -44,6 +44,7 @@ commands: # All commands require * prefix when used (e.g., *help)
|
|
|
44
44
|
- brainstorm {topic}: Facilitate structured brainstorming session
|
|
45
45
|
- research {topic}: Generate deep research prompt for investigation
|
|
46
46
|
- elicit: Run advanced elicitation to clarify requirements
|
|
47
|
+
- document-project: Analyze and document existing project structure comprehensively
|
|
47
48
|
- exit: Say goodbye as the Business Analyst, and then abandon inhabiting this persona
|
|
48
49
|
dependencies:
|
|
49
50
|
tasks:
|
|
@@ -51,6 +52,7 @@ dependencies:
|
|
|
51
52
|
- create-deep-research-prompt
|
|
52
53
|
- create-doc
|
|
53
54
|
- advanced-elicitation
|
|
55
|
+
- document-project
|
|
54
56
|
templates:
|
|
55
57
|
- project-brief-tmpl
|
|
56
58
|
- market-research-tmpl
|
package/bmad-core/agents/dev.md
CHANGED
|
@@ -52,9 +52,10 @@ task-execution:
|
|
|
52
52
|
- "Debug Log: | Task | File | Change | Reverted? |"
|
|
53
53
|
- "Completion Notes: Deviations only, <50 words"
|
|
54
54
|
- "Change Log: Requirement changes only"
|
|
55
|
+
- "File List: CRITICAL - Maintain complete list of ALL files created/modified during implementation"
|
|
55
56
|
blocking: "Unapproved deps | Ambiguous after story check | 3 failures | Missing config | Failing validations"
|
|
56
|
-
done: "Code matches reqs + All validations pass + Follows standards"
|
|
57
|
-
completion: "All [x]→Validations pass→Integration(if noted)→E2E(if noted)→DoD→
|
|
57
|
+
done: "Code matches reqs + All validations pass + Follows standards + File List complete"
|
|
58
|
+
completion: "All [x]→Validations pass→Integration(if noted)→E2E(if noted)→DoD→Update File List→Mark Ready for Review→HALT"
|
|
58
59
|
|
|
59
60
|
dependencies:
|
|
60
61
|
tasks:
|
package/bmad-core/agents/qa.md
CHANGED
|
@@ -14,34 +14,35 @@ activation-instructions:
|
|
|
14
14
|
agent:
|
|
15
15
|
name: Quinn
|
|
16
16
|
id: qa
|
|
17
|
-
title:
|
|
17
|
+
title: Senior Developer & QA Architect
|
|
18
18
|
icon: 🧪
|
|
19
|
-
whenToUse: Use for
|
|
19
|
+
whenToUse: Use for senior code review, refactoring, test planning, quality assurance, and mentoring through code improvements
|
|
20
20
|
customization: null
|
|
21
21
|
persona:
|
|
22
|
-
role:
|
|
23
|
-
style: Methodical, detail-oriented, quality-focused, strategic
|
|
24
|
-
identity: Senior
|
|
25
|
-
focus:
|
|
22
|
+
role: Senior Developer & Test Architect
|
|
23
|
+
style: Methodical, detail-oriented, quality-focused, mentoring, strategic
|
|
24
|
+
identity: Senior developer with deep expertise in code quality, architecture, and test automation
|
|
25
|
+
focus: Code excellence through review, refactoring, and comprehensive testing strategies
|
|
26
26
|
core_principles:
|
|
27
|
+
- Senior Developer Mindset - Review and improve code as a senior mentoring juniors
|
|
28
|
+
- Active Refactoring - Don't just identify issues, fix them with clear explanations
|
|
27
29
|
- Test Strategy & Architecture - Design holistic testing strategies across all levels
|
|
28
|
-
-
|
|
30
|
+
- Code Quality Excellence - Enforce best practices, patterns, and clean code principles
|
|
29
31
|
- Shift-Left Testing - Integrate testing early in development lifecycle
|
|
32
|
+
- Performance & Security - Proactively identify and fix performance/security issues
|
|
33
|
+
- Mentorship Through Action - Explain WHY and HOW when making improvements
|
|
30
34
|
- Risk-Based Testing - Prioritize testing based on risk and critical areas
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
- Test Data Management - Design strategies for realistic and compliant test data
|
|
34
|
-
- Continuous Testing & CI/CD - Integrate tests seamlessly into pipelines
|
|
35
|
-
- Quality Metrics & Reporting - Track meaningful metrics and provide insights
|
|
36
|
-
- Cross-Browser & Cross-Platform Testing - Ensure comprehensive compatibility
|
|
35
|
+
- Continuous Improvement - Balance perfection with pragmatism
|
|
36
|
+
- Architecture & Design Patterns - Ensure proper patterns and maintainable code structure
|
|
37
37
|
startup:
|
|
38
38
|
- Greet the user with your name and role, and inform of the *help command.
|
|
39
39
|
commands: # All commands require * prefix when used (e.g., *help)
|
|
40
40
|
- help: Show numbered list of the following commands to allow selection
|
|
41
41
|
- chat-mode: (Default) QA consultation with advanced-elicitation for test strategy
|
|
42
|
-
- create-doc {template}: Create doc (no template = show available templates)
|
|
43
42
|
- exit: Say goodbye as the QA Test Architect, and then abandon inhabiting this persona
|
|
44
43
|
dependencies:
|
|
44
|
+
tasks:
|
|
45
|
+
- review-story
|
|
45
46
|
data:
|
|
46
47
|
- technical-preferences
|
|
47
48
|
utils:
|
|
@@ -20,6 +20,50 @@ BMAD-METHOD (Breakthrough Method of Agile AI-driven Development) is a framework
|
|
|
20
20
|
- **Quality Assurance**: Structured testing and validation
|
|
21
21
|
- **Documentation**: Professional PRDs, architecture docs, user stories
|
|
22
22
|
|
|
23
|
+
## How BMAD Works
|
|
24
|
+
|
|
25
|
+
### The Core Method
|
|
26
|
+
|
|
27
|
+
BMAD transforms you into a "Vibe CEO" - directing a team of specialized AI agents through structured workflows. Here's how:
|
|
28
|
+
|
|
29
|
+
1. **You Direct, AI Executes**: You provide vision and decisions; agents handle implementation details
|
|
30
|
+
2. **Specialized Agents**: Each agent masters one role (PM, Developer, Architect, etc.)
|
|
31
|
+
3. **Structured Workflows**: Proven patterns guide you from idea to deployed code
|
|
32
|
+
4. **Clean Handoffs**: Fresh context windows ensure agents stay focused and effective
|
|
33
|
+
|
|
34
|
+
### The Two-Phase Approach
|
|
35
|
+
|
|
36
|
+
**Phase 1: Planning (Web UI - Cost Effective)**
|
|
37
|
+
- Use large context windows (Gemini's 1M tokens)
|
|
38
|
+
- Generate comprehensive documents (PRD, Architecture)
|
|
39
|
+
- Leverage multiple agents for brainstorming
|
|
40
|
+
- Create once, use throughout development
|
|
41
|
+
|
|
42
|
+
**Phase 2: Development (IDE - Implementation)**
|
|
43
|
+
- Shard documents into manageable pieces
|
|
44
|
+
- Execute focused SM → Dev cycles
|
|
45
|
+
- One story at a time, sequential progress
|
|
46
|
+
- Real-time file operations and testing
|
|
47
|
+
|
|
48
|
+
### The Development Loop
|
|
49
|
+
|
|
50
|
+
```text
|
|
51
|
+
1. SM Agent (New Chat) → Creates next story from sharded docs
|
|
52
|
+
2. You → Review and approve story
|
|
53
|
+
3. Dev Agent (New Chat) → Implements approved story
|
|
54
|
+
4. QA Agent (New Chat) → Reviews and refactors code
|
|
55
|
+
5. You → Verify completion
|
|
56
|
+
6. Repeat until epic complete
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Why This Works
|
|
60
|
+
|
|
61
|
+
- **Context Optimization**: Clean chats = better AI performance
|
|
62
|
+
- **Role Clarity**: Agents don't context-switch = higher quality
|
|
63
|
+
- **Incremental Progress**: Small stories = manageable complexity
|
|
64
|
+
- **Human Oversight**: You validate each step = quality control
|
|
65
|
+
- **Document-Driven**: Specs guide everything = consistency
|
|
66
|
+
|
|
23
67
|
## Getting Started
|
|
24
68
|
|
|
25
69
|
### Quick Start Options
|
|
@@ -34,7 +78,7 @@ BMAD-METHOD (Breakthrough Method of Agile AI-driven Development) is a framework
|
|
|
34
78
|
5. Type `/help` to see available commands
|
|
35
79
|
|
|
36
80
|
#### Option 2: IDE Integration
|
|
37
|
-
**Best for**: Cursor, Claude Code, Windsurf,
|
|
81
|
+
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code users
|
|
38
82
|
|
|
39
83
|
```bash
|
|
40
84
|
# Interactive installation (recommended)
|
|
@@ -43,13 +87,22 @@ npx bmad-method install
|
|
|
43
87
|
|
|
44
88
|
**Installation Steps**:
|
|
45
89
|
- Choose "Complete installation"
|
|
46
|
-
- Select your IDE
|
|
90
|
+
- Select your IDE from supported options:
|
|
91
|
+
- **Cursor**: Native AI integration
|
|
92
|
+
- **Claude Code**: Anthropic's official IDE
|
|
93
|
+
- **Windsurf**: Built-in AI capabilities
|
|
94
|
+
- **Cline**: VS Code extension with AI features
|
|
95
|
+
- **Roo Code**: Web-based IDE with agent support
|
|
96
|
+
|
|
97
|
+
**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.
|
|
47
98
|
|
|
48
99
|
**Verify Installation**:
|
|
49
100
|
- `.bmad-core/` folder created with all agents
|
|
50
101
|
- IDE-specific integration files created
|
|
51
102
|
- All agent commands/rules/modes available
|
|
52
103
|
|
|
104
|
+
**Remember**: At its core, BMAD-METHOD is about mastering and harnessing prompt engineering. Any IDE with AI agent support can use BMAD - the framework provides the structured prompts and workflows that make AI development effective
|
|
105
|
+
|
|
53
106
|
### Environment Selection Guide
|
|
54
107
|
|
|
55
108
|
**Use Web UI for**:
|
|
@@ -66,6 +119,47 @@ npx bmad-method install
|
|
|
66
119
|
|
|
67
120
|
**Cost-Saving Tip**: Create large documents (PRDs, architecture) in web UI, then copy to `docs/prd.md` and `docs/architecture.md` in your project before switching to IDE for development.
|
|
68
121
|
|
|
122
|
+
### IDE-Only Workflow Considerations
|
|
123
|
+
|
|
124
|
+
**Can you do everything in IDE?** Yes, but understand the tradeoffs:
|
|
125
|
+
|
|
126
|
+
**Pros of IDE-Only**:
|
|
127
|
+
- Single environment workflow
|
|
128
|
+
- Direct file operations from start
|
|
129
|
+
- No copy/paste between environments
|
|
130
|
+
- Immediate project integration
|
|
131
|
+
|
|
132
|
+
**Cons of IDE-Only**:
|
|
133
|
+
- Higher token costs for large document creation
|
|
134
|
+
- Smaller context windows (varies by IDE/model)
|
|
135
|
+
- May hit limits during planning phases
|
|
136
|
+
- Less cost-effective for brainstorming
|
|
137
|
+
|
|
138
|
+
**Using Web Agents in IDE**:
|
|
139
|
+
- **NOT RECOMMENDED**: Web agents (PM, Architect) have rich dependencies designed for large contexts
|
|
140
|
+
- **Why it matters**: Dev agents are kept lean to maximize coding context
|
|
141
|
+
- **The principle**: "Dev agents code, planning agents plan" - mixing breaks this optimization
|
|
142
|
+
|
|
143
|
+
**About bmad-master and bmad-orchestrator**:
|
|
144
|
+
- **bmad-master**: CAN do any task without switching agents, BUT...
|
|
145
|
+
- **Still use specialized agents for planning**: PM, Architect, and UX Expert have tuned personas that produce better results
|
|
146
|
+
- **Why specialization matters**: Each agent's personality and focus creates higher quality outputs
|
|
147
|
+
- **If using bmad-master/orchestrator**: Fine for planning phases, but...
|
|
148
|
+
|
|
149
|
+
**CRITICAL RULE for Development**:
|
|
150
|
+
- **ALWAYS use SM agent for story creation** - Never use bmad-master/orchestrator
|
|
151
|
+
- **ALWAYS use Dev agent for implementation** - Never use bmad-master/orchestrator
|
|
152
|
+
- **Why this matters**: SM and Dev agents are specifically optimized for the development workflow
|
|
153
|
+
- **No exceptions**: Even if using bmad-master for everything else, switch to SM → Dev for implementation
|
|
154
|
+
|
|
155
|
+
**Best Practice for IDE-Only**:
|
|
156
|
+
1. Use PM/Architect/UX agents for planning (better than bmad-master)
|
|
157
|
+
2. Create documents directly in project
|
|
158
|
+
3. Shard immediately after creation
|
|
159
|
+
4. **MUST switch to SM agent** for story creation
|
|
160
|
+
5. **MUST switch to Dev agent** for implementation
|
|
161
|
+
6. Keep planning and coding in separate chat sessions
|
|
162
|
+
|
|
69
163
|
## Core Configuration (core-config.yml)
|
|
70
164
|
|
|
71
165
|
**New in V4**: The `bmad-core/core-config.yml` file is a critical innovation that enables BMAD to work seamlessly with any project structure, providing maximum flexibility and backwards compatibility.
|
|
@@ -306,10 +400,16 @@ This architecture enables seamless operation across environments while maintaini
|
|
|
306
400
|
|
|
307
401
|
## Complete Development Workflow
|
|
308
402
|
|
|
309
|
-
### Planning Phase (Web UI Recommended)
|
|
403
|
+
### Planning Phase (Web UI Recommended - Especially Gemini!)
|
|
404
|
+
|
|
405
|
+
**Ideal for cost efficiency with Gemini's massive context:**
|
|
310
406
|
|
|
311
|
-
**
|
|
407
|
+
**For Brownfield Projects - Start Here!**:
|
|
408
|
+
1. **Upload entire project to Gemini Web** (GitHub URL, files, or zip)
|
|
409
|
+
2. **Document existing system**: `/analyst` → `*document-project`
|
|
410
|
+
3. **Creates comprehensive docs** from entire codebase analysis
|
|
312
411
|
|
|
412
|
+
**For All Projects**:
|
|
313
413
|
1. **Optional Analysis**: `/analyst` - Market research, competitive analysis
|
|
314
414
|
2. **Project Brief**: Create foundation document (Analyst or user)
|
|
315
415
|
3. **PRD Creation**: `/pm create-doc prd` - Comprehensive product requirements
|
|
@@ -343,10 +443,14 @@ that can handle [specific requirements]."
|
|
|
343
443
|
|
|
344
444
|
**Prerequisites**: Planning documents must exist in `docs/` folder
|
|
345
445
|
|
|
346
|
-
1. **Document Sharding
|
|
347
|
-
-
|
|
348
|
-
-
|
|
349
|
-
|
|
446
|
+
1. **Document Sharding** (CRITICAL STEP):
|
|
447
|
+
- Documents created by PM/Architect (in Web or IDE) MUST be sharded for development
|
|
448
|
+
- Two methods to shard:
|
|
449
|
+
a) **Manual**: Drag `shard-doc` task + document file into chat
|
|
450
|
+
b) **Agent**: Ask `@bmad-master` or `@po` to shard documents
|
|
451
|
+
- Shards `docs/prd.md` → `docs/prd/` folder
|
|
452
|
+
- Shards `docs/architecture.md` → `docs/architecture/` folder
|
|
453
|
+
- **WARNING**: Do NOT shard in Web UI - copying many small files is painful!
|
|
350
454
|
|
|
351
455
|
2. **Verify Sharded Content**:
|
|
352
456
|
- At least one `epic-n.md` file in `docs/prd/` with stories in development order
|
|
@@ -360,19 +464,34 @@ that can handle [specific requirements]."
|
|
|
360
464
|
|
|
361
465
|
3. **Development Cycle** (Sequential, one story at a time):
|
|
362
466
|
|
|
363
|
-
**
|
|
467
|
+
**CRITICAL CONTEXT MANAGEMENT**:
|
|
468
|
+
- **Context windows matter!** Always use fresh, clean context windows
|
|
469
|
+
- **Model selection matters!** Use most powerful thinking model for SM story creation
|
|
470
|
+
- **ALWAYS start new chat between SM, Dev, and QA work**
|
|
471
|
+
|
|
472
|
+
**Step 1 - Story Creation**:
|
|
473
|
+
- **NEW CLEAN CHAT** → Select powerful model → `@sm` → `*create`
|
|
364
474
|
- SM executes create-next-story task
|
|
365
475
|
- Review generated story in `docs/stories/`
|
|
366
476
|
- Update status from "Draft" to "Approved"
|
|
367
477
|
|
|
368
|
-
**Step 2 - Story Implementation**:
|
|
478
|
+
**Step 2 - Story Implementation**:
|
|
479
|
+
- **NEW CLEAN CHAT** → `@dev`
|
|
369
480
|
- Agent asks which story to implement
|
|
370
481
|
- Include story file content to save dev agent lookup time
|
|
371
482
|
- Dev follows tasks/subtasks, marking completion
|
|
372
|
-
- Dev
|
|
373
|
-
-
|
|
483
|
+
- Dev maintains File List of all changes
|
|
484
|
+
- Dev marks story as "Review" when complete with all tests passing
|
|
374
485
|
|
|
375
|
-
**Step 3 -
|
|
486
|
+
**Step 3 - Senior QA Review**:
|
|
487
|
+
- **NEW CLEAN CHAT** → `@qa` → execute review-story task
|
|
488
|
+
- QA performs senior developer code review
|
|
489
|
+
- QA can refactor and improve code directly
|
|
490
|
+
- QA appends results to story's QA Results section
|
|
491
|
+
- If approved: Status → "Done"
|
|
492
|
+
- If changes needed: Status stays "Review" with unchecked items for dev
|
|
493
|
+
|
|
494
|
+
**Step 4 - Repeat**: Continue SM → Dev → QA cycle until all epic stories complete
|
|
376
495
|
|
|
377
496
|
**Important**: Only 1 story in progress at a time, worked sequentially until all epic stories complete.
|
|
378
497
|
|
|
@@ -392,12 +511,72 @@ Each status change requires user verification and approval before proceeding.
|
|
|
392
511
|
- Development execution
|
|
393
512
|
- Testing and deployment
|
|
394
513
|
|
|
395
|
-
#### Brownfield Enhancement
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
514
|
+
#### Brownfield Enhancement (Existing Projects)
|
|
515
|
+
|
|
516
|
+
**Key Concept**: Brownfield development requires comprehensive documentation of your existing project for AI agents to understand context, patterns, and constraints.
|
|
517
|
+
|
|
518
|
+
**Complete Brownfield Workflow Options**:
|
|
519
|
+
|
|
520
|
+
**Option 1: PRD-First (Recommended for Large Codebases/Monorepos)**:
|
|
521
|
+
1. **Upload project to Gemini Web** (GitHub URL, files, or zip)
|
|
522
|
+
2. **Create PRD first**: `@pm` → `*create-doc brownfield-prd`
|
|
523
|
+
3. **Focused documentation**: `@analyst` → `*document-project`
|
|
524
|
+
- Analyst asks for focus if no PRD provided
|
|
525
|
+
- Choose "single document" format for Web UI
|
|
526
|
+
- Uses PRD to document ONLY relevant areas
|
|
527
|
+
- Creates one comprehensive markdown file
|
|
528
|
+
- Avoids bloating docs with unused code
|
|
529
|
+
|
|
530
|
+
**Option 2: Document-First (Good for Smaller Projects)**:
|
|
531
|
+
1. **Upload project to Gemini Web**
|
|
532
|
+
2. **Document everything**: `@analyst` → `*document-project`
|
|
533
|
+
3. **Then create PRD**: `@pm` → `*create-doc brownfield-prd`
|
|
534
|
+
- More thorough but can create excessive documentation
|
|
535
|
+
|
|
536
|
+
2. **Requirements Gathering**:
|
|
537
|
+
- **Brownfield PRD**: Use PM agent with `brownfield-prd-tmpl`
|
|
538
|
+
- **Analyzes**: Existing system, constraints, integration points
|
|
539
|
+
- **Defines**: Enhancement scope, compatibility requirements, risk assessment
|
|
540
|
+
- **Creates**: Epic and story structure for changes
|
|
541
|
+
|
|
542
|
+
3. **Architecture Planning**:
|
|
543
|
+
- **Brownfield Architecture**: Use Architect agent with `brownfield-architecture-tmpl`
|
|
544
|
+
- **Integration Strategy**: How new features integrate with existing system
|
|
545
|
+
- **Migration Planning**: Gradual rollout and backwards compatibility
|
|
546
|
+
- **Risk Mitigation**: Addressing potential breaking changes
|
|
547
|
+
|
|
548
|
+
**Brownfield-Specific Resources**:
|
|
549
|
+
|
|
550
|
+
**Templates**:
|
|
551
|
+
- `brownfield-prd-tmpl.md`: Comprehensive enhancement planning with existing system analysis
|
|
552
|
+
- `brownfield-architecture-tmpl.md`: Integration-focused architecture for existing systems
|
|
553
|
+
|
|
554
|
+
**Tasks**:
|
|
555
|
+
- `document-project`: Generates comprehensive documentation from existing codebase
|
|
556
|
+
- `brownfield-create-epic`: Creates single epic for focused enhancements (when full PRD is overkill)
|
|
557
|
+
- `brownfield-create-story`: Creates individual story for small, isolated changes
|
|
558
|
+
|
|
559
|
+
**When to Use Each Approach**:
|
|
560
|
+
|
|
561
|
+
**Full Brownfield Workflow** (Recommended for):
|
|
562
|
+
- Major feature additions
|
|
563
|
+
- System modernization
|
|
564
|
+
- Complex integrations
|
|
565
|
+
- Multiple related changes
|
|
566
|
+
|
|
567
|
+
**Quick Epic/Story Creation** (Use when):
|
|
568
|
+
- Single, focused enhancement
|
|
569
|
+
- Isolated bug fixes
|
|
570
|
+
- Small feature additions
|
|
571
|
+
- Well-documented existing system
|
|
572
|
+
|
|
573
|
+
**Critical Success Factors**:
|
|
574
|
+
1. **Documentation First**: Always run `document-project` if docs are outdated/missing
|
|
575
|
+
2. **Context Matters**: Provide agents access to relevant code sections
|
|
576
|
+
3. **Integration Focus**: Emphasize compatibility and non-breaking changes
|
|
577
|
+
4. **Incremental Approach**: Plan for gradual rollout and testing
|
|
578
|
+
|
|
579
|
+
**For detailed guide**: See `docs/working-in-the-brownfield.md`
|
|
401
580
|
|
|
402
581
|
## Document Creation Best Practices
|
|
403
582
|
|
|
@@ -478,9 +657,91 @@ Use the `shard-doc` task or `@kayvan/markdown-tree-parser` tool for automatic sh
|
|
|
478
657
|
- **Keep conversations focused** - One agent, one task per conversation
|
|
479
658
|
- **Review everything** - Always review and approve before marking complete
|
|
480
659
|
|
|
660
|
+
## Contributing to BMAD-METHOD
|
|
661
|
+
|
|
662
|
+
### Quick Contribution Guidelines
|
|
663
|
+
|
|
664
|
+
For full details, see `CONTRIBUTING.md`. Key points:
|
|
665
|
+
|
|
666
|
+
**Fork Workflow**:
|
|
667
|
+
1. Fork the repository
|
|
668
|
+
2. Create feature branches
|
|
669
|
+
3. Submit PRs to `next` branch (default) or `main` for critical fixes only
|
|
670
|
+
4. Keep PRs small: 200-400 lines ideal, 800 lines maximum
|
|
671
|
+
5. One feature/fix per PR
|
|
672
|
+
|
|
673
|
+
**PR Requirements**:
|
|
674
|
+
- Clear descriptions (max 200 words) with What/Why/How/Testing
|
|
675
|
+
- Use conventional commits (feat:, fix:, docs:)
|
|
676
|
+
- Atomic commits - one logical change per commit
|
|
677
|
+
- Must align with guiding principles
|
|
678
|
+
|
|
679
|
+
**Core Principles** (from GUIDING-PRINCIPLES.md):
|
|
680
|
+
- **Dev Agents Must Be Lean**: Minimize dependencies, save context for code
|
|
681
|
+
- **Natural Language First**: Everything in markdown, no code in core
|
|
682
|
+
- **Core vs Expansion Packs**: Core for universal needs, packs for specialized domains
|
|
683
|
+
- **Design Philosophy**: "Dev agents code, planning agents plan"
|
|
684
|
+
|
|
685
|
+
## Expansion Packs
|
|
686
|
+
|
|
687
|
+
### What Are Expansion Packs?
|
|
688
|
+
|
|
689
|
+
Expansion packs extend BMAD-METHOD beyond traditional software development into ANY domain. They provide specialized agent teams, templates, and workflows while keeping the core framework lean and focused on development.
|
|
690
|
+
|
|
691
|
+
### Why Use Expansion Packs?
|
|
692
|
+
|
|
693
|
+
1. **Keep Core Lean**: Dev agents maintain maximum context for coding
|
|
694
|
+
2. **Domain Expertise**: Deep, specialized knowledge without bloating core
|
|
695
|
+
3. **Community Innovation**: Anyone can create and share packs
|
|
696
|
+
4. **Modular Design**: Install only what you need
|
|
697
|
+
|
|
698
|
+
### Available Expansion Packs
|
|
699
|
+
|
|
700
|
+
**Technical Packs**:
|
|
701
|
+
- **Infrastructure/DevOps**: Cloud architects, SRE experts, security specialists
|
|
702
|
+
- **Game Development**: Game designers, level designers, narrative writers
|
|
703
|
+
- **Mobile Development**: iOS/Android specialists, mobile UX experts
|
|
704
|
+
- **Data Science**: ML engineers, data scientists, visualization experts
|
|
705
|
+
|
|
706
|
+
**Non-Technical Packs**:
|
|
707
|
+
- **Business Strategy**: Consultants, financial analysts, marketing strategists
|
|
708
|
+
- **Creative Writing**: Plot architects, character developers, world builders
|
|
709
|
+
- **Health & Wellness**: Fitness trainers, nutritionists, habit engineers
|
|
710
|
+
- **Education**: Curriculum designers, assessment specialists
|
|
711
|
+
- **Legal Support**: Contract analysts, compliance checkers
|
|
712
|
+
|
|
713
|
+
**Specialty Packs**:
|
|
714
|
+
- **Expansion Creator**: Tools to build your own expansion packs
|
|
715
|
+
- **RPG Game Master**: Tabletop gaming assistance
|
|
716
|
+
- **Life Event Planning**: Wedding planners, event coordinators
|
|
717
|
+
- **Scientific Research**: Literature reviewers, methodology designers
|
|
718
|
+
|
|
719
|
+
### Using Expansion Packs
|
|
720
|
+
|
|
721
|
+
1. **Browse Available Packs**: Check `expansion-packs/` directory
|
|
722
|
+
2. **Get Inspiration**: See `docs/expansion-pack-ideas.md` for detailed examples
|
|
723
|
+
3. **Install via CLI**:
|
|
724
|
+
```bash
|
|
725
|
+
npx bmad-method install
|
|
726
|
+
# Select "Install expansion pack" option
|
|
727
|
+
```
|
|
728
|
+
4. **Use in Your Workflow**: Installed packs integrate seamlessly with existing agents
|
|
729
|
+
|
|
730
|
+
### Creating Custom Expansion Packs
|
|
731
|
+
|
|
732
|
+
Use the **expansion-creator** pack to build your own:
|
|
733
|
+
|
|
734
|
+
1. **Define Domain**: What expertise are you capturing?
|
|
735
|
+
2. **Design Agents**: Create specialized roles with clear boundaries
|
|
736
|
+
3. **Build Resources**: Tasks, templates, checklists for your domain
|
|
737
|
+
4. **Test & Share**: Validate with real use cases, share with community
|
|
738
|
+
|
|
739
|
+
**Key Principle**: Expansion packs democratize expertise by making specialized knowledge accessible through AI agents.
|
|
740
|
+
|
|
481
741
|
## Getting Help
|
|
482
742
|
|
|
483
743
|
- **Commands**: Use `/help` in any environment to see available commands
|
|
484
744
|
- **Agent Switching**: Use `/switch agent-name` with orchestrator for role changes
|
|
485
745
|
- **Documentation**: Check `docs/` folder for project-specific context
|
|
486
746
|
- **Community**: Discord and GitHub resources available for support
|
|
747
|
+
- **Contributing**: See `CONTRIBUTING.md` for full guidelines
|