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

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 (495) hide show
  1. package/.claude/commands/bmad/bmm/agents/analyst.md +67 -0
  2. package/.claude/commands/bmad/bmm/agents/architect.md +73 -0
  3. package/.claude/commands/bmad/bmm/agents/dev.md +69 -0
  4. package/.claude/commands/bmad/bmm/agents/paige.md +82 -0
  5. package/.claude/commands/bmad/bmm/agents/pm.md +76 -0
  6. package/.claude/commands/bmad/bmm/agents/sm.md +85 -0
  7. package/.claude/commands/bmad/bmm/agents/tea.md +72 -0
  8. package/.claude/commands/bmad/bmm/agents/ux-designer.md +71 -0
  9. package/.claude/commands/bmad/bmm/workflows/README.md +132 -0
  10. package/.claude/commands/bmad/bmm/workflows/architecture.md +15 -0
  11. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +15 -0
  12. package/.claude/commands/bmad/bmm/workflows/code-review.md +15 -0
  13. package/.claude/commands/bmad/bmm/workflows/correct-course.md +15 -0
  14. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +15 -0
  15. package/.claude/commands/bmad/bmm/workflows/create-story.md +15 -0
  16. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +15 -0
  17. package/.claude/commands/bmad/bmm/workflows/dev-story.md +15 -0
  18. package/.claude/commands/bmad/bmm/workflows/document-project.md +15 -0
  19. package/.claude/commands/bmad/bmm/workflows/narrative.md +15 -0
  20. package/.claude/commands/bmad/bmm/workflows/prd.md +15 -0
  21. package/.claude/commands/bmad/bmm/workflows/product-brief.md +15 -0
  22. package/.claude/commands/bmad/bmm/workflows/research.md +15 -0
  23. package/.claude/commands/bmad/bmm/workflows/retrospective.md +15 -0
  24. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +15 -0
  25. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +15 -0
  26. package/.claude/commands/bmad/bmm/workflows/story-context.md +15 -0
  27. package/.claude/commands/bmad/bmm/workflows/story-done.md +15 -0
  28. package/.claude/commands/bmad/bmm/workflows/story-ready.md +15 -0
  29. package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +15 -0
  30. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +15 -0
  31. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +15 -0
  32. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +15 -0
  33. package/.claude/commands/bmad/cis/agents/README.md +104 -0
  34. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +62 -0
  35. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +62 -0
  36. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +62 -0
  37. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +62 -0
  38. package/.claude/commands/bmad/cis/agents/storyteller.md +59 -0
  39. package/.claude/commands/bmad/cis/workflows/README.md +37 -0
  40. package/.claude/commands/bmad/cis/workflows/design-thinking.md +15 -0
  41. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +15 -0
  42. package/.claude/commands/bmad/cis/workflows/problem-solving.md +15 -0
  43. package/.claude/commands/bmad/cis/workflows/storytelling.md +15 -0
  44. package/.claude/settings.local.json +10 -41
  45. package/CHANGELOG.md +239 -0
  46. package/README.md +219 -103
  47. package/bmad/_cfg/agent-manifest.csv +13 -4
  48. package/bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
  49. package/bmad/_cfg/agents/bmm-paige.customize.yaml +42 -0
  50. package/bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
  51. package/bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
  52. package/bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
  53. package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
  54. package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +42 -0
  55. package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +42 -0
  56. package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +42 -0
  57. package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +42 -0
  58. package/bmad/_cfg/agents/cis-storyteller.customize.yaml +42 -0
  59. package/bmad/_cfg/files-manifest.csv +289 -22
  60. package/bmad/_cfg/ides/claude-code.yaml +6 -0
  61. package/bmad/_cfg/manifest.yaml +5 -6
  62. package/bmad/_cfg/task-manifest.csv +2 -0
  63. package/bmad/_cfg/workflow-manifest.csv +35 -2
  64. package/bmad/bmb/README.md +135 -73
  65. package/bmad/bmb/agents/bmad-builder.md.bak +70 -0
  66. package/bmad/bmb/config.yaml +2 -2
  67. package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +3 -1
  68. package/bmad/bmb/workflows/create-agent/README.md +126 -243
  69. package/bmad/bmb/workflows/create-agent/instructions.md +25 -12
  70. package/bmad/bmb/workflows/create-module/README.md +163 -154
  71. package/bmad/bmb/workflows/create-module/workflow.yaml.bak +2 -0
  72. package/bmad/bmb/workflows/create-workflow/instructions.md +16 -8
  73. package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
  74. package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +2 -0
  75. package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +33 -0
  76. package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +34 -0
  77. package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +2 -0
  78. package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +2 -0
  79. package/bmad/bmb/workflows/redoc/workflow.yaml.bak +1 -0
  80. package/bmad/bmm/README.md +169 -0
  81. package/bmad/bmm/agents/analyst.md +67 -0
  82. package/bmad/bmm/agents/architect.md +73 -0
  83. package/bmad/bmm/agents/dev.md +69 -0
  84. package/bmad/bmm/agents/paige.md +82 -0
  85. package/bmad/bmm/agents/pm.md +76 -0
  86. package/bmad/bmm/agents/sm.md +85 -0
  87. package/bmad/bmm/agents/tea.md +72 -0
  88. package/bmad/bmm/agents/ux-designer.md +71 -0
  89. package/bmad/bmm/config.yaml +17 -0
  90. package/bmad/bmm/docs/quick-spec-flow.md +645 -0
  91. package/bmad/bmm/docs/scale-adaptive-system.md +1045 -0
  92. package/bmad/bmm/tasks/daily-standup.xml +85 -0
  93. package/bmad/bmm/teams/team-fullstack.yaml +11 -0
  94. package/bmad/bmm/teams/team-gamedev.yaml +14 -0
  95. package/bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
  96. package/bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
  97. package/bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
  98. package/bmad/bmm/testarch/knowledge/data-factories.md +500 -0
  99. package/bmad/bmm/testarch/knowledge/email-auth.md +721 -0
  100. package/bmad/bmm/testarch/knowledge/error-handling.md +725 -0
  101. package/bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
  102. package/bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
  103. package/bmad/bmm/testarch/knowledge/network-first.md +486 -0
  104. package/bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
  105. package/bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
  106. package/bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
  107. package/bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
  108. package/bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
  109. package/bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
  110. package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
  111. package/bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
  112. package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
  113. package/bmad/bmm/testarch/knowledge/test-quality.md +664 -0
  114. package/bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
  115. package/bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
  116. package/bmad/bmm/testarch/tea-index.csv +22 -0
  117. package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +110 -0
  118. package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
  119. package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
  120. package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  121. package/bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  122. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
  123. package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
  124. package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
  125. package/bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
  126. package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
  127. package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  128. package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  129. package/bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
  130. package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
  131. package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +439 -0
  132. package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +679 -0
  133. package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +133 -0
  134. package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +538 -0
  135. package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
  136. package/bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
  137. package/bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
  138. package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
  139. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
  140. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1319 -0
  141. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
  142. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +64 -0
  143. package/bmad/bmm/workflows/2-plan-workflows/narrative/checklist.md +139 -0
  144. package/bmad/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +608 -0
  145. package/bmad/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +195 -0
  146. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +29 -0
  147. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +349 -0
  148. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
  149. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +33 -0
  150. package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  151. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +423 -0
  152. package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +237 -0
  153. package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  154. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +46 -0
  155. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +214 -0
  156. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +58 -0
  157. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +200 -0
  158. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +451 -0
  159. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1133 -0
  160. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
  161. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +87 -0
  162. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +60 -0
  163. package/bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +347 -0
  164. package/bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
  165. package/bmad/bmm/workflows/3-solutioning/architecture/checklist.md +244 -0
  166. package/bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
  167. package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +715 -0
  168. package/bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
  169. package/bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +67 -0
  170. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +175 -0
  171. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +322 -0
  172. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +146 -0
  173. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +189 -0
  174. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +64 -0
  175. package/bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
  176. package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
  177. package/bmad/bmm/workflows/4-implementation/code-review/instructions.md +420 -0
  178. package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +74 -0
  179. package/bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  180. package/bmad/bmm/workflows/4-implementation/correct-course/instructions.md +201 -0
  181. package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +43 -0
  182. package/bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
  183. package/bmad/bmm/workflows/4-implementation/create-story/instructions.md +283 -0
  184. package/bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
  185. package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +74 -0
  186. package/bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +367 -0
  187. package/bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
  188. package/bmad/bmm/workflows/4-implementation/dev-story/instructions.md +262 -0
  189. package/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +26 -0
  190. package/bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
  191. package/bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +189 -0
  192. package/bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
  193. package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +58 -0
  194. package/bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1460 -0
  195. package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +71 -0
  196. package/bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  197. package/bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +238 -0
  198. package/bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  199. package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +47 -0
  200. package/bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
  201. package/bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
  202. package/bmad/bmm/workflows/4-implementation/story-context/instructions.md +234 -0
  203. package/bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +57 -0
  204. package/bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
  205. package/bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +25 -0
  206. package/bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
  207. package/bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +25 -0
  208. package/{src/modules → bmad}/bmm/workflows/README.md +41 -0
  209. package/bmad/bmm/workflows/document-project/checklist.md +245 -0
  210. package/bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  211. package/bmad/bmm/workflows/document-project/instructions.md +222 -0
  212. package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  213. package/bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
  214. package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  215. package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  216. package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  217. package/bmad/bmm/workflows/document-project/workflow.yaml +34 -0
  218. package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  219. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  220. package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  221. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  222. package/bmad/bmm/workflows/techdoc/documentation-standards.md +238 -0
  223. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  224. package/bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
  225. package/bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
  226. package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +52 -0
  227. package/bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
  228. package/bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
  229. package/bmad/bmm/workflows/testarch/automate/workflow.yaml +61 -0
  230. package/bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
  231. package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
  232. package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
  233. package/bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
  234. package/bmad/bmm/workflows/testarch/ci/workflow.yaml +53 -0
  235. package/bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
  236. package/bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
  237. package/bmad/bmm/workflows/testarch/framework/workflow.yaml +53 -0
  238. package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
  239. package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  240. package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
  241. package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +56 -0
  242. package/bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
  243. package/bmad/bmm/workflows/testarch/test-design/instructions.md +621 -0
  244. package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
  245. package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +52 -0
  246. package/bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
  247. package/bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
  248. package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
  249. package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +53 -0
  250. package/bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
  251. package/bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
  252. package/bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
  253. package/bmad/bmm/workflows/testarch/trace/workflow.yaml +66 -0
  254. package/bmad/bmm/workflows/workflow-status/init/instructions.md +390 -0
  255. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
  256. package/bmad/bmm/workflows/workflow-status/instructions.md +386 -0
  257. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +54 -0
  258. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml +58 -0
  259. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +76 -0
  260. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml +95 -0
  261. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +88 -0
  262. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +75 -0
  263. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +45 -0
  264. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-1.yaml +49 -0
  265. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml +78 -0
  266. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +73 -0
  267. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +75 -0
  268. package/bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  269. package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
  270. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
  271. package/bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
  272. package/bmad/cis/README.md +153 -0
  273. package/bmad/cis/agents/README.md +104 -0
  274. package/bmad/cis/agents/brainstorming-coach.md +62 -0
  275. package/bmad/cis/agents/creative-problem-solver.md +62 -0
  276. package/bmad/cis/agents/design-thinking-coach.md +62 -0
  277. package/bmad/cis/agents/innovation-strategist.md +62 -0
  278. package/bmad/cis/agents/storyteller.md +59 -0
  279. package/bmad/{bmd → cis}/config.yaml +3 -3
  280. package/bmad/cis/teams/creative-squad.yaml +6 -0
  281. package/bmad/cis/workflows/README.md +139 -0
  282. package/bmad/cis/workflows/design-thinking/README.md +56 -0
  283. package/bmad/cis/workflows/design-thinking/design-methods.csv +31 -0
  284. package/bmad/cis/workflows/design-thinking/instructions.md +200 -0
  285. package/bmad/cis/workflows/design-thinking/template.md +111 -0
  286. package/bmad/cis/workflows/design-thinking/workflow.yaml +32 -0
  287. package/bmad/cis/workflows/innovation-strategy/README.md +56 -0
  288. package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +31 -0
  289. package/bmad/cis/workflows/innovation-strategy/instructions.md +274 -0
  290. package/bmad/cis/workflows/innovation-strategy/template.md +189 -0
  291. package/bmad/cis/workflows/innovation-strategy/workflow.yaml +32 -0
  292. package/bmad/cis/workflows/problem-solving/README.md +56 -0
  293. package/bmad/cis/workflows/problem-solving/instructions.md +250 -0
  294. package/bmad/cis/workflows/problem-solving/solving-methods.csv +31 -0
  295. package/bmad/cis/workflows/problem-solving/template.md +165 -0
  296. package/bmad/cis/workflows/problem-solving/workflow.yaml +32 -0
  297. package/bmad/cis/workflows/storytelling/README.md +58 -0
  298. package/bmad/cis/workflows/storytelling/instructions.md +291 -0
  299. package/bmad/cis/workflows/storytelling/story-types.csv +26 -0
  300. package/bmad/cis/workflows/storytelling/template.md +113 -0
  301. package/bmad/cis/workflows/storytelling/workflow.yaml +32 -0
  302. package/bmad/core/agents/bmad-master.md.bak +69 -0
  303. package/bmad/core/config.yaml +2 -2
  304. package/bmad/core/tasks/workflow.xml +0 -8
  305. package/bmad/core/tools/shard-doc.xml +8 -43
  306. package/docs/document-sharding-guide.md +447 -0
  307. package/docs/index.md +37 -41
  308. package/package.json +1 -1
  309. package/src/core/tools/shard-doc.xml +8 -43
  310. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
  311. package/src/modules/bmm/README.md +79 -95
  312. package/src/modules/bmm/agents/game-designer.agent.yaml +2 -2
  313. package/src/modules/bmm/agents/paige.agent.yaml +69 -0
  314. package/src/modules/bmm/agents/pm.agent.yaml +11 -1
  315. package/src/modules/bmm/docs/README.md +235 -0
  316. package/src/modules/bmm/docs/agents-guide.md +1109 -0
  317. package/src/modules/bmm/docs/brownfield-guide.md +638 -0
  318. package/src/modules/bmm/docs/brownfield-guide.md.backup +1324 -0
  319. package/src/modules/bmm/docs/enterprise-agentic-development.md +1040 -0
  320. package/src/modules/bmm/docs/faq.md +589 -0
  321. package/src/modules/bmm/docs/glossary.md +327 -0
  322. package/src/modules/bmm/docs/party-mode.md +1236 -0
  323. package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
  324. package/src/modules/bmm/docs/quick-start.md +366 -0
  325. package/src/modules/bmm/docs/scale-adaptive-system.md +749 -0
  326. package/src/modules/bmm/docs/troubleshooting.md +680 -0
  327. package/src/modules/bmm/docs/workflow-architecture-reference.md +371 -0
  328. package/src/modules/bmm/docs/workflow-document-project-reference.md +487 -0
  329. package/src/modules/bmm/docs/workflows-analysis.md +670 -0
  330. package/src/modules/bmm/docs/workflows-implementation.md +1759 -0
  331. package/src/modules/bmm/docs/workflows-planning.md +1086 -0
  332. package/src/modules/bmm/docs/workflows-solutioning.md +726 -0
  333. package/src/modules/bmm/docs/workflows-testing.md +1572 -0
  334. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  335. package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  336. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
  337. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +405 -213
  338. package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +93 -77
  339. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +14 -0
  340. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  341. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  342. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +154 -57
  343. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +45 -29
  344. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +181 -104
  345. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +24 -32
  346. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +94 -46
  347. package/src/modules/bmm/workflows/1-analysis/research/template-market.md +37 -1
  348. package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +36 -1
  349. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +13 -0
  350. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +18 -0
  351. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +22 -0
  352. package/src/modules/bmm/workflows/2-plan-workflows/gdd/instructions-gdd.md +18 -0
  353. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +14 -0
  354. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +295 -63
  355. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +63 -0
  356. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
  357. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +43 -0
  358. package/src/modules/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  359. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +283 -291
  360. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +198 -23
  361. package/src/modules/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  362. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +24 -6
  363. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +138 -31
  364. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +51 -4
  365. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +50 -17
  366. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +199 -26
  367. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +988 -108
  368. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +132 -6
  369. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +36 -5
  370. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +21 -0
  371. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +1 -1
  372. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +51 -32
  373. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +17 -4
  374. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +18 -0
  375. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +26 -0
  376. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +29 -0
  377. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +20 -0
  378. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +29 -0
  379. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +27 -0
  380. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +29 -0
  381. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +31 -5
  382. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +1222 -241
  383. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +28 -0
  384. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +17 -0
  385. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -0
  386. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +31 -1
  387. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +27 -0
  388. package/src/modules/bmm/workflows/techdoc/documentation-standards.md +239 -0
  389. package/tools/cli/commands/install.js +1 -1
  390. package/.claude/commands/bmad/bmd/agents/cli-chief.md +0 -108
  391. package/.claude/commands/bmad/bmd/agents/doc-keeper.md +0 -115
  392. package/.claude/commands/bmad/bmd/agents/release-chief.md +0 -109
  393. package/.claude/hooks/bmad-tts-injector.sh +0 -415
  394. package/.claude/hooks/bmad-voice-manager.sh +0 -511
  395. package/.claude/hooks/check-output-style.sh +0 -112
  396. package/.claude/hooks/download-extra-voices.sh +0 -244
  397. package/.claude/hooks/github-star-reminder.sh +0 -154
  398. package/.claude/hooks/language-manager.sh +0 -392
  399. package/.claude/hooks/learn-manager.sh +0 -475
  400. package/.claude/hooks/personality-manager.sh +0 -438
  401. package/.claude/hooks/piper-download-voices.sh +0 -165
  402. package/.claude/hooks/piper-installer.sh +0 -178
  403. package/.claude/hooks/piper-multispeaker-registry.sh +0 -165
  404. package/.claude/hooks/piper-voice-manager.sh +0 -293
  405. package/.claude/hooks/play-tts-elevenlabs.sh +0 -404
  406. package/.claude/hooks/play-tts-piper.sh +0 -338
  407. package/.claude/hooks/play-tts.sh +0 -100
  408. package/.claude/hooks/provider-commands.sh +0 -540
  409. package/.claude/hooks/provider-manager.sh +0 -298
  410. package/.claude/hooks/replay-target-audio.sh +0 -95
  411. package/.claude/hooks/sentiment-manager.sh +0 -201
  412. package/.claude/hooks/speed-manager.sh +0 -291
  413. package/.claude/hooks/voice-manager.sh +0 -594
  414. package/.claude/hooks/voices-config.sh +0 -70
  415. package/bmad/_cfg/agents/bmd-cli-chief.customize.yaml +0 -32
  416. package/bmad/bmb/workflows/create-agent/agent-architecture.md.bak +0 -412
  417. package/bmad/bmb/workflows/create-agent/agent-command-patterns.md.bak +0 -759
  418. package/bmad/bmb/workflows/create-module/README.md.bak +0 -218
  419. package/bmad/bmb/workflows/create-module/checklist.md.bak +0 -245
  420. package/bmad/bmb/workflows/create-module/installer-templates/installer.js.bak +0 -231
  421. package/bmad/bmb/workflows/create-module/instructions.md.bak +0 -521
  422. package/bmad/bmb/workflows/create-module/module-structure.md.bak +0 -310
  423. package/bmad/bmd/README.md +0 -193
  424. package/bmad/bmd/README.md.bak +0 -193
  425. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  426. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md.bak +0 -102
  427. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  428. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md.bak +0 -68
  429. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  430. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md.bak +0 -123
  431. package/bmad/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  432. package/bmad/bmd/agents/cli-chief-sidecar/memories.md.bak +0 -53
  433. package/bmad/bmd/agents/cli-chief.md +0 -108
  434. package/bmad/bmd/agents/cli-chief.md.bak +0 -108
  435. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  436. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md.bak +0 -177
  437. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  438. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md.bak +0 -81
  439. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  440. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md.bak +0 -88
  441. package/bmad/bmd/agents/doc-keeper.md +0 -115
  442. package/bmad/bmd/agents/doc-keeper.md.bak +0 -115
  443. package/bmad/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  444. package/bmad/bmd/agents/release-chief-sidecar/instructions.md.bak +0 -164
  445. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  446. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md.bak +0 -82
  447. package/bmad/bmd/agents/release-chief-sidecar/memories.md +0 -73
  448. package/bmad/bmd/agents/release-chief-sidecar/memories.md.bak +0 -73
  449. package/bmad/bmd/agents/release-chief.md +0 -109
  450. package/bmad/bmd/agents/release-chief.md.bak +0 -109
  451. package/bmad/docs/codex-instructions.md +0 -21
  452. package/docs/conversion-report-shard-doc-2025-10-26.md +0 -188
  453. package/src/modules/bmm/workflows/1-analysis/brainstorm-game/README.md +0 -38
  454. package/src/modules/bmm/workflows/1-analysis/game-brief/README.md +0 -221
  455. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-competitor-analyzer.md +0 -259
  456. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-data-analyst.md +0 -190
  457. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-market-researcher.md +0 -337
  458. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-trend-spotter.md +0 -107
  459. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-user-researcher.md +0 -329
  460. package/src/modules/bmm/workflows/2-plan-workflows/gdd/README.md +0 -222
  461. /package/bmad/_cfg/agents/{bmd-doc-keeper.customize.yaml → bmm-analyst.customize.yaml} +0 -0
  462. /package/bmad/_cfg/agents/{bmd-release-chief.customize.yaml → bmm-architect.customize.yaml} +0 -0
  463. /package/{docs/bmad-brownfield-guide.md → bmad/bmm/docs/brownfield-guide.md} +0 -0
  464. /package/{docs/BMad-Method-V6-Quick-Start.md → bmad/bmm/docs/quick-start.md} +0 -0
  465. /package/{src/modules → bmad}/bmm/tasks/retrospective.xml +0 -0
  466. /package/{src/modules → bmad}/bmm/testarch/README.md +0 -0
  467. /package/{src/modules → bmad}/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -0
  468. /package/{src/modules → bmad}/bmm/workflows/1-analysis/product-brief/README.md +0 -0
  469. /package/{src/modules → bmad}/bmm/workflows/1-analysis/research/README.md +0 -0
  470. /package/{src/modules → bmad}/bmm/workflows/2-plan-workflows/README.md +0 -0
  471. /package/{src/modules/bmm/workflows/2-plan-workflows/prd → bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories}/epics-template.md +0 -0
  472. /package/{src/modules → bmad}/bmm/workflows/3-solutioning/README.md +0 -0
  473. /package/{src/modules → bmad}/bmm/workflows/3-solutioning/architecture/README.md +0 -0
  474. /package/{src/modules → bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -0
  475. /package/{src/modules → bmad}/bmm/workflows/4-implementation/README.md +0 -0
  476. /package/{src/modules → bmad}/bmm/workflows/4-implementation/code-review/README.md +0 -0
  477. /package/{src/modules → bmad}/bmm/workflows/4-implementation/correct-course/README.md +0 -0
  478. /package/{src/modules → bmad}/bmm/workflows/4-implementation/create-story/README.md +0 -0
  479. /package/{src/modules → bmad}/bmm/workflows/4-implementation/dev-story/README.md +0 -0
  480. /package/{src/modules → bmad}/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -0
  481. /package/{src/modules → bmad}/bmm/workflows/4-implementation/retrospective/README.md +0 -0
  482. /package/{src/modules → bmad}/bmm/workflows/4-implementation/sprint-planning/README.md +0 -0
  483. /package/{src/modules → bmad}/bmm/workflows/4-implementation/story-context/README.md +0 -0
  484. /package/{src/modules → bmad}/bmm/workflows/document-project/README.md +0 -0
  485. /package/{src/modules → bmad}/bmm/workflows/document-project/templates/README.md +0 -0
  486. /package/{src/modules → bmad}/bmm/workflows/testarch/README.md +0 -0
  487. /package/{src/modules → bmad}/bmm/workflows/testarch/atdd/README.md +0 -0
  488. /package/{src/modules → bmad}/bmm/workflows/testarch/automate/README.md +0 -0
  489. /package/{src/modules → bmad}/bmm/workflows/testarch/ci/README.md +0 -0
  490. /package/{src/modules → bmad}/bmm/workflows/testarch/framework/README.md +0 -0
  491. /package/{src/modules → bmad}/bmm/workflows/testarch/nfr-assess/README.md +0 -0
  492. /package/{src/modules → bmad}/bmm/workflows/testarch/test-design/README.md +0 -0
  493. /package/{src/modules → bmad}/bmm/workflows/testarch/test-review/README.md +0 -0
  494. /package/{src/modules → bmad}/bmm/workflows/testarch/trace/README.md +0 -0
  495. /package/{src/modules → bmad}/bmm/workflows/workflow-status/README.md +0 -0
@@ -0,0 +1,386 @@
1
+ # Workflow Status Check - Multi-Mode Service
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: {project-root}/bmad/bmm/workflows/workflow-status/workflow.yaml</critical>
5
+ <critical>This workflow operates in multiple modes: interactive (default), validate, data, init-check, update</critical>
6
+ <critical>Other workflows can call this as a service to avoid duplicating status logic</critical>
7
+
8
+ <workflow>
9
+
10
+ <step n="0" goal="Determine execution mode">
11
+ <action>Check for {{mode}} parameter passed by calling workflow</action>
12
+ <action>Default mode = "interactive" if not specified</action>
13
+
14
+ <check if="mode == interactive">
15
+ <action>Continue to Step 1 for normal status check flow</action>
16
+ </check>
17
+
18
+ <check if="mode == validate">
19
+ <action>Jump to Step 10 for workflow validation service</action>
20
+ </check>
21
+
22
+ <check if="mode == data">
23
+ <action>Jump to Step 20 for data extraction service</action>
24
+ </check>
25
+
26
+ <check if="mode == init-check">
27
+ <action>Jump to Step 30 for simple init check</action>
28
+ </check>
29
+
30
+ <check if="mode == update">
31
+ <action>Jump to Step 40 for status update service</action>
32
+ </check>
33
+ </step>
34
+
35
+ <step n="1" goal="Check for status file">
36
+ <action>Search {output_folder}/ for file: bmm-workflow-status.yaml</action>
37
+
38
+ <check if="no status file found">
39
+ <output>No workflow status found. To get started:
40
+
41
+ Load analyst agent and run: `workflow-init`
42
+
43
+ This will guide you through project setup and create your workflow path.</output>
44
+ <action>Exit workflow</action>
45
+ </check>
46
+
47
+ <check if="status file found">
48
+ <action>Continue to step 2</action>
49
+ </check>
50
+ </step>
51
+
52
+ <step n="2" goal="Read and parse status">
53
+ <action>Read bmm-workflow-status.yaml</action>
54
+ <action>Parse YAML file and extract metadata from comments and fields:</action>
55
+
56
+ Parse these fields from YAML comments and metadata:
57
+
58
+ - project (from YAML field)
59
+ - project_type (from YAML field)
60
+ - project_level (from YAML field)
61
+ - field_type (from YAML field)
62
+ - workflow_path (from YAML field)
63
+
64
+ <action>Parse workflow_status section:</action>
65
+
66
+ - Extract all workflow entries with their statuses
67
+ - Identify completed workflows (status = file path)
68
+ - Identify pending workflows (status = required/optional/recommended/conditional)
69
+ - Identify skipped workflows (status = skipped)
70
+
71
+ <action>Determine current state:</action>
72
+
73
+ - Find first workflow with status != file path and != skipped
74
+ - This is the NEXT workflow to work on
75
+ - Look up agent and command from workflow path file
76
+ </step>
77
+
78
+ <step n="3" goal="Display current status and options">
79
+ <action>Load workflow path file based on workflow_path field</action>
80
+ <action>Identify current phase from next workflow to be done</action>
81
+ <action>Build list of completed, pending, and optional workflows</action>
82
+
83
+ <output>
84
+ ## 📊 Current Status
85
+
86
+ **Project:** {{project}} (Level {{project_level}} {{project_type}})
87
+
88
+ **Path:** {{workflow_path}}
89
+
90
+ **Progress:**
91
+
92
+ {{#each phases}}
93
+ {{phase_name}}:
94
+ {{#each workflows_in_phase}}
95
+
96
+ - {{workflow_name}}: {{status_display}}
97
+ {{/each}}
98
+ {{/each}}
99
+
100
+ ## 🎯 Next Steps
101
+
102
+ **Next Workflow:** {{next_workflow_name}}
103
+
104
+ **Agent:** {{next_agent}}
105
+
106
+ **Command:** /bmad:bmm:workflows:{{next_workflow_id}}
107
+
108
+ {{#if optional_workflows_available}}
109
+ **Optional Workflows Available:**
110
+ {{#each optional_workflows}}
111
+
112
+ - {{workflow_name}} ({{agent}}) - {{status}}
113
+ {{/each}}
114
+ {{/if}}
115
+ </output>
116
+ </step>
117
+
118
+ <step n="4" goal="Offer actions">
119
+ <ask>What would you like to do?
120
+
121
+ 1. **Start next workflow** - {{next_workflow_name}} ({{next_agent}} agent)
122
+ {{#if optional_workflows_available}}
123
+ 2. **Run optional workflow** - Choose from available options
124
+ {{/if}}
125
+ 3. **View full status YAML** - See complete status file
126
+ 4. **Update workflow status** - Mark a workflow as completed or skipped
127
+ 5. **Exit** - Return to agent
128
+
129
+ Your choice:</ask>
130
+
131
+ <action>Handle user selection based on available options</action>
132
+
133
+ <check if="choice == 1">
134
+ <output>Ready to run {{next_workflow_name}}!
135
+
136
+ **Command:** /bmad:bmm:workflows:{{next_workflow_id}}
137
+
138
+ **Agent:** Load {{next_agent}} agent first
139
+
140
+ {{#if next_agent !== current_agent}}
141
+ Tip: Start a new chat and load the {{next_agent}} agent before running this workflow.
142
+ {{/if}}
143
+ </output>
144
+ </check>
145
+
146
+ <check if="choice == 2 AND optional_workflows_available">
147
+ <ask>Which optional workflow?
148
+ {{#each optional_workflows numbered}}
149
+ {{number}}. {{workflow_name}} ({{agent}})
150
+ {{/each}}
151
+
152
+ Your choice:</ask>
153
+ <action>Display selected workflow command and agent</action>
154
+ </check>
155
+
156
+ <check if="choice == 3">
157
+ <action>Display complete bmm-workflow-status.yaml file contents</action>
158
+ </check>
159
+
160
+ <check if="choice == 4">
161
+ <ask>What would you like to update?
162
+
163
+ 1. Mark a workflow as **completed** (provide file path)
164
+ 2. Mark a workflow as **skipped**
165
+
166
+ Your choice:</ask>
167
+
168
+ <check if="update_choice == 1">
169
+ <ask>Which workflow? (Enter workflow ID like 'prd' or 'create-architecture')</ask>
170
+ <ask>File path created? (e.g., docs/prd.md)</ask>
171
+ <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
172
+ <action>Update workflow_status in YAML file: {{workflow_id}}: {{file_path}}</action>
173
+ <action>Save updated YAML file preserving ALL structure and comments</action>
174
+ <output>✅ Updated {{workflow_id}} to completed: {{file_path}}</output>
175
+ </check>
176
+
177
+ <check if="update_choice == 2">
178
+ <ask>Which workflow to skip? (Enter workflow ID)</ask>
179
+ <action>Update workflow_status in YAML file: {{workflow_id}}: skipped</action>
180
+ <action>Save updated YAML file</action>
181
+ <output>✅ Marked {{workflow_id}} as skipped</output>
182
+ </check>
183
+ </check>
184
+ </step>
185
+
186
+ <!-- ============================================= -->
187
+ <!-- SERVICE MODES - Called by other workflows -->
188
+ <!-- ============================================= -->
189
+
190
+ <step n="10" goal="Validate mode - Check if calling workflow should proceed">
191
+ <action>Read {output_folder}/bmm-workflow-status.yaml if exists</action>
192
+
193
+ <check if="status file not found">
194
+ <template-output>status_exists = false</template-output>
195
+ <template-output>should_proceed = true</template-output>
196
+ <template-output>warning = "No status file found. Running without progress tracking."</template-output>
197
+ <template-output>suggestion = "Consider running workflow-init first for progress tracking"</template-output>
198
+ <action>Return to calling workflow</action>
199
+ </check>
200
+
201
+ <check if="status file found">
202
+ <action>Parse YAML file to extract project metadata and workflow_status</action>
203
+ <action>Load workflow path file from workflow_path field</action>
204
+ <action>Find first non-completed workflow in workflow_status (next workflow)</action>
205
+ <action>Check if {{calling_workflow}} matches next workflow or is in the workflow list</action>
206
+
207
+ <template-output>status_exists = true</template-output>
208
+ <template-output>project_level = {{project_level}}</template-output>
209
+ <template-output>project_type = {{project_type}}</template-output>
210
+ <template-output>field_type = {{field_type}}</template-output>
211
+ <template-output>next_workflow = {{next_workflow_id}}</template-output>
212
+
213
+ <check if="calling_workflow == next_workflow">
214
+ <template-output>should_proceed = true</template-output>
215
+ <template-output>warning = ""</template-output>
216
+ <template-output>suggestion = "Proceeding with planned next step"</template-output>
217
+ </check>
218
+
219
+ <check if="calling_workflow in workflow_status list">
220
+ <action>Check the status of calling_workflow in YAML</action>
221
+
222
+ <check if="status is file path">
223
+ <template-output>should_proceed = true</template-output>
224
+ <template-output>warning = "⚠️ Workflow already completed: {{calling_workflow}}"</template-output>
225
+ <template-output>suggestion = "This workflow was already completed. Re-running will overwrite: {{status}}"</template-output>
226
+ </check>
227
+
228
+ <check if="status is optional/recommended">
229
+ <template-output>should_proceed = true</template-output>
230
+ <template-output>warning = "Running optional workflow {{calling_workflow}}"</template-output>
231
+ <template-output>suggestion = "This is optional. Expected next: {{next_workflow}}"</template-output>
232
+ </check>
233
+
234
+ <check if="status is required but not next">
235
+ <template-output>should_proceed = true</template-output>
236
+ <template-output>warning = "⚠️ Out of sequence: Expected {{next_workflow}}, running {{calling_workflow}}"</template-output>
237
+ <template-output>suggestion = "Consider running {{next_workflow}} instead, or continue if intentional"</template-output>
238
+ </check>
239
+
240
+ </check>
241
+
242
+ <check if="calling_workflow NOT in workflow_status list">
243
+ <template-output>should_proceed = true</template-output>
244
+ <template-output>warning = "⚠️ Unknown workflow: {{calling_workflow}} not in workflow path"</template-output>
245
+ <template-output>suggestion = "This workflow is not part of the defined path for this project"</template-output>
246
+ </check>
247
+
248
+ <template-output>status_file_path = {{path to bmm-workflow-status.yaml}}</template-output>
249
+ </check>
250
+
251
+ <action>Return control to calling workflow with all template outputs</action>
252
+ </step>
253
+
254
+ <step n="20" goal="Data mode - Extract specific information">
255
+ <action>Read {output_folder}/bmm-workflow-status.yaml if exists</action>
256
+
257
+ <check if="status file not found">
258
+ <template-output>status_exists = false</template-output>
259
+ <template-output>error = "No status file to extract data from"</template-output>
260
+ <action>Return to calling workflow</action>
261
+ </check>
262
+
263
+ <check if="status file found">
264
+ <action>Parse YAML file completely</action>
265
+ <template-output>status_exists = true</template-output>
266
+
267
+ <check if="data_request == project_config">
268
+ <template-output>project_name = {{project}}</template-output>
269
+ <template-output>project_type = {{project_type}}</template-output>
270
+ <template-output>project_level = {{project_level}}</template-output>
271
+ <template-output>field_type = {{field_type}}</template-output>
272
+ <template-output>workflow_path = {{workflow_path}}</template-output>
273
+ </check>
274
+
275
+ <check if="data_request == workflow_status">
276
+ <action>Parse workflow_status section and return all workflow: status pairs</action>
277
+ <template-output>workflow_status = {{workflow_status_object}}</template-output>
278
+ <action>Calculate completion stats:</action>
279
+ <template-output>total_workflows = {{count all workflows}}</template-output>
280
+ <template-output>completed_workflows = {{count file path statuses}}</template-output>
281
+ <template-output>pending_workflows = {{count required/optional/etc}}</template-output>
282
+ <template-output>skipped_workflows = {{count skipped}}</template-output>
283
+ </check>
284
+
285
+ <check if="data_request == all">
286
+ <action>Return all parsed fields as template outputs</action>
287
+ <template-output>project = {{project}}</template-output>
288
+ <template-output>project_type = {{project_type}}</template-output>
289
+ <template-output>project_level = {{project_level}}</template-output>
290
+ <template-output>field_type = {{field_type}}</template-output>
291
+ <template-output>workflow_path = {{workflow_path}}</template-output>
292
+ <template-output>workflow_status = {{workflow_status_object}}</template-output>
293
+ <template-output>generated = {{generated}}</template-output>
294
+ </check>
295
+
296
+ <template-output>status_file_path = {{path to bmm-workflow-status.yaml}}</template-output>
297
+ </check>
298
+
299
+ <action>Return control to calling workflow with requested data</action>
300
+ </step>
301
+
302
+ <step n="30" goal="Init-check mode - Simple existence check">
303
+ <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
304
+
305
+ <check if="exists">
306
+ <template-output>status_exists = true</template-output>
307
+ <template-output>suggestion = "Status file found. Ready to proceed."</template-output>
308
+ </check>
309
+
310
+ <check if="not exists">
311
+ <template-output>status_exists = false</template-output>
312
+ <template-output>suggestion = "No status file. Run workflow-init to create one (optional for progress tracking)"</template-output>
313
+ </check>
314
+
315
+ <action>Return immediately to calling workflow</action>
316
+ </step>
317
+
318
+ <step n="40" goal="Update mode - Centralized status file updates">
319
+ <action>Read {output_folder}/bmm-workflow-status.yaml</action>
320
+
321
+ <check if="status file not found">
322
+ <template-output>success = false</template-output>
323
+ <template-output>error = "No status file found. Cannot update."</template-output>
324
+ <action>Return to calling workflow</action>
325
+ </check>
326
+
327
+ <check if="status file found">
328
+ <action>Parse YAML file completely</action>
329
+ <action>Load workflow path file from workflow_path field</action>
330
+ <action>Check {{action}} parameter to determine update type</action>
331
+
332
+ <!-- ============================================= -->
333
+ <!-- ACTION: complete_workflow -->
334
+ <!-- ============================================= -->
335
+ <check if="action == complete_workflow">
336
+ <action>Get {{workflow_id}} parameter (required)</action>
337
+ <action>Get {{output_file}} parameter (required - path to created file)</action>
338
+
339
+ <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
340
+ <action>Update workflow status in YAML:</action>
341
+ - In workflow_status section, update: {{workflow_id}}: {{output_file}}
342
+
343
+ <action>Find {{workflow_id}} in loaded path YAML</action>
344
+ <action>Determine next workflow from path sequence</action>
345
+ <action>Find first workflow in workflow_status with status != file path and != skipped</action>
346
+
347
+ <action>Save updated YAML file preserving ALL structure and comments</action>
348
+
349
+ <template-output>success = true</template-output>
350
+ <template-output>next_workflow = {{determined next workflow}}</template-output>
351
+ <template-output>next_agent = {{determined next agent from path file}}</template-output>
352
+ <template-output>completed_workflow = {{workflow_id}}</template-output>
353
+ <template-output>output_file = {{output_file}}</template-output>
354
+
355
+ </check>
356
+
357
+ <!-- ============================================= -->
358
+ <!-- ACTION: skip_workflow -->
359
+ <!-- ============================================= -->
360
+ <check if="action == skip_workflow">
361
+ <action>Get {{workflow_id}} parameter (required)</action>
362
+
363
+ <action>Update workflow status in YAML:</action>
364
+ - In workflow_status section, update: {{workflow_id}}: skipped
365
+
366
+ <action>Save updated YAML file</action>
367
+
368
+ <template-output>success = true</template-output>
369
+ <template-output>skipped_workflow = {{workflow_id}}</template-output>
370
+
371
+ </check>
372
+
373
+ <!-- ============================================= -->
374
+ <!-- Unknown action -->
375
+ <!-- ============================================= -->
376
+ <check if="action not recognized">
377
+ <template-output>success = false</template-output>
378
+ <template-output>error = "Unknown action: {{action}}. Valid actions: complete_workflow, skip_workflow"</template-output>
379
+ </check>
380
+
381
+ </check>
382
+
383
+ <action>Return control to calling workflow with template outputs</action>
384
+ </step>
385
+
386
+ </workflow>
@@ -0,0 +1,54 @@
1
+ # Brownfield Level 0 - Single Atomic Change in Existing Codebase
2
+ # One change to existing system
3
+
4
+ project_type: "software"
5
+ level: 0
6
+ field_type: "brownfield"
7
+ description: "Single atomic change to existing codebase"
8
+
9
+ phases:
10
+ - prerequisite: true
11
+ name: "Documentation"
12
+ conditional: "if_undocumented"
13
+ note: "NOT a phase - prerequisite for brownfield without docs OR post-completion cleanup"
14
+ workflows:
15
+ - id: "document-project"
16
+ required: true
17
+ agent: "analyst"
18
+ command: "document-project"
19
+ output: "Comprehensive project documentation"
20
+ purpose: "Understand existing codebase before planning OR create superior final docs after Phase 4"
21
+
22
+ - phase: 1
23
+ name: "Analysis"
24
+ optional: true
25
+ workflows:
26
+ - id: "brainstorm-project"
27
+ optional: true
28
+ agent: "analyst"
29
+ command: "brainstorm-project"
30
+
31
+ - phase: 2
32
+ name: "Planning"
33
+ required: true
34
+ workflows:
35
+ - id: "tech-spec"
36
+ required: true
37
+ agent: "architect"
38
+ command: "tech-spec"
39
+ output: "Creates single story file"
40
+ note: "Must understand existing patterns"
41
+
42
+ - phase: 3
43
+ name: "Solutioning"
44
+ skip: true
45
+
46
+ - phase: 4
47
+ name: "Implementation"
48
+ required: true
49
+ workflows:
50
+ - id: "sprint-planning"
51
+ required: true
52
+ agent: "sm"
53
+ command: "sprint-planning"
54
+ note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"
@@ -0,0 +1,58 @@
1
+ # Brownfield Level 1 - Small Feature in Existing Codebase
2
+ # 1-10 stories adding to existing system
3
+
4
+ project_type: "software"
5
+ level: 1
6
+ field_type: "brownfield"
7
+ description: "Small feature addition to existing codebase"
8
+
9
+ phases:
10
+ - prerequisite: true
11
+ name: "Documentation"
12
+ conditional: "if_undocumented"
13
+ note: "NOT a phase - prerequisite for brownfield without docs OR post-completion cleanup"
14
+ workflows:
15
+ - id: "document-project"
16
+ required: true
17
+ agent: "analyst"
18
+ command: "document-project"
19
+ output: "Comprehensive project documentation"
20
+ purpose: "Understand existing codebase before planning OR create superior final docs after Phase 4"
21
+
22
+ - phase: 1
23
+ name: "Analysis"
24
+ optional: true
25
+ workflows:
26
+ - id: "brainstorm-project"
27
+ optional: true
28
+ agent: "analyst"
29
+ command: "brainstorm-project"
30
+ - id: "research"
31
+ optional: true
32
+ agent: "analyst"
33
+ command: "research"
34
+
35
+ - phase: 2
36
+ name: "Planning"
37
+ required: true
38
+ workflows:
39
+ - id: "tech-spec"
40
+ required: true
41
+ agent: "pm"
42
+ command: "tech-spec"
43
+ output: "Creates story files for feature"
44
+ note: "Must integrate with existing architecture"
45
+
46
+ - phase: 3
47
+ name: "Solutioning"
48
+ skip: true
49
+
50
+ - phase: 4
51
+ name: "Implementation"
52
+ required: true
53
+ workflows:
54
+ - id: "sprint-planning"
55
+ required: true
56
+ agent: "sm"
57
+ command: "sprint-planning"
58
+ note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"
@@ -0,0 +1,76 @@
1
+ # Brownfield Level 2 - Medium Project in Existing Codebase
2
+ # 5-15 stories, multiple features added to existing system
3
+
4
+ project_type: "software"
5
+ level: 2
6
+ field_type: "brownfield"
7
+ description: "Medium project adding multiple features to existing codebase"
8
+
9
+ phases:
10
+ - prerequisite: true
11
+ name: "Documentation"
12
+ conditional: "if_undocumented"
13
+ note: "NOT a phase - prerequisite for brownfield without docs OR post-completion cleanup"
14
+ workflows:
15
+ - id: "document-project"
16
+ required: true
17
+ agent: "analyst"
18
+ command: "document-project"
19
+ output: "Comprehensive project documentation"
20
+ purpose: "Understand existing codebase before planning OR create superior final docs after Phase 4"
21
+
22
+ - phase: 1
23
+ name: "Analysis"
24
+ optional: true
25
+ workflows:
26
+ - id: "brainstorm-project"
27
+ optional: true
28
+ agent: "analyst"
29
+ command: "brainstorm-project"
30
+ - id: "research"
31
+ optional: true
32
+ agent: "analyst"
33
+ command: "research"
34
+ - id: "product-brief"
35
+ optional: true
36
+ agent: "analyst"
37
+ command: "product-brief"
38
+
39
+ - phase: 2
40
+ name: "Planning"
41
+ required: true
42
+ workflows:
43
+ - id: "prd"
44
+ recommended: true
45
+ agent: "pm"
46
+ command: "prd"
47
+ output: "Focused PRD for new features"
48
+ note: "Must consider existing system constraints"
49
+ - id: "validate-prd"
50
+ optional: true
51
+ agent: "pm"
52
+ command: "validate-prd"
53
+ - id: "tech-spec"
54
+ required: true
55
+ agent: "pm"
56
+ command: "tech-spec"
57
+ output: "Creates spec with multiple story files"
58
+ note: "Integrate with existing patterns"
59
+ - id: "create-design"
60
+ conditional: "if_has_ui"
61
+ agent: "ux-designer"
62
+ command: "create-design"
63
+
64
+ - phase: 3
65
+ name: "Solutioning"
66
+ skip: true
67
+
68
+ - phase: 4
69
+ name: "Implementation"
70
+ required: true
71
+ workflows:
72
+ - id: "sprint-planning"
73
+ required: true
74
+ agent: "sm"
75
+ command: "sprint-planning"
76
+ note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"
@@ -0,0 +1,95 @@
1
+ # Brownfield Level 3 - Complex Integration with Existing System
2
+ # Major feature addition requiring architectural integration
3
+
4
+ project_type: "software"
5
+ level: 3
6
+ field_type: "brownfield"
7
+ description: "Complex integration with existing system architecture"
8
+
9
+ phases:
10
+ - prerequisite: true
11
+ name: "Documentation"
12
+ conditional: "if_undocumented"
13
+ note: "NOT a phase - prerequisite for brownfield without docs OR post-completion cleanup"
14
+ workflows:
15
+ - id: "document-project"
16
+ required: true
17
+ agent: "analyst"
18
+ command: "document-project"
19
+ output: "Comprehensive project documentation"
20
+ purpose: "Understand existing codebase before planning OR create superior final docs after Phase 4"
21
+
22
+ - phase: 1
23
+ name: "Analysis"
24
+ recommended: true
25
+ workflows:
26
+ - id: "brainstorm-project"
27
+ optional: true
28
+ agent: "analyst"
29
+ command: "brainstorm-project"
30
+ - id: "research"
31
+ recommended: true
32
+ agent: "analyst"
33
+ command: "research"
34
+ note: "Research existing architecture patterns"
35
+ - id: "product-brief"
36
+ recommended: true
37
+ agent: "analyst"
38
+ command: "product-brief"
39
+
40
+ - phase: 2
41
+ name: "Planning"
42
+ required: true
43
+ workflows:
44
+ - id: "prd"
45
+ required: true
46
+ agent: "pm"
47
+ command: "prd"
48
+ output: "Requirements with integration points"
49
+ - id: "validate-prd"
50
+ optional: true
51
+ agent: "pm"
52
+ command: "validate-prd"
53
+ - id: "create-design"
54
+ conditional: "if_has_ui"
55
+ agent: "ux-designer"
56
+ command: "create-design"
57
+ note: "Must align with existing UI patterns"
58
+
59
+ - phase: 3
60
+ name: "Solutioning"
61
+ required: true
62
+ workflows:
63
+ - id: "architecture-review"
64
+ required: true
65
+ agent: "architect"
66
+ command: "architecture-review"
67
+ note: "Review existing architecture first"
68
+ - id: "integration-planning"
69
+ required: true
70
+ agent: "architect"
71
+ command: "integration-planning"
72
+ output: "Integration strategy document"
73
+ - id: "create-architecture"
74
+ required: true
75
+ agent: "architect"
76
+ command: "create-architecture"
77
+ note: "Extension of existing architecture"
78
+ - id: "validate-architecture"
79
+ optional: true
80
+ agent: "architect"
81
+ command: "validate-architecture"
82
+ - id: "solutioning-gate-check"
83
+ required: true
84
+ agent: "architect"
85
+ command: "solutioning-gate-check"
86
+
87
+ - phase: 4
88
+ name: "Implementation"
89
+ required: true
90
+ workflows:
91
+ - id: "sprint-planning"
92
+ required: true
93
+ agent: "sm"
94
+ command: "sprint-planning"
95
+ note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"