bmad-method 6.0.0-alpha.4 → 6.0.0-alpha.6

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 (225) hide show
  1. package/.claude/agents/bmad-analysis/api-documenter.md +102 -0
  2. package/.claude/agents/bmad-analysis/codebase-analyzer.md +82 -0
  3. package/.claude/agents/bmad-analysis/data-analyst.md +101 -0
  4. package/.claude/agents/bmad-analysis/pattern-detector.md +84 -0
  5. package/.claude/agents/bmad-planning/dependency-mapper.md +83 -0
  6. package/.claude/agents/bmad-planning/epic-optimizer.md +81 -0
  7. package/.claude/agents/bmad-planning/requirements-analyst.md +61 -0
  8. package/.claude/agents/bmad-planning/technical-decisions-curator.md +168 -0
  9. package/.claude/agents/bmad-planning/trend-spotter.md +115 -0
  10. package/.claude/agents/bmad-planning/user-journey-mapper.md +123 -0
  11. package/.claude/agents/bmad-planning/user-researcher.md +72 -0
  12. package/.claude/agents/bmad-research/market-researcher.md +51 -0
  13. package/.claude/agents/bmad-research/tech-debt-auditor.md +106 -0
  14. package/.claude/agents/bmad-review/document-reviewer.md +102 -0
  15. package/.claude/agents/bmad-review/technical-evaluator.md +68 -0
  16. package/.claude/agents/bmad-review/test-coverage-analyzer.md +108 -0
  17. package/.claude/commands/bmad/bmm/agents/architect.md +0 -1
  18. package/.claude/commands/bmad/bmm/agents/sm.md +1 -1
  19. package/.claude/commands/bmad/bmm/agents/{paige.md → tech-writer.md} +3 -3
  20. package/.claude/commands/bmad/bmm/workflows/README.md +3 -3
  21. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
  22. package/.claude/commands/bmad/bmm/workflows/prd.md +1 -1
  23. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +3 -3
  24. package/.claude/settings.local.json +3 -8
  25. package/CHANGELOG.md +305 -0
  26. package/CONTRIBUTING.md +1 -13
  27. package/README.md +88 -39
  28. package/bmad/_cfg/agent-manifest.csv +1 -6
  29. package/bmad/_cfg/files-manifest.csv +40 -114
  30. package/bmad/_cfg/ides/claude-code.yaml +4 -3
  31. package/bmad/_cfg/manifest.yaml +3 -4
  32. package/bmad/_cfg/task-manifest.csv +0 -1
  33. package/bmad/_cfg/workflow-manifest.csv +3 -7
  34. package/bmad/bmb/config.yaml +2 -2
  35. package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
  36. package/bmad/bmm/README.md +79 -120
  37. package/bmad/bmm/agents/architect.md +0 -1
  38. package/bmad/bmm/agents/sm.md +1 -1
  39. package/bmad/bmm/agents/{paige.md → tech-writer.md} +3 -3
  40. package/bmad/bmm/config.yaml +4 -3
  41. package/bmad/bmm/tasks/daily-standup.xml +1 -1
  42. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
  43. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
  44. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
  45. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
  46. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
  47. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
  48. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +1 -1
  49. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
  50. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
  51. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
  52. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
  53. package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
  54. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
  55. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
  56. package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
  57. package/bmad/bmm/workflows/techdoc/documentation-standards.md +26 -2
  58. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
  59. package/bmad/bmm/workflows/workflow-status/init/instructions.md +623 -242
  60. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  61. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  62. package/bmad/bmm/workflows/workflow-status/paths/{brownfield-level-3.yaml → method-brownfield.yaml} +33 -31
  63. package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
  64. package/bmad/bmm/workflows/workflow-status/paths/{brownfield-level-1.yaml → quick-flow-brownfield.yaml} +18 -18
  65. package/bmad/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
  66. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
  67. package/bmad/core/config.yaml +2 -2
  68. package/bmad/core/tasks/workflow.xml +1 -11
  69. package/package.json +1 -1
  70. package/src/core/tasks/workflow.xml +1 -11
  71. package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
  72. package/src/modules/bmm/README.md +1 -1
  73. package/src/modules/bmm/_module-installer/install-config.yaml +5 -0
  74. package/src/modules/bmm/agents/architect.agent.yaml +0 -4
  75. package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
  76. package/src/modules/bmm/agents/sm.agent.yaml +1 -1
  77. package/src/modules/bmm/agents/{paige.agent.yaml → tech-writer.agent.yaml} +4 -4
  78. package/src/modules/bmm/docs/README.md +19 -18
  79. package/src/modules/bmm/docs/agents-guide.md +47 -99
  80. package/src/modules/bmm/docs/brownfield-guide.md +216 -96
  81. package/src/modules/bmm/docs/enterprise-agentic-development.md +380 -740
  82. package/src/modules/bmm/docs/faq.md +16 -16
  83. package/src/modules/bmm/docs/glossary.md +44 -50
  84. package/src/modules/bmm/docs/party-mode.md +110 -1122
  85. package/src/modules/bmm/docs/quick-spec-flow.md +36 -36
  86. package/src/modules/bmm/docs/quick-start.md +34 -34
  87. package/src/modules/bmm/docs/scale-adaptive-system.md +304 -454
  88. package/{bmad/bmm/testarch/README.md → src/modules/bmm/docs/test-architecture.md} +56 -38
  89. package/src/modules/bmm/docs/troubleshooting.md +7 -7
  90. package/src/modules/bmm/docs/workflows-analysis.md +64 -28
  91. package/src/modules/bmm/docs/workflows-implementation.md +196 -1671
  92. package/src/modules/bmm/docs/workflows-planning.md +74 -35
  93. package/src/modules/bmm/docs/workflows-solutioning.md +47 -17
  94. package/src/modules/bmm/tasks/daily-standup.xml +1 -1
  95. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
  96. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
  97. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
  98. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
  99. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
  100. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
  101. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +2 -2
  102. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
  103. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
  104. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
  105. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
  106. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
  107. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
  108. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
  109. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
  110. package/src/modules/bmm/workflows/techdoc/documentation-standards.md +25 -2
  111. package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
  112. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
  113. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  114. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  115. package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-3.yaml → method-brownfield.yaml} +33 -31
  116. package/{bmad/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
  117. package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-1.yaml → quick-flow-brownfield.yaml} +18 -18
  118. package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
  119. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
  120. package/tools/cli/installers/lib/core/config-collector.js +39 -11
  121. package/tools/cli/installers/lib/core/ide-config-manager.js +3 -1
  122. package/tools/cli/installers/lib/core/installer.js +20 -9
  123. package/tools/cli/installers/lib/core/manifest-generator.js +3 -1
  124. package/tools/cli/installers/lib/core/manifest.js +6 -2
  125. package/tools/cli/installers/lib/modules/manager.js +6 -0
  126. package/tools/cli/lib/config.js +3 -1
  127. package/tools/cli/lib/ui.js +5 -5
  128. package/tools/cli/lib/yaml-format.js +2 -1
  129. package/tools/schema/agent.js +2 -0
  130. package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +0 -15
  131. package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +0 -42
  132. package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +0 -42
  133. package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +0 -42
  134. package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +0 -42
  135. package/bmad/_cfg/agents/cis-storyteller.customize.yaml +0 -42
  136. package/bmad/bmb/agents/bmad-builder.md.bak +0 -70
  137. package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +0 -23
  138. package/bmad/bmb/workflows/create-module/workflow.yaml.bak +0 -42
  139. package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml.bak +0 -39
  140. package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +0 -40
  141. package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +0 -33
  142. package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +0 -34
  143. package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +0 -27
  144. package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +0 -29
  145. package/bmad/bmb/workflows/redoc/workflow.yaml.bak +0 -32
  146. package/bmad/bmm/docs/brownfield-guide.md +0 -1260
  147. package/bmad/bmm/docs/quick-spec-flow.md +0 -645
  148. package/bmad/bmm/docs/quick-start.md +0 -341
  149. package/bmad/bmm/docs/scale-adaptive-system.md +0 -1045
  150. package/bmad/bmm/tasks/retrospective.xml +0 -104
  151. package/bmad/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
  152. package/bmad/bmm/workflows/1-analysis/product-brief/README.md +0 -180
  153. package/bmad/bmm/workflows/1-analysis/research/README.md +0 -454
  154. package/bmad/bmm/workflows/2-plan-workflows/README.md +0 -258
  155. package/bmad/bmm/workflows/3-solutioning/README.md +0 -1
  156. package/bmad/bmm/workflows/3-solutioning/architecture/README.md +0 -318
  157. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
  158. package/bmad/bmm/workflows/4-implementation/README.md +0 -221
  159. package/bmad/bmm/workflows/4-implementation/code-review/README.md +0 -69
  160. package/bmad/bmm/workflows/4-implementation/correct-course/README.md +0 -73
  161. package/bmad/bmm/workflows/4-implementation/create-story/README.md +0 -146
  162. package/bmad/bmm/workflows/4-implementation/dev-story/README.md +0 -206
  163. package/bmad/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
  164. package/bmad/bmm/workflows/4-implementation/retrospective/README.md +0 -77
  165. package/bmad/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
  166. package/bmad/bmm/workflows/4-implementation/story-context/README.md +0 -234
  167. package/bmad/bmm/workflows/README.md +0 -256
  168. package/bmad/bmm/workflows/document-project/README.md +0 -444
  169. package/bmad/bmm/workflows/document-project/templates/README.md +0 -38
  170. package/bmad/bmm/workflows/testarch/README.md +0 -26
  171. package/bmad/bmm/workflows/testarch/atdd/README.md +0 -672
  172. package/bmad/bmm/workflows/testarch/automate/README.md +0 -869
  173. package/bmad/bmm/workflows/testarch/ci/README.md +0 -493
  174. package/bmad/bmm/workflows/testarch/framework/README.md +0 -340
  175. package/bmad/bmm/workflows/testarch/nfr-assess/README.md +0 -469
  176. package/bmad/bmm/workflows/testarch/test-design/README.md +0 -493
  177. package/bmad/bmm/workflows/testarch/test-review/README.md +0 -775
  178. package/bmad/bmm/workflows/testarch/trace/README.md +0 -802
  179. package/bmad/bmm/workflows/workflow-status/README.md +0 -260
  180. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
  181. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  182. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
  183. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
  184. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
  185. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  186. package/bmad/cis/README.md +0 -153
  187. package/bmad/cis/agents/README.md +0 -104
  188. package/bmad/cis/agents/brainstorming-coach.md +0 -62
  189. package/bmad/cis/agents/creative-problem-solver.md +0 -62
  190. package/bmad/cis/agents/design-thinking-coach.md +0 -62
  191. package/bmad/cis/agents/innovation-strategist.md +0 -62
  192. package/bmad/cis/agents/storyteller.md +0 -59
  193. package/bmad/cis/config.yaml +0 -10
  194. package/bmad/cis/teams/creative-squad.yaml +0 -6
  195. package/bmad/cis/workflows/README.md +0 -139
  196. package/bmad/cis/workflows/design-thinking/README.md +0 -56
  197. package/bmad/cis/workflows/design-thinking/design-methods.csv +0 -31
  198. package/bmad/cis/workflows/design-thinking/instructions.md +0 -200
  199. package/bmad/cis/workflows/design-thinking/template.md +0 -111
  200. package/bmad/cis/workflows/design-thinking/workflow.yaml +0 -32
  201. package/bmad/cis/workflows/innovation-strategy/README.md +0 -56
  202. package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +0 -31
  203. package/bmad/cis/workflows/innovation-strategy/instructions.md +0 -274
  204. package/bmad/cis/workflows/innovation-strategy/template.md +0 -189
  205. package/bmad/cis/workflows/innovation-strategy/workflow.yaml +0 -32
  206. package/bmad/cis/workflows/problem-solving/README.md +0 -56
  207. package/bmad/cis/workflows/problem-solving/instructions.md +0 -250
  208. package/bmad/cis/workflows/problem-solving/solving-methods.csv +0 -31
  209. package/bmad/cis/workflows/problem-solving/template.md +0 -165
  210. package/bmad/cis/workflows/problem-solving/workflow.yaml +0 -32
  211. package/bmad/cis/workflows/storytelling/README.md +0 -58
  212. package/bmad/cis/workflows/storytelling/instructions.md +0 -291
  213. package/bmad/cis/workflows/storytelling/story-types.csv +0 -26
  214. package/bmad/cis/workflows/storytelling/template.md +0 -113
  215. package/bmad/cis/workflows/storytelling/workflow.yaml +0 -32
  216. package/bmad/core/agents/bmad-master.md.bak +0 -69
  217. package/src/modules/bmm/docs/brownfield-guide.md.backup +0 -1324
  218. package/src/modules/bmm/docs/workflows-testing.md +0 -1572
  219. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
  220. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  221. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
  222. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
  223. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
  224. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  225. /package/bmad/_cfg/agents/{bmm-paige.customize.yaml → bmm-tech-writer.customize.yaml} +0 -0
