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

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 (367) hide show
  1. package/.claude/settings.local.json +13 -6
  2. package/.github/workflows/{lint.yaml → quality.yaml} +19 -2
  3. package/.husky/pre-commit +4 -0
  4. package/README.md +59 -1
  5. package/bmad/_cfg/agent-manifest.csv +2 -8
  6. package/bmad/_cfg/files-manifest.csv +8 -202
  7. package/bmad/_cfg/ides/claude-code.yaml +3 -4
  8. package/bmad/_cfg/manifest.yaml +5 -4
  9. package/bmad/_cfg/task-manifest.csv +8 -1
  10. package/bmad/_cfg/tool-manifest.csv +2 -0
  11. package/bmad/_cfg/workflow-manifest.csv +4 -31
  12. package/bmad/bmb/config.yaml +2 -2
  13. package/bmad/bmb/workflows/create-agent/instructions.md +25 -9
  14. package/bmad/bmb/workflows/create-module/module-structure.md +34 -0
  15. package/bmad/core/config.yaml +2 -2
  16. package/docs/installers-bundlers/installers-modules-platforms-reference.md +61 -0
  17. package/package.json +5 -3
  18. package/src/core/tasks/adv-elicit.xml +1 -1
  19. package/src/modules/bmb/workflows/create-agent/instructions.md +25 -9
  20. package/src/modules/bmb/workflows/create-module/module-structure.md +34 -0
  21. package/src/modules/bmgd/README.md +208 -0
  22. package/src/modules/bmgd/_module-installer/install-config.yaml +66 -0
  23. package/src/modules/{bmm → bmgd}/agents/game-architect.agent.yaml +5 -12
  24. package/src/modules/{bmm → bmgd}/agents/game-designer.agent.yaml +10 -22
  25. package/src/modules/{bmm → bmgd}/agents/game-dev.agent.yaml +9 -10
  26. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +70 -0
  27. package/{bmad/bmm → src/modules/bmgd}/teams/team-gamedev.yaml +3 -1
  28. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/workflow.yaml +7 -7
  29. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/workflow.yaml +9 -9
  30. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +81 -0
  31. package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/narrative/workflow.yaml +6 -6
  32. package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/workflow.yaml +16 -16
  33. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/workflow.yaml +3 -1
  34. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/workflow.yaml +3 -1
  35. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/workflow.yaml +3 -1
  36. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/workflow.yaml +3 -1
  37. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/workflow.yaml +3 -1
  38. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/retrospective/workflow.yaml +3 -1
  39. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/workflow.yaml +3 -1
  40. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/workflow.yaml +3 -1
  41. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-done/workflow.yaml +3 -1
  42. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-ready/workflow.yaml +3 -1
  43. package/src/modules/bmm/docs/README.md +8 -9
  44. package/src/modules/bmm/docs/agents-guide.md +0 -1
  45. package/src/modules/bmm/docs/brownfield-guide.md +5 -9
  46. package/src/modules/bmm/docs/faq.md +4 -6
  47. package/src/modules/bmm/docs/glossary.md +0 -1
  48. package/src/modules/bmm/docs/quick-spec-flow.md +4 -4
  49. package/src/modules/bmm/docs/quick-start.md +4 -4
  50. package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
  51. package/src/modules/bmm/docs/test-architecture.md +183 -118
  52. package/src/modules/bmm/docs/workflows-analysis.md +203 -539
  53. package/src/modules/bmm/docs/workflows-planning.md +326 -850
  54. package/src/modules/bmm/docs/workflows-solutioning.md +250 -505
  55. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +65 -32
  56. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +4 -0
  57. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +1 -1
  58. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +34 -5
  59. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +1 -1
  60. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +8 -0
  61. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +6 -0
  62. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +47 -0
  63. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +50 -0
  64. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +18 -11
  65. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +18 -11
  66. package/src/modules/bmm/workflows/workflow-status/paths/game-design.yaml +42 -65
  67. package/test/test-installation-components.js +214 -0
  68. package/tools/cli/bundlers/web-bundler.js +127 -8
  69. package/tools/cli/installers/lib/ide/auggie.js +9 -20
  70. package/tools/cli/installers/lib/ide/claude-code.js +33 -3
  71. package/tools/cli/installers/lib/ide/cursor.js +17 -0
  72. package/tools/cli/installers/lib/modules/manager.js +128 -0
  73. package/tools/cli/lib/yaml-xml-builder.js +9 -1
  74. package/tools/schema/agent.js +1 -0
  75. package/v6-open-items.md +3 -9
  76. package/web-bundles/bmm/agents/analyst.xml +5028 -0
  77. package/web-bundles/bmm/agents/architect.xml +2047 -0
  78. package/web-bundles/bmm/agents/dev.xml +68 -0
  79. package/web-bundles/bmm/agents/pm.xml +3808 -0
  80. package/web-bundles/bmm/agents/sm.xml +77 -0
  81. package/web-bundles/bmm/agents/tea.xml +66 -0
  82. package/web-bundles/bmm/agents/tech-writer.xml +84 -0
  83. package/web-bundles/bmm/agents/ux-designer.xml +2018 -0
  84. package/web-bundles/bmm/teams/team-fullstack.xml +12039 -0
  85. package/.claude/agents/bmad-analysis/api-documenter.md +0 -102
  86. package/.claude/agents/bmad-analysis/codebase-analyzer.md +0 -82
  87. package/.claude/agents/bmad-analysis/data-analyst.md +0 -101
  88. package/.claude/agents/bmad-analysis/pattern-detector.md +0 -84
  89. package/.claude/agents/bmad-planning/dependency-mapper.md +0 -83
  90. package/.claude/agents/bmad-planning/epic-optimizer.md +0 -81
  91. package/.claude/agents/bmad-planning/requirements-analyst.md +0 -61
  92. package/.claude/agents/bmad-planning/technical-decisions-curator.md +0 -168
  93. package/.claude/agents/bmad-planning/trend-spotter.md +0 -115
  94. package/.claude/agents/bmad-planning/user-journey-mapper.md +0 -123
  95. package/.claude/agents/bmad-planning/user-researcher.md +0 -72
  96. package/.claude/agents/bmad-research/market-researcher.md +0 -51
  97. package/.claude/agents/bmad-research/tech-debt-auditor.md +0 -106
  98. package/.claude/agents/bmad-review/document-reviewer.md +0 -102
  99. package/.claude/agents/bmad-review/technical-evaluator.md +0 -68
  100. package/.claude/agents/bmad-review/test-coverage-analyzer.md +0 -108
  101. package/.claude/commands/bmad/bmb/workflows/README.md +0 -67
  102. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -67
  103. package/.claude/commands/bmad/bmm/agents/architect.md +0 -72
  104. package/.claude/commands/bmad/bmm/agents/dev.md +0 -69
  105. package/.claude/commands/bmad/bmm/agents/pm.md +0 -76
  106. package/.claude/commands/bmad/bmm/agents/sm.md +0 -85
  107. package/.claude/commands/bmad/bmm/agents/tea.md +0 -72
  108. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -82
  109. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -71
  110. package/.claude/commands/bmad/bmm/workflows/README.md +0 -132
  111. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -15
  112. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -15
  113. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -15
  114. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -15
  115. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -15
  116. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -15
  117. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -15
  118. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -15
  119. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -15
  120. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -15
  121. package/.claude/commands/bmad/bmm/workflows/narrative.md +0 -15
  122. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -15
  123. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -15
  124. package/.claude/commands/bmad/bmm/workflows/research.md +0 -15
  125. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -15
  126. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +0 -15
  127. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -15
  128. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -15
  129. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -15
  130. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -15
  131. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -15
  132. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -15
  133. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -15
  134. package/.claude/commands/bmad/cis/agents/README.md +0 -104
  135. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +0 -62
  136. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +0 -62
  137. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +0 -62
  138. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +0 -62
  139. package/.claude/commands/bmad/cis/agents/storyteller.md +0 -59
  140. package/.claude/commands/bmad/cis/workflows/README.md +0 -37
  141. package/.claude/commands/bmad/cis/workflows/design-thinking.md +0 -15
  142. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +0 -15
  143. package/.claude/commands/bmad/cis/workflows/problem-solving.md +0 -15
  144. package/.claude/commands/bmad/cis/workflows/storytelling.md +0 -15
  145. package/.claude/commands/bmad/core/workflows/README.md +0 -27
  146. package/bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  147. package/bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  148. package/bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  149. package/bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  150. package/bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  151. package/bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  152. package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  153. package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  154. package/bmad/bmm/README.md +0 -128
  155. package/bmad/bmm/agents/analyst.md +0 -67
  156. package/bmad/bmm/agents/architect.md +0 -72
  157. package/bmad/bmm/agents/dev.md +0 -69
  158. package/bmad/bmm/agents/pm.md +0 -76
  159. package/bmad/bmm/agents/sm.md +0 -85
  160. package/bmad/bmm/agents/tea.md +0 -72
  161. package/bmad/bmm/agents/tech-writer.md +0 -82
  162. package/bmad/bmm/agents/ux-designer.md +0 -71
  163. package/bmad/bmm/config.yaml +0 -18
  164. package/bmad/bmm/tasks/daily-standup.xml +0 -85
  165. package/bmad/bmm/teams/team-fullstack.yaml +0 -11
  166. package/bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  167. package/bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  168. package/bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  169. package/bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  170. package/bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  171. package/bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  172. package/bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  173. package/bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  174. package/bmad/bmm/testarch/knowledge/network-first.md +0 -486
  175. package/bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  176. package/bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  177. package/bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  178. package/bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  179. package/bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  180. package/bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  181. package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  182. package/bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  183. package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  184. package/bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  185. package/bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  186. package/bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  187. package/bmad/bmm/testarch/tea-index.csv +0 -22
  188. package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -110
  189. package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  190. package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  191. package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -423
  192. package/bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  193. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -36
  194. package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  195. package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  196. package/bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  197. package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  198. package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  199. package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  200. package/bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  201. package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  202. package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -439
  203. package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -679
  204. package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -133
  205. package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -538
  206. package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  207. package/bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  208. package/bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  209. package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  210. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  211. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1301
  212. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  213. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -64
  214. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +0 -29
  215. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -350
  216. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +0 -52
  217. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +0 -169
  218. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +0 -45
  219. package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  220. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -408
  221. package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -237
  222. package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  223. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -46
  224. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -214
  225. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -80
  226. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +0 -200
  227. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +0 -451
  228. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -1115
  229. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  230. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  231. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
  232. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +0 -175
  233. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +0 -305
  234. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +0 -146
  235. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -189
  236. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +0 -64
  237. package/bmad/bmm/workflows/document-project/checklist.md +0 -245
  238. package/bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  239. package/bmad/bmm/workflows/document-project/instructions.md +0 -222
  240. package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  241. package/bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  242. package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  243. package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  244. package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  245. package/bmad/bmm/workflows/document-project/workflow.yaml +0 -34
  246. package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  247. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  248. package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  249. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  250. package/bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  251. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  252. package/bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  253. package/bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  254. package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -52
  255. package/bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  256. package/bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  257. package/bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -61
  258. package/bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  259. package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  260. package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  261. package/bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  262. package/bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -53
  263. package/bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  264. package/bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  265. package/bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -53
  266. package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  267. package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  268. package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  269. package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -56
  270. package/bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  271. package/bmad/bmm/workflows/testarch/test-design/instructions.md +0 -621
  272. package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  273. package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -52
  274. package/bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  275. package/bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  276. package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  277. package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -53
  278. package/bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  279. package/bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  280. package/bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  281. package/bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -66
  282. package/bmad/bmm/workflows/workflow-status/init/instructions.md +0 -771
  283. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -27
  284. package/bmad/bmm/workflows/workflow-status/instructions.md +0 -386
  285. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -120
  286. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -108
  287. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -75
  288. package/bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -97
  289. package/bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -88
  290. package/bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  291. package/bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  292. package/bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  293. package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -49
  294. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -31
  295. package/bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  296. package/src/modules/bmm/docs/troubleshooting.md +0 -680
  297. package/src/modules/bmm/teams/team-gamedev.yaml +0 -14
  298. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +0 -81
  299. package/src/modules/bmm/workflows/2-plan-workflows/narrative/checklist.md +0 -139
  300. package/src/modules/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +0 -608
  301. package/src/modules/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +0 -195
  302. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-brain-methods.csv +0 -0
  303. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-context.md +0 -0
  304. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/instructions.md +0 -0
  305. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/checklist.md +0 -0
  306. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/instructions.md +0 -0
  307. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/template.md +0 -0
  308. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/checklist.md +0 -0
  309. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/action-platformer.md +0 -0
  310. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/adventure.md +0 -0
  311. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/card-game.md +0 -0
  312. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/fighting.md +0 -0
  313. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/horror.md +0 -0
  314. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/idle-incremental.md +0 -0
  315. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/metroidvania.md +0 -0
  316. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/moba.md +0 -0
  317. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/party-game.md +0 -0
  318. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/puzzle.md +0 -0
  319. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/racing.md +0 -0
  320. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rhythm.md +0 -0
  321. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/roguelike.md +0 -0
  322. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rpg.md +0 -0
  323. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sandbox.md +0 -0
  324. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/shooter.md +0 -0
  325. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/simulation.md +0 -0
  326. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sports.md +0 -0
  327. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/strategy.md +0 -0
  328. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/survival.md +0 -0
  329. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/text-based.md +0 -0
  330. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/tower-defense.md +0 -0
  331. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/turn-based-tactics.md +0 -0
  332. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/visual-novel.md +0 -0
  333. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types.csv +0 -0
  334. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/gdd-template.md +0 -0
  335. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/instructions-gdd.md +0 -0
  336. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/checklist.md +0 -0
  337. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/instructions-narrative.md +0 -0
  338. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/narrative-template.md +0 -0
  339. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/architecture-patterns.yaml +0 -0
  340. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/architecture-template.md +0 -0
  341. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/checklist.md +0 -0
  342. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/decision-catalog.yaml +0 -0
  343. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/instructions.md +0 -0
  344. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/pattern-categories.csv +0 -0
  345. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/backlog_template.md +0 -0
  346. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/checklist.md +0 -0
  347. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/instructions.md +0 -0
  348. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/checklist.md +0 -0
  349. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/instructions.md +0 -0
  350. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/checklist.md +0 -0
  351. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/instructions.md +0 -0
  352. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/template.md +0 -0
  353. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/AUDIT-REPORT.md +0 -0
  354. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/checklist.md +0 -0
  355. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/instructions.md +0 -0
  356. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/checklist.md +0 -0
  357. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/instructions.md +0 -0
  358. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/template.md +0 -0
  359. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/retrospective/instructions.md +0 -0
  360. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/checklist.md +0 -0
  361. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/instructions.md +0 -0
  362. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/sprint-status-template.yaml +0 -0
  363. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/checklist.md +0 -0
  364. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/context-template.xml +0 -0
  365. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/instructions.md +0 -0
  366. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-done/instructions.md +0 -0
  367. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-ready/instructions.md +0 -0
