bmad-method 4.28.0 → 4.29.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/bmad-core/agents/bmad-master.md +0 -2
  3. package/bmad-core/agents/bmad-orchestrator.md +0 -3
  4. package/bmad-core/core-config.yaml +1 -5
  5. package/bmad-core/data/bmad-kb.md +2 -2
  6. package/bmad-core/tasks/correct-course.md +9 -12
  7. package/bmad-core/tasks/create-brownfield-story.md +10 -61
  8. package/bmad-core/tasks/create-deep-research-prompt.md +5 -17
  9. package/bmad-core/tasks/create-next-story.md +3 -4
  10. package/bmad-core/tasks/document-project.md +37 -13
  11. package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
  12. package/bmad-core/tasks/generate-ai-frontend-prompt.md +1 -1
  13. package/bmad-core/tasks/kb-mode-interaction.md +8 -3
  14. package/bmad-core/tasks/review-story.md +3 -3
  15. package/bmad-core/tasks/shard-doc.md +5 -9
  16. package/common/tasks/create-doc.md +4 -0
  17. package/dist/agents/analyst.txt +43 -31
  18. package/dist/agents/architect.txt +42 -30
  19. package/dist/agents/bmad-master.txt +61 -602
  20. package/dist/agents/bmad-orchestrator.txt +7 -548
  21. package/dist/agents/pm.txt +19 -38
  22. package/dist/agents/po.txt +14 -21
  23. package/dist/agents/qa.txt +3 -3
  24. package/dist/agents/sm.txt +11 -15
  25. package/dist/agents/ux-expert.txt +6 -18
  26. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +5 -17
  27. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +50 -579
  28. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +5 -17
  29. package/dist/teams/team-all.txt +70 -607
  30. package/dist/teams/team-fullstack.txt +65 -601
  31. package/dist/teams/team-ide-minimal.txt +26 -575
  32. package/dist/teams/team-no-ui.txt +64 -600
  33. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -0
  34. package/expansion-packs/bmad-creator-tools/config.yaml +1 -0
  35. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -0
  36. package/package.json +1 -1
  37. package/tools/installer/lib/ide-setup.js +325 -12
  38. package/tools/installer/package.json +1 -1
  39. package/bmad-core/tasks/create-workflow-plan.md +0 -289
  40. package/bmad-core/tasks/doc-migration-task.md +0 -143
  41. package/bmad-core/tasks/update-workflow-plan.md +0 -248
@@ -185,9 +185,9 @@ User can type `#yolo` to toggle to YOLO mode (process all sections at once).
185
185
 
186
186
  ## Purpose
187
187
 
188
- - Guide a structured response to a change trigger using the `change-checklist`.
188
+ - Guide a structured response to a change trigger using the `.bmad-core/checklists/change-checklist`.
189
189
  - Analyze the impacts of the change on epics, project artifacts, and the MVP, guided by the checklist's structure.
190
- - Explore potential solutions (e.g., adjust scope, rollback elements, rescope features) as prompted by the checklist.
190
+ - Explore potential solutions (e.g., adjust scope, rollback elements, re-scope features) as prompted by the checklist.
191
191
  - Draft specific, actionable proposed updates to any affected project artifacts (e.g., epics, user stories, PRD sections, architecture document sections) based on the analysis.
192
192
  - Produce a consolidated "Sprint Change Proposal" document that contains the impact analysis and the clearly drafted proposed edits for user review and approval.
193
193
  - Ensure a clear handoff path if the nature of the changes necessitates fundamental replanning by other core agents (like PM or Architect).
@@ -199,19 +199,16 @@ User can type `#yolo` to toggle to YOLO mode (process all sections at once).
199
199
  - **Acknowledge Task & Inputs:**
200
200
  - Confirm with the user that the "Correct Course Task" (Change Navigation & Integration) is being initiated.
201
201
  - Verify the change trigger and ensure you have the user's initial explanation of the issue and its perceived impact.
202
- - Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `change-checklist` (e.g., `change-checklist`).
202
+ - Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `.bmad-core/checklists/change-checklist`.
203
203
  - **Establish Interaction Mode:**
204
204
  - Ask the user their preferred interaction mode for this task:
205
- - **"Incrementally (Default & Recommended):** Shall we work through the `change-checklist` section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
205
+ - **"Incrementally (Default & Recommended):** Shall we work through the change-checklist section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
206
206
  - **"YOLO Mode (Batch Processing):** Or, would you prefer I conduct a more batched analysis based on the checklist and then present a consolidated set of findings and proposed changes for a broader review? This can be quicker for initial assessment but might require more extensive review of the combined proposals."