@@ -1,25 +1,90 @@
1
1
  # BMM Planning Workflows (Phase 2)
2
2
 
3
- **Reading Time:** ~15 minutes
4
-
5
3
  ## Overview
6
4
 
7
5
  Phase 2 (Planning) workflows are **required** for all projects. They transform strategic vision into actionable requirements that guide implementation. BMM uses a **scale-adaptive planning system** where the workflow automatically selects the right level of detail based on project complexity.
8
6
 
9
7
  **Key principle:** One workflow to rule them all - `plan-project` intelligently routes to the appropriate planning flow based on project characteristics.
10
8
 
9
+ ---
10
+
11
+ ## Phase 2 Planning Flow
12
+
13
+ ```mermaid
14
+ %%{init: {'theme':'base', 'themeVariables': { 'primaryColor':'#fff','primaryTextColor':'#000','primaryBorderColor':'#000','lineColor':'#000','fontSize':'16px','fontFamily':'arial'}}}%%
15
+ graph TB
16
+ Entry["<b>START: plan-project</b><br/>Discovery and routing"]
17
+
18
+ subgraph QuickFlow["<b>QUICK FLOW (Levels 0-1)</b>"]
19
+ TechSpec["<b>PM: tech-spec</b><br/>Lightweight spec for simple changes"]
20
+ end
21
+
22
+ subgraph StandardFlow["<b>STANDARD PLANNING (Levels 2-4)</b>"]
23
+ PRD["<b>PM: prd</b><br/>Strategic PRD"]
24
+ GDD["<b>Game Designer: gdd</b><br/>Game design document"]
25
+ Narrative["<b>Game Designer: narrative</b><br/>Story-driven design"]
26
+ UXDesign["<b>UX Designer: ux</b><br/>UX-first specification"]
27
+
28
+ Epics["<b>PM: create-epics-and-stories</b><br/>Break requirements into epics and stories"]
29
+ end
30
+
31
+ subgraph Updates["<b>STORY UPDATES (Anytime After Epics Created)</b>"]
32
+ CorrectCourse["<b>PM/SM: correct-course</b><br/>Update epics/stories mid-stream"]
33
+ end
34
+
35
+ Entry -->|Level 0-1<br/>Simple| QuickFlow
36
+ Entry -->|Level 2-4<br/>Software| PRD
37
+ Entry -->|Level 2-4<br/>Game| GDD
38
+ Entry -->|Level 2-4<br/>Story-driven| Narrative
39
+ Entry -->|Level 2-4<br/>UX-first| UXDesign
40
+
41
+ PRD --> Epics
42
+ GDD --> Epics
43
+ Narrative --> Epics
44
+ UXDesign -.->|May update| Epics
45
+
46
+ Epics --> Phase3["<b>Phase 3: Architecture</b>"]
47
+ Phase3 -.->|May update| Epics
48
+
49
+ QuickFlow --> Phase4["<b>Phase 4: Implementation</b>"]
50
+ Phase3 --> Phase4
51
+
52
+ Phase4 -.->|Significant changes| CorrectCourse
53
+ CorrectCourse -.->|Updates| Epics
54
+
55
+ style Entry fill:#fff9c4,stroke:#f57f17,stroke-width:3px,color:#000
56
+ style QuickFlow fill:#c5e1a5,stroke:#33691e,stroke-width:3px,color:#000
57
+ style StandardFlow fill:#e1bee7,stroke:#6a1b9a,stroke-width:3px,color:#000
58
+ style Updates fill:#ffcdd2,stroke:#c62828,stroke-width:3px,color:#000
59
+ style Phase3 fill:#90caf9,stroke:#0d47a1,stroke-width:2px,color:#000
60
+ style Phase4 fill:#ffcc80,stroke:#e65100,stroke-width:2px,color:#000
61
+
62
+ style TechSpec fill:#aed581,stroke:#1b5e20,stroke-width:2px,color:#000
63
+ style PRD fill:#ce93d8,stroke:#4a148c,stroke-width:2px,color:#000
64
+ style GDD fill:#ce93d8,stroke:#4a148c,stroke-width:2px,color:#000
65
+ style Narrative fill:#ce93d8,stroke:#4a148c,stroke-width:2px,color:#000
66
+ style UXDesign fill:#ce93d8,stroke:#4a148c,stroke-width:2px,color:#000
67
+ style Epics fill:#ba68c8,stroke:#6a1b9a,stroke-width:3px,color:#000
68
+ style CorrectCourse fill:#ef5350,stroke:#c62828,stroke-width:2px,color:#000
69
+ ```
70
+
71
+ ---
72
+
11
73
  ## Quick Reference