@@ -1,61 +1,77 @@
1
1
  # BMM Planning Workflows (Phase 2)
2
2
 
3
+ **Reading Time:** ~10 minutes
4
+
3
5
  ## Overview
4
6
 
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.
7
+ Phase 2 (Planning) workflows are **required** for all projects. They transform strategic vision into actionable requirements using a **scale-adaptive system** that automatically selects the right planning depth based on project complexity.
8
+
9
+ **Key principle:** One unified entry point (`workflow-init`) intelligently routes to the appropriate planning methodology - from quick tech-specs to comprehensive PRDs.
6
10
 
7
- **Key principle:** One workflow to rule them all - `plan-project` intelligently routes to the appropriate planning flow based on project characteristics.
11
+ **When to use:** All projects require planning. The system adapts depth automatically based on complexity.
8
12
 
9
13
  ---
10
14
 
11
- ## Phase 2 Planning Flow
15
+ ## Phase 2 Planning Workflow Map
12
16
 
13
17
  ```mermaid
14
18
  %%{init: {'theme':'base', 'themeVariables': { 'primaryColor':'#fff','primaryTextColor':'#000','primaryBorderColor':'#000','lineColor':'#000','fontSize':'16px','fontFamily':'arial'}}}%%
15
19
  graph TB
16
- Entry["<b>START: plan-project</b><br/>Discovery and routing"]
20
+ Start["<b>START: workflow-init</b><br/>Discovery + routing"]
17
21
 
18
- subgraph QuickFlow["<b>QUICK FLOW (Levels 0-1)</b>"]
19
- TechSpec["<b>PM: tech-spec</b><br/>Lightweight spec for simple changes"]
22
+ subgraph QuickFlow["<b>QUICK FLOW (Simple Planning)</b>"]
23
+ direction TB
24
+ TechSpec["<b>PM: tech-spec</b><br/>Technical document<br/>→ Story or Epic+Stories<br/>1-15 stories typically"]
20
25
  end
21
26
 
22
- subgraph StandardFlow["<b>STANDARD PLANNING (Levels 2-4)</b>"]
27
+ subgraph BMadMethod["<b>BMAD METHOD (Recommended)</b>"]
28
+ direction TB
23
29
  PRD["<b>PM: prd</b><br/>Strategic PRD"]
24
- GDD["<b>Game Designer: gdd</b><br/>Game design document"]
30
+ GDD["<b>Game Designer: gdd</b><br/>Game design doc"]
25
31
  Narrative["<b>Game Designer: narrative</b><br/>Story-driven design"]
26
- UXDesign["<b>UX Designer: ux</b><br/>UX-first specification"]
27
32
 
28
- Epics["<b>PM: create-epics-and-stories</b><br/>Break requirements into epics and stories"]
33
+ Epics["<b>PM: create-epics-and-stories</b><br/>Epic+Stories breakdown<br/>10-50+ stories typically"]
34
+
35
+ UXDesign["<b>UX Designer: ux</b><br/>Optional UX specification"]
36
+ end
37
+
38
+ subgraph Enterprise["<b>ENTERPRISE METHOD</b>"]
39
+ direction TB
40
+ EntNote["<b>Uses BMad Method Planning</b><br/>+<br/>Extended Phase 3 workflows<br/>(Architecture + Security + DevOps)<br/>30+ stories typically"]
29
41
  end
30
42
 
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"]
43
+ subgraph Updates["<b>MID-STREAM UPDATES (Anytime)</b>"]
44
+ direction LR
45
+ CorrectCourse["<b>PM/SM: correct-course</b><br/>Update requirements/stories"]
33
46
  end
34
47
 
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
48
+ Start -->|Bug fix, simple| QuickFlow
49
+ Start -->|Software product| PRD
50
+ Start -->|Game project| GDD
51
+ Start -->|Story-driven| Narrative
52
+ Start -->|Enterprise needs| Enterprise
40
53
 
41
54
  PRD --> Epics
42
55
  GDD --> Epics
43
56
  Narrative --> Epics
57
+ Epics -.->|Optional| UXDesign
44
58
  UXDesign -.->|May update| Epics
45
59
 
46
- Epics --> Phase3["<b>Phase 3: Architecture</b>"]
47
- Phase3 -.->|May update| Epics
48
-
49
60
  QuickFlow --> Phase4["<b>Phase 4: Implementation</b>"]
61
+ Epics --> Phase3["<b>Phase 3: Architecture</b>"]
62
+ Enterprise -.->|Uses BMad planning| Epics
63
+ Enterprise --> Phase3Ext["<b>Phase 3: Extended</b><br/>(Arch + Sec + DevOps)"]
50
64
  Phase3 --> Phase4
65
+ Phase3Ext --> Phase4
51
66
 
52
67
  Phase4 -.->|Significant changes| CorrectCourse
53
68
  CorrectCourse -.->|Updates| Epics
54
69
 
55
- style Entry fill:#fff9c4,stroke:#f57f17,stroke-width:3px,color:#000
70
+ style Start fill:#fff9c4,stroke:#f57f17,stroke-width:3px,color:#000
56
71
  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
72
+ style BMadMethod fill:#e1bee7,stroke:#6a1b9a,stroke-width:3px,color:#000
73
+ style Enterprise fill:#ffcdd2,stroke:#c62828,stroke-width:3px,color:#000
74
+ style Updates fill:#ffecb3,stroke:#ff6f00,stroke-width:3px,color:#000
59
75
  style Phase3 fill:#90caf9,stroke:#0d47a1,stroke-width:2px,color:#000
60
76
  style Phase4 fill:#ffcc80,stroke:#e65100,stroke-width:2px,color:#000
61
77
 
@@ -65,324 +81,161 @@ graph TB
65
81
  style Narrative fill:#ce93d8,stroke:#4a148c,stroke-width:2px,color:#000
66
82
  style UXDesign fill:#ce93d8,stroke:#4a148c,stroke-width:2px,color:#000
67
83
  style Epics fill:#ba68c8,stroke:#6a1b9a,stroke-width:3px,color:#000
68
- style CorrectCourse fill:#ef5350,stroke:#c62828,stroke-width:2px,color:#000
84
+ style EntNote fill:#ef9a9a,stroke:#c62828,stroke-width:2px,color:#000
85
+ style Phase3Ext fill:#ef5350,stroke:#c62828,stroke-width:2px,color:#000
86
+ style CorrectCourse fill:#ffb74d,stroke:#ff6f00,stroke-width:2px,color:#000
69
87
  ```
