bmad-method 4.14.0 → 4.14.1

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.
@@ -1047,10 +1047,16 @@ This architecture enables seamless operation across environments while maintaini
1047
1047
 
1048
1048
  ## Complete Development Workflow
1049
1049
 
1050
- ### Planning Phase (Web UI Recommended)
1050
+ ### Planning Phase (Web UI Recommended - Especially Gemini!)
1051
1051
 
1052
- **Ideal for cost efficiency, especially with Gemini:**
1052
+ **Ideal for cost efficiency with Gemini's massive context:**
1053
1053
 
1054
+ **For Brownfield Projects - Start Here!**:
1055
+ 1. **Upload entire project to Gemini Web** (GitHub URL, files, or zip)
1056
+ 2. **Document existing system**: `/analyst` → `*document-project`
1057
+ 3. **Creates comprehensive docs** from entire codebase analysis
1058
+
1059
+ **For All Projects**:
1054
1060
  1. **Optional Analysis**: `/analyst` - Market research, competitive analysis
1055
1061
  2. **Project Brief**: Create foundation document (Analyst or user)
1056
1062
  3. **PRD Creation**: `/pm create-doc prd` - Comprehensive product requirements
@@ -1154,25 +1160,70 @@ Each status change requires user verification and approval before proceeding.
1154
1160
 
1155
1161
  #### Brownfield Enhancement (Existing Projects)
1156
1162
 
1157
- **Key Concept**: Brownfield development requires generating good documentation for agents to understand your existing project.
1158
-
1159
- **Recommended Approach**:
1160
- 1. **Analysis Phase**: Use Gemini Web or AI Studio with their 1M+ context windows
1161
- 2. **Document Generation**: Ask Architect agent to analyze your project and run `document-project` task
1162
- 3. **PRD Creation**: Even brownfield projects typically need a PRD unless:
1163
- - Very small, focused changes
1164
- - Using `brownfield-create-epic` for single epic without full PRD
1165
- 4. **Architecture Assessment**: Use brownfield-specific templates for complex enhancements
1166
-
1167
- **Brownfield Templates Available**:
1168
- - `brownfield-prd-tmpl.md`: For substantial enhancements requiring multiple stories
1169
- - `brownfield-architecture-tmpl.md`: For complex changes impacting system architecture
1170
- - Both templates emphasize compatibility and integration with existing systems
1171
-
1172
- **When to Skip PRD**:
1173
- - For focused, single-epic work, use `brownfield-create-epic` task with detailed guidance
1174
- - For one-off stories without larger context
1175
- - Note: These tasks will evolve to require some documentation (potentially from `document-project`)
1163
+ **Key Concept**: Brownfield development requires comprehensive documentation of your existing project for AI agents to understand context, patterns, and constraints.
1164
+
1165
+ **Complete Brownfield Workflow Options**:
1166
+
1167
+ **Option 1: PRD-First (Recommended for Large Codebases/Monorepos)**:
1168
+ 1. **Upload project to Gemini Web** (GitHub URL, files, or zip)
1169
+ 2. **Create PRD first**: `@pm` → `*create-doc brownfield-prd`
1170
+ 3. **Focused documentation**: `@analyst` → `*document-project`
1171
+ - Analyst asks for focus if no PRD provided
1172
+ - Choose "single document" format for Web UI
1173
+ - Uses PRD to document ONLY relevant areas
1174
+ - Creates one comprehensive markdown file
1175
+ - Avoids bloating docs with unused code
1176
+
1177
+ **Option 2: Document-First (Good for Smaller Projects)**:
1178
+ 1. **Upload project to Gemini Web**
1179
+ 2. **Document everything**: `@analyst` `*document-project`
1180
+ 3. **Then create PRD**: `@pm` `*create-doc brownfield-prd`
1181
+ - More thorough but can create excessive documentation
1182
+
1183
+ 2. **Requirements Gathering**:
1184
+ - **Brownfield PRD**: Use PM agent with `brownfield-prd-tmpl`
1185
+ - **Analyzes**: Existing system, constraints, integration points
1186
+ - **Defines**: Enhancement scope, compatibility requirements, risk assessment
1187
+ - **Creates**: Epic and story structure for changes
1188
+
1189
+ 3. **Architecture Planning**:
1190
+ - **Brownfield Architecture**: Use Architect agent with `brownfield-architecture-tmpl`
1191
+ - **Integration Strategy**: How new features integrate with existing system
1192
+ - **Migration Planning**: Gradual rollout and backwards compatibility
1193
+ - **Risk Mitigation**: Addressing potential breaking changes
1194
+
1195
+ **Brownfield-Specific Resources**:
1196
+
1197
+ **Templates**:
1198
+ - `brownfield-prd-tmpl.md`: Comprehensive enhancement planning with existing system analysis
1199
+ - `brownfield-architecture-tmpl.md`: Integration-focused architecture for existing systems
1200
+
1201
+ **Tasks**:
1202
+ - `document-project`: Generates comprehensive documentation from existing codebase
1203
+ - `brownfield-create-epic`: Creates single epic for focused enhancements (when full PRD is overkill)
1204
+ - `brownfield-create-story`: Creates individual story for small, isolated changes
1205
+
1206
+ **When to Use Each Approach**:
1207
+
1208
+ **Full Brownfield Workflow** (Recommended for):
1209
+ - Major feature additions
1210
+ - System modernization
1211
+ - Complex integrations
1212
+ - Multiple related changes
1213
+
1214
+ **Quick Epic/Story Creation** (Use when):
1215
+ - Single, focused enhancement
1216
+ - Isolated bug fixes
1217
+ - Small feature additions
1218
+ - Well-documented existing system
1219
+
1220
+ **Critical Success Factors**:
1221
+ 1. **Documentation First**: Always run `document-project` if docs are outdated/missing
1222
+ 2. **Context Matters**: Provide agents access to relevant code sections
1223
+ 3. **Integration Focus**: Emphasize compatibility and non-breaking changes
1224
+ 4. **Incremental Approach**: Plan for gradual rollout and testing
1225
+
1226
+ **For detailed guide**: See `docs/working-in-the-brownfield.md`
1176
1227
 
1177
1228
  ## Document Creation Best Practices
1178
1229