bmad-method 6.0.0-alpha.13 → 6.0.0-alpha.15

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 (355) hide show
  1. package/.coderabbit.yaml +36 -0
  2. package/.github/CODE_OF_CONDUCT.md +128 -0
  3. package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
  4. package/.github/scripts/discord-helpers.sh +15 -0
  5. package/.github/workflows/discord.yaml +278 -8
  6. package/.github/workflows/quality.yaml +19 -0
  7. package/.markdownlint-cli2.yaml +42 -0
  8. package/.prettierignore +3 -0
  9. package/CHANGELOG.md +183 -360
  10. package/README.md +4 -1
  11. package/docs/agent-customization-guide.md +2 -2
  12. package/docs/custom-content-installation.md +245 -0
  13. package/docs/document-sharding-guide.md +1 -1
  14. package/docs/index.md +2 -2
  15. package/docs/installers-bundlers/installers-modules-platforms-reference.md +6 -5
  16. package/docs/web-bundles-gemini-gpt-guide.md +1 -1
  17. package/eslint.config.mjs +14 -0
  18. package/example-custom-content/README.md +8 -0
  19. package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +1 -1
  20. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +5 -5
  21. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +1 -1
  22. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +1 -1
  23. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +2 -2
  24. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/memories.md +1 -1
  25. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith.agent.yaml +18 -17
  26. package/example-custom-content/module.yaml +4 -0
  27. package/example-custom-content/workflows/quiz-master/steps/step-01-init.md +168 -0
  28. package/example-custom-content/workflows/quiz-master/steps/step-02-q1.md +155 -0
  29. package/example-custom-content/workflows/quiz-master/steps/step-03-q2.md +89 -0
  30. package/example-custom-content/workflows/quiz-master/steps/step-04-q3.md +36 -0
  31. package/example-custom-content/workflows/quiz-master/steps/step-05-q4.md +36 -0
  32. package/example-custom-content/workflows/quiz-master/steps/step-06-q5.md +36 -0
  33. package/example-custom-content/workflows/quiz-master/steps/step-07-q6.md +36 -0
  34. package/example-custom-content/workflows/quiz-master/steps/step-08-q7.md +36 -0
  35. package/example-custom-content/workflows/quiz-master/steps/step-09-q8.md +36 -0
  36. package/example-custom-content/workflows/quiz-master/steps/step-10-q9.md +36 -0
  37. package/example-custom-content/workflows/quiz-master/steps/step-11-q10.md +36 -0
  38. package/example-custom-content/workflows/quiz-master/steps/step-12-results.md +150 -0
  39. package/example-custom-content/workflows/quiz-master/templates/csv-headers.template +1 -0
  40. package/example-custom-content/workflows/quiz-master/workflow.md +54 -0
  41. package/example-custom-content/workflows/wassup/workflow.md +26 -0
  42. package/example-custom-module/mwm/README.md +9 -0
  43. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/cognitive-distortions.md +47 -0
  44. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/thought-records.md +17 -0
  45. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach.agent.yaml +151 -0
  46. package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +138 -0
  47. package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +138 -0
  48. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
  49. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
  50. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
  51. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
  52. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion.agent.yaml +125 -0
  53. package/example-custom-module/mwm/module.yaml +28 -0
  54. package/example-custom-module/mwm/workflows/cbt-thought-record/README.md +31 -0
  55. package/example-custom-module/mwm/workflows/cbt-thought-record/workflow.md +45 -0
  56. package/example-custom-module/mwm/workflows/crisis-support/README.md +31 -0
  57. package/example-custom-module/mwm/workflows/crisis-support/workflow.md +45 -0
  58. package/example-custom-module/mwm/workflows/daily-checkin/README.md +32 -0
  59. package/example-custom-module/mwm/workflows/daily-checkin/workflow.md +45 -0
  60. package/example-custom-module/mwm/workflows/guided-meditation/README.md +31 -0
  61. package/example-custom-module/mwm/workflows/guided-meditation/workflow.md +45 -0
  62. package/example-custom-module/mwm/workflows/wellness-journal/README.md +31 -0
  63. package/example-custom-module/mwm/workflows/wellness-journal/workflow.md +45 -0
  64. package/package.json +9 -4
  65. package/src/core/_module-installer/installer.js +1 -1
  66. package/src/core/{_module-installer/install-config.yaml → module.yaml} +5 -1
  67. package/src/core/resources/excalidraw/library-loader.md +2 -2
  68. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +1 -1
  69. package/src/core/workflows/brainstorming/workflow.md +1 -1
  70. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -1
  71. package/src/core/workflows/party-mode/workflow.md +2 -3
  72. package/src/modules/bmb/README.md +1 -1
  73. package/src/modules/bmb/_module-installer/installer.js +76 -0
  74. package/src/modules/bmb/agents/bmad-builder.agent.yaml +32 -9
  75. package/src/modules/bmb/docs/agents/agent-menu-patterns.md +5 -5
  76. package/src/modules/bmb/docs/agents/expert-agent-architecture.md +20 -20
  77. package/src/modules/bmb/docs/agents/index.md +1 -1
  78. package/src/modules/bmb/docs/agents/module-agent-architecture.md +45 -45
  79. package/src/modules/bmb/docs/agents/simple-agent-architecture.md +7 -3
  80. package/src/modules/bmb/docs/workflows/architecture.md +1 -1
  81. package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +241 -0
  82. package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +223 -0
  83. package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/step-file.md +4 -4
  84. package/src/modules/bmb/docs/workflows/{step-template.md → templates/step-template.md} +40 -33
  85. package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
  86. package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/workflow.md +1 -1
  87. package/src/modules/bmb/{_module-installer/install-config.yaml → module.yaml} +4 -9
  88. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +4 -4
  89. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +8 -8
  90. package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +6 -6
  91. package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
  92. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +2 -3
  93. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +10 -40
  94. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +1 -1
  95. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +1 -0
  96. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +2 -2
  97. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +2 -2
  98. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +2 -2
  99. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
  100. package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +16 -4
  101. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +4 -4
  102. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
  103. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +1 -1
  104. package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +3 -3
  105. package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +3 -3
  106. package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +3 -3
  107. package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +3 -3
  108. package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +6 -6
  109. package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +2 -2
  110. package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +3 -3
  111. package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +3 -3
  112. package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +2 -2
  113. package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +3 -3
  114. package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +2 -2
  115. package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +2 -2
  116. package/src/modules/bmb/workflows/create-agent/workflow.md +11 -11
  117. package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +155 -0
  118. package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +169 -0
  119. package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +217 -0
  120. package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +267 -0
  121. package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +228 -0
  122. package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +233 -0
  123. package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +296 -0
  124. package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +228 -0
  125. package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +186 -0
  126. package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +309 -0
  127. package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +337 -0
  128. package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +335 -0
  129. package/src/modules/bmb/workflows/create-module/templates/agent.template.md +317 -0
  130. package/src/modules/bmb/workflows/create-module/templates/installer.template.js +47 -0
  131. package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +5 -0
  132. package/src/modules/bmb/workflows/create-module/templates/module.template.yaml +53 -0
  133. package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +23 -0
  134. package/src/modules/bmb/workflows/create-module/validation.md +126 -0
  135. package/src/modules/bmb/workflows/create-module/workflow.md +55 -0
  136. package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +45 -56
  137. package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +9 -31
  138. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +250 -0
  139. package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +216 -0
  140. package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +289 -0
  141. package/src/modules/bmb/workflows/create-workflow/steps/{step-09-design.md → step-06-design.md} +76 -44
  142. package/src/modules/bmb/workflows/create-workflow/steps/{step-11-build.md → step-07-build.md} +71 -25
  143. package/src/modules/bmb/workflows/create-workflow/steps/{step-12-review.md → step-08-review.md} +30 -16
  144. package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
  145. package/src/modules/bmb/workflows/create-workflow/workflow.md +2 -2
  146. package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +2 -2
  147. package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +14 -14
  148. package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +4 -4
  149. package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +2 -2
  150. package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +4 -4
  151. package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
  152. package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +2 -6
  153. package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +2 -2
  154. package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +1 -1
  155. package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
  156. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +2 -2
  157. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +5 -5
  158. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +7 -7
  159. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +3 -3
  160. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +3 -3
  161. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +3 -3
  162. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +3 -3
  163. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +2 -2
  164. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
  165. package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +0 -1
  166. package/src/modules/bmgd/README.md +2 -1
  167. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
  168. package/src/modules/bmm/_module-installer/installer.js +1 -1
  169. package/src/modules/bmm/_module-installer/platform-specifics/claude-code.js +1 -1
  170. package/src/modules/bmm/_module-installer/platform-specifics/windsurf.js +1 -1
  171. package/src/modules/bmm/agents/analyst.agent.yaml +11 -8
  172. package/src/modules/bmm/agents/architect.agent.yaml +1 -5
  173. package/src/modules/bmm/agents/pm.agent.yaml +5 -5
  174. package/src/modules/bmm/docs/README.md +23 -1
  175. package/src/modules/bmm/docs/agents-guide.md +16 -35
  176. package/src/modules/bmm/docs/brownfield-guide.md +17 -30
  177. package/src/modules/bmm/docs/enterprise-agentic-development.md +2 -2
  178. package/src/modules/bmm/docs/faq.md +6 -39
  179. package/src/modules/bmm/docs/glossary.md +11 -24
  180. package/src/modules/bmm/docs/images/README.md +37 -0
  181. package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +62 -202
  182. package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +3 -1
  183. package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
  184. package/src/modules/bmm/docs/quick-start.md +9 -25
  185. package/src/modules/bmm/docs/test-architecture.md +6 -6
  186. package/src/modules/bmm/docs/troubleshooting.md +680 -0
  187. package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
  188. package/src/modules/bmm/docs/workflows-implementation.md +143 -3
  189. package/src/modules/bmm/docs/workflows-solutioning.md +2 -2
  190. package/src/modules/bmm/{_module-installer/install-config.yaml → module.yaml} +1 -1
  191. package/src/modules/bmm/tasks/daily-standup.xml +85 -0
  192. package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
  193. package/src/modules/bmm/testarch/knowledge/overview.md +1 -1
  194. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +2 -2
  195. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +2 -2
  196. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +2 -2
  197. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +2 -2
  198. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +1 -1
  199. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +8 -8
  200. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +18 -18
  201. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +18 -18
  202. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +18 -18
  203. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +17 -17
  204. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +35 -36
  205. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +5 -6
  206. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +20 -19
  207. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +21 -20
  208. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +20 -19
  209. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +21 -20
  210. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +16 -15
  211. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +36 -37
  212. package/src/modules/bmm/workflows/1-analysis/research/research.template.md +0 -1
  213. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +8 -8
  214. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +19 -18
  215. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +20 -19
  216. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +21 -20
  217. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +19 -18
  218. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +38 -39
  219. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +14 -8
  220. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +6 -0
  221. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +7 -0
  222. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +138 -56
  223. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +93 -51
  224. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +223 -78
  225. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +20 -2
  226. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +18 -0
  227. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +21 -0
  228. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +21 -0
  229. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +21 -0
  230. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +18 -0
  231. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +18 -0
  232. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +18 -0
  233. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +13 -0
  234. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
  235. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +14 -14
  236. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +7 -7
  237. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +2 -1
  238. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
  239. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
  240. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
  241. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
  242. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  243. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
  244. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
  245. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
  246. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
  247. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
  248. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
  249. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
  250. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
  251. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
  252. package/src/modules/{bmgd/workflows/4-production → bmm/workflows/4-implementation}/code-review/checklist.md +2 -1
  253. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +51 -3
  254. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
  255. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +32 -2
  256. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
  257. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
  258. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +10 -10
  259. package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
  260. package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
  261. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +104 -7
  262. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +4 -0
  263. package/src/modules/bmm/workflows/document-project/instructions.md +1 -1
  264. package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
  265. package/src/modules/bmm/workflows/generate-project-context/workflow.md +1 -1
  266. package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
  267. package/src/modules/bmm/workflows/testarch/ci/checklist.md +1 -1
  268. package/src/modules/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
  269. package/src/modules/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
  270. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
  271. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
  272. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +1 -6
  273. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +1 -6
  274. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +1 -6
  275. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +1 -7
  276. package/src/modules/cis/_module-installer/installer.js +1 -1
  277. package/tools/cli/README.md +7 -7
  278. package/tools/cli/commands/build.js +9 -184
  279. package/tools/cli/commands/install.js +1 -6
  280. package/tools/cli/installers/lib/core/config-collector.js +80 -12
  281. package/tools/cli/installers/lib/core/custom-module-cache.js +239 -0
  282. package/tools/cli/installers/lib/core/detector.js +8 -4
  283. package/tools/cli/installers/lib/core/installer.js +933 -376
  284. package/tools/cli/installers/lib/core/manifest-generator.js +265 -41
  285. package/tools/cli/installers/lib/core/manifest.js +47 -0
  286. package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
  287. package/tools/cli/installers/lib/custom/handler.js +396 -0
  288. package/tools/cli/installers/lib/ide/_base-ide.js +10 -0
  289. package/tools/cli/installers/lib/ide/auggie.js +19 -7
  290. package/tools/cli/installers/lib/ide/crush.js +19 -6
  291. package/tools/cli/installers/lib/ide/cursor.js +29 -13
  292. package/tools/cli/installers/lib/ide/gemini.js +49 -1
  293. package/tools/cli/installers/lib/ide/iflow.js +20 -1
  294. package/tools/cli/installers/lib/ide/kiro-cli.js +327 -0
  295. package/tools/cli/installers/lib/ide/opencode.js +3 -3
  296. package/tools/cli/installers/lib/ide/roo.js +120 -184
  297. package/tools/cli/installers/lib/ide/rovo-dev.js +1 -1
  298. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +8 -2
  299. package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +34 -19
  300. package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +18 -14
  301. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
  302. package/tools/cli/installers/lib/ide/templates/workflow-commander.md +5 -0
  303. package/tools/cli/installers/lib/modules/manager.js +535 -56
  304. package/tools/cli/lib/agent/compiler.js +57 -16
  305. package/tools/cli/lib/agent/installer.js +129 -28
  306. package/tools/cli/lib/cli-utils.js +21 -4
  307. package/tools/cli/lib/config.js +2 -1
  308. package/tools/cli/lib/ui.js +561 -12
  309. package/tools/cli/lib/yaml-xml-builder.js +0 -15
  310. package/tools/maintainer/review-pr-README.md +55 -0
  311. package/tools/maintainer/review-pr.md +242 -0
  312. package/tools/migrate-custom-module-paths.js +124 -0
  313. package/tools/schema/agent.js +149 -89
  314. package/tools/validate-svg-changes.sh +356 -0
  315. package/custom/src/agents/commit-poet/installation-guide.md +0 -36
  316. package/custom/src/agents/toolsmith/installation-guide.md +0 -36
  317. package/docs/custom-agent-installation.md +0 -183
  318. package/src/modules/bmb/docs/workflows/workflow-template.md +0 -152
  319. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +0 -127
  320. package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +0 -145
  321. package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +0 -136
  322. package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +0 -154
  323. package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +0 -159
  324. package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +0 -167
  325. package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +0 -215
  326. package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +0 -36
  327. package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +0 -39
  328. package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +0 -21
  329. package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +0 -53
  330. package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +0 -18
  331. package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +0 -47
  332. package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +0 -56
  333. package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +0 -54
  334. package/src/modules/bmb/workflows-legacy/create-module/README.md +0 -229
  335. package/src/modules/bmb/workflows-legacy/create-module/brainstorm-context.md +0 -137
  336. package/src/modules/bmb/workflows-legacy/create-module/checklist.md +0 -235
  337. package/src/modules/bmb/workflows-legacy/create-module/installer-templates/install-config.yaml +0 -92
  338. package/src/modules/bmb/workflows-legacy/create-module/installer-templates/installer.js +0 -231
  339. package/src/modules/bmb/workflows-legacy/create-module/instructions.md +0 -577
  340. package/src/modules/bmb/workflows-legacy/create-module/module-structure.md +0 -400
  341. package/src/modules/bmb/workflows-legacy/create-module/workflow.yaml +0 -52
  342. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md +0 -80
  343. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +0 -387
  344. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -53
  345. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  346. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  347. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  348. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -64
  349. package/tools/cli/commands/agent-install.js +0 -409
  350. package/tools/cli/commands/cleanup.js +0 -141
  351. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
  352. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
  353. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
  354. /package/src/modules/bmgd/{_module-installer/install-config.yaml → module.yaml} +0 -0
  355. /package/src/modules/cis/{_module-installer/install-config.yaml → module.yaml} +0 -0