70
88
 
71
89
  ---
72
90
 
73
91
  ## Quick Reference
74
92
 
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 |
93
+ | Workflow | Agent | Track | Purpose | Typical Stories |
94
+ | ---------------------------- | ------------- | ----------- | ------------------------------------------ | --------------- |
95
+ | **workflow-init** | PM/Analyst | All | Entry point: discovery + routing | N/A |
96
+ | **tech-spec** | PM | Quick Flow | Technical document Story or Epic+Stories | 1-15 |
97
+ | **prd** | PM | BMad Method | Strategic PRD | 10-50+ |
98
+ | **gdd** | Game Designer | BMad Method | Game Design Document | 10-50+ |
99
+ | **narrative** | Game Designer | BMad Method | Story-driven game/experience design | 10-50+ |
100
+ | **create-epics-and-stories** | PM | BMad Method | Break PRD/GDD into Epic+Stories | N/A |
101
+ | **ux** | UX Designer | BMad Method | Optional UX specification | N/A |
102
+ | **correct-course** | PM/SM | All | Mid-stream requirement changes | N/A |
83
103
 
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.
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.
104
+ **Note:** Story counts are guidance based on typical usage, not strict definitions.
87
105
 
88
106
  ---
89
107
 
90
- ## Understanding Scale-Adaptive Planning
91
-
92
- ### Project Complexity Levels
108
+ ## Scale-Adaptive Planning System
93
109
 
94
- BMM categorizes projects into 5 levels (0-4) to determine the appropriate planning detail:
110
+ BMM uses three distinct planning tracks that adapt to project complexity:
95
111
 
96
- | Level | Scope | Planning Workflow | Examples |
97
- | ----------- | ----------------------- | -------------------------- | ------------------------------------------------------------ |
98
- | **Level 0** | Single atomic change | **tech-spec** (Quick Spec) | Bug fix, single endpoint, config change |
99
- | **Level 1** | Simple isolated feature | **tech-spec** (Quick Spec) | Add validation rule, new API field, small UI component |
100
- | **Level 2** | Medium feature | **prd** (Lightweight) | User profile page, search feature, data export |
101
- | **Level 3** | Large feature set | **prd** (Standard) | Complete authentication system, admin dashboard |
102
- | **Level 4** | Multi-phase initiative | **prd** (Comprehensive) | Platform migration, new product line, enterprise integration |
112
+ ### Track 1: Quick Flow
103
113
 
104
- ### How Scale-Adaptive Planning Works
114
+ **Best For:** Bug fixes, simple features, clear scope, enhancements
105
115
 
106
- **Step 1: Intent Discovery**
107
- The `plan-project` workflow asks you questions to understand:
116
+ **Planning:** Tech-spec only → Implementation
108
117
 
109
- - What are you building?
110
- - How complex is it?
111
- - Is this greenfield or brownfield?
112
- - What are the primary concerns? (features, UX, story, technical architecture)
118
+ **Time:** Hours to 1 day
113
119
 
114
- **Step 2: Intelligent Routing**
115
- Based on your answers, the workflow routes to:
120
+ **Story Count:** Typically 1-15 (guidance)
116
121
 
117
- - **tech-spec** (Levels 0-1): Quick Spec Flow for simple changes
118
- - **prd** (Levels 2-4): Strategic PRD with epic breakdown
119
- - **gdd** (Levels 2-4, games): Game Design Document
120
- - **narrative** (Levels 2-4, story-heavy): Narrative-first design
121
- - **ux** (Levels 2-4, UX-first): UX specification with prototypes
122
+ **Documents:** tech-spec.md + story files
122
123
 
123
- **Step 3: Adaptive Detail**
124
- Each workflow adjusts its depth based on level:
125
-
126
- - Level 2: Lightweight documentation
127
- - Level 3: Standard documentation with multiple epics
128
- - Level 4: Comprehensive documentation with phased delivery
124
+ **Example:** "Fix authentication bug", "Add OAuth social login"
129
125
 
130
126
  ---
131
127
 
132
- ## plan-project (Entry Point)
133
-
134
- ### Purpose
135
-
136
- Single unified entry point for all planning workflows. Uses conversational discovery to understand your project and intelligently route to the appropriate planning flow.
137
-
138
- **Agent:** PM (orchestrates other agents as needed)
139
- **Phase:** 2 (Planning)
140
- **Required:** Yes (for all projects)
141
-
142
- ### When to Use
128
+ ### Track 2: BMad Method (RECOMMENDED)
143
129
 
144
- **Always use this as your planning starting point.** Do not call prd, gdd, narrative, ux, or tech-spec directly unless you explicitly want to skip discovery.
130
+ **Best For:** Products, platforms, complex features, multiple epics
145
131
 
146
- ### Process Overview
132
+ **Planning:** PRD + Architecture → Implementation
147
133
 
148
- **Phase 1: Discovery (Steps 1-3)**
134
+ **Time:** 1-3 days
149
135
 
150
- - Understand project context
151
- - Assess complexity level (0-4)
152
- - Identify primary concerns (features, UX, story, technical)
136
+ **Story Count:** Typically 10-50+ (guidance)
153
137
 
154
- **Phase 2: Routing Decision (Step 4)**
138
+ **Documents:** PRD.md (or GDD.md) + architecture.md + epic files + story files
155
139
 
156
- - Determine target workflow
157
- - Explain routing rationale
158
- - Confirm with user
140
+ **Greenfield:** Product Brief (optional) → PRD → UX (optional) → Architecture → Implementation
159
141
 
160
- **Phase 3: Execute Target Workflow (Steps 5-6)**
142
+ **Brownfield:** document-project PRD Architecture (recommended) → Implementation
161
143
 
162
- - Invoke appropriate planning workflow
163
- - Pass context and decisions
164
- - Return to plan-project for completion
144
+ **Example:** "Customer dashboard", "E-commerce platform", "Add search to existing app"
165
145
 
166
- **Phase 4: Handoff (Step 7)**
146
+ **Why Architecture for Brownfield?** Distills massive codebase context into focused solution design for your specific project.
167
147
 
168
- - Document planning decisions
169
- - Recommend next phase workflows
170
- - Update workflow status
171
-
172
- ### Discovery Questions
173
-
174
- **Project Type:**
175
-
176
- - What are you building? (software product, game, internal tool, etc.)
177
- - Is this greenfield (new) or brownfield (existing)?
148
+ ---
178
149
 
179
- **Complexity Assessment:**
150
+ ### Track 3: Enterprise Method
180
151
 
181
- - How would you describe the scope? (single change, simple feature, medium feature, large feature set, multi-phase initiative)
182
- - How many user-facing features are involved?
183
- - How many systems or integrations are affected?
152
+ **Best For:** Enterprise requirements, multi-tenant, compliance, security-sensitive
184
153
 
185
- **Primary Concerns:**
154
+ **Planning (Phase 2):** Uses BMad Method planning (PRD + Epic+Stories)
186
155
 