207
- - Request the user to select their preferred mode.
208
- - Once the user chooses, confirm the selected mode (e.g., "Okay, we will proceed in Incremental mode."). This chosen mode will govern how subsequent steps in this task are executed.
209
- - **Explain Process:** Briefly inform the user: "We will now use the `change-checklist` to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
210
- <rule>When asking multiple questions or presenting multiple points for user input at once, number them clearly (e.g., 1., 2a., 2b.) to make it easier for the user to provide specific responses.</rule>
207
+ - Once the user chooses, confirm the selected mode and then inform the user: "We will now use the change-checklist to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
211
208
 
212
209
  ### 2. Execute Checklist Analysis (Iteratively or Batched, per Interaction Mode)
213
210
 
214
- - Systematically work through Sections 1-4 of the `change-checklist` (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
211
+ - Systematically work through Sections 1-4 of the change-checklist (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
215
212
  - For each checklist item or logical group of items (depending on interaction mode):
216
213
  - Present the relevant prompt(s) or considerations from the checklist to the user.
217
214
  - Request necessary information and actively analyze the relevant project artifacts (PRD, epics, architecture documents, story history, etc.) to assess the impact.
@@ -234,7 +231,7 @@ User can type `#yolo` to toggle to YOLO mode (process all sections at once).
234
231
 
235
232
  ### 4. Generate "Sprint Change Proposal" with Edits
236
233
 
237
- - Synthesize the complete `change-checklist` analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the `change-checklist` (Proposal Components).
234
+ - Synthesize the complete change-checklist analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the change-checklist.
238
235
  - The proposal must clearly present:
239
236
  - **Analysis Summary:** A concise overview of the original issue, its analyzed impact (on epics, artifacts, MVP scope), and the rationale for the chosen path forward.
240
237
  - **Specific Proposed Edits:** For each affected artifact, clearly show or describe the exact changes (e.g., "Change Story X.Y from: [old text] To: [new text]", "Add new Acceptance Criterion to Story A.B: [new AC]", "Update Section 3.2 of Architecture Document as follows: [new/modified text or diagram description]").
@@ -251,9 +248,9 @@ User can type `#yolo` to toggle to YOLO mode (process all sections at once).
251
248
  ## Output Deliverables
252
249
 
253
250
  - **Primary:** A "Sprint Change Proposal" document (in markdown format). This document will contain:
254
- - A summary of the `change-checklist` analysis (issue, impact, rationale for the chosen path).
251
+ - A summary of the change-checklist analysis (issue, impact, rationale for the chosen path).
255
252
  - Specific, clearly drafted proposed edits for all affected project artifacts.
256
- - **Implicit:** An annotated `change-checklist` (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
253
+ - **Implicit:** An annotated change-checklist (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
257
254
  ==================== END: .bmad-core/tasks/correct-course.md ====================
258
255
 
259
256
  ==================== START: .bmad-core/tasks/create-deep-research-prompt.md ====================
@@ -273,7 +270,7 @@ Generate well-structured research prompts that:
273
270
 
274
271
  ## Research Type Selection
275
272
 
276
- [[LLM: First, help the user select the most appropriate research focus based on their needs and any input documents they've provided.]]
273
+ CRITICAL: First, help the user select the most appropriate research focus based on their needs and any input documents they've provided.
277
274
 
278
275
  ### 1. Research Focus Options
279
276
 
@@ -336,15 +333,13 @@ Present these numbered options to the user:
336
333
  - Consider regulatory and legal implications
337
334
 
338
335
  9. **Custom Research Focus**
339
- [[LLM: Allow user to define their own specific research focus.]]
336
+
340
337
  - User-defined research objectives
341
338
  - Specialized domain investigation
342
339
  - Cross-functional research needs
343
340
 
344
341
  ### 2. Input Processing
345
342
 
346
- [[LLM: Based on the selected research type and any provided inputs (project brief, brainstorming results, etc.), extract relevant context and constraints.]]
347
-
348
343
  **If Project Brief provided:**
349
344
 
350
345
  - Extract key product concepts and goals
@@ -377,11 +372,11 @@ Present these numbered options to the user:
377
372
 
378
373
  ### 3. Research Prompt Structure
379
374
 
380
- [[LLM: Based on the selected research type and context, collaboratively develop a comprehensive research prompt with these components.]]
375
+ CRITICAL: collaboratively develop a comprehensive research prompt with these components.
381
376
 
382
377
  #### A. Research Objectives
383
378
 
384
- [[LLM: Work with the user to articulate clear, specific objectives for the research.]]
379
+ CRITICAL: collaborate with the user to articulate clear, specific objectives for the research.
385
380
 
386
381
  - Primary research goal and purpose
387
382
  - Key decisions the research will inform
@@ -390,7 +385,7 @@ Present these numbered options to the user:
390
385
 
391
386
  #### B. Research Questions
392
387
 
393
- [[LLM: Develop specific, actionable research questions organized by theme.]]
388
+ CRITICAL: collaborate with the user to develop specific, actionable research questions organized by theme.
394
389
 
395
390
  **Core Questions:**
396
391
 
@@ -406,8 +401,6 @@ Present these numbered options to the user:
406
401
 
407
402
  #### C. Research Methodology
408
403
 
409
- [[LLM: Specify appropriate research methods based on the type and objectives.]]
410
-
411
404
  **Data Collection Methods:**
412
405
 
413
406
  - Secondary research sources
@@ -424,8 +417,6 @@ Present these numbered options to the user:
424
417
 
425
418
  #### D. Output Requirements
426
419
 
427
- [[LLM: Define how research findings should be structured and presented.]]
428
-
429
420
  **Format Specifications:**
430
421
 
431
422
  - Executive summary requirements
@@ -442,8 +433,6 @@ Present these numbered options to the user:
442
433
 
443
434
  ### 4. Prompt Generation
444
435
 
445
- [[LLM: Synthesize all elements into a comprehensive, ready-to-use research prompt.]]
446
-
447
436
  **Research Prompt Template:**
448
437
 
449
438
  ```markdown
@@ -512,8 +501,6 @@ Present these numbered options to the user:
512
501
 
513
502
  ### 5. Review and Refinement
514
503
 
515
- [[LLM: Present the draft research prompt for user review and refinement.]]
516
-
517
504
  1. **Present Complete Prompt**
518
505
 
519
506
  - Show the full research prompt
@@ -535,8 +522,6 @@ Present these numbered options to the user:
535
522
 
536
523
  ### 6. Next Steps Guidance
537
524
 
538
- [[LLM: Provide clear guidance on how to use the research prompt.]]
539
-
540
525
  **Execution Options:**
541
526
 
542
527
  1. **Use with AI Research Assistant**: Provide this prompt to an AI model with research capabilities
@@ -980,20 +965,20 @@ The LLM will:
980
965
 
981
966
  ## Primary Method: Automatic with markdown-tree
982
967
 
983
- [[LLM: First, check if markdownExploder is set to true in bmad-core/core-config.yaml. If it is, attempt to run the command: `md-tree explode {input file} {output path}`.
968
+ [[LLM: First, check if markdownExploder is set to true in .bmad-core/core-config.yaml. If it is, attempt to run the command: `md-tree explode {input file} {output path}`.
984
969
 
985
970
  If the command succeeds, inform the user that the document has been sharded successfully and STOP - do not proceed further.
986
971
 
987
972
  If the command fails (especially with an error indicating the command is not found or not available), inform the user: "The markdownExploder setting is enabled but the md-tree command is not available. Please either:
988
973
 
989
974
  1. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
990
- 2. Or set markdownExploder to false in bmad-core/core-config.yaml
975
+ 2. Or set markdownExploder to false in .bmad-core/core-config.yaml
991
976
 
992
977
  **IMPORTANT: STOP HERE - do not proceed with manual sharding until one of the above actions is taken.**"
993
978
 
994
979
  If markdownExploder is set to false, inform the user: "The markdownExploder setting is currently false. For better performance and reliability, you should:
995
980
 
996
- 1. Set markdownExploder to true in bmad-core/core-config.yaml
981
+ 1. Set markdownExploder to true in .bmad-core/core-config.yaml
997
982
  2. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
998
983
 
999
984
  I will now proceed with the manual sharding process."
@@ -1033,8 +1018,6 @@ If the user has @kayvan/markdown-tree-parser installed, use it and skip the manu
1033
1018
 
1034
1019
  ## Manual Method (if @kayvan/markdown-tree-parser is not available or user indicated manual method)
1035
1020
 
1036
- [[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use @kayvan/markdown-tree-parser.]]
1037
-
1038
1021
  ### Task Instructions
1039
1022
 
1040
1023
  1. Identify Document and Target Location
@@ -1045,7 +1028,7 @@ If the user has @kayvan/markdown-tree-parser installed, use it and skip the manu
1045
1028
 
1046
1029
  2. Parse and Extract Sections
1047
1030
 
1048
- [[LLM: When sharding the document:
1031
+ CRITICAL AEGNT SHARDING RULES:
1049
1032
 
1050
1033
  1. Read the entire document content
1051
1034
  2. Identify all level 2 sections (## headings)
@@ -1106,8 +1089,6 @@ Create an `index.md` file in the sharded folder that:
1106
1089
 
1107
1090
  ### 5. Preserve Special Content
1108
1091
 
1109
- [[LLM: Pay special attention to preserving:
1110
-
1111
1092
  1. **Code blocks**: Must capture complete blocks including:
1112
1093
 
1113
1094
  ```language
@@ -1129,7 +1110,7 @@ Create an `index.md` file in the sharded folder that:
1129
1110
 
1130
1111
  6. **Links and references**: Keep all markdown links intact
1131
1112
 
1132
- 7. **Template markup**: If documents contain {{placeholders}} or [[LLM instructions]], preserve exactly]]
1113
+ 7. **Template markup**: If documents contain {{placeholders}} ,preserve exactly
1133
1114
 
1134
1115
  ### 6. Validation
1135
1116
 
@@ -209,20 +209,20 @@ The LLM will:
209
209
 
210
210
  ## Primary Method: Automatic with markdown-tree
211
211
 
212
- [[LLM: First, check if markdownExploder is set to true in bmad-core/core-config.yaml. If it is, attempt to run the command: `md-tree explode {input file} {output path}`.
212
+ [[LLM: First, check if markdownExploder is set to true in .bmad-core/core-config.yaml. If it is, attempt to run the command: `md-tree explode {input file} {output path}`.
213
213
 
214
214
  If the command succeeds, inform the user that the document has been sharded successfully and STOP - do not proceed further.
215
215
 
216
216
  If the command fails (especially with an error indicating the command is not found or not available), inform the user: "The markdownExploder setting is enabled but the md-tree command is not available. Please either:
217
217
 
218
218
  1. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
219
- 2. Or set markdownExploder to false in bmad-core/core-config.yaml
219
+ 2. Or set markdownExploder to false in .bmad-core/core-config.yaml
220
220
 
221
221
  **IMPORTANT: STOP HERE - do not proceed with manual sharding until one of the above actions is taken.**"
222
222
 
223
223
  If markdownExploder is set to false, inform the user: "The markdownExploder setting is currently false. For better performance and reliability, you should:
224
224
 
225
- 1. Set markdownExploder to true in bmad-core/core-config.yaml
225
+ 1. Set markdownExploder to true in .bmad-core/core-config.yaml
226
226
  2. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
227
227
 
228
228
  I will now proceed with the manual sharding process."
@@ -262,8 +262,6 @@ If the user has @kayvan/markdown-tree-parser installed, use it and skip the manu
262
262
 
263
263
  ## Manual Method (if @kayvan/markdown-tree-parser is not available or user indicated manual method)
264
264
 
265
- [[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use @kayvan/markdown-tree-parser.]]
266
-
267
265
  ### Task Instructions
268
266
 
269
267
  1. Identify Document and Target Location
@@ -274,7 +272,7 @@ If the user has @kayvan/markdown-tree-parser installed, use it and skip the manu
274
272
 
275
273
  2. Parse and Extract Sections
276
274
 
277
- [[LLM: When sharding the document:
275
+ CRITICAL AEGNT SHARDING RULES:
278
276
 
279
277
  1. Read the entire document content
280
278
  2. Identify all level 2 sections (## headings)
@@ -335,8 +333,6 @@ Create an `index.md` file in the sharded folder that:
335
333
 
336
334
  ### 5. Preserve Special Content
337
335
 
338
- [[LLM: Pay special attention to preserving:
339
-
340
336
  1. **Code blocks**: Must capture complete blocks including:
341
337
 
342
338
  ```language
@@ -358,7 +354,7 @@ Create an `index.md` file in the sharded folder that:
358
354
 
359
355
  6. **Links and references**: Keep all markdown links intact
360
356
 
361
- 7. **Template markup**: If documents contain {{placeholders}} or [[LLM instructions]], preserve exactly]]
357
+ 7. **Template markup**: If documents contain {{placeholders}} ,preserve exactly
362
358
 
363
359
  ### 6. Validation
364
360
 
@@ -397,9 +393,9 @@ Document sharded successfully:
397
393
 
398
394
  ## Purpose
399
395
 
400
- - Guide a structured response to a change trigger using the `change-checklist`.
396
+ - Guide a structured response to a change trigger using the `.bmad-core/checklists/change-checklist`.
401
397
  - Analyze the impacts of the change on epics, project artifacts, and the MVP, guided by the checklist's structure.
402
- - Explore potential solutions (e.g., adjust scope, rollback elements, rescope features) as prompted by the checklist.
398
+ - Explore potential solutions (e.g., adjust scope, rollback elements, re-scope features) as prompted by the checklist.
403
399
  - Draft specific, actionable proposed updates to any affected project artifacts (e.g., epics, user stories, PRD sections, architecture document sections) based on the analysis.
404
400
  - Produce a consolidated "Sprint Change Proposal" document that contains the impact analysis and the clearly drafted proposed edits for user review and approval.
405
401
  - Ensure a clear handoff path if the nature of the changes necessitates fundamental replanning by other core agents (like PM or Architect).
@@ -411,19 +407,16 @@ Document sharded successfully:
411
407
  - **Acknowledge Task & Inputs:**
412
408
  - Confirm with the user that the "Correct Course Task" (Change Navigation & Integration) is being initiated.
413
409
  - Verify the change trigger and ensure you have the user's initial explanation of the issue and its perceived impact.
414
- - Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `change-checklist` (e.g., `change-checklist`).
410
+ - Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `.bmad-core/checklists/change-checklist`.
415
411
  - **Establish Interaction Mode:**
416
412
  - Ask the user their preferred interaction mode for this task:
417
- - **"Incrementally (Default & Recommended):** Shall we work through the `change-checklist` section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
413
+ - **"Incrementally (Default & Recommended):** Shall we work through the change-checklist section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
418
414
  - **"YOLO Mode (Batch Processing):** Or, would you prefer I conduct a more batched analysis based on the checklist and then present a consolidated set of findings and proposed changes for a broader review? This can be quicker for initial assessment but might require more extensive review of the combined proposals."
419
- - Request the user to select their preferred mode.
420
- - Once the user chooses, confirm the selected mode (e.g., "Okay, we will proceed in Incremental mode."). This chosen mode will govern how subsequent steps in this task are executed.
421
- - **Explain Process:** Briefly inform the user: "We will now use the `change-checklist` to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
422
- <rule>When asking multiple questions or presenting multiple points for user input at once, number them clearly (e.g., 1., 2a., 2b.) to make it easier for the user to provide specific responses.</rule>
415
+ - Once the user chooses, confirm the selected mode and then inform the user: "We will now use the change-checklist to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
423
416
 
424
417
  ### 2. Execute Checklist Analysis (Iteratively or Batched, per Interaction Mode)
425
418
 
426
- - Systematically work through Sections 1-4 of the `change-checklist` (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
419
+ - Systematically work through Sections 1-4 of the change-checklist (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
427
420
  - For each checklist item or logical group of items (depending on interaction mode):
428
421
  - Present the relevant prompt(s) or considerations from the checklist to the user.
429
422
  - Request necessary information and actively analyze the relevant project artifacts (PRD, epics, architecture documents, story history, etc.) to assess the impact.
@@ -446,7 +439,7 @@ Document sharded successfully:
446
439
 
447
440
  ### 4. Generate "Sprint Change Proposal" with Edits
448
441
 
449
- - Synthesize the complete `change-checklist` analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the `change-checklist` (Proposal Components).
442
+ - Synthesize the complete change-checklist analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the change-checklist.
450
443
  - The proposal must clearly present:
451
444
  - **Analysis Summary:** A concise overview of the original issue, its analyzed impact (on epics, artifacts, MVP scope), and the rationale for the chosen path forward.
452
445
  - **Specific Proposed Edits:** For each affected artifact, clearly show or describe the exact changes (e.g., "Change Story X.Y from: [old text] To: [new text]", "Add new Acceptance Criterion to Story A.B: [new AC]", "Update Section 3.2 of Architecture Document as follows: [new/modified text or diagram description]").
@@ -463,9 +456,9 @@ Document sharded successfully:
463
456
  ## Output Deliverables
464
457
 
465
458
  - **Primary:** A "Sprint Change Proposal" document (in markdown format). This document will contain:
466
- - A summary of the `change-checklist` analysis (issue, impact, rationale for the chosen path).
459
+ - A summary of the change-checklist analysis (issue, impact, rationale for the chosen path).
467
460
  - Specific, clearly drafted proposed edits for all affected project artifacts.
468
- - **Implicit:** An annotated `change-checklist` (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
461
+ - **Implicit:** An annotated change-checklist (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
469
462
  ==================== END: .bmad-core/tasks/correct-course.md ====================
470
463
 
471
464
  ==================== START: .bmad-core/tasks/brownfield-create-epic.md ====================
@@ -96,9 +96,7 @@ dependencies:
96
96
  ==================== START: .bmad-core/tasks/review-story.md ====================
97
97
  # review-story
98
98
 
99
- When a developer marks a story as "Ready for Review", perform a comprehensive senior developer code review with the ability to refactor and improve code directly.
100
-
101
- [[LLM: QA Agent executing review-story task as Senior Developer]]
99
+ When a developer agent marks a story as "Ready for Review", perform a comprehensive senior developer code review with the ability to refactor and improve code directly.
102
100
 
103
101
  ## Prerequisites
104
102
 
@@ -227,6 +225,7 @@ After review and any refactoring, append your results to the story file in the Q
227
225
  ## Blocking Conditions
228
226
 
229
227
  Stop the review and request clarification if:
228
+
230
229
  - Story file is incomplete or missing critical sections
231
230
  - File List is empty or clearly incomplete
232
231
  - No tests exist when they were required
@@ -236,6 +235,7 @@ Stop the review and request clarification if:
236
235
  ## Completion
237
236
 
238
237
  After review:
238
+
239
239
  1. If all items are checked and approved: Update story status to "Done"
240
240
  2. If unchecked items remain: Keep status as "Review" for dev to address
241
241
  3. Always provide constructive feedback and explanations for learning
@@ -189,15 +189,14 @@ ALWAYS cite source documents: `[Source: architecture/{filename}.md#{section}]`
189
189
  - Verify all source references are included for technical details
190
190
  - Ensure tasks align with both epic requirements and architecture constraints
191
191
  - Update status to "Draft" and save the story file
192
- - If `workflow.trackProgress: true` and `workflow.updateOnCompletion: true`, call update-workflow-plan task to mark story creation step complete
193
- - Execute `tasks/execute-checklist` `checklists/story-draft-checklist`
192
+ - Execute `.bmad-core/tasks/execute-checklist` `.bmad-core/checklists/story-draft-checklist`
194
193
  - Provide summary to user including:
195
194
  - Story created: `{devStoryLocation}/{epicNum}.{storyNum}.story.md`
196
195
  - Status: Draft
197
196
  - Key technical components included from architecture docs
198
197
  - Any deviations or conflicts noted between epic and architecture
199
198
  - Checklist Results
200
- - Next steps: For Complex stories, suggest the user carefully review the story draft and also optionally have the PO run the task `validate-next-story`
199
+ - Next steps: For Complex stories, suggest the user carefully review the story draft and also optionally have the PO run the task `.bmad-core/tasks/validate-next-story`
201
200
  ==================== END: .bmad-core/tasks/create-next-story.md ====================
202
201
 
203
202
  ==================== START: .bmad-core/tasks/execute-checklist.md ====================
@@ -301,9 +300,9 @@ The LLM will:
301
300
 
302
301
  ## Purpose
303
302
 
304
- - Guide a structured response to a change trigger using the `change-checklist`.
303
+ - Guide a structured response to a change trigger using the `.bmad-core/checklists/change-checklist`.
305
304
  - Analyze the impacts of the change on epics, project artifacts, and the MVP, guided by the checklist's structure.
306
- - Explore potential solutions (e.g., adjust scope, rollback elements, rescope features) as prompted by the checklist.
305
+ - Explore potential solutions (e.g., adjust scope, rollback elements, re-scope features) as prompted by the checklist.
307
306
  - Draft specific, actionable proposed updates to any affected project artifacts (e.g., epics, user stories, PRD sections, architecture document sections) based on the analysis.
308
307
  - Produce a consolidated "Sprint Change Proposal" document that contains the impact analysis and the clearly drafted proposed edits for user review and approval.
309
308
  - Ensure a clear handoff path if the nature of the changes necessitates fundamental replanning by other core agents (like PM or Architect).
@@ -315,19 +314,16 @@ The LLM will:
315
314
  - **Acknowledge Task & Inputs:**
316
315
  - Confirm with the user that the "Correct Course Task" (Change Navigation & Integration) is being initiated.
317
316
  - Verify the change trigger and ensure you have the user's initial explanation of the issue and its perceived impact.
318
- - Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `change-checklist` (e.g., `change-checklist`).
317
+ - Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `.bmad-core/checklists/change-checklist`.
319
318
  - **Establish Interaction Mode:**
320
319
  - Ask the user their preferred interaction mode for this task:
321
- - **"Incrementally (Default & Recommended):** Shall we work through the `change-checklist` section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
320
+ - **"Incrementally (Default & Recommended):** Shall we work through the change-checklist section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
322
321
  - **"YOLO Mode (Batch Processing):** Or, would you prefer I conduct a more batched analysis based on the checklist and then present a consolidated set of findings and proposed changes for a broader review? This can be quicker for initial assessment but might require more extensive review of the combined proposals."
323
- - Request the user to select their preferred mode.
324
- - Once the user chooses, confirm the selected mode (e.g., "Okay, we will proceed in Incremental mode."). This chosen mode will govern how subsequent steps in this task are executed.
325
- - **Explain Process:** Briefly inform the user: "We will now use the `change-checklist` to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
326
- <rule>When asking multiple questions or presenting multiple points for user input at once, number them clearly (e.g., 1., 2a., 2b.) to make it easier for the user to provide specific responses.</rule>
322
+ - Once the user chooses, confirm the selected mode and then inform the user: "We will now use the change-checklist to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
327
323
 
328
324
  ### 2. Execute Checklist Analysis (Iteratively or Batched, per Interaction Mode)
329
325
 
330
- - Systematically work through Sections 1-4 of the `change-checklist` (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
326
+ - Systematically work through Sections 1-4 of the change-checklist (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
331
327
  - For each checklist item or logical group of items (depending on interaction mode):
332
328
  - Present the relevant prompt(s) or considerations from the checklist to the user.
333
329
  - Request necessary information and actively analyze the relevant project artifacts (PRD, epics, architecture documents, story history, etc.) to assess the impact.
@@ -350,7 +346,7 @@ The LLM will:
350
346
 
351
347
  ### 4. Generate "Sprint Change Proposal" with Edits
352
348
 
353
- - Synthesize the complete `change-checklist` analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the `change-checklist` (Proposal Components).
349
+ - Synthesize the complete change-checklist analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the change-checklist.
354
350
  - The proposal must clearly present:
355
351
  - **Analysis Summary:** A concise overview of the original issue, its analyzed impact (on epics, artifacts, MVP scope), and the rationale for the chosen path forward.
356
352
  - **Specific Proposed Edits:** For each affected artifact, clearly show or describe the exact changes (e.g., "Change Story X.Y from: [old text] To: [new text]", "Add new Acceptance Criterion to Story A.B: [new AC]", "Update Section 3.2 of Architecture Document as follows: [new/modified text or diagram description]").
@@ -367,9 +363,9 @@ The LLM will:
367
363
  ## Output Deliverables
368
364
 
369
365
  - **Primary:** A "Sprint Change Proposal" document (in markdown format). This document will contain:
370
- - A summary of the `change-checklist` analysis (issue, impact, rationale for the chosen path).
366
+ - A summary of the change-checklist analysis (issue, impact, rationale for the chosen path).
371
367
  - Specific, clearly drafted proposed edits for all affected project artifacts.
372
- - **Implicit:** An annotated `change-checklist` (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
368
+ - **Implicit:** An annotated change-checklist (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
373
369
  ==================== END: .bmad-core/tasks/correct-course.md ====================
374
370
 
375
371
  ==================== START: .bmad-core/templates/story-tmpl.yaml ====================
@@ -101,7 +101,7 @@ To generate a masterful, comprehensive, and optimized prompt that can be used wi
101
101
 
102
102
  ## Inputs
103
103
 
104
- - Completed UI/UX Specification (`front-end-spec`)
104
+ - Completed UI/UX Specification (`front-end-spec.md`)
105
105
  - Completed Frontend Architecture Document (`front-end-architecture`) or a full stack combined architecture such as `architecture.md`
106
106
  - Main System Architecture Document (`architecture` - for API contracts and tech stack to give further context)
107
107
 
@@ -163,7 +163,7 @@ Generate well-structured research prompts that:
163
163
 
164
164
  ## Research Type Selection
165
165
 
166
- [[LLM: First, help the user select the most appropriate research focus based on their needs and any input documents they've provided.]]
166
+ CRITICAL: First, help the user select the most appropriate research focus based on their needs and any input documents they've provided.
167
167
 
168
168
  ### 1. Research Focus Options
169
169
 
@@ -226,15 +226,13 @@ Present these numbered options to the user:
226
226
  - Consider regulatory and legal implications
227
227
 
228
228
  9. **Custom Research Focus**
229
- [[LLM: Allow user to define their own specific research focus.]]
229
+
230
230
  - User-defined research objectives
231
231
  - Specialized domain investigation
232
232
  - Cross-functional research needs
233
233
 
234
234
  ### 2. Input Processing
235
235
 
236
- [[LLM: Based on the selected research type and any provided inputs (project brief, brainstorming results, etc.), extract relevant context and constraints.]]
237
-
238
236
  **If Project Brief provided:**
239
237
 
240
238
  - Extract key product concepts and goals
@@ -267,11 +265,11 @@ Present these numbered options to the user:
267
265
 
268
266
  ### 3. Research Prompt Structure
269
267
 
270
- [[LLM: Based on the selected research type and context, collaboratively develop a comprehensive research prompt with these components.]]
268
+ CRITICAL: collaboratively develop a comprehensive research prompt with these components.
271
269
 
272
270
  #### A. Research Objectives
273
271
 
274
- [[LLM: Work with the user to articulate clear, specific objectives for the research.]]
272
+ CRITICAL: collaborate with the user to articulate clear, specific objectives for the research.
275
273
 
276
274
  - Primary research goal and purpose
277
275
  - Key decisions the research will inform
@@ -280,7 +278,7 @@ Present these numbered options to the user:
280
278
 
281
279
  #### B. Research Questions
282
280
 
283
- [[LLM: Develop specific, actionable research questions organized by theme.]]
281
+ CRITICAL: collaborate with the user to develop specific, actionable research questions organized by theme.
284
282
 
285
283
  **Core Questions:**
286
284
 
@@ -296,8 +294,6 @@ Present these numbered options to the user:
296
294
 
297
295
  #### C. Research Methodology
298
296
 
299
- [[LLM: Specify appropriate research methods based on the type and objectives.]]
300
-
301
297
  **Data Collection Methods:**
302
298
 
303
299
  - Secondary research sources
@@ -314,8 +310,6 @@ Present these numbered options to the user:
314
310
 
315
311
  #### D. Output Requirements
316
312
 
317
- [[LLM: Define how research findings should be structured and presented.]]
318
-
319
313
  **Format Specifications:**
320
314
 
321
315
  - Executive summary requirements
@@ -332,8 +326,6 @@ Present these numbered options to the user:
332
326
 
333
327
  ### 4. Prompt Generation
334
328
 
335
- [[LLM: Synthesize all elements into a comprehensive, ready-to-use research prompt.]]
336
-
337
329
  **Research Prompt Template:**
338
330
 
339
331
  ```markdown
@@ -402,8 +394,6 @@ Present these numbered options to the user:
402
394
 
403
395
  ### 5. Review and Refinement
404
396
 
405
- [[LLM: Present the draft research prompt for user review and refinement.]]
406
-
407
397
  1. **Present Complete Prompt**
408
398
 
409
399
  - Show the full research prompt
@@ -425,8 +415,6 @@ Present these numbered options to the user:
425
415
 
426
416
  ### 6. Next Steps Guidance
427
417
 
428
- [[LLM: Provide clear guidance on how to use the research prompt.]]
429
-
430
418
  **Execution Options:**
431
419
 
432
420
  1. **Use with AI Research Assistant**: Provide this prompt to an AI model with research capabilities
@@ -603,7 +603,7 @@ Generate well-structured research prompts that:
603
603
 
604
604
  ## Research Type Selection
605
605
 
606
- [[LLM: First, help the user select the most appropriate research focus based on their needs and any input documents they've provided.]]
606
+ CRITICAL: First, help the user select the most appropriate research focus based on their needs and any input documents they've provided.
607
607
 
608
608
  ### 1. Research Focus Options
609
609
 
@@ -666,15 +666,13 @@ Present these numbered options to the user:
666
666
  - Consider regulatory and legal implications
667
667
 
668
668
  9. **Custom Research Focus**
669
- [[LLM: Allow user to define their own specific research focus.]]
669
+
670
670
  - User-defined research objectives
671
671
  - Specialized domain investigation
672
672
  - Cross-functional research needs
673
673
 
674
674
  ### 2. Input Processing
675
675
 
676
- [[LLM: Based on the selected research type and any provided inputs (project brief, brainstorming results, etc.), extract relevant context and constraints.]]
677
-
678
676
  **If Project Brief provided:**
679
677
 
680
678
  - Extract key product concepts and goals
@@ -707,11 +705,11 @@ Present these numbered options to the user:
707
705
 
708
706
  ### 3. Research Prompt Structure
709
707
 
710
- [[LLM: Based on the selected research type and context, collaboratively develop a comprehensive research prompt with these components.]]
708
+ CRITICAL: collaboratively develop a comprehensive research prompt with these components.
711
709
 
712
710
  #### A. Research Objectives
713
711
 
714
- [[LLM: Work with the user to articulate clear, specific objectives for the research.]]
712
+ CRITICAL: collaborate with the user to articulate clear, specific objectives for the research.
715
713
 
716
714
  - Primary research goal and purpose
717
715
  - Key decisions the research will inform
@@ -720,7 +718,7 @@ Present these numbered options to the user:
720
718
 
721
719
  #### B. Research Questions
722
720
 
723
- [[LLM: Develop specific, actionable research questions organized by theme.]]
721
+ CRITICAL: collaborate with the user to develop specific, actionable research questions organized by theme.
724
722
 
725
723
  **Core Questions:**
726
724
 
@@ -736,8 +734,6 @@ Present these numbered options to the user:
736
734
 
737
735
  #### C. Research Methodology
738
736
 
739
- [[LLM: Specify appropriate research methods based on the type and objectives.]]
740
-
741
737
  **Data Collection Methods:**
742
738
 
743
739
  - Secondary research sources
@@ -754,8 +750,6 @@ Present these numbered options to the user:
754
750
 
755
751
  #### D. Output Requirements
756
752
 
757
- [[LLM: Define how research findings should be structured and presented.]]
758
-
759
753
  **Format Specifications:**
760
754
 
761
755
  - Executive summary requirements
@@ -772,8 +766,6 @@ Present these numbered options to the user:
772
766
 
773
767
  ### 4. Prompt Generation
774
768
 
775
- [[LLM: Synthesize all elements into a comprehensive, ready-to-use research prompt.]]
776
-
777
769
  **Research Prompt Template:**
778
770
 
779
771
  ```markdown
@@ -842,8 +834,6 @@ Present these numbered options to the user:
842
834
 
843
835
  ### 5. Review and Refinement
844
836
 
845
- [[LLM: Present the draft research prompt for user review and refinement.]]
846
-
847
837
  1. **Present Complete Prompt**
848
838
 
849
839
  - Show the full research prompt
@@ -865,8 +855,6 @@ Present these numbered options to the user:
865
855
 
866
856
  ### 6. Next Steps Guidance
867
857
 
868
- [[LLM: Provide clear guidance on how to use the research prompt.]]
869
-
870
858
  **Execution Options:**
871
859
 
872
860
  1. **Use with AI Research Assistant**: Provide this prompt to an AI model with research capabilities