@@ -15,8 +15,8 @@ targetWorkflowFile: '{target_workflow_path}'
15
15
  complianceReportTemplate: '{workflow_path}/templates/compliance-report.md'
16
16
 
17
17
  # Documentation References
18
- stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
19
- workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
18
+ stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
19
+ workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
20
20
  ---
21
21
 
22
22
  # Step 8: Comprehensive Compliance Report Generation
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: Workflow Compliance Check
2
+ name: workflow-compliance-check
3
3
  description: Systematic validation of workflows against BMAD standards with adversarial analysis and detailed reporting
4
4
  web_bundle: false
5
5
  ---
@@ -24,7 +24,6 @@ Use this checklist to validate module edits meet BMAD Core standards.
24
24
 
25
25
  ### Optional Fields (if used)
26
26
 
27
- - [ ] custom_agent_location documented
28
27
  - [ ] custom_module_location documented
29
28
  - [ ] Module-specific fields documented in README
30
29
 
@@ -129,8 +129,9 @@ bmgd/
129
129
  │ (Uses BMM workflows via cross-module references)
130
130
  ├── templates/
131
131
  ├── data/
132
+ ├── module.yaml
132
133
  └── _module-installer/
133
- └── install-config.yaml
134
+ └── installer.js (optional)
134
135
  ```
135
136
 
136
137
  ## Configuration
@@ -140,14 +140,14 @@ I see {{epic_count}} epics with {{story_count}} total stories.
140
140
  </check>
141
141
 
142
142
  <action>Search for relevant starter templates with websearch, examples:
143
- <WebSearch>{{primary_technology}} starter template CLI create command latest {date}</WebSearch>
144
- <WebSearch>{{primary_technology}} boilerplate generator latest options</WebSearch>
143
+ Search the web: "{{primary_technology}} starter template CLI create command latest"
144
+ Search the web: "{{primary_technology}} boilerplate generator latest options"
145
145
  </action>
146
146
 
147
147
  <check if="starter_templates_found">
148
148
  <action>Investigate what each starter provides:
149
- <WebSearch>{{starter_name}} default setup technologies included latest</WebSearch>
150
- <WebSearch>{{starter_name}} project structure file organization</WebSearch>
149
+ Search the web: "{{starter_name}} default setup technologies included latest"
150
+ Search the web: "{{starter_name}} project structure file organization"
151
151
  </action>
152
152
 
153
153
  <check if="{user_skill_level} == 'expert'">
@@ -176,7 +176,7 @@ I see {{epic_count}} epics with {{story_count}} total stories.
176
176
 
177
177
  <check if="user_accepts_starter">
178
178
  <action>Get current starter command and options:
179
- <WebSearch>{{starter_name}} CLI command options flags latest 2024</WebSearch>
179
+ Search the web: "{{starter_name}} CLI command options flags latest"
180
180
  </action>
181
181
 
182
182
  <action>Document the initialization command:
@@ -282,7 +282,7 @@ Let's work through the remaining {{remaining_count}} decisions."
282
282
 
283
283
  <step n="4" goal="Facilitate collaborative decision making" repeat="for-each-decision">
284
284
  <critical>Each decision must be made WITH the user, not FOR them</critical>
285
- <critical>ALWAYS verify current versions using WebSearch - NEVER trust hardcoded versions</critical>
285
+ <critical>ALWAYS search the web to verify current versions - NEVER trust hardcoded versions</critical>
286
286
 
287
287
  <action>For each decision in priority order:</action>
288
288
 
@@ -327,8 +327,8 @@ Let's work through the remaining {{remaining_count}} decisions."
327
327
 
328
328
  <check if="decision_involves_specific_technology">
329
329
  <action>Verify current stable version:
330
- <WebSearch>{{technology}} latest stable version 2024</WebSearch>
331
- <WebSearch>{{technology}} current LTS version</WebSearch>
330
+ Search the web: "{{technology}} latest stable version"
331
+ Search the web: "{{technology}} current LTS version"
332
332
  </action>
333
333
 
334
334
  <action>Update decision record with verified version:
@@ -9,7 +9,7 @@ const platformCodes = require(path.join(__dirname, '../../../../tools/cli/lib/pl
9
9
  *
10
10
  * @param {Object} options - Installation options
11
11
  * @param {string} options.projectRoot - The root directory of the target project
12
- * @param {Object} options.config - Module configuration from install-config.yaml
12
+ * @param {Object} options.config - Module configuration from module.yaml
13
13
  * @param {Array<string>} options.installedIDEs - Array of IDE codes that were installed
14
14
  * @param {Object} options.logger - Logger instance for output
15
15
  * @returns {Promise<boolean>} - Success status
@@ -5,7 +5,7 @@ const chalk = require('chalk');
5
5
  *
6
6
  * @param {Object} options - Installation options
7
7
  * @param {string} options.projectRoot - The root directory of the target project
8
- * @param {Object} options.config - Module configuration from install-config.yaml
8
+ * @param {Object} options.config - Module configuration from module.yaml
9
9
  * @param {Object} options.logger - Logger instance for output
10
10
  * @param {Object} options.platformInfo - Platform metadata from global config
11
11
  * @returns {Promise<boolean>} - Success status
@@ -5,7 +5,7 @@ const chalk = require('chalk');
5
5
  *
6
6
  * @param {Object} options - Installation options
7
7
  * @param {string} options.projectRoot - The root directory of the target project
8
- * @param {Object} options.config - Module configuration from install-config.yaml
8
+ * @param {Object} options.config - Module configuration from module.yaml
9
9
  * @param {Object} options.logger - Logger instance for output
10
10
  * @returns {Promise<boolean>} - Success status
11
11
  */
@@ -39,11 +39,14 @@ agent:
39
39
  workflow: "{project-root}/{bmad_folder}/bmm/workflows/document-project/workflow.yaml"
40
40
  description: Document your existing project (optional, but recommended for existing brownfield project efforts)
41
41
 
42
- - trigger: party-mode
43
- exec: "{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md"
44
- description: Bring the whole team in to chat with other expert agents from the party
45
-
46
- - trigger: advanced-elicitation
47
- exec: "{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml"
48
- description: Advanced elicitation techniques to challenge the LLM to get better results
49
- web-only: true
42
+ - multi: "[SPM] Start Party Mode (optionally suggest attendees and topic), [CH] Chat"
43
+ triggers:
44
+ - party-mode:
45
+ - input: SPM or fuzzy match start party mode
46
+ - route: "{project-root}/{bmad_folder}/core/workflows/edit-agent/workflow.md"
47
+ - data: what is being discussed or suggested with the command, along with custom party custom agents if specified
48
+ - type: exec
49
+ - expert-chat:
50
+ - input: CH or fuzzy match validate agent
51
+ - action: agent responds as expert based on its personal to converse
52
+ - type: action
@@ -26,12 +26,8 @@ agent:
26
26
  exec: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/architecture/workflow.md"
27
27
  description: Create an Architecture Document to Guide Development of a PRD (required for BMad Method projects)
28
28
 
29
- - trigger: validate-architecture
30
- validate-workflow: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/architecture/workflow.yaml"
31
- description: Validate Architecture Document (Recommended, use another LLM and fresh context for best results)
32
-
33
29
  - trigger: implementation-readiness
34
- workflow: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml"
30
+ exec: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/implementation-readiness/workflow.md"
35
31
  description: Validate PRD, UX, Architecture, Epics and stories aligned (Optional but recommended before development)
36
32
 
37
33
  - trigger: create-excalidraw-diagram
@@ -27,14 +27,14 @@ agent:
27
27
  exec: "{project-root}/{bmad_folder}/bmm/workflows/2-plan-workflows/prd/workflow.md"
28
28
  description: Create Product Requirements Document (PRD) (Required for BMad Method flow)
29
29
 
30
- - trigger: validate-prd
31
- validate-workflow: "{project-root}/{bmad_folder}/bmm/workflows/2-plan-workflows/prd/workflow.yaml"
32
- description: Validate PRD (Highly Recommended, use fresh context and different LLM for best results)
33
-
34
30
  - trigger: create-epics-and-stories
35
- workflow: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml"
31
+ exec: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md"
36
32
  description: Create Epics and User Stories from PRD (Required for BMad Method flow AFTER the Architecture is completed)
37
33
 
34
+ - trigger: implementation-readiness
35
+ exec: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/implementation-readiness/workflow.md"
36
+ description: Validate PRD, UX, Architecture, Epics and stories aligned (Optional but recommended before development)
37
+
38
38
  - trigger: correct-course
39
39
  workflow: "{project-root}/{bmad_folder}/bmm/workflows/4-implementation/correct-course/workflow.yaml"
40
40
  description: Course Correction Analysis (optional during implementation when things go off track)
@@ -139,6 +139,9 @@ Comprehensive documentation for all BMM workflows organized by phase:
139
139
  - Complete story lifecycle
140
140
  - One-story-at-a-time discipline
141
141
 
142
+ <<<<<<< Updated upstream
143
+ <<<<<<< Updated upstream
144
+
142
145
  - **[Testing & QA Workflows](./test-architecture.md)** - Comprehensive quality assurance (1,420 lines)
143
146
  - Test strategy, automation, quality gates
144
147
  - TEA agent and test healing
@@ -146,6 +149,14 @@ Comprehensive documentation for all BMM workflows organized by phase:
146
149
 
147
150
  **Total: 34 workflows documented across all phases**
148
151
 
152
+ =======
153
+
154
+ > > > > > > > Stashed changes
155
+
156
+ =======
157
+
158
+ > > > > > > > Stashed changes
159
+
149
160
  ### Advanced Workflow References
150
161
 
151
162
  For detailed technical documentation on specific complex workflows:
@@ -170,10 +181,21 @@ Quality assurance guidance:
170
181
 
171
182
  <!-- Test Architect documentation to be added -->
172
183
 
184
+ <<<<<<< Updated upstream
185
+
186
+ <<<<<<< Updated upstream
187
+
173
188
  - Test design workflows
174
189
  - Quality gates
175
190
  - Risk assessment
176
- - NFR validation
191
+ - # NFR validation
192
+ =======
193
+ > > > > > > > Stashed changes
194
+ - Test design workflows
195
+ - Quality gates
196
+ - Risk assessment
197
+ - NFR validation
198
+ > > > > > > > Stashed changes
177
199
 
178
200
  ---
179
201
 
@@ -76,8 +76,7 @@ The BMad Method Module (BMM) provides a comprehensive team of specialized AI age
76
76
  - `create-prd` - Create PRD for Level 2-4 projects (creates FRs/NFRs only)
77
77
  - `tech-spec` - Quick spec for Level 0-1 projects
78
78
  - `create-epics-and-stories` - Break PRD into implementable pieces (runs AFTER architecture)
79
- - `validate-prd` - Validate PRD completeness
80
- - `validate-tech-spec` - Validate Technical Specification
79
+ - `implementation-readiness` - Validate PRD + Architecture + Epics + UX (optional)
81
80
  - `correct-course` - Handle mid-project changes
82
81
  - `workflow-init` - Initialize workflow tracking
83
82
 
@@ -145,8 +144,7 @@ The BMad Method Module (BMM) provides a comprehensive team of specialized AI age
145
144
 
146
145
  - `workflow-status` - Check what to do next
147
146
  - `create-architecture` - Produce a Scale Adaptive Architecture
148
- - `validate-architecture` - Validate architecture document
149
- - `implementation-readiness` - Validate readiness for Phase 4
147
+ - `implementation-readiness` - Validate PRD + Architecture + Epics + UX (optional)
150
148
 
151
149
  **Communication Style:** Comprehensive yet pragmatic. Uses architectural metaphors. Balances technical depth with accessibility. Connects decisions to business value.
152
150
 
@@ -182,13 +180,8 @@ The BMad Method Module (BMM) provides a comprehensive team of specialized AI age
182
180
 
183
181
  - `workflow-status` - Check what to do next
184
182
  - `sprint-planning` - Initialize `sprint-status.yaml` tracking
185
- - `epic-tech-context` - Optional epic-specific technical context
186
- - `validate-epic-tech-context` - Validate epic technical context
187
183
  - `create-story` - Draft next story from epic
188
184
  - `validate-create-story` - Independent story validation
189
- - `story-context` - Assemble dynamic technical context XML
190
- - `validate-story-context` - Validate story context
191
- - `story-ready-for-dev` - Mark story ready without context generation
192
185
  - `epic-retrospective` - Post-epic review
193
186
  - `correct-course` - Handle changes during implementation
194
187
 
@@ -230,7 +223,6 @@ The BMad Method Module (BMM) provides a comprehensive team of specialized AI age
230
223
  - Repository docs reference
231
224
  - MCP server best practices
232
225
  - Web search fallback
233
- - `story-done` - Mark story complete and advance queue
234
226
 
235
227
  **Communication Style:** Succinct and checklist-driven. Cites file paths and acceptance criteria IDs. Only asks questions when inputs are missing.
236
228
 
@@ -458,7 +450,6 @@ The BMad Method Module (BMM) provides a comprehensive team of specialized AI age
458
450
 
459
451
  - `workflow-status` - Check what to do next
460
452
  - `develop-story` - Execute Dev Story workflow, implementing tasks and tests
461
- - `story-done` - Mark story done after DoD complete
462
453
  - `code-review` - Perform thorough clean context QA code review on a story
463
454
 
464
455
  **Communication Style:** Direct and energetic. Execution-focused. Breaks down complex game challenges into actionable steps. Celebrates performance wins.
@@ -649,15 +640,11 @@ Some workflows are available to multiple agents:
649
640
 
650
641
  Many workflows have optional validation workflows that perform independent review:
651
642
 
652
- | Validation | Agent | Validates |
653
- | ---------------------------- | ----------- | -------------------------------- |
654
- | `validate-prd` | PM | PRD completeness (FRs/NFRs only) |
655
- | `validate-tech-spec` | PM | Technical specification quality |
656
- | `validate-architecture` | Architect | Architecture document |
657
- | `validate-design` | UX Designer | UX specification and artifacts |
658
- | `validate-epic-tech-context` | SM | Epic technical context |
659
- | `validate-create-story` | SM | Story draft |
660
- | `validate-story-context` | SM | Story context XML |
643
+ | Validation | Agent | Validates |
644
+ | -------------------------- | ----------- | ------------------------------------------ |
645
+ | `implementation-readiness` | Architect | PRD + Architecture + Epics + UX (optional) |
646
+ | `validate-design` | UX Designer | UX specification and artifacts |
647
+ | `validate-create-story` | SM | Story draft |
661
648
 
662
649
  **When to use validation:**
663
650
 
@@ -912,13 +899,10 @@ Load the customized agent and verify the changes are reflected in its behavior a
912
899
  **Story Development Cycle:**
913
900
 
914
901
  ```