187
- - What's most important for this project? (feature functionality, user experience, narrative/story, technical architecture, performance)
156
+ **Solutioning (Phase 3):** Extended workflows (Architecture + Security + DevOps + SecOps as optional additions)
188
157
 
189
- **Special Characteristics:**
158
+ **Time:** 3-7 days total (1-3 days planning + 2-4 days extended solutioning)
190
159
 
191
- - Is this a game project?
192
- - Is storytelling central to the experience?
193
- - Is UX innovation the primary differentiator?
194
- - Are there unique technical constraints?
160
+ **Story Count:** Typically 30+ (but defined by enterprise needs)
195
161
 
196
- ### Routing Logic
162
+ **Documents Phase 2:** PRD.md + epics + epic files + story files
197
163
 
198
- ```
199
- IF game_project AND level >= 2:
200
- → Route to gdd
164
+ **Documents Phase 3:** architecture.md + security-architecture.md (optional) + devops-strategy.md (optional) + secops-strategy.md (optional)
201
165
 
202
- ELSE IF story_central AND level >= 2:
203
- → Route to narrative
166
+ **Example:** "Multi-tenant SaaS", "HIPAA-compliant portal", "Add SOC2 audit logging"
204
167
 
205
- ELSE IF ux_innovation AND level >= 2:
206
- → Route to ux
207
-
208
- ELSE IF level <= 1:
209
- → Route to tech-spec (Quick Spec Flow)
168
+ ---
210
169
 
211
- ELSE:
212
- → Route to prd (with level-appropriate depth)
213
- ```
170
+ ## How Track Selection Works
214
171
 
215
- ### Outputs
172
+ `workflow-init` guides you through educational choice:
216
173
 
217
- - Planning decision document (routing rationale)
218
- - Output from target workflow (PRD, GDD, Tech Spec, etc.)
219
- - Handoff recommendations for Phase 3
174
+ 1. **Description Analysis** - Analyzes project description for complexity
175
+ 2. **Educational Presentation** - Shows all three tracks with trade-offs
176
+ 3. **Recommendation** - Suggests track based on keywords and context
177
+ 4. **User Choice** - You select the track that fits
220
178
 
221
- ### Example Scenarios
179
+ The system guides but never forces. You can override recommendations.
222
180
 
223
- **Scenario 1: Bug Fix**
181
+ ---
224
182
 
225
- - **Input**: "Fix null pointer exception in user service"
226
- - **Discovery**: Level 0 (single atomic change)
227
- - **Route**: tech-spec (Quick Spec Flow)
183
+ ## Workflow Descriptions
228
184
 
229
- **Scenario 2: E-commerce Checkout**
185
+ ### workflow-init (Entry Point)
230
186
 
231
- - **Input**: "Build complete checkout flow with payment processing"
232
- - **Discovery**: Level 3 (large feature set), feature-focused
233
- - **Route**: prd (Standard depth)
187
+ **Purpose:** Single unified entry point for all planning. Discovers project needs and intelligently routes to appropriate track.
234
188
 
235
- **Scenario 3: Roguelike Card Game**
189
+ **Agent:** PM (orchestrates others as needed)
236
190
 
237
- - **Input**: "Roguelike card battler with emotional narrative"
238
- - **Discovery**: Level 3 (large feature set), game project
239
- - **Route**: gdd
191
+ **Always Use:** This is your planning starting point. Don't call prd/gdd/tech-spec directly unless skipping discovery.
240
192
 
241
- **Scenario 4: Story-Driven Adventure**
193
+ **Process:**
242
194
 
243
- - **Input**: "Narrative adventure game with branching story"
244
- - **Discovery**: Level 3, story-central
245
- - **Route**: narrative (then gdd for mechanics)
195
+ 1. Discovery (understand context, assess complexity, identify concerns)
196
+ 2. Routing Decision (determine track, explain rationale, confirm)
197
+ 3. Execute Target Workflow (invoke planning workflow, pass context)
198
+ 4. Handoff (document decisions, recommend next phase)
246
199
 
247
200
  ---
248
201
 
249
- ## tech-spec (Quick Spec Flow)
250
-
251
- ### Purpose
202
+ ### tech-spec (Quick Flow)
252
203
 
253
- Lightweight technical specification for Levels 0-1 projects (single changes, simple features). Focuses on implementation details without heavy strategic planning.
204
+ **Purpose:** Lightweight technical specification for simple changes (Quick Flow track). Produces technical document and story or epic+stories structure.
254
205
 
255
- **Agent:** Architect
256
- **Phase:** 2 (Planning)
257
- **Project Levels:** 0-1
206
+ **Agent:** PM
258
207
 
259
- ### When to Use
208
+ **When to Use:**
260
209
 
261
210
  - Bug fixes
262
211
  - Single API endpoint additions
263
212
  - Configuration changes
264
213
  - Small UI component additions
265
214
  - Isolated validation rules
266
- - Single-file modifications
267
-
268
- **When NOT to use:**
269
-
270
- - Multiple interconnected changes → Use **prd**
271
- - User-facing feature with multiple screens → Use **prd**
272
- - Requires epic breakdown → Use **prd**
273
-
274
- ### Process Overview
275
-
276
- **Step 1: Problem Definition**
277
-
278
- - What's broken or missing?
279
- - What's the desired behavior?
280
- - What are the constraints?
281
-
282
- **Step 2: Technical Analysis**
283
-
284
- - Current state assessment
285
- - Root cause (if bug)
286
- - Dependencies identified
287
-
288
- **Step 3: Solution Design**
289
-
290
- - Implementation approach
291
- - Code changes required
292
- - Test strategy
293
- - Rollback plan
294
-
295
- **Step 4: Documentation**
296
-
297
- - Quick Spec document generated
298
- - Handoff to implementation
299
-
300
- ### Inputs
301
-
302
- - Problem description or feature request
303
- - Current codebase context (if brownfield)
304
- - Technical constraints
305
- - Acceptance criteria (simple)
306
-
307
- ### Outputs
308
215
 
309
- **Primary Output:** `tech-spec-{feature-name}-{date}.md`
216
+ **Key Outputs:**
310
217
 
311
- **Document Structure:**
218
+ - **tech-spec.md** - Technical document containing:
219
+ - Problem statement and solution
220
+ - Source tree changes
221
+ - Implementation details
222
+ - Testing strategy
223
+ - Acceptance criteria
224
+ - **Story file(s)** - Single story OR epic+stories structure (1-15 stories typically)
312
225
 
313
- 1. Problem Statement
314
- 2. Current State Analysis
315
- 3. Proposed Solution
316
- 4. Implementation Details
317
- - Files to modify
318
- - API changes
319
- - Database changes (if any)
320
- - Configuration changes
321
- 5. Test Strategy
322
- 6. Rollback Plan
323
- 7. Acceptance Criteria
324
- 8. Risk Assessment (lightweight)
226
+ **Skip To Phase:** 4 (Implementation) - no Phase 3 architecture needed
325
227
 
326
- ### Example Output
327
-
328
- **Problem:** Null pointer exception when user has no profile image
329
-
330
- **Solution:**
331
-
332
- ```markdown
333
- # Quick Spec: Fix Profile Image Null Pointer
334
-
335
- ## Problem
336
-
337
- Users without profile images cause NPE in UserProfileService.java:line 42
338
-
339
- ## Root Cause
340
-
341
- Method assumes profileImageUrl is never null, but DB allows NULL
342
-
343
- ## Solution
344
-
345
- 1. Add null check in UserProfileService
346
- 2. Return default placeholder image URL
347
- 3. Add unit test for null case
348
-
349
- ## Implementation
350
-
351
- - File: `UserProfileService.java`
352
- - Change: Add null guard: `if (user.profileImageUrl == null) return DEFAULT_AVATAR_URL;`
353
- - Test: `UserProfileServiceTest.java` - new test case
354
- - No DB migration needed
355
-
356
- ## Acceptance Criteria
357
-
358
- - AC-1: Users with null profile image see default avatar
359
- - AC-2: No NPE in logs
360
- - AC-3: Unit test passes
361
-
362
- ## Risk: LOW
363
-
364
- - Isolated change, single method
365
- - Backward compatible
366
- ```
367
-
368
- ### Related Workflows
369
-
370
- - **dev-story** (Phase 4) - Implement the spec
371
- - **prd** - Use for more complex features
228
+ **Example:** "Fix null pointer when user has no profile image" → Single file change, null check, unit test, no DB migration.
372
229
 
373
230
  ---
374
231
 
375
- ## prd (Product Requirements Document)
376
-
377
- ### Purpose
232
+ ### prd (Product Requirements Document)
378
233
 
379
- Strategic PRD with tactical epic breakdown for Levels 2-4 projects. Unified workflow that adapts depth based on project complexity.
234
+ **Purpose:** Strategic PRD with epic breakdown for software products (BMad Method track).
380
235
 
381
236
  **Agent:** PM (with Architect and Analyst support)
382
- **Phase:** 2 (Planning)
383
- **Project Levels:** 2-4
384
237
 
385
- ### When to Use
238
+ **When to Use:**
386
239
 
387
240
  - Medium to large feature sets
388
241
  - Multi-screen user experiences
@@ -390,688 +243,287 @@ Strategic PRD with tactical epic breakdown for Levels 2-4 projects. Unified work
390
243
  - Multiple system integrations
391
244
  - Phased delivery required
392
245
 
