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,771 +0,0 @@
1
- # Workflow Init - Project Setup Instructions
2
-
3
- <critical>The workflow execution engine is governed by: {project-root}/bmad/core/tasks/workflow.xml</critical>
4
- <critical>You MUST have already loaded and processed: workflow-init/workflow.yaml</critical>
5
- <critical>Communicate in {communication_language} with {user_name}</critical>
6
- <critical>This workflow handles BOTH new projects AND legacy projects being migrated to BMad Method</critical>
7
-
8
- <workflow>
9
-
10
- <step n="1" goal="Comprehensive scan for existing work and project state">
11
- <output>Welcome to BMad Method, {user_name}!</output>
12
-
13
- <action>Perform comprehensive scan for ALL existing work (not just quick scan):
14
-
15
- **Check for BMM planning artifacts:**
16
-
17
- - PRD files: {output*folder}/\_prd*.md or {output*folder}/\_prd*/index.md
18
- - Tech-spec files: {output*folder}/\_tech-spec*.md or {output*folder}/\_spec*.md
19
- - Epic files: {output*folder}/\_epic*.md or {output*folder}/\_epic*/index.md
20
- - Architecture: {output*folder}/\_architecture*.md or {output*folder}/\_arch*.md
21
- - UX Design: {output*folder}/\_ux*.md or {output*folder}/\_design*.md
22
- - Product Brief: {output*folder}/\_brief*.md
23
- - Research docs: {output*folder}/\_research*.md
24
- - Brainstorm docs: {output*folder}/\_brainstorm*.md
25
-
26
- **Check for implementation artifacts:**
27
-
28
- - Story files: {output_folder}/stories/\*.md
29
- - Sprint status: {output*folder}/\_sprint*.yaml or {output_folder}/sprint-status.yaml
30
- - Existing workflow status: {output_folder}/bmm-workflow-status.yaml
31
-
32
- **Check for codebase:**
33
-
34
- - Source code directories: src/, lib/, app/, components/, etc.
35
- - Package files: package.json, requirements.txt, Cargo.toml, go.mod, pom.xml, etc.
36
- - Git repository: .git/
37
- - Framework indicators: next.config.js, vite.config.js, etc.
38
- </action>
39
-
40
- <action>Analyze findings and categorize project state:
41
-
42
- - **STATE 1:** Clean slate (no artifacts, no code or scaffold only)
43
- - **STATE 2:** Planning in progress (has PRD or tech-spec, no stories/implementation yet)
44
- - **STATE 3:** Implementation in progress (has stories or sprint status)
45
- - **STATE 4:** Legacy codebase (has code but no BMM artifacts)
46
- - **STATE 5:** Partial/unclear (some artifacts, state unclear)
47
- </action>
48
-
49
- <ask>What's your project called? {{#if project_name}}(Config shows: {{project_name}}){{/if}}</ask>
50
- <action>Store project_name</action>
51
- <template-output>project_name</template-output>
52
- </step>
53
-
54
- <step n="2" goal="Validate project state with user">
55
-
56
- <check if="STATE 1: Clean slate">
57
- <output>Perfect! This looks like a fresh start.</output>
58
- <action>Set new_project = true</action>
59
- <action>Continue to Step 3 (ask about their work)</action>
60
- </check>
61
-
62
- <check if="STATE 2: Planning artifacts found">
63
- <output>I found existing planning documents:
64
-
65
- {{#if found_prd}}
66
- 📋 **PRD:** {{prd_path}}
67
- {{#if epic_count}}- {{epic_count}} epics, {{story_count}} stories{{/if}}
68
-
69
- - Last modified: {{prd_modified}}
70
- {{/if}}
71
-
72
- {{#if found_tech_spec}}
73
- 📋 **Tech-Spec:** {{spec_path}}
74
- {{#if story_count}}- {{story_count}} stories{{/if}}
75
-
76
- - Last modified: {{spec_modified}}
77
- {{/if}}
78
-
79
- {{#if found_architecture}}
80
- 🏗️ **Architecture:** {{arch_path}}
81
-
82
- - Last modified: {{arch_modified}}
83
- {{/if}}
84
-
85
- {{#if found_ux}}
86
- 🎨 **UX Design:** {{ux_path}}
87
-
88
- - Last modified: {{ux_modified}}
89
- {{/if}}
90
-
91
- {{#if found_brief}}
92
- 📄 **Product Brief:** {{brief_path}}
93
-
94
- - Last modified: {{brief_modified}}
95
- {{/if}}
96
-
97
- {{#if found_research}}
98
- 🔍 **Research:** {{research_paths}}
99
- {{/if}}
100
-
101
- {{#if found_brainstorm}}
102
- 🧠 **Brainstorm:** {{brainstorm_paths}}
103
- {{/if}}
104
- </output>
105
-
106
- <ask>What's your situation with these documents?
107
-
108
- a) **Continue this work** - These docs describe what I'm building now
109
- b) **Override/replace** - These are old, I'm starting something NEW
110
- c) **Already done** - This work is complete, I'm starting a NEW project
111
- d) **Not sure** - Let me explain my situation
112
-
113
- Your choice [a/b/c/d]:</ask>
114
-
115
- <check if="choice == a (Continue)">
116
- <output>Got it! I'll create workflow tracking for your existing planning.</output>
117
- <action>Set continuing_existing_planning = true</action>
118
- <action>Store found artifacts for auto-completion in workflow status</action>
119
- <action>Continue to Step 5 (detect track from artifacts)</action>
120
- </check>
121
-
122
- <check if="choice == b (Override)">
123
- <ask>Should I archive these old documents before we start fresh?
124
-
125
- I can move them to {output_folder}/archive/ so they're not in the way.
126
-
127
- Archive old docs? (y/n)</ask>
128
-
129
- <action if="answer == y">Create archive folder if needed</action>
130
- <action if="answer == y">Move all found planning artifacts to {output_folder}/archive/</action>
131
- <output>{{#if archived}}✅ Old documents archived to {output_folder}/archive/{{else}}Starting fresh - old docs will be ignored{{/if}}</output>
132
- <action>Set new_project = true</action>
133
- <action>Continue to Step 3 (ask about their work)</action>
134
-
135
- </check>
136
-
137
- <check if="choice == c (Already done)">
138
- <ask>Should I archive the completed work before starting your new project? (y/n)</ask>
139
- <action if="answer == y">Archive old planning docs</action>
140
- <output>{{#if archived}}✅ Completed work archived{{else}}Ready for your new project!{{/if}}</output>
141
- <action>Set new_project = true</action>
142
- <action>Continue to Step 3 (ask about their work)</action>
143
- </check>
144
-
145
- <check if="choice == d (Not sure)">
146
- <ask>Tell me what you're trying to accomplish:</ask>
147
- <action>Analyze response and guide to appropriate choice (a, b, or c)</action>
148
- <action>Loop back to present choices again with guidance</action>
149
- </check>
150
- </check>
151
-
152
- <check if="STATE 3: Implementation in progress">
153
- <output>🚨 **I found active implementation work:**
154
-
155
- {{#if found_stories}}
156
- 📝 **Story files:** {{story_count}} stories in {output_folder}/stories/
157
- {{#if story_examples}}- Examples: {{story_examples}}{{/if}}
158
- {{/if}}
159
-
160
- {{#if found_sprint_status}}
161
- 📊 **Sprint tracking:** {{sprint_status_path}}
162
-
163
- - {{completed_stories}} completed
164
- - {{in_progress_stories}} in progress
165
- - {{pending_stories}} pending
166
- {{/if}}
167
-
168
- {{#if found_workflow_status}}
169
- 📋 **Workflow status:** {{workflow_status_path}}
170
-
171
- - Generated: {{workflow_status_date}}
172
- {{/if}}
173
-
174
- {{#if found_planning_docs}}
175
- 📚 **Planning docs:** {{found_planning_summary}}
176
- {{/if}}
177
- </output>
178
-
179
- <ask>What's happening here?
180
-
181
- a) **Continue implementation** - I'm still working on these stories
182
- b) **Completed** - This work is done, starting something NEW
183
- c) **Abandoned** - Stopping this, starting over
184
- d) **Not sure** - Let me explain
185
-
186
- Your choice [a/b/c/d]:</ask>
187
-
188
- <check if="choice == a (Continue)">
189
- <action>Check if bmm-workflow-status.yaml exists</action>
190
-
191
- <check if="workflow_status_exists">
192
- <output>✅ **You already have workflow tracking set up!**
193
-
194
- Your current status file: {{workflow_status_path}}
195
-
196
- You don't need workflow-init - you're already using the workflow system.
197
-
198
- **To check your progress:**
199
-
200
- - Load your current agent (PM, SM, Architect, etc.)
201
- - Run: **/bmad:bmm:workflows:workflow-status**
202
-
203
- This will show you what to do next.
204
-
205
- Happy building! 🚀</output>
206
- <action>Exit workflow gracefully (workflow already initialized)</action>
207
- </check>
208
-
209
- <check if="no_workflow_status">
210
- <output>You have work in progress but no workflow tracking.
211
-
212
- I'll create workflow tracking that recognizes your existing work.</output>
213
- <action>Set migrating_legacy_project = true</action>
214
- <action>Store found artifacts for workflow status generation</action>
215
- <action>Continue to Step 5 (detect track from artifacts)</action>
216
- </check>
217
- </check>
218
-
219
- <check if="choice in [b (Completed), c (Abandoned)]">
220
- <ask>Archive the old work before starting fresh? (y/n)</ask>
221
- <action if="answer == y">Create archive folder</action>
222
- <action if="answer == y">Move stories, sprint status, and planning docs to archive</action>
223
- <output>{{#if archived}}✅ Old work archived{{else}}Clean slate! Ready for your new project.{{/if}}</output>
224
- <action>Set new_project = true</action>
225
- <action>Continue to Step 3 (ask about their work)</action>
226
- </check>
227
-
228
- <check if="choice == d (Not sure)">
229
- <ask>Tell me more about your situation:</ask>
230
- <action>Analyze and guide to appropriate choice</action>
231
- </check>
232
- </check>
233
-
234
- <check if="STATE 4: Legacy codebase (no BMM artifacts)">
235
- <output>I see you have an existing codebase:
236
-
237
- {{codebase_summary}}
238
-
239
- No BMM artifacts found - this project hasn't used BMad Method yet.</output>
240
-
241
- <action>Set field_type = "brownfield"</action>
242
- <action>Set new_project = true</action>
243
- <action>Note: Will need document-project before planning</action>
244
- <output>
245
-
246
- 💡 **Note for brownfield projects:**
247
- You'll need to run **document-project** workflow before planning.
248
- This analyzes your codebase and creates documentation that AI agents can use.
249
-
250
- I'll include this as a prerequisite in your workflow path.</output>
251
- <action>Continue to Step 3 (ask about their work)</action>
252
- </check>
253
-
254
- <check if="STATE 5: Partial/unclear">
255
- <output>I found some artifacts but the project state is unclear:
256
-
257
- {{list_found_artifacts}}
258
-
259
- Let me understand your situation.</output>
260
-
261
- <ask>What are you trying to do?
262
-
263
- a) Continue working on an existing project
264
- b) Start something completely NEW
265
- c) Fix/enhance the existing code
266
- d) Let me explain my situation
267
-
268
- Your choice:</ask>
269
-
270
- <action>Analyze response carefully</action>
271
- <action>Guide to appropriate state (Continue existing = Step 5, New = Step 3)</action>
272
- </check>
273
-
274
- </step>
275
-
276
- <step n="3" goal="Ask user about their work (new projects only)">
277
- <ask>Tell me about what you're working on. What's the goal?</ask>
278
-
279
- <action>Store user_description</action>
280
-
281
- <action>Analyze description for field type:
282
-
283
- - Brownfield indicators: "existing", "current", "add to", "modify", "enhance", "refactor"
284
- - Greenfield indicators: "new", "build", "create", "from scratch", "start"
285
- - Codebase presence overrides: If found codebase = brownfield unless user says "scaffold"
286
- </action>
287
-
288
- <check if="found codebase AND field_type still unclear">
289
- <ask>I see you have existing code here. Are you:
290
-
291
- 1. **Adding to or modifying** the existing codebase (brownfield)
292
- 2. **Starting fresh** - the existing code is just a scaffold/template (greenfield)
293
- 3. **Something else** - let me clarify
294
-
295
- Your choice [1/2/3]:</ask>
296
-
297
- <check if="choice == 1">
298
- <action>Set field_type = "brownfield"</action>
299
- </check>
300
-
301
- <check if="choice == 2">
302
- <action>Set field_type = "greenfield"</action>
303
- <output>Got it - treating as greenfield despite the scaffold.</output>
304
- </check>
305
-
306
- <check if="choice == 3">
307
- <ask>Please explain your situation:</ask>
308
- <action>Analyze explanation and set field_type accordingly</action>
309
- </check>
310
- </check>
311
-
312
- <action if="field_type not yet set">Set field_type based on codebase presence (codebase = brownfield, none = greenfield)</action>
313
-
314
- <action>Detect project_type (game vs software):
315
-
316
- - Game keywords: "game", "player", "level", "gameplay", "rpg", "fps", "puzzle game"
317
- - Default to "software" if not clearly a game
318
- </action>
319
-
320
- <template-output>user_description</template-output>
321
- <template-output>field_type</template-output>
322
- <template-output>project_type</template-output>
323
- </step>
324
-
325
- <step n="4" goal="Offer optional discovery workflows">
326
- <output>Before we determine your planning approach, I want to offer some optional
327
- workflows that can help you think through your project more deeply:</output>
328
-
329
- <ask>Would you like to:
330
-
331
- - 🧠 **Brainstorm** your project? (Creative exploration and idea generation)
332
- - 🔍 **Research** your domain? (Technical research, competitive analysis, deep-dives)
333
-
334
- These are completely OPTIONAL but can help clarify your vision before planning.
335
-
336
- Your choice:
337
- a) Yes, brainstorm first
338
- b) Yes, research first
339
- c) Yes, both
340
- d) No, I'm ready to plan
341
-
342
- Your choice [a/b/c/d]:</ask>
343
-
344
- <check if="choice == a">
345
- <action>Set brainstorm_requested = true</action>
346
- <action>Set research_requested = false</action>
347
- </check>
348
-
349
- <check if="choice == b">
350
- <action>Set brainstorm_requested = false</action>
351
- <action>Set research_requested = true</action>
352
- </check>
353
-
354
- <check if="choice == c">
355
- <action>Set brainstorm_requested = true</action>
356
- <action>Set research_requested = true</action>
357
- </check>
358
-
359
- <check if="choice == d">
360
- <action>Set brainstorm_requested = false</action>
361
- <action>Set research_requested = false</action>
362
- </check>
363
-
364
- <template-output>brainstorm_requested</template-output>
365
- <template-output>research_requested</template-output>
366
- </step>
367
-
368
- <step n="5" goal="Track selection with education (or detect from artifacts)">
369
-
370
- <check if="continuing_existing_planning OR migrating_legacy_project">
371
- <action>Detect track from existing artifacts:
372
-
373
- **Track Detection Logic:**
374
-
375
- - Has PRD + Architecture → BMad Method
376
- - Has PRD only → BMad Method (architecture was optional/skipped)
377
- - Has tech-spec only → BMad Quick Flow
378
- - Has Security/DevOps docs → BMad Enterprise Method
379
- </action>
380
-
381
- <output>Based on your existing planning documents, I've detected you're using:
382
-
383
- **{{detected_track_name}}**
384
-
385
- {{#if found_artifacts_list}}
386
- Found completed workflows:
387
- {{#each found_artifacts_list}}
388
-
389
- - {{workflow_name}}: {{file_path}}
390
- {{/each}}
391
- {{/if}}
392
-
393
- I'll create workflow tracking that matches your existing approach and
394
- automatically marks these completed workflows as done.
395
-
396
- Does this look right? (y/n)</output>
397
-
398
- <ask if="answer == n">Which track should I use instead?
399
-
400
- 1. BMad Quick Flow
401
- 2. BMad Method
402
- 3. BMad Enterprise Method
403
-
404
- Your choice:</ask>
405
-
406
- <action if="user_corrects">Update selected_track based on choice</action>
407
- <action>Store selected_track</action>
408
- <template-output>selected_track</template-output>
409
-
410
- <action>Continue to Step 6 (product brief question if applicable)</action>
411
- </check>
412
-
413
- <check if="new_project">
414
- <output>Now, let me explain your planning options.
415
-
416
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
417
-
418
- 🚀 **BMad Quick Flow** - Fast Implementation Path
419
-
420
- ⏱️ **Time:** Hours to 1 day of planning
421
- 📝 **Approach:** Tech-spec focused - just enough detail to start coding
422
- ✅ **Best for:** Simple features, bug fixes, scope is crystal clear
423
- ⚠️ **Trade-off:** Less upfront planning = higher risk of rework if complexity emerges
424
- 🤖 **Agent Support:** Basic - AI will have minimal context
425
-
426
- **Example:** "Fix login bug" or "Add export button"
427
-
428
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
429
-
430
- 🎯 **BMad Method** - Full Product Planning (RECOMMENDED)
431
-
432
- ⏱️ **Time:** 1-3 days of planning
433
- 📝 **Approach:** PRD + UX + Architecture - complete product and system design
434
- ✅ **Best for:**
435
-
436
- - **GREENFIELD:** Products, platforms, multi-feature initiatives
437
- - **BROWNFIELD:** Complex additions (new UIs + APIs, major refactors, new modules)
438
-
439
- ✅ **Benefits:**
440
-
441
- - AI agents have COMPLETE context for better code generation
442
- - Architecture distills massive codebases into focused solution design
443
- - Prevents architectural drift and ensures consistency
444
- - Fewer surprises and less rework during implementation
445
- - Faster overall delivery (planning investment pays off!)
446
- - Better code quality and maintainability
447
-
448
- 🤖 **Agent Support:** Exceptional - AI becomes a true coding partner with full context
449
-
450
- {{#if brownfield}}
451
- 💡 **Why Architecture for Brownfield?**
452
- Your brownfield documentation might be huge (thousands of lines). The Architecture
453
- workflow takes all that context and creates a SUCCINCT solution design specific to
454
- YOUR project. This keeps AI agents focused on YOUR changes without getting lost
455
- in the existing codebase details.
456
- {{/if}}
457
-
458
- **Example:** "User dashboard with analytics" or "Payment integration system"
459
- or "Add real-time collaboration to existing editor"
460
-
461
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
462
-
463
- 🏢 **BMad Enterprise Method** - Extended Enterprise Planning
464
-
465
- ⏱️ **Time:** 3-7 days of planning
466
- 📝 **Approach:** BMad Method + Security Architecture + DevOps + Test Strategy
467
- ✅ **Best for:** Enterprise requirements, compliance, multi-tenant, mission-critical
468
- ✅ **Benefits:** All of BMad Method PLUS specialized planning for:
469
-
470
- - Security architecture and threat modeling
471
- - DevOps pipeline and infrastructure planning
472
- - Comprehensive test strategy
473
- - Compliance and audit requirements
474
-
475
- 🤖 **Agent Support:** Elite - comprehensive planning for complex enterprise systems
476
-
477
- **Example:** "Multi-tenant SaaS platform" or "HIPAA-compliant patient portal"
478
- or "Add SOC2-compliant audit logging to enterprise app"
479
-
480
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</output>
481
-
482
- <action>Generate recommendation based on user_description and field_type:
483
-
484
- **Recommendation Logic:**
485
-
486
- - Complexity keywords (dashboard, platform, system, integration, multiple features) → Recommend BMad Method
487
- - Simple keywords (fix, bug, add button, simple) → Mention Quick Flow as option
488
- - Enterprise keywords (multi-tenant, compliance, security, audit) → Recommend Enterprise
489
- - Brownfield + complex → Strongly recommend Method (explain architecture benefit)
490
- - Greenfield + complex → Recommend Method
491
- </action>
492
-
493
- <output>
494
-
495
- 💡 **My Honest Recommendation:**
496
-
497
- {{recommendation_with_reasoning}}
498
-
499
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</output>
500
-
501
- <ask>Which approach fits your situation?
502
-
503
- 1. **BMad Quick Flow** - Fast, minimal planning (I accept rework risk)
504
- 2. **BMad Method** - Full planning for better AI results (RECOMMENDED)
505
- 3. **BMad Enterprise Method** - Extended planning for enterprise needs
506
- 4. **I'm not sure** - Help me decide
507
-
508
- Your choice [1/2/3/4]:</ask>
509
-
510
- <check if="choice == 4 (Not sure)">
511
- <ask>Tell me more about your concerns or uncertainties:</ask>
512
- <action>Provide tailored guidance based on their specific concerns</action>
513
- <action>Present choices again with more specific recommendation</action>
514
- </check>
515
-
516
- <action>Map choice to track name:
517
-
518
- - 1 → "quick-flow"
519
- - 2 → "method"
520
- - 3 → "enterprise"
521
- </action>
522
-
523
- <action>Store selected_track</action>
524
- <template-output>selected_track</template-output>
525
- </check>
526
-
527
- </step>
528
-
529
- <step n="6" goal="Product brief question (greenfield Method/Enterprise only)">
530
-
531
- <check if="field_type == brownfield OR selected_track == quick-flow">
532
- <action>Skip this step - product brief not applicable for brownfield or quick flow</action>
533
- <action>Set product_brief_requested = false</action>
534
- <action>Continue to Step 7 (generate workflow path)</action>
535
- </check>
536
-
537
- <check if="field_type == greenfield AND selected_track in [method, enterprise]">
538
- <output>One more optional workflow for greenfield projects:
539
-
540
- 📋 **Product Brief** - Strategic product planning document
541
-
542
- This is OPTIONAL but recommended for greenfield BMad Method projects.
543
- It helps you articulate:
544
-
545
- - Product vision and unique value proposition
546
- - Target users and their needs
547
- - Success criteria and goals
548
- - Market positioning and strategy
549
-
550
- This comes BEFORE your PRD and helps inform it with strategic thinking.
551
-
552
- Would you like to include Product Brief in your workflow?</output>
553
-
554
- <ask>a) Yes, include Product Brief
555
- b) No, skip to PRD
556
-
557
- Your choice [a/b]:</ask>
558
-
559
- <check if="choice == a">
560
- <action>Set product_brief_requested = true</action>
561
- </check>
562
-
563
- <check if="choice == b">
564
- <action>Set product_brief_requested = false</action>
565
- </check>
566
-
567
- <template-output>product_brief_requested</template-output>
568
- </check>
569
-
570
- </step>
571
-
572
- <step n="7" goal="Load workflow path and build status structure">
573
-
574
- <action>Determine path file based on selected track and field type:
575
-
576
- **Path File Mapping:**
577
-
578
- - quick-flow + greenfield → "quick-flow-greenfield.yaml"
579
- - quick-flow + brownfield → "quick-flow-brownfield.yaml"
580
- - method + greenfield → "method-greenfield.yaml"
581
- - method + brownfield → "method-brownfield.yaml"
582
- - enterprise + greenfield → "enterprise-greenfield.yaml"
583
- - enterprise + brownfield → "enterprise-brownfield.yaml"
584
- - game → "game-design.yaml"
585
- </action>
586
-
587
- <action>Load {path_files}/{determined_path_file}</action>
588
- <action>Parse workflow path file to extract phases and workflows</action>
589
-
590
- <action>Build workflow_items list:
591
-
592
- For each phase in path file:
593
-
594
- 1. Check if phase should be included based on:
595
- - User choices (brainstorm_requested, research_requested, product_brief_requested)
596
- - Phase conditions (prerequisite phases, optional phases)
597
- 2. Add comment header: ` # Phase {n}: {Phase Name}`
598
- 3. For each workflow in phase:
599
- - Check if workflow should be included based on user choices
600
- - Add entry: ` {workflow-id}: {default_status}`
601
- - Default status from path file (required/optional/recommended/conditional)
602
- 4. Add blank line between phases
603
- </action>
604
-
605
- <action>Scan for existing completed workflows and update workflow_items:
606
-
607
- **Scan locations:**
608
-
609
- - Brainstorm: {output_folder}/brainstorm\*.md
610
- - Research: {output_folder}/research\*.md
611
- - Product Brief: {output*folder}/\_brief*.md
612
- - PRD: {output*folder}/\_prd*.md or {output*folder}/\_prd*/index.md
613
- - Tech-spec: {output*folder}/\_tech-spec*.md or {output*folder}/\_spec*.md
614
- - Epics: {output*folder}/\_epic*.md or {output*folder}/\_epic*/index.md
615
- - UX Design: {output*folder}/\_ux*.md or {output*folder}/\_design*.md
616
- - Architecture: {output*folder}/\_architecture*.md or {output*folder}/\_arch*.md
617
- - Sprint Planning: {output*folder}/\_sprint*.yaml
618
-
619
- **CRITICAL:** If file exists, replace workflow status with ONLY the file path.
620
- Example: `prd: docs/prd.md` (NOT "completed - docs/prd.md")
621
- </action>
622
-
623
- <template-output>workflow_path_file</template-output>
624
- <template-output>workflow_items</template-output>
625
-
626
- </step>
627
-
628
- <step n="8" goal="Present workflow path and create status file">
629
-
630
- <action>Set generated date to current date</action>
631
- <template-output>generated</template-output>
632
-
633
- <output>Perfect! Here's your personalized BMad workflow path:
634
-
635
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
636
-
637
- **Track:** {{selected_track_display_name}}
638
- **Field Type:** {{field_type}}
639
- **Project:** {{project_name}}
640
-
641
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
642
-
643
- {{#if brownfield AND needs_documentation}}
644
- 🔧 **Prerequisites:**
645
- ✅ document-project - Create comprehensive codebase documentation
646
- (Required before planning workflows)
647
- {{/if}}
648
-
649
- {{#if has_discovery_phase}}
650
- 🧠 **Phase 0: Discovery** (Optional - based on your choices)
651
- {{#if brainstorm_requested}}
652
- ✅ Brainstorm - Creative exploration session
653
- {{/if}}
654
- {{#if research_requested}}
655
- ✅ Research - Domain and technical research
656
- {{/if}}
657
- {{#if product_brief_requested}}
658
- ✅ Product Brief - Strategic product planning
659
- {{/if}}
660
- {{/if}}
661
-
662
- {{#if selected_track == quick-flow}}
663
- 📝 **Phase 1: Planning**
664
- ✅ Tech-Spec - Implementation-focused specification
665
- (Auto-detects epic structure if 2+ stories)
666
-
667
- 🚀 **Phase 2: Implementation**
668
- ✅ Sprint Planning - Create sprint tracking
669
- ✅ Story Development - Implement story-by-story
670
- {{/if}}
671
-
672
- {{#if selected_track in [method, enterprise]}}
673
- 📋 **Phase 1: Planning**
674
- ✅ PRD - Product Requirements Document
675
- ✅ Validate PRD (optional quality check)
676
- ✅ UX Design (if UI components - determined after PRD)
677
-
678
- 🏗️ **Phase 2: Solutioning**
679
- {{#if brownfield}}
680
- ✅ Architecture - Integration design (RECOMMENDED for brownfield)
681
- Creates focused solution design from your existing codebase context
682
- {{else}}
683
- ✅ Architecture - System design document
684
- {{/if}}
685
- ✅ Validate Architecture (optional quality check)
686
- ✅ Solutioning Gate Check - Validate all planning aligns before coding
687
-
688
- 🚀 **Phase 3: Implementation**
689
- ✅ Sprint Planning - Create sprint tracking
690
- ✅ Story Development - Implement story-by-story with epic-tech-specs
691
- {{/if}}
692
-
693
- {{#if selected_track == enterprise}}
694
-
695
- 🏢 **Additional Enterprise Planning:**
696
- ✅ Security Architecture - Threat modeling and security design
697
- ✅ DevOps Strategy - Pipeline and infrastructure planning
698
- ✅ Test Strategy - Comprehensive testing approach
699
- {{/if}}
700
-
701
- {{#if found_existing_artifacts}}
702
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
703
-
704
- 📁 **Existing Work Detected:**
705
-
706
- I found these completed workflows and will mark them as done:
707
- {{#each completed_workflows}}
708
- ✅ {{workflow_name}}: {{file_path}}
709
- {{/each}}
710
-
711
- Your workflow tracking will start from where you left off!
712
-
713
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
714
- {{/if}}</output>
715
-
716
- <ask>Ready to create your workflow tracking file? (y/n)</ask>
717
-
718
- <check if="answer == y">
719
- <action>Prepare all template variables for workflow-status-template.yaml:
720
- - generated: {current_date}
721
- - project_name: {project_name}
722
- - project_type: {project_type}
723
- - selected_track: {selected_track}
724
- - field_type: {field_type}
725
- - workflow_path_file: {workflow_path_file}
726
- - workflow_items: {workflow_items from step 7}
727
- </action>
728
-
729
- <action>Generate YAML from workflow-status-template.yaml with all variables</action>
730
- <action>Save status file to {output_folder}/bmm-workflow-status.yaml</action>
731
-
732
- <action>Identify the first non-completed workflow in workflow_items</action>
733
- <action>Look up that workflow's agent and command from the loaded path file</action>
734
-
735
- <output>✅ **Workflow tracking created:** {output_folder}/bmm-workflow-status.yaml
736
-
737
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
738
-
739
- {{#if completed_workflows_found}}
740
- 🎉 Great news! I found {{completed_count}} workflow(s) already completed.
741
- {{/if}}
742
-
743
- **Next Workflow:** {{next_workflow_name}}
744
- **Agent:** {{next_agent}}
745
- **Command:** /bmad:bmm:workflows:{{next_workflow_id}}
746
-
747
- {{#if next_agent != 'analyst' AND next_agent != 'pm'}}
748
- 💡 **Tip:** Start a new chat and load the **{{next_agent}}** agent before running this workflow.
749
- {{/if}}
750
-
751
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
752
-
753
- Happy building with BMad Method! 🚀
754
-
755
- **To check your progress anytime:**
756
-
757
- - Load any BMM agent
758
- - Run: /bmad:bmm:workflows:workflow-status
759
- </output>
760
- </check>
761
-
762
- <check if="answer == n">
763
- <output>No problem! You can run workflow-init again anytime you're ready.
764
-
765
- To get started later, just load the Analyst agent and run:
766
- **/bmad:bmm:workflows:workflow-init**</output>
767
- </check>
768
-
769
- </step>
770
-
771
- </workflow>