12
74
 
13
- | Workflow | Project Levels | Duration | Purpose |
14
- | ------------- | -------------- | ---------- | --------------------------------------- |
15
- | **prd** | 2-4 | 2-6 hours | Strategic PRD + tactical epic breakdown |
16
- | **tech-spec** | 0-1 | 30-90 min | Lightweight technical specification |
17
- | **gdd** | 2-4 (games) | 4-10 hours | Complete game design document |
18
- | **narrative** | 2-4 (story) | 3-8 hours | Story-driven game/experience design |
19
- | **ux** | 2-4 (UX-heavy) | 3-6 hours | UX-first design specification |
75
+ | Workflow | Agent | Project Levels | Purpose |
76
+ | ---------------------------- | ------------- | -------------- | ---------------------------------------------------- |
77
+ | **prd** | PM | 2-4 | Strategic PRD |
78
+ | **create-epics-and-stories** | PM | 2-4 | Break PRD/GDD into epics and stories (standalone OK) |
79
+ | **tech-spec** | PM | 0-1 | Lightweight technical specification |
80
+ | **gdd** | Game Designer | 2-4 (games) | Complete game design document |
81
+ | **narrative** | Game Designer | 2-4 (story) | Story-driven game/experience design |
82
+ | **ux** | UX Designer | 2-4 (UX-heavy) | UX-first design specification |
20
83
 