915
- 1. SM: *epic-tech-context (optional, once per epic)
916
- 2. SM: *create-story
917
- 3. SM: *story-context
918
- 4. DEV: *develop-story
919
- 5. DEV: *code-review
920
- 6. DEV: *story-done
921
- 7. Repeat steps 2-6 for next story
902
+ 1. SM: *create-story
903
+ 2. DEV: *develop-story
904
+ 3. DEV: *code-review
905
+ 4. Repeat steps 1-3 for next story
922
906
  ```
923
907
 
924
908
  **Testing Strategy:**
@@ -957,9 +941,8 @@ Agent analyzes project state → recommends next workflow
957
941
 
958
942
  ```
959
943
  Each phase has validation gates:
960
- - Phase 2 to 3: validate-prd, validate-tech-spec
961
- - Phase 3 to 4: implementation-readiness
962
- Run validation before advancing
944
+ - Phase 3 to 4: implementation-readiness (validates PRD + Architecture + Epics + UX (optional))
945
+ Run validation before advancing to implementation
963
946
  ```
964
947
 
965
948
  **Course correction:**
@@ -991,13 +974,13 @@ Quick reference for agent selection:
991
974
  | **PM** | 📋 | 2 (Planning) | prd, tech-spec, epics-stories | Planning, requirements docs |
992
975
  | **UX Designer** | 🎨 | 2 (Planning) | create-ux-design, validate-design | UX-heavy projects, design |
993
976
  | **Architect** | 🏗️ | 3 (Solutioning) | architecture, implementation-readiness | Technical design, architecture |
994
- | **SM** | 🏃 | 4 (Implementation) | sprint-planning, create-story, story-context | Story management, sprint coordination |
995
- | **DEV** | 💻 | 4 (Implementation) | develop-story, code-review, story-done | Implementation, coding |
977
+ | **SM** | 🏃 | 4 (Implementation) | sprint-planning, create-story | Story management, sprint coordination |
978
+ | **DEV** | 💻 | 4 (Implementation) | develop-story, code-review | Implementation, coding |
996
979
  | **TEA** | 🧪 | All Phases | framework, atdd, automate, trace, ci | Testing, quality assurance |
997
980
  | **Paige (Tech Writer)** | 📚 | All Phases | document-project, diagrams, validation | Documentation, diagrams |
998
981
  | **Principal Engineer** | ⚡ | Quick Flow (All phases) | create-tech-spec, quick-dev, code-review | Rapid development, technical leadership |
999
982
  | **Game Designer** | 🎲 | 1-2 (Games) | brainstorm-game, gdd, narrative | Game design, creative vision |
1000
- | **Game Developer** | 🕹️ | 4 (Games) | develop-story, story-done, code-review | Game implementation |
983
+ | **Game Developer** | 🕹️ | 4 (Games) | develop-story, code-review | Game implementation |
1001
984
  | **Game Architect** | 🏛️ | 3 (Games) | architecture, implementation-readiness | Game systems architecture |
1002
985
  | **BMad Master** | 🧙 | Meta | party-mode, list tasks/workflows | Orchestration, multi-agent |
1003
986
 
@@ -1087,10 +1070,8 @@ Quick reference for agent selection:
1087
1070
 
1088
1071
  - [ ] SM: `*sprint-planning` (once)
1089
1072
  - [ ] SM: `*create-story`
1090
- - [ ] SM: `*story-context`
1091
1073
  - [ ] DEV: `*develop-story`
1092
1074
  - [ ] DEV: `*code-review`
1093
- - [ ] DEV: `*story-done`
1094
1075
 
1095
1076
  **Testing Strategy:**
1096
1077
 
@@ -250,8 +250,8 @@ Without AI-optimized documentation, workflows fail:
250
250
 
251
251
  - **tech-spec** (Quick Flow) can't auto-detect stack/patterns → Makes wrong assumptions
252
252
  - **PRD** (BMad Method) can't reference existing code → Designs incompatible features
253
- - **architecture** can't build on existing structure → Suggests conflicting patterns
254
- - **story-context** can't inject existing patternsDev agent rewrites working code
253
+ - **create-architecture** can't build on existing structure → Suggests conflicting patterns
254
+ - **create-story** can't provide existing pattern context Stories lack integration guidance
255
255
  - **dev-story** invents implementations → Breaks existing integrations
256
256
 
257
257
  ### Key Principle
@@ -320,18 +320,14 @@ See the [Workflows section in BMM README](../README.md) for details.
320
320
  ```mermaid
321
321
  flowchart TD
322
322
  SPRINT[sprint-planning<br/>Initialize tracking]
323
- EPIC[epic-tech-context<br/>Per epic]
324
323
  CREATE[create-story]
325
- CONTEXT[story-context]
326
324
  DEV[dev-story]
327
325
  REVIEW[code-review]
328
326
  CHECK{More stories?}
329
327
  RETRO[retrospective<br/>Per epic]
330
328
 
331
- SPRINT --> EPIC
332
- EPIC --> CREATE
333
- CREATE --> CONTEXT
334
- CONTEXT --> DEV
329
+ SPRINT --> CREATE
330
+ CREATE --> DEV
335
331
  DEV --> REVIEW
336
332
  REVIEW --> CHECK
337
333
  CHECK -->|Yes| CREATE
@@ -343,7 +339,7 @@ flowchart TD
343
339
 
344
340
  **Status Progression:**
345
341
 
346
- - Epic: `backlog → contexted`
342
+ - Epic: `backlog → in-progress → done`
347
343
  - Story: `backlog → drafted → ready-for-dev → in-progress → review → done`
348
344
 
349
345
  **Brownfield-Specific Implementation Tips:**
@@ -351,7 +347,6 @@ flowchart TD
351
347
  1. **Respect existing patterns** - Follow established conventions