393
- ### Scale-Adaptive Structure
394
-
395
- **Level 2 (Lightweight PRD):**
396
-
397
- - Single epic with 5-10 stories
398
- - Simplified competitive analysis
399
- - Basic technical considerations
400
- - 10-15 pages
401
-
402
- **Level 3 (Standard PRD):**
403
-
404
- - 2-4 epics with 15-30 stories
405
- - Comprehensive competitive analysis
406
- - Detailed technical requirements
407
- - Risk assessment
408
- - 20-30 pages
409
-
410
- **Level 4 (Comprehensive PRD):**
411
-
412
- - 5+ epics with 30-50+ stories
413
- - Multi-phase delivery plan
414
- - Enterprise architecture considerations
415
- - Extensive stakeholder analysis
416
- - Success metrics framework
417
- - 30-50+ pages
418
-
419
- ### Process Overview
420
-
421
- **Phase 1: Strategic Foundation (Steps 1-4)**
422
-
423
- - Problem and opportunity definition
424
- - User research and personas
425
- - Competitive analysis
426
- - Success criteria and metrics
427
-
428
- **Phase 2: Solution Definition (Steps 5-8)**
429
-
430
- - Core capabilities and features
431
- - User experience principles
432
- - Technical requirements
433
- - Integration points
434
-
435
- **Phase 3: Epic Breakdown (Steps 9-12)**
436
-
437
- - Identify epics (level-appropriate count)
438
- - Define user stories per epic
439
- - Prioritize stories (P0/P1/P2/P3)
440
- - Sequence for delivery
441
-
442
- **Phase 4: Planning and Risks (Steps 13-15)**
443
-
444
- - Resource estimation
445
- - Risk assessment
446
- - Assumptions and dependencies
447
- - Success metrics finalized
448
-
449
- **Phase 5: Documentation (Step 16)**
450
-
451
- - Generate final PRD
452
- - Create epic files
453
- - Handoff preparation
454
-
455
- ### Inputs
456
-
457
- Optional:
246
+ **Scale-Adaptive Structure:**
458
247
 
459
- - product-brief.md (from Phase 1)
460
- - market-research.md (from Phase 1)
461
- - competitive-analysis.md (from Phase 1)
462
- - User input through conversational process
248
+ - **Light:** Single epic, 5-10 stories, simplified analysis (10-15 pages)
249
+ - **Standard:** 2-4 epics, 15-30 stories, comprehensive analysis (20-30 pages)
250
+ - **Comprehensive:** 5+ epics, 30-50+ stories, multi-phase, extensive stakeholder analysis (30-50+ pages)
463
251
 
464
- ### Outputs
252
+ **Key Outputs:**
465
253
 
466
- **Primary Outputs:**
254
+ - PRD.md (complete requirements)
255
+ - epics.md (epic breakdown)
256
+ - Epic files (epic-1-_.md, epic-2-_.md, etc.)
467
257
 
468
- 1. **PRD.md**: Complete product requirements document
469
- 2. **epics.md**: All epics with story breakdown
470
- 3. **Epic Files**: Individual files per epic (e.g., `epic-1-authentication.md`)
258
+ **Integration:** Feeds into Architecture (Phase 3)
471
259
 
472
- **PRD Structure:**
473
-
474
- 1. Executive Summary
475
- 2. Problem Statement (with evidence)
476
- 3. Goals and Success Metrics
477
- 4. User Personas and Scenarios
478
- 5. Competitive Landscape
479
- 6. Feature Requirements
480
- - Core capabilities
481
- - User stories (organized by epic)
482
- - Acceptance criteria
483
- 7. User Experience Requirements
484
- 8. Technical Requirements
485
- 9. Integration Requirements
486
- 10. Non-Functional Requirements (NFRs)
487
- 11. Assumptions and Constraints
488
- 12. Risks and Mitigation
489
- 13. Success Metrics
490
- 14. Glossary
491
-
492
- **Epic File Structure:**
493
-
494
- - Epic overview and objectives
495
- - User stories with acceptance criteria
496
- - Story priorities (P0/P1/P2/P3)
497
- - Dependencies and sequencing
498
- - Technical notes
499
- - Success criteria
500
-
501
- ### Example: Level 3 PRD for E-commerce Checkout
502
-
503
- **Strategic Section:**
504
-
505
- - **Problem**: 68% cart abandonment rate vs 45% industry average
506
- - **Goal**: Reduce abandonment to 50% in 6 months
507
- - **Users**: Primary (buyers), Secondary (guest checkout)
508
- - **Competitors**: Shopify (1-click), Amazon (save payment)
509
-
510
- **Epic Breakdown:**
511
-
512
- 1. **Epic 1: Guest Checkout** (7 stories)
513
- - P0: Guest can checkout without account
514
- - P1: Email receipt sent
515
- - P2: Optional account creation
516
- 2. **Epic 2: Payment Processing** (8 stories)
517
- - P0: Credit card integration (Stripe)
518
- - P1: Saved payment methods
519
- - P2: Alternative payments (PayPal, Apple Pay)
520
- 3. **Epic 3: Order Management** (6 stories)
521
- - P0: Order confirmation
522
- - P1: Order history
523
- - P2: Order tracking
524
-
525
- **Total:** 3 epics, 21 stories, 4-6 week delivery
526
-
527
- ### Related Workflows
528
-
529
- - **product-brief** (Phase 1) - Strategic input
530
- - **architecture** (Phase 3) - Technical design
531
- - **tech-spec** (Phase 3) - Detailed specifications
532
- - **create-epics-and-stories** (Phase 4) - If manual epic creation needed
260
+ **Example:** E-commerce checkout → 3 epics (Guest Checkout, Payment Processing, Order Management), 21 stories, 4-6 week delivery.
533
261
 
534
262
  ---
535
263
 
536
- ## gdd (Game Design Document)
537
-
538
- ### Purpose
264
+ ### gdd (Game Design Document)
539
265
 
540
- Complete game design document for Levels 2-4 game projects, adapted from industry-standard GDD formats with practical scoping.
266
+ **Purpose:** Complete game design document for game projects (BMad Method track).
541
267
 
542
- **Agent:** PM (Game Designer persona)
543
- **Phase:** 2 (Planning)
544
- **Project Levels:** 2-4 (games)
268
+ **Agent:** Game Designer
545
269
 
546
- ### When to Use
270
+ **When to Use:**
547
271
 
548
- - Designing a game (any genre)
272
+ - Designing any game (any genre)
549
273
  - Need comprehensive design documentation
550
274
  - Team needs shared vision
551
275
  - Publisher/stakeholder communication
552
276
 
553
- ### Comparison to Traditional GDD
554
-
555
- **Traditional GDD Weaknesses:**
556
-
557
- - Too detailed too early
558
- - Assumes waterfall delivery
559
- - No connection to implementation tracking
560
- - No epic/story breakdown
561
-
562
- **BMM GDD Improvements:**
277
+ **BMM GDD vs Traditional:**
563
278
 
564
- - Scale-adaptive detail
279
+ - Scale-adaptive detail (not waterfall)
565
280
  - Agile epic structure
566
- - Direct handoff to implementation (Phase 4)
281
+ - Direct handoff to implementation
567
282
  - Integrated with testing workflows
568
283
 
569
- ### Process Overview
570
-
571
- **Phase 1: Core Concept (Steps 1-4)**
572
-
573
- - High concept and elevator pitch
574
- - Core gameplay loop
575
- - Design pillars
576
- - Player experience goals
577
-
578
- **Phase 2: Game Systems (Steps 5-10)**
579
-
580
- - Mechanics definition
581
- - Progression systems
582
- - Economy and balance
583
- - Combat/interaction systems
584
- - Level/world design
585
- - Art and audio direction
284
+ **Key Outputs:**
586
285
 