21
84
  **Note:** The `plan-project` workflow is your single entry point. It automatically routes to the right planning workflow based on your answers to discovery questions.
22
85
 
86
+ **Critical:** After PRD/GDD/Narrative complete, you must run `create-epics-and-stories` to generate user stories (can be done in same chat or separate chat later). These stories can be updated anytime via UX-Design, Architecture decisions, or `correct-course` during implementation.
87
+
23
88
  ---
24
89
 
25
90
  ## Understanding Scale-Adaptive Planning
@@ -73,7 +138,6 @@ Single unified entry point for all planning workflows. Uses conversational disco
73
138
  **Agent:** PM (orchestrates other agents as needed)
74
139
  **Phase:** 2 (Planning)
75
140
  **Required:** Yes (for all projects)
76
- **Typical Duration:** Varies by target workflow
77
141
 
78
142
  ### When to Use
79
143
 
@@ -161,28 +225,24 @@ ELSE:
161
225
  - **Input**: "Fix null pointer exception in user service"
162
226
  - **Discovery**: Level 0 (single atomic change)
163
227
  - **Route**: tech-spec (Quick Spec Flow)
164
- - **Duration**: 20 minutes
165
228
 
166
229
  **Scenario 2: E-commerce Checkout**
167
230
 
168
231
  - **Input**: "Build complete checkout flow with payment processing"