352
348
  2. **Test integration thoroughly** - Validate interactions with existing code
353
349
  3. **Use feature flags** - Enable gradual rollout
354
- 4. **Context injection matters** - epic-tech-context and story-context reference existing patterns
355
350
 
356
351
  ---
357
352
 
@@ -375,7 +370,7 @@ When workflow-init asks about your work:
375
370
 
376
371
  ### 4. Respect Existing Patterns
377
372
 
378
- Tech-spec and story-context will detect conventions. Follow them unless explicitly modernizing.
373
+ Tech-spec and create-story workflows will detect conventions from existing documentation. Follow them unless explicitly modernizing.
379
374
 
380
375
  ### 5. Plan Integration Points Explicitly
381
376
 
@@ -405,13 +400,7 @@ Document in tech-spec/architecture:
405
400
  - Context epics before drafting stories
406
401
  - Update `sprint-status.yaml` as work progresses
407
402
 
408
- ### 9. Leverage Context Injection
409
-
410
- - Run `epic-tech-context` before story drafting
411
- - Always create `story-context` before implementation
412
- - These reference existing patterns for consistency
413
-
414
- ### 10. Learn Continuously
403
+ ### 9. Learn Continuously
415
404
 
416
405
  - Run `retrospective` after each epic
417
406
  - Incorporate learnings into next stories
@@ -457,7 +446,7 @@ Document in tech-spec/architecture:
457
446
  - Analyzes existing auth patterns
458
447
  - Confirms conventions
459
448
  - Creates tech-spec.md + epic + 3-5 stories
460
- 3. **Implement:** Load SM → `sprint-planning` → `create-story` → `story-context`
449
+ 3. **Implement:** Load SM → `sprint-planning` → `create-story`
461
450
  Load DEV → `dev-story` for each story
462
451
  4. **Review:** Load DEV → `code-review`
463
452
 
@@ -479,7 +468,7 @@ Document in tech-spec/architecture:
479
468
  4. **Solution:** Load Architect → `create-architecture` → `create-epics-and-stories` → `implementation-readiness`
480
469
  5. **Implement:** Sprint-based (10-15 stories)
481
470
  - Load SM → `sprint-planning`
482
- - Per epic: `epic-tech-context` stories
471
+ - Load SM `create-story` per story
483
472
  - Load DEV → `dev-story` per story
484
473
  6. **Review:** Per story completion
485
474
 
@@ -523,12 +512,9 @@ Document in tech-spec/architecture:
523
512
  - `product-brief` - Strategic document
524
513
  3. **Plan:** Load PM → `prd` (comprehensive FRs/NFRs)
525
514
  4. **Solution:**
526
- - `create-architecture` - Full system architecture
527
- - `integration-planning` - Phased migration strategy
528
- - `create-architecture` - Multi-tenancy architecture
529
- - `validate-architecture` - External review
515
+ - `create-architecture` - Full system architecture including multi-tenancy design
530
516
  - `create-epics-and-stories` - Create epics and stories
531
- - `implementation-readiness` - Executive approval
517
+ - `implementation-readiness` - Final validation before implementation
532
518
  5. **Implement:** Phased sprint-based (50+ stories)
533
519
 
534
520
  **Time:** 3-6 months
@@ -575,7 +561,7 @@ Document in tech-spec/architecture:
575
561
  **Solution:**
576
562
 
577
563
  1. Ensure `document-project` captured existing architecture
578
- 2. Check `story-context` - should document integration points
564
+ 2. Check story files created by `create-story` - should include integration context
579
565
  3. In tech-spec/architecture - explicitly document:
580
566
  - Which existing modules to modify
581
567
  - What APIs/services to integrate with
@@ -608,7 +594,7 @@ Document in tech-spec/architecture:
608
594
 
609
595
  1. Check convention detection (Quick Spec Flow should detect patterns)
610
596
  2. Review documentation - ensure `document-project` captured patterns
611
- 3. Use `story-context` - injects pattern guidance
597
+ 3. Use `create-story` workflow - it loads context from existing documentation
612
598
  4. Add to code-review checklist: pattern adherence, convention consistency
613
599
  5. Run retrospective to identify deviations early
614
600
 
@@ -637,9 +623,9 @@ prd # BMad Method/Enterprise tracks
637
623
 
638
624
  # Phase 3: Solutioning (BMad Method/Enterprise)
639
625
  # Architect agent:
640
- architecture # Create/extend architecture
626
+ create-architecture # Create/extend architecture
641
627
  create-epics-and-stories # Create epics and stories (after architecture)
642
- implementation-readiness # Final validation
628
+ implementation-readiness # Final validation
643
629
 
644
630
  # Phase 4: Implementation (All Tracks)
645
631
  # SM agent:
@@ -739,6 +725,7 @@ flowchart TD
739
725
  - **[Quick Start Guide](./quick-start.md)** - Getting started with BMM
740
726
  - **[Glossary](./glossary.md)** - Key terminology
741
727
  - **[FAQ](./faq.md)** - Common questions
728
+ - **[Troubleshooting](./troubleshooting.md)** - Problem resolution
742
729
  - **[Workflow Documentation](./README.md#-workflow-guides)** - Complete workflow reference
743
730
 
744
731
  ---
@@ -753,7 +740,7 @@ flowchart TD
753
740
 
754
741
  **Documentation:**
755
742
 
756
- - [Test Architect Guide](./test-architecture.md) - Comprehensive testing strategy
743
+ - **[Test Architect Guide](./test-architecture.md)** - Comprehensive testing strategy
757
744
  - [BMM Module README](../README.md) - Complete module and workflow reference
758
745
 
759
746
  ---
@@ -288,8 +288,8 @@ bmad ux *create-ux-design
288
288
 
289
289
  **BMad ensures:**
290
290
 
291
- - AI agents follow architectural patterns consistently (via story-context)
292
- - Code standards applied uniformly (via epic-tech-context)
291
+ - AI agents follow architectural patterns consistently
292
+ - Code standards applied uniformly
293
293
  - PRD traceability throughout implementation (via acceptance criteria)
294
294
  - No "telephone game" between PM, design, and dev
295
295
 
@@ -90,7 +90,7 @@ When in doubt, start smaller. You can always run create-prd later if needed.
90
90
 
91
91
  ### Q: Do I always need architecture for Level 2?
92
92
 
93
- **A:** No, architecture is **optional** for Level 2. Only create architecture if you need system-level design. Many Level 2 projects work fine with just PRD + epic-tech-context created during implementation.
93
+ **A:** No, architecture is **optional** for Level 2. Only create architecture if you need system-level design. Many Level 2 projects work fine with just PRD created during planning.
94
94
 
95
95
  ### Q: What's the difference between Level 1 and Level 2?
96
96
 
@@ -147,7 +147,7 @@ If status file exists, use workflow-status. If not, use workflow-init.
147
147
 
148
148
  ### Q: How do I know when Phase 3 is complete and I can start Phase 4?
149
149
 
150
- **A:** For Level 3-4, run the implementation-readiness workflow. It validates that PRD (FRs/NFRs), architecture, epics+stories, and UX (if applicable) are cohesive before implementation. Pass the gate check = ready for Phase 4.
150
+ **A:** For Level 3-4, run the implementation-readiness workflow. It validates PRD + Architecture + Epics + UX (optional) are aligned before implementation. Pass the gate check = ready for Phase 4.
151
151
 
152
152
  ### Q: Can I run workflows in parallel or do they have to be sequential?
153
153
 
@@ -162,15 +162,6 @@ If status file exists, use workflow-status. If not, use workflow-init.
162
162
 
163
163
  ## Planning Documents
164
164
 
165
- ### Q: What's the difference between tech-spec and epic-tech-context?
166
-
167
- **A:**
168
-
169
- - **Tech-spec (Level 0-1):** Created upfront in Planning Phase, serves as primary/only planning document, a combination of enough technical and planning information to drive a single or multiple files
170
- - **Epic-tech-context (Level 2-4):** Created during Implementation Phase per epic, supplements PRD + Architecture
171
-
172
- Think of it as: tech-spec is for small projects (replaces PRD and architecture), epic-tech-context is for large projects (supplements PRD).
173
-
174
165
  ### Q: Why no tech-spec at Level 2+?
175
166
 
176
167
  **A:** Level 2+ projects need product-level planning (PRD) and system-level design (Architecture), which tech-spec doesn't provide. Tech-spec is too narrow for coordinating multiple features. Instead, Level 2-4 uses:
@@ -178,13 +169,6 @@ Think of it as: tech-spec is for small projects (replaces PRD and architecture),
178
169
  - PRD (product vision, functional requirements, non-functional requirements)
179
170
  - Architecture (system design)
180
171
  - Epics+Stories (created AFTER architecture is complete)
181
- - Epic-tech-context (detailed implementation per epic, created just-in-time)
182
-
183
- ### Q: When do I create epic-tech-context?
184
-
185
- **A:** In Phase 4, right before implementing each epic. Don't create all epic-tech-context upfront - that's over-planning. Create them just-in-time using the epic-tech-context workflow as you're about to start working on that epic.
186
-
187
- **Why just-in-time?** You'll learn from earlier epics, and those learnings improve later epic-tech-context.
188
172
 
189
173
  ### Q: Do I need a PRD for a bug fix?
190
174
 
@@ -209,26 +193,9 @@ PRDs are for Level 2-4 projects with multiple features requiring product-level c
209
193
 
210
194
  ## Implementation
211
195
 
212
- ### Q: Do I need story-context for every story?
213
-
214
- **A:** Technically no, but it's recommended. story-context provides implementation-specific guidance, references existing patterns, and injects expertise. Skip it only if:
215
-
216
- - Very simple story (self-explanatory)
217
- - You're already expert in the area
218
- - Time is extremely limited
219
-
220
- For Level 0-1 using tech-spec, story-context is less critical because tech-spec is already comprehensive.
221
-
222
- ### Q: What if I don't create epic-tech-context before drafting stories?
223
-
224
- **A:** You can proceed without it, but you'll miss:
225
-
226
- - Epic-level technical direction
227
- - Architecture guidance for this epic
228
- - Integration strategy with other epics
229
- - Common patterns to follow across stories
196
+ ### Q: Does create-story include implementation context?
230
197
 
231
- epic-tech-context helps ensure stories within an epic are cohesive.
198
+ **A:** Yes! The create-story workflow generates story files that include implementation-specific guidance, references existing patterns from your documentation, and provides technical context. The workflow loads your architecture, PRD, and existing project documentation to create comprehensive stories. For Quick Flow projects using tech-spec, the tech-spec itself is already comprehensive, so stories can be simpler.
232
199
 
233
200
  ### Q: How do I mark a story as done?
234
201
 
@@ -271,7 +238,7 @@ The story-done workflow is faster and ensures proper status file updates.
271
238
  - What went well
272
239
  - What could improve
273
240
  - Technical insights
274
- - Input for next epic-tech-context
241
+ - Learnings for future epics
275
242
 
276
243
  Don't wait until project end - run after each epic for continuous improvement.
277
244
 
@@ -565,7 +532,7 @@ Trust your expertise - BMM supports your decisions.
565
532
 
566
533
  ### Q: How do I report a bug or request a feature?
567
534
 
568
- **A:** Open a GitHub issue at: https://github.com/bmad-code-org/BMAD-METHOD/issues
535
+ **A:** Open a GitHub issue at: <https://github.com/bmad-code-org/BMAD-METHOD/issues>
569
536
 
570
537
  Please include:
571
538