587
- **Phase 3: Content Scope (Steps 11-13)**
588
-
589
- - Content volume (levels, characters, items)
590
- - Narrative overview (if applicable)
591
- - Monetization strategy (if F2P/premium)
592
-
593
- **Phase 4: Technical and Production (Steps 14-16)**
594
-
595
- - Platform and technical requirements
596
- - Team and timeline
597
- - Risks and challenges
598
- - Success metrics
599
-
600
- **Phase 5: Epic Breakdown (Step 17)**
601
-
602
- - Convert design into epics
603
- - Create user stories per epic
604
- - Prioritize features (MVP vs post-launch)
605
- - Sequence delivery
606
-
607
- ### Inputs
608
-
609
- Optional:
610
-
611
- - game-brief.md (from Phase 1)
612
- - brainstorm-game results (from Phase 1)
613
- - market-research.md (from Phase 1)
614
- - Reference game analysis
615
-
616
- ### Outputs
617
-
618
- **Primary Output:** `GDD-{game-name}-{date}.md`
619
-
620
- **GDD Structure:**
621
-
622
- 1. Executive Summary
623
- 2. Core Concept
624
- - High concept
625
- - Elevator pitch
626
- - Design pillars
627
- 3. Gameplay
628
- - Core loop
629
- - Mechanics
630
- - Player actions
631
- - Progression
632
- 4. Game Systems
633
- - Combat/interaction
634
- - Economy
635
- - Progression
636
- - Customization
637
- 5. World and Narrative
638
- - Setting
639
- - Story (if applicable)
640
- - Characters
641
- 6. Content Scope
642
- - Levels/missions
643
- - Characters/enemies
644
- - Items/abilities
645
- - Estimated play time
646
- 7. Art Direction
647
- 8. Audio Direction
648
- 9. User Interface/UX
649
- 10. Technical Requirements
650
- 11. Platforms and Performance
651
- 12. Monetization (if applicable)
652
- 13. Epic Breakdown
653
- 14. Success Metrics
654
- 15. Risks and Mitigations
655
-
656
- **Epic Breakdown** (unique to BMM GDD):
657
-
658
- - **Epic 1: Core Loop** (foundational mechanics)
659
- - **Epic 2: Content** (levels, enemies, items)
660
- - **Epic 3: Progression** (unlocks, upgrades)
661
- - **Epic 4: Polish** (VFX, audio, UI)
662
-
663
- ### Example: Level 3 GDD for Roguelike Card Game
664
-
665
- **Core Concept:**
666
-
667
- - **High Concept**: Slay the Spire meets Hades with emotional narrative
668
- - **Elevator Pitch**: Roguelike card battler where you play as emotions fighting inner demons
669
- - **Design Pillars**: Strategic depth, emotional resonance, replayability
670
-
671
- **Gameplay:**
672
-
673
- - **Core Loop**: Draw cards → Play cards → Resolve combat → Choose path → Repeat
674
- - **Progression**: Unlock new cards, characters, and story branches
675
- - **Run Length**: 45-60 minutes per run
676
-
677
- **Content Scope:**
678
-
679
- - 3 playable characters (Anger, Fear, Joy)
680
- - 120 cards total (40 per character)
681
- - 50 enemy types
682
- - 10 bosses
683
- - 4 zones (acts)
684
-
685
- **Epic Breakdown:**
686
-
687
- 1. **Epic 1: Core Combat** (8 stories)
688
- - P0: Card playing and resolution
689
- - P0: Enemy AI
690
- - P1: Card effects and combos
691
- 2. **Epic 2: Meta Progression** (6 stories)
692
- - P0: Unlock system
693
- - P1: Character progression
694
- 3. **Epic 3: Content** (12 stories)
695
- - P1: Character 1 (Anger) complete
696
- - P1: Character 2 (Fear) complete
697
- - P2: Character 3 (Joy) complete
698
-
699
- **Estimated Timeline:** 12 months with 3-person team
700
-
701
- ### Related Workflows
702
-
703
- - **game-brief** (Phase 1) - Strategic input
704
- - **narrative** (Phase 2) - If story-heavy game
705
- - **architecture** (Phase 3) - Technical design
286
+ - GDD.md (complete game design)
287
+ - Epic breakdown (Core Loop, Content, Progression, Polish)
706
288
 
707
- ---
289
+ **Integration:** Feeds into Architecture (Phase 3)
290
+
291
+ **Example:** Roguelike card game → Core concept (Slay the Spire meets Hades), 3 characters, 120 cards, 50 enemies, Epic breakdown with 26 stories.
708
292
 
709
- ## narrative (Narrative Design)
293
+ ---
710
294
 
711
- ### Purpose
295
+ ### narrative (Narrative Design)
712
296
 
713
- Story-driven design workflow for games and experiences where narrative is central. Creates comprehensive narrative documentation including story structure, character arcs, dialogue systems, and narrative implementation guidance.
297
+ **Purpose:** Story-driven design workflow for games/experiences where narrative is central (BMad Method track).
714
298
 
715
- **Agent:** PM (Narrative Designer persona) + Creative Problem Solver (CIS)
716
- **Phase:** 2 (Planning)
717
- **Project Levels:** 2-4 (story-driven projects)
299
+ **Agent:** Game Designer (Narrative Designer persona) + Creative Problem Solver (CIS)
718
300
 
719
- ### When to Use
301
+ **When to Use:**
720
302
 
721
- - Story is central to the experience
303
+ - Story is central to experience
722
304
  - Branching narrative with player choices
723
305
  - Character-driven games
724
306
  - Visual novels, adventure games, RPGs
725
- - Interactive fiction
726
-
727
- **When to combine with GDD:**
728
307
 
729
- 1. Run **narrative** workflow first (get story structure)
730
- 2. Then run **gdd** workflow (integrate story with gameplay)
308
+ **Combine with GDD:**
731
309
 
732
- ### Process Overview
310
+ 1. Run `narrative` first (story structure)
311
+ 2. Then run `gdd` (integrate story with gameplay)
733
312
 
734
- **Phase 1: Story Foundation (Steps 1-4)**
735
-
736
- - Story premise and themes
737
- - Setting and world-building
738
- - Narrative structure (linear, branching, open)
739
- - Tone and emotional beats
740
-
741
- **Phase 2: Character Development (Steps 5-7)**
742
-
743
- - Protagonist and supporting cast
744
- - Character arcs and motivations
745
- - Relationships and dynamics
746
-
747
- **Phase 3: Story Structure (Steps 8-11)**
748
-
749
- - Act breakdown (3-act, 5-act, hero's journey)
750
- - Key narrative beats
751
- - Choice points and consequences
752
- - Branching paths (if applicable)
753
-
754
- **Phase 4: Dialogue and Implementation (Steps 12-15)**
313
+ **Key Outputs:**
755
314
 
315
+ - narrative-design.md (complete narrative spec)
316
+ - Story structure (acts, beats, branching)
317
+ - Characters (profiles, arcs, relationships)
756
318
  - Dialogue system design
757
- - Voice and writing style
758
- - Narrative implementation approach
759
- - Asset requirements (VO, cutscenes, etc.)
760
-
761
- **Phase 5: Integration Planning (Step 16)**
762
-
763
- - How narrative integrates with gameplay
764
- - Pacing and player agency
765
- - Narrative-gameplay harmony
766
-
767
- ### Inputs
768
-
769
- Optional:
770
-
771
- - Story outlines or treatments
772
- - Character sketches
773
- - World-building documents
774
- - Reference stories
775
-
776
- ### Outputs
777
-
778
- **Primary Output:** `narrative-design-{project-name}-{date}.md`
779
-
780
- **Document Structure:**
781
-
782
- 1. Narrative Overview
783
- - Premise
784
- - Themes
785
- - Tone
786
- 2. Story Structure
787
- - Act breakdown
788
- - Key beats
789
- - Branching diagram (if applicable)
790
- 3. Characters
791
- - Character profiles
792
- - Arcs
793
- - Relationships
794
- 4. World-Building
795
- - Setting
796
- - Lore
797
- - History
798
- 5. Dialogue System
799
- - Dialogue structure
800
- - Choice mechanics
801
- - Consequence tracking
802
- 6. Implementation Guide
803
- - Narrative assets needed
804
- - Integration with gameplay
805
- - Technical requirements
806
- 7. Narrative Content Scope
807
- - Total word count
808
- - Number of scenes/beats
809
- - Number of endings (if branching)
810
- - VO line count (if voiced)
811
-
812
- ### Example: Level 3 Narrative for Choice-Driven RPG
813
-
814
- **Story Premise:**
815
- You play as a wandering medic in a post-apocalyptic world where healing is outlawed. Each patient you treat changes the world.
816
-
817
- **Structure:**
818
-
819
- - 3 acts, 12 chapters
820
- - 5 major choice points with persistent consequences
821
- - 3 possible endings (altruistic, pragmatic, corrupted)
822
-
823
- **Characters:**
824
-
825
- - **Protagonist**: Dr. Elara Chen (complex moral compass)
826
- - **Antagonist**: The Overseer (believes healing prolongs suffering)
827
- - **Supporting**: 8 recurring characters
828
-
829
- **Branching:**
830
-
831
- ```
832
- Chapter 1 → Choice: Save child or save supplies
833
- ├─ Save child → Village trusts you (Path A)
834
- └─ Save supplies → Village fears you (Path B)
835
-
836
- Chapter 5 → Paths converge, new choice: Reveal or hide ability
837
- ├─ Reveal → Public hero route
838
- └─ Hide → Underground resistance route
839
- ```
319
+ - Implementation guide
840
320
 
841
- **Implementation:**
321
+ **Integration:** Combine with GDD, then feeds into Architecture (Phase 3)
842
322
 
843
- - Total word count: ~60,000 words
844
- - 40 narrative scenes
845
- - 15 hours of gameplay
846
- - 200+ dialogue nodes
847
- - Optional VO (2,000 lines)
848
-
849
- **Epic Breakdown:**
850
-
851
- 1. **Epic 1: Act 1 Narrative** (6 stories)
852
- 2. **Epic 2: Act 2 Narrative** (8 stories)
853
- 3. **Epic 3: Act 3 Narrative** (7 stories)
854
- 4. **Epic 4: Branching Implementation** (5 stories)
855
-
856
- ### Related Workflows
857
-
858
- - **gdd** (Phase 2) - Combine narrative with gameplay
859
- - **ux** (Phase 2) - Narrative UI/UX design
323
+ **Example:** Choice-driven RPG 3 acts, 12 chapters, 5 choice points, 3 endings, 60K words, 40 narrative scenes.
860
324
 
861
325
  ---
862
326
 
863
- ## ux (UX-First Design)
864
-
865
- ### Purpose
327
+ ### ux (UX-First Design)
866
328
 
867
- UX specification workflow for projects where user experience is the primary differentiator or innovation area. Facilitates visual exploration and informed decision-making rather than template-driven design.
329
+ **Purpose:** UX specification for projects where user experience is the primary differentiator (BMad Method track).
868
330
 
869
331
  **Agent:** UX Designer
870
- **Phase:** 2 (Planning)
871
- **Project Levels:** 2-4 (UX-heavy projects)
872
332
 
873
- ### When to Use
333
+ **When to Use:**
874
334
 
875
- - UX is the primary competitive advantage
335
+ - UX is primary competitive advantage
876
336
  - Complex user workflows needing design thinking
877
337
  - Innovative interaction patterns
878
338
  - Design system creation
879
339
  - Accessibility-critical experiences
880
340
 
881
- **When NOT to use:**
341
+ **Collaborative Approach:**
882
342
 
883
- - Standard CRUD interfaces Use **prd**
884
- - Gameplay-first games Use **gdd**
885
- - Backend-focused APIs Use **tech-spec**
343
+ 1. Visual exploration (generate multiple options)
344
+ 2. Informed decisions (evaluate with user needs)
345
+ 3. Collaborative design (refine iteratively)
346
+ 4. Living documentation (evolves with project)
886
347
 
887
- ### Collaborative UX Design Approach
348
+ **Key Outputs:**
888
349
 
889
- **This is NOT a template filler.** The UX workflow facilitates:
350
+ - ux-spec.md (complete UX specification)
351
+ - User journeys
352
+ - Wireframes and mockups
353
+ - Interaction specifications
354
+ - Design system (components, patterns, tokens)
355
+ - Epic breakdown (UX stories)
890
356
 
891
- 1. **Visual Exploration**: Generate multiple design options
892
- 2. **Informed Decisions**: Evaluate options with user needs
893
- 3. **Collaborative Design**: Work with AI to refine iteratively
894
- 4. **Living Documentation**: UX spec evolves with project
357
+ **Integration:** Feeds PRD or updates epics, then Architecture (Phase 3)
895
358
 
896
- ### Process Overview
359
+ **Example:** Dashboard redesign → Card-based layout with split-pane toggle, 5 card components, 12 color tokens, responsive grid, 3 epics (Layout, Visualization, Accessibility).
897
360
 
898
- **Phase 1: UX Foundation (Steps 1-4)**
361
+ ---
899
362
 
900
- - User research and personas
901
- - User journeys and workflows
902
- - Pain points and opportunities
903
- - UX principles and goals
363
+ ### create-epics-and-stories
904
364
 
905
- **Phase 2: Design Exploration (Steps 5-8)**
365
+ **Purpose:** Break PRD/GDD requirements into bite-sized stories organized in epics (BMad Method track).
906
366
 
907
- - Generate multiple design directions
908
- - Wireframes and mockups
909
- - Interaction patterns
910
- - Visual design options
367
+ **Agent:** PM
911
368
 
912
- **Phase 3: Design Refinement (Steps 9-12)**
369
+ **When to Use:**
913
370
 
914
- - Collaborative iteration
915
- - Accessibility validation
916
- - Responsive design considerations
917
- - Component library definition
371
+ - After PRD/GDD complete (often run automatically)
372
+ - Can also run standalone later to re-generate epics/stories
373
+ - When planning story breakdown outside main PRD workflow
918
374
 
919
- **Phase 4: Specification (Steps 13-15)**
375
+ **Key Outputs:**
920
376
 
921
- - Detailed interaction specs
922
- - Design system documentation
923
- - Handoff to development
924
- - Epic breakdown with UX stories
377
+ - epics.md (all epics with story breakdown)
378
+ - Epic files (epic-1-\*.md, etc.)
925
379
 
926
- ### Inputs
380
+ **Note:** PRD workflow often creates epics automatically. This workflow can be run standalone if needed later.
927
381
 
928
- Optional:
382
+ ---
929
383
 
930
- - User research data
931
- - Analytics and heatmaps
932
- - Competitor UX analysis
933
- - Brand guidelines
934
- - Accessibility requirements
384
+ ### correct-course
935
385
 
936
- ### Outputs
386
+ **Purpose:** Handle significant requirement changes during implementation (all tracks).
937
387
 
938
- **Primary Output:** `ux-spec-{project-name}-{date}.md`
388
+ **Agent:** PM, Architect, or SM
939
389
 
940
- **Document Structure:**
390
+ **When to Use:**
941
391
 
942
- 1. UX Vision and Principles
943
- 2. User Research Summary
944
- 3. User Journeys
945
- 4. Information Architecture
946
- 5. Wireframes and Mockups
947
- 6. Interaction Specifications
948
- - Screen-by-screen flows
949
- - Micro-interactions
950
- - Error states
951
- - Loading states
952
- 7. Design System
953
- - Components
954
- - Patterns
955
- - Tokens (colors, typography, spacing)
956
- 8. Accessibility Requirements
957
- 9. Responsive Behavior
958
- 10. Epic Breakdown (UX Stories)
392
+ - Priorities change mid-project
393
+ - New requirements emerge
394
+ - Scope adjustments needed
395
+ - Technical blockers require replanning
959
396
 
960
- ### Example: Level 3 UX Spec for Dashboard Redesign
397
+ **Process:**
961
398
 
962
- **UX Vision:**
963
- "Information at a glance with progressive disclosure"
399
+ 1. Analyze impact of change
400
+ 2. Propose solutions (continue, pivot, pause)
401
+ 3. Update affected documents (PRD, epics, stories)
402
+ 4. Re-route for implementation
964
403
 
965
- **User Journey:**
404
+ **Integration:** Updates planning artifacts, may trigger architecture review
966
405
 
967
- 1. User lands on dashboard
968
- 2. Scans key metrics (glanceable)
969
- 3. Drills into details (progressive disclosure)
970
- 4. Takes action (in-context controls)
406
+ ---
971
407
 
972
- **Wireframes Generated:**
408
+ ## Decision Guide
973
409
 
974
- - Option A: Card-based layout (familiar, modular)
975
- - Option B: Single-column feed (mobile-first)
976
- - Option C: Split-pane (power user)
410
+ ### Which Planning Workflow?
977
411
 
978
- **Decision:** Option A (card-based) with Option C (split-pane) for power users via toggle
412
+ **Use `workflow-init` (Recommended):** Let the system discover needs and route appropriately.
979
413
 
980
- **Design System:**
414
+ **Direct Selection (Advanced):**
981
415
 
982
- - 5 card components (metric, chart, table, activity, action)
983
- - 12 color tokens (accessible contrast ratios)
984
- - Responsive grid (12-column)
416
+ - **Bug fix or single change** `tech-spec` (Quick Flow)
417
+ - **Software product** `prd` (BMad Method)
418
+ - **Game (gameplay-first)** → `gdd` (BMad Method)
419
+ - **Game (story-first)** → `narrative` + `gdd` (BMad Method)
420
+ - **UX innovation project** → `ux` + `prd` (BMad Method)
421
+ - **Enterprise with compliance** → Choose track in `workflow-init` → Enterprise Method
985
422
 
986
- **Epic Breakdown:**
423
+ ---
987
424
 
988
- 1. **Epic 1: Core Layout** (4 stories)
989
- - P0: Responsive grid system
990
- - P0: Card component library
991
- 2. **Epic 2: Data Visualization** (6 stories)
992
- - P1: Chart components
993
- - P1: Real-time updates
994
- 3. **Epic 3: Accessibility** (3 stories)
995
- - P0: Keyboard navigation
996
- - P1: Screen reader support
425
+ ## Integration with Phase 3 (Solutioning)
997
426
 
998
- ### Related Workflows
427
+ Planning outputs feed into Solutioning:
999
428
 
1000
- - **prd** (Phase 2) - UX spec feeds feature requirements
1001
- - **architecture** (Phase 3) - Frontend architecture decisions
429
+ | Planning Output | Solutioning Input | Track Decision |
430
+ | ------------------- | ------------------------------------ | ---------------------------- |
431
+ | tech-spec.md | Skip Phase 3 → Phase 4 directly | Quick Flow (no architecture) |
432
+ | PRD.md | **architecture** (Level 3-4) | BMad Method (recommended) |
433
+ | GDD.md | **architecture** (game tech) | BMad Method (recommended) |
434
+ | narrative-design.md | **architecture** (narrative systems) | BMad Method |
435
+ | ux-spec.md | **architecture** (frontend design) | BMad Method |
436
+ | Enterprise docs | **architecture** + security/ops | Enterprise Method (required) |
1002
437
 
1003
- ---
438
+ **Key Decision Points:**
1004
439
 
1005
- ## Decision Guide: Which Planning Workflow?
440
+ - **Quick Flow:** Skip Phase 3 entirely → Phase 4 (Implementation)
441
+ - **BMad Method:** Optional Phase 3 (simple), Required Phase 3 (complex)
442
+ - **Enterprise:** Required Phase 3 (architecture + extended planning)
1006
443
 
1007
- ### Use `plan-project` (Recommended)
444
+ See: [workflows-solutioning.md](./workflows-solutioning.md)
1008
445
 
1009
- Let the workflow discover your needs and route appropriately.
446
+ ---
1010
447
 
1011
- ### Direct Workflow Selection (Advanced)
448
+ ## Best Practices
1012
449
 
1013
- **For bug fixes or single changes:**
1014
- → **tech-spec** (Quick Spec Flow)
450
+ ### 1. Always Start with workflow-init
1015
451
 
1016
- **For software products (Levels 2-4):**
1017
- → **prd**
452
+ Let the entry point guide you. It prevents over-planning simple features or under-planning complex initiatives.
1018
453
 
1019
- **For games (Levels 2-4):**
1020
- → **gdd** (if gameplay-first)
1021
- → **narrative** + **gdd** (if story-first)
454
+ ### 2. Trust the Recommendation
1022
455
 
1023
- **For story-driven experiences (non-games):**
1024
- → **narrative** + **prd**
456
+ If `workflow-init` suggests BMad Method, there's likely complexity you haven't considered. Review carefully before overriding.
1025
457
 
1026
- **For UX-first projects:**
1027
- → **ux** + **prd**
458
+ ### 3. Iterate on Requirements
1028
459
 
1029
- ---
460
+ Planning documents are living. Refine PRDs/GDDs as you learn during Solutioning and Implementation.
1030
461
 
1031
- ## Integration with Phase 3 (Solutioning)
462
+ ### 4. Involve Stakeholders Early
1032
463
 
1033
- Planning workflows produce requirements that feed into Solutioning:
464
+ Review PRDs/GDDs with stakeholders before Solutioning. Catch misalignment early.
1034
465
 
1035
- | Planning Output | Solutioning Input |
1036
- | -------------------- | ------------------------------------- |
1037
- | PRD.md | **architecture** workflow (Level 3-4) |
1038
- | epics.md | **tech-spec** workflow (Level 3-4) |
1039
- | GDD.md | **architecture** workflow (game tech) |
1040
- | narrative-design.md | **architecture** (narrative systems) |
1041
- | ux-spec.md | **architecture** (frontend design) |
1042
- | tech-spec.md (Quick) | **dev-story** (Level 0-1) |
466
+ ### 5. Focus on "What" Not "How"
1043
467
 
1044
- **Key Decision Point:**
468
+ Planning defines **what** to build and **why**. Leave **how** (technical design) to Phase 3 (Solutioning).
1045
469
 
1046
- - **Levels 0-1**: Skip Solutioning, go directly to Phase 4 (Implementation)
1047
- - **Levels 2**: Optional Solutioning (simple architecture)
1048
- - **Levels 3-4**: **Required** Solutioning (architecture + tech-spec)
470
+ ### 6. Document-Project First for Brownfield
1049
471
 
1050
- See: [workflows-solutioning.md](./workflows-solutioning.md)
472
+ Always run `document-project` before planning brownfield projects. AI agents need existing codebase context.
1051
473
 
1052
474
  ---
1053
475
 
1054
- ## Best Practices for Phase 2
476
+ ## Common Patterns
1055
477
 
1056
- ### 1. Always Start with `plan-project`
478
+ ### Greenfield Software (BMad Method)
1057
479
 
1058
- Unless you're absolutely certain which workflow you need, use the entry point. It will save time and ensure you get the right level of detail.
480
+ ```
481
+ 1. (Optional) Analysis: product-brief, research
482
+ 2. workflow-init → routes to prd
483
+ 3. PM: prd workflow
484
+ 4. (Optional) UX Designer: ux workflow
485
+ 5. PM: create-epics-and-stories (may be automatic)
486
+ 6. → Phase 3: architecture
487
+ ```
1059
488
 
1060
- ### 2. Level Honestly
489
+ ### Brownfield Software (BMad Method)
1061
490
 
1062
- Don't over-plan simple features or under-plan complex initiatives. Be honest about project complexity.
491
+ ```
492
+ 1. Technical Writer or Analyst: document-project
493
+ 2. workflow-init → routes to prd
494
+ 3. PM: prd workflow
495
+ 4. PM: create-epics-and-stories
496
+ 5. → Phase 3: architecture (recommended for focused solution design)
497
+ ```
1063
498
 
1064
- ### 3. Iterate on Requirements
499
+ ### Bug Fix (Quick Flow)
1065
500
 
1066
- Planning documents are living. You can refine PRDs/GDDs as you learn more during Solutioning and Implementation.
501
+ ```
502
+ 1. workflow-init → routes to tech-spec
503
+ 2. Architect: tech-spec workflow
504
+ 3. → Phase 4: Implementation (skip Phase 3)
505
+ ```
1067
506
 
1068
- ### 4. Involve Stakeholders Early
507
+ ### Game Project (BMad Method)
1069
508
 
1070
- Review PRDs/GDDs with stakeholders before proceeding to Solutioning. Catch misalignment early.
509
+ ```
510
+ 1. (Optional) Analysis: game-brief, research
511
+ 2. workflow-init → routes to gdd
512
+ 3. Game Designer: gdd workflow (or narrative + gdd if story-first)
513
+ 4. Game Designer creates epic breakdown
514
+ 5. → Phase 3: architecture (game systems)
515
+ ```
1071
516
 
1072
- ### 5. Focus on "What" Not "How"
517
+ ### Enterprise Project (Enterprise Method)
1073
518
 
1074
- Planning defines **what** to build and **why**. Leave **how** (technical design) to Phase 3 (Solutioning).
519
+ ```
520
+ 1. (Recommended) Analysis: research (compliance, security)
521
+ 2. workflow-init → routes to Enterprise Method
522
+ 3. PM: prd workflow
523
+ 4. (Optional) UX Designer: ux workflow
524
+ 5. PM: create-epics-and-stories
525
+ 6. → Phase 3: architecture + security + devops + test strategy
526
+ ```
1075
527
 
1076
528
  ---
1077
529
 
@@ -1080,46 +532,70 @@ Planning defines **what** to build and **why**. Leave **how** (technical design)
1080
532
  ### ❌ Skipping Planning
1081
533
 
1082
534
  "We'll just start coding and figure it out."
1083
- **Result**: Scope creep, rework, missed requirements
535
+ **Result:** Scope creep, rework, missed requirements
1084
536
 
1085
537
  ### ❌ Over-Planning Simple Changes
1086
538
 
1087
539
  "Let me write a 20-page PRD for this button color change."
1088
- **Result**: Wasted time, analysis paralysis
540
+ **Result:** Wasted time, analysis paralysis
1089
541
 
1090
542
  ### ❌ Planning Without Discovery
1091
543
 
1092
544
  "I already know what I want, skip the questions."
1093
- **Result**: Solving wrong problem, missing opportunities
545
+ **Result:** Solving wrong problem, missing opportunities
1094
546
 
1095
547
  ### ❌ Treating PRD as Immutable
1096
548
 
1097
549
  "The PRD is locked, no changes allowed."
1098
- **Result**: Ignoring new information, rigid planning
550
+ **Result:** Ignoring new information, rigid planning
1099
551
 
1100
552
  ### ✅ Correct Approach
1101
553
 
1102
- - Use scale-adaptive planning (right level for complexity)
554
+ - Use scale-adaptive planning (right depth for complexity)
1103
555
  - Involve stakeholders in review
1104
556
  - Iterate as you learn
1105
557
  - Keep planning docs living and updated
558
+ - Use `correct-course` for significant changes
1106
559
 
1107
560
  ---
1108
561
 
1109
- ## Summary
562
+ ## Related Documentation
1110
563
 
1111
- Phase 2 Planning workflows transform vision into actionable requirements:
564
+ - [Phase 1: Analysis Workflows](./workflows-analysis.md) - Optional discovery phase
565
+ - [Phase 3: Solutioning Workflows](./workflows-solutioning.md) - Next phase
566
+ - [Phase 4: Implementation Workflows](./workflows-implementation.md)
567
+ - [Scale Adaptive System](./scale-adaptive-system.md) - Understanding the three tracks
568
+ - [Quick Spec Flow](./quick-spec-flow.md) - Quick Flow track details
569
+ - [Agents Guide](./agents-guide.md) - Complete agent reference
1112
570
 
1113
- | Input | Planning Workflow | Output |
1114
- | ----------------- | ----------------- | ---------------- |
1115
- | Product idea | **prd** | PRD + Epics |
1116
- | Game concept | **gdd** | GDD + Epics |
1117
- | Story idea | **narrative** | Narrative Design |
1118
- | UX innovation | **ux** | UX Specification |
1119
- | Bug/simple change | **tech-spec** | Quick Spec |
571
+ ---
1120
572
 
1121
- **Key Takeaway:** Planning is **required** for all projects, but the **depth adapts** to project complexity. Trust the scale-adaptive system to guide the right level of detail.
573
+ ## Troubleshooting
1122
574
 
1123
- **Next Phase:** Solutioning (Phase 3) - Technical architecture and detailed specifications
575
+ **Q: Which workflow should I run first?**
576
+ A: Run `workflow-init`. It analyzes your project and routes to the right planning workflow.
1124
577
 
1125
- See: [workflows-solutioning.md](./workflows-solutioning.md)
578
+ **Q: Do I always need a PRD?**
579
+ A: No. Simple changes use `tech-spec` (Quick Flow). Only BMad Method and Enterprise tracks create PRDs.
580
+
581
+ **Q: Can I skip Phase 3 (Solutioning)?**
582
+ A: Yes for Quick Flow. Optional for BMad Method (simple projects). Required for BMad Method (complex projects) and Enterprise.
583
+
584
+ **Q: How do I know which track to choose?**
585
+ A: Use `workflow-init` - it recommends based on your description. Story counts are guidance, not definitions.
586
+
587
+ **Q: What if requirements change mid-project?**
588
+ A: Run `correct-course` workflow. It analyzes impact and updates planning artifacts.
589
+
590
+ **Q: Do brownfield projects need architecture?**
591
+ A: Recommended! Architecture distills massive codebase into focused solution design for your specific project.
592
+
593
+ **Q: When do I run create-epics-and-stories?**
594
+ A: Usually automatic during PRD/GDD. Can also run standalone later to regenerate epics.
595
+
596
+ **Q: Should I use product-brief before PRD?**
597
+ A: Optional but recommended for greenfield. Helps strategic thinking. `workflow-init` offers it based on context.
598
+
599
+ ---
600
+
601
+ _Phase 2 Planning - Scale-adaptive requirements for every project._