169
232
  - **Discovery**: Level 3 (large feature set), feature-focused
170
233
  - **Route**: prd (Standard depth)
171
- - **Duration**: 4 hours
172
234
 
173
235
  **Scenario 3: Roguelike Card Game**
174
236
 
175
237
  - **Input**: "Roguelike card battler with emotional narrative"
176
238
  - **Discovery**: Level 3 (large feature set), game project
177
239
  - **Route**: gdd
178
- - **Duration**: 6 hours
179
240
 
180
241
  **Scenario 4: Story-Driven Adventure**
181
242
 
182
243
  - **Input**: "Narrative adventure game with branching story"
183
244
  - **Discovery**: Level 3, story-central
184
245
  - **Route**: narrative (then gdd for mechanics)
185
- - **Duration**: 8 hours total
186
246
 
187
247
  ---
188
248
 
@@ -195,7 +255,6 @@ Lightweight technical specification for Levels 0-1 projects (single changes, sim
195
255
  **Agent:** Architect
196
256
  **Phase:** 2 (Planning)
197
257
  **Project Levels:** 0-1
198
- **Typical Duration:** 30-90 minutes
199
258
 
200
259
  ### When to Use
201
260
 
@@ -322,11 +381,6 @@ Strategic PRD with tactical epic breakdown for Levels 2-4 projects. Unified work
322
381
  **Agent:** PM (with Architect and Analyst support)
323
382
  **Phase:** 2 (Planning)
324
383
  **Project Levels:** 2-4
325
- **Typical Duration:**
326
-
327
- - Level 2: 2-3 hours (Lightweight)
328
- - Level 3: 3-5 hours (Standard)
329
- - Level 4: 5-8 hours (Comprehensive)
330
384
 
331
385
  ### When to Use
332
386
 
@@ -488,11 +542,6 @@ Complete game design document for Levels 2-4 game projects, adapted from industr
488
542
  **Agent:** PM (Game Designer persona)
489
543
  **Phase:** 2 (Planning)
490
544
  **Project Levels:** 2-4 (games)
491
- **Typical Duration:**
492
-
493
- - Level 2: 3-4 hours (Small indie game)
494
- - Level 3: 5-7 hours (Medium game)
495
- - Level 4: 8-12 hours (Large/commercial game)
496
545
 
497
546
  ### When to Use
498
547
 
@@ -666,11 +715,6 @@ Story-driven design workflow for games and experiences where narrative is centra
666
715
  **Agent:** PM (Narrative Designer persona) + Creative Problem Solver (CIS)
667
716
  **Phase:** 2 (Planning)
668
717
  **Project Levels:** 2-4 (story-driven projects)
669
- **Typical Duration:**
670
-
671
- - Level 2: 2-4 hours (Linear narrative)
672
- - Level 3: 4-6 hours (Branching narrative)
673
- - Level 4: 6-10 hours (Complex branching with multiple arcs)
674
718
 
675
719
  ### When to Use
676
720
 
@@ -825,11 +869,6 @@ UX specification workflow for projects where user experience is the primary diff
825
869
  **Agent:** UX Designer
826
870
  **Phase:** 2 (Planning)
827
871
  **Project Levels:** 2-4 (UX-heavy projects)
828
- **Typical Duration:**
829
-
830
- - Level 2: 2-3 hours (Single feature UX)
831
- - Level 3: 4-5 hours (Multi-screen experience)
832
- - Level 4: 6-8 hours (Platform-wide UX system)
833
872
 
834
873
  ### When to Use
835
874
 
@@ -1,19 +1,56 @@
1
1
  # BMM Solutioning Workflows (Phase 3)
2
2
 
3
- **Reading Time:** ~8 minutes
4
-
5
3
  ## Overview
6
4
 
7
5
  Phase 3 (Solutioning) workflows translate **what** to build (from Planning) into **how** to build it (technical design). This phase is **required for Levels 3-4** and **optional for Level 2** projects.
8
6
 
9
7
  **Key principle:** Prevent agent conflicts by making architectural decisions explicit and documented before implementation begins.
10
8
 
9
+ ---
10
+
11
+ ## Phase 3 Solutioning Flow
12
+
13
+ ```mermaid
14
+ %%{init: {'theme':'base', 'themeVariables': { 'primaryColor':'#fff','primaryTextColor':'#000','primaryBorderColor':'#000','lineColor':'#000','fontSize':'16px','fontFamily':'arial'}}}%%
15
+ graph TB
16
+ FromPRD["<b>FROM Phase 2</b><br/>PRD/GDD/Narrative/UX complete"]
17
+
18
+ subgraph Solutioning["<b>PHASE 3: SOLUTIONING</b>"]
19
+ direction TB
20
+ Architecture["<b>Architect: architecture</b><br/>Technical design and decisions"]
21
+ GateCheck["<b>Architect: solutioning-gate-check</b><br/>Validation before implementation"]
22
+ end
23
+
24
+ subgraph Optional["<b>OPTIONAL PATHS</b>"]
25
+ direction LR
26
+ Level2Skip["<b>Level 2:</b><br/>Skip if straightforward"]
27
+ end
28
+
29
+ FromPRD --> Architecture
30
+ Architecture --> GateCheck
31
+ GateCheck -->|PASS| Phase4["<b>Phase 4: Implementation</b>"]
32
+ GateCheck -->|CONCERNS/FAIL| Architecture
33
+ FromPRD -.->|Level 2 only| Level2Skip
34
+ Level2Skip -.-> Phase4
35
+
36
+ style FromPRD fill:#e1bee7,stroke:#6a1b9a,stroke-width:2px,color:#000
37
+ style Solutioning fill:#90caf9,stroke:#0d47a1,stroke-width:3px,color:#000
38
+ style Optional fill:#fff9c4,stroke:#f57f17,stroke-width:3px,color:#000
39
+ style Phase4 fill:#ffcc80,stroke:#e65100,stroke-width:2px,color:#000
40
+
41
+ style Architecture fill:#64b5f6,stroke:#0d47a1,stroke-width:2px,color:#000
42
+ style GateCheck fill:#64b5f6,stroke:#0d47a1,stroke-width:2px,color:#000
43
+ style Level2Skip fill:#fff59d,stroke:#f57f17,stroke-width:2px,color:#000
44
+ ```
45
+
46
+ ---
47
+
11
48
  ## Quick Reference
12
49
 
13
- | Workflow | Project Levels | Duration | Purpose |
14
- | -------------------------- | -------------- | --------- | ------------------------------------------- |
15
- | **architecture** | 2-4 | 2-6 hours | Technical architecture and design decisions |
16
- | **solutioning-gate-check** | 3-4 | 15-30 min | Validate planning/solutioning completeness |
50
+ | Workflow | Project Levels | Purpose |
51
+ | -------------------------- | -------------- | ------------------------------------------- |
52
+ | **architecture** | 2-4 | Technical architecture and design decisions |
53
+ | **solutioning-gate-check** | 3-4 | Validate planning/solutioning completeness |
17
54
 
18
55
  **When to Skip Solutioning:**
19
56
 
@@ -70,7 +107,7 @@ Phase 3 (Solutioning) workflows translate **what** to build (from Planning) into
70
107
  **Level 3-4 (Required Solutioning):**
71
108
 
72
109
  - Planning: Standard/Comprehensive PRD
73
- - Solutioning: **Required** architecture + epic tech-spec
110
+ - Solutioning: **Required** architecture + epic-tech-context
74
111
  - Gate Check: **Required** solutioning-gate-check
75
112
  - Implementation: dev-story guided by architecture
76
113
 
@@ -86,11 +123,6 @@ Collaborative architectural decision facilitation that produces a decision-focus
86
123
  **Phase:** 3 (Solutioning)
87
124
  **Project Levels:** 2-4
88
125
  **Required:** Level 3-4, Optional Level 2
89
- **Typical Duration:**
90
-
91
- - Level 2: 1-2 hours (Simple architecture)
92
- - Level 3: 2-4 hours (Standard architecture)
93
- - Level 4: 4-8 hours (Complex architecture with ADRs)
94
126
 
95
127
  ### When to Use
96
128
 
@@ -341,7 +373,6 @@ Systematically validate that all planning and solutioning phases are complete an
341
373
  **Phase:** 3 (Solutioning)
342
374
  **Project Levels:** 3-4
343
375
  **Required:** Level 3-4 only
344
- **Typical Duration:** 15-30 minutes
345
376
 
346
377
  ### When to Use
347
378
 
@@ -544,21 +575,20 @@ Optional:
544
575
 
545
576
  1. **Critical**: Architecture missing security architecture section
546
577
  - **Impact**: Epic 1 (Auth) and Epic 4 (Checkout) lack security guidance
547
- - **Recommendation**: Complete security architecture (2 hours)
578
+ - **Recommendation**: Complete security architecture
548
579
 
549
580
  2. **High**: Payment gateway not selected
550
581
  - **Impact**: Epic 4 (Checkout) cannot proceed
551
- - **Recommendation**: Add ADR for payment gateway selection (1 hour)
582
+ - **Recommendation**: Add ADR for payment gateway selection
552
583
 
553
584
  3. **Medium**: Epic 2, Story 3 too large
554
585
  - **Impact**: Risk of story scope creep
555
- - **Recommendation**: Split into 2 stories (30 min)
586
+ - **Recommendation**: Split into 2 stories
556
587
 
557
588
  **Gate Decision:** CONCERNS ⚠️
558
589
 
559
590
  - **Rationale**: Critical and high gaps block Epic 1 and Epic 4
560
591
  - **Action**: Resolve gaps #1 and #2 before starting implementation
561
- - **Timeline**: Address in 3 hours, then re-run gate check
562
592
 
563
593
  **Next Steps:**
564
594
 
@@ -64,7 +64,7 @@
64
64
  <i>Primary: Sarah (PO), Bob (SM), James (Dev)</i>
65
65
  <i>Secondary: Murat (TEA)</i>
66
66
  </context>
67
- <context type="architecture-review">
67
+ <context type="validate-architecture">
68
68
  <i>Primary: Winston (Architect), James (Dev), Murat (TEA)</i>
69
69
  <i>Secondary: Sarah (PO)</i>
70
70
  </context>
@@ -9,26 +9,8 @@
9
9
  <critical>Communicate all responses in {communication_language} and tailor to {user_skill_level}</critical>
10
10
  <critical>Generate all documents in {document_output_language}</critical>
11
11
  <critical>SAVE PROGRESS after each major step - use <template-output> tags throughout</critical>
12
-
13
12
  <critical>DOCUMENT OUTPUT: Professional, specific, actionable UX design decisions WITH RATIONALE. User skill level ({user_skill_level}) affects conversation style ONLY, not document content.</critical>
14
-
15
- ## 📚 Input Document Discovery
16
-
17
- This workflow requires: PRD or product brief, and may reference epics/stories, brainstorming documents, or brownfield project documentation.
18
-
19
- **Discovery Process** (execute for each referenced document):
20
-
21
- 1. **Search for whole document first** - Use fuzzy file matching to find the complete document
22
- 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
23
- 3. **If sharded version found**:
24
- - Read `index.md` to understand the document structure
25
- - Read ALL section files listed in the index
26
- - Treat the combined content as if it were a single document
27
- 4. **Brownfield projects**: The `document-project` workflow always creates `{output_folder}/docs/index.md`
28
-
29
- **Priority**: If both whole and sharded versions exist, use the whole document.
30
-
31
- **Fuzzy matching**: Be flexible with document names - users may use variations in naming conventions.
13
+ <critical>Input documents specified in workflow.yaml input_file_patterns - workflow engine handles fuzzy matching, whole vs sharded document discovery automatically</critical>
32
14
 
33
15
  <step n="0" goal="Validate workflow readiness" tag="workflow-status">
34
16
  <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
@@ -234,21 +234,22 @@
234
234
  - [ ] Dependencies on external systems documented
235
235
  - [ ] Data requirements specified
236
236
 
237
- ### Level-Appropriate Detail
237
+ ### Track-Appropriate Detail
238
238
 
239
- **If Level 2:**
240
-
241
- - [ ] PRD supports lightweight tech-spec workflow
242
- - [ ] 5-15 story scope reasonable for project size
243
- - [ ] Complexity appropriate for small team/solo dev
244
-
245
- **If Level 3-4:**
239
+ **If BMad Method:**
246
240
 
247
241
  - [ ] PRD supports full architecture workflow
248
242
  - [ ] Epic structure supports phased delivery
249
- - [ ] Scope appropriate for team-based development
243
+ - [ ] Scope appropriate for product/platform development
250
244
  - [ ] Clear value delivery through epic sequence
251
245
 
246
+ **If Enterprise Method:**
247
+
248
+ - [ ] PRD addresses enterprise requirements (security, compliance, multi-tenancy)
249
+ - [ ] Epic structure supports extended planning phases
250
+ - [ ] Scope includes security, devops, and test strategy considerations
251
+ - [ ] Clear value delivery with enterprise gates
252
+
252
253
  ---
253
254
 
254
255
  ## 10. Quality and Polish
@@ -9,55 +9,44 @@
9
9
 
10
10
  ## Overview
11
11
 
12
- This document provides the detailed epic breakdown for {{project_name}}, expanding on the high-level epic list in the [PRD](./PRD.md).
12
+ This document provides the complete epic and story breakdown for {{project_name}}, decomposing the requirements from the [PRD](./PRD.md) into implementable stories.
13
13
 
14
- Each epic includes:
14
+ {{epics_summary}}
15
15
 
16
- - Expanded goal and value proposition
17
- - Complete story breakdown with user stories
18
- - Acceptance criteria for each story
19
- - Story sequencing and dependencies
16
+ ---
20
17
 
21
- **Epic Sequencing Principles:**
18
+ <!-- Repeat for each epic (N = 1, 2, 3...) -->
22
19
 
23
- - Epic 1 establishes foundational infrastructure and initial functionality
24
- - Subsequent epics build progressively, each delivering significant end-to-end value
25
- - Stories within epics are vertically sliced and sequentially ordered
26
- - No forward dependencies - each story builds only on previous work
20
+ ## Epic {{N}}: {{epic_title_N}}
27
21
 
28
- ---
22
+ {{epic_goal_N}}
29
23
 
30
- {{epic_details}}
24
+ <!-- Repeat for each story (M = 1, 2, 3...) within epic N -->
31
25
 
32
- ---
26
+ ### Story {{N}}.{{M}}: {{story_title_N_M}}
33
27
 
34
- ## Story Guidelines Reference
28
+ As a {{user_type}},
29
+ I want {{capability}},
30
+ So that {{value_benefit}}.
35
31
 
36
- **Story Format:**
32
+ **Acceptance Criteria:**
37
33
 
38
- ```
39
- **Story [EPIC.N]: [Story Title]**
34
+ **Given** {{precondition}}
35
+ **When** {{action}}
36
+ **Then** {{expected_outcome}}
40
37
 
41
- As a [user type],
42
- I want [goal/desire],
43
- So that [benefit/value].
38
+ **And** {{additional_criteria}}
44
39
 
45
- **Acceptance Criteria:**
46
- 1. [Specific testable criterion]
47
- 2. [Another specific criterion]
48
- 3. [etc.]
40
+ **Prerequisites:** {{dependencies_on_previous_stories}}
41
+
42
+ **Technical Notes:** {{implementation_guidance}}
49
43
 
50
- **Prerequisites:** [Dependencies on previous stories, if any]
51
- ```
44
+ <!-- End story repeat -->
52
45
 
53
- **Story Requirements:**
46
+ ---
54
47
 
55
- - **Vertical slices** - Complete, testable functionality delivery
56
- - **Sequential ordering** - Logical progression within epic
57
- - **No forward dependencies** - Only depend on previous work
58
- - **AI-agent sized** - Completable in 2-4 hour focused session
59
- - **Value-focused** - Integrate technical enablers into value-delivering stories
48
+ <!-- End epic repeat -->
60
49
 
61
50
  ---
62
51
 
63
- **For implementation:** Use the `create-story` workflow to generate individual story implementation plans from this epic breakdown.
52
+ _For implementation: Use the `create-story` workflow to generate individual story implementation plans from this epic breakdown._