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
@@ -1,387 +0,0 @@
1
- # Epic and Story Creation with Full Technical Context
2
-
3
- <critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
4
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
5
- <critical>PREREQUISITES: PRD.md AND Architecture.md MUST be completed before running this workflow</critical>
6
- <critical>UX Design.md is highly recommended if the product has user interfaces</critical>
7
- <critical>EVERY story must be completable by a single dev agent in one focused session</critical>
8
- <critical>⚠️ EPIC STRUCTURE PRINCIPLE: Each epic MUST deliver USER VALUE, not just technical capability. Epics are NOT organized by technical layers (database, API, frontend). Each epic should result in something USERS can actually use or benefit from. Exception: Foundation/setup stories at the start of first epic are acceptable.</critical>
9
- <critical>Communicate all responses in {communication_language} and adapt to {user_skill_level}</critical>
10
- <critical>Generate all documents in {document_output_language}</critical>
11
- <critical>LIVING DOCUMENT: Write to epics.md continuously as you work - never wait until the end</critical>
12
- <critical>Input documents specified in workflow.yaml input_file_patterns - workflow engine handles fuzzy matching, whole vs sharded document discovery automatically</critical>
13
- <critical>⚠️ ABSOLUTELY NO TIME ESTIMATES - NEVER mention hours, days, weeks, months, or ANY time-based predictions. AI has fundamentally changed development speed - what once took teams weeks/months can now be done by one person in hours. DO NOT give ANY time estimates whatsoever.</critical>
14
- <critical>⚠️ CHECKPOINT PROTOCOL: After EVERY <template-output> tag, you MUST follow workflow.xml substep 2c: SAVE content to file immediately → SHOW checkpoint separator (━━━━━━━━━━━━━━━━━━━━━━━) → DISPLAY generated content → PRESENT options [a]Advanced Elicitation/[c]Continue/[p]Party-Mode/[y]YOLO → WAIT for user response. Never batch saves or skip checkpoints.</critical>
15
-
16
- <workflow>
17
-
18
- <step n="0" goal="Validate prerequisites and load all context">
19
- <action>Welcome {user_name} to comprehensive epic and story creation</action>
20
-
21
- <action>**CRITICAL PREREQUISITE VALIDATION:**</action>
22
-
23
- <action>Verify required documents exist and are complete:
24
-
25
- 1. **PRD.md** - Contains functional requirements (FRs) and product scope
26
- 2. **Architecture.md** - Contains technical decisions, API contracts, data models
27
- 3. **UX Design.md** (if UI exists) - Contains interaction patterns, mockups, user flows
28
-
29
- Missing any required document means this workflow cannot proceed successfully.</action>
30
-
31
- <check if="!prd_content">
32
- <output>❌ **PREREQUISITE FAILED: PRD.md not found**
33
-
34
- The PRD is required to define what functionality needs to be built.
35
-
36
- Please complete the PRD workflow first, then run this workflow again.</output>
37
-
38
- <exit workflow="Missing required PRD document"/>
39
- </check>
40
-
41
- <check if="!architecture_content">
42
- <output>❌ **PREREQUISITE FAILED: Architecture.md not found**
43
-
44
- The Architecture document is required to provide technical implementation context for stories.
45
-
46
- Please complete the Architecture workflow first, then run this workflow again.</output>
47
-
48
- <exit workflow="Missing required Architecture document"/>
49
- </check>
50
-
51
- <action>List the documents loaded</action>
52
-
53
- <action>**LOAD ALL CONTEXT DOCUMENTS:**</action>
54
-
55
- <action>Load and analyze PRD.md:
56
-
57
- Extract ALL functional requirements:
58
-
59
- - Complete FR inventory (FR1, FR2, FR3...)
60
- - Non-functional requirements and constraints
61
- - Project scope boundaries (MVP vs growth vs vision)
62
- - User types and their goals
63
- - Success criteria
64
- - Technical constraints
65
- - Compliance requirements
66
-
67
- **FR Inventory Creation:**
68
- List every functional requirement with description for coverage tracking.
69
- </action>
70
-
71
- <action>Load and analyze Architecture.md:
72
-
73
- Extract ALL technical implementation context relevant to the PRD functional requirements and project needs:
74
-
75
- Scan comprehensively for any technical details needed to create complete user stories, including but not limited to:
76
-
77
- - Technology stack decisions and framework choices
78
- - API design, contracts, and integration patterns
79
- - Data models, schemas, and relationships
80
- - Authentication, authorization, and security patterns
81
- - Performance requirements and scaling approaches
82
- - Error handling, logging, and monitoring strategies
83
- - Deployment architecture and infrastructure considerations
84
- - Any other technical decisions, patterns, or constraints that impact implementation
85
-
86
- Focus on extracting whatever technical context exists in the Architecture document that will be needed to create comprehensive, actionable user stories for all PRD requirements.
87
- </action>
88
-
89
- <action if="UX Design Exists">
90
- Load and analyze UX Design.md:
91
-
92
- Extract ALL user experience context relevant to the PRD functional requirements and project needs:
93
-
94
- Scan comprehensively for any user experience details needed to create complete user stories, including but not limited to:
95
-
96
- - User flows, journey patterns, and interaction design
97
- - Screen layouts, components, and visual specifications
98
- - Interaction patterns, behaviors, and micro-interactions
99
- - Responsive design and mobile-first considerations
100
- - Accessibility requirements and inclusive design patterns
101
- - Animations, transitions, and feedback mechanisms
102
- - Error states, validation patterns, and user guidance
103
- - Any other UX/UI decisions, patterns, or specifications that impact implementation
104
-
105
- Focus on extracting whatever user experience context exists in the UX document that will be needed to create comprehensive, actionable user stories for all PRD requirements.
106
- </action>
107
-
108
- <template-output>context_validation</template-output>
109
- <template-output>fr_inventory</template-output>
110
- </step>
111
-
112
- <step n="1" goal="Design epic structure with full technical context">
113
- <action>**STRATEGIC EPIC PLANNING WITH COMPLETE CONTEXT:**</action>
114
-
115
- <action>Now that you have ALL available context (PRD + Architecture + UX), design epics that deliver incremental user value while leveraging the technical design decisions.
116
-
117
- **EPIC DESIGN PRINCIPLES:**
118
-
119
- 1. **User-Value First**: Each epic must enable users to accomplish something meaningful
120
- 2. **Leverage Architecture**: Build upon the technical decisions already made
121
- 3. **Incremental Delivery**: Each epic should be independently valuable
122
- 4. **Logical Dependencies**: Dependencies should flow naturally, not artificially
123
-
124
- **USE YOUR FULL CONTEXT:**
125
-
126
- From PRD: Group related functional requirements that deliver user outcomes
127
- From Architecture: Respect technical boundaries and integration points
128
- From UX: Design around user journeys and interaction flows
129
-
130
- **VALID EPIC EXAMPLES:**
131
-
132
- ✅ **CORRECT - User Value with Technical Context:**
133
-
134
- - Epic 1: Foundation Setup (infrastructure, deployment, core services)
135
- - Epic 2: User Authentication & Profile Management (register, login, profile management)
136
- - Epic 3: Content Creation & Management (create, edit, publish, organize content)
137
- - Epic 4: Content Discovery & Interaction (browse, search, share, comment)
138
-
139
- ❌ **WRONG - Technical Layer Breakdown:**
140
-
141
- - Epic 1: Database Schema & Models
142
- - Epic 2: REST API Endpoints
143
- - Epic 3: Frontend Components
144
- - Epic 4: Authentication Service
145
-
146
- **PRESENT YOUR EPIC STRUCTURE:**
147
-
148
- For each proposed epic, provide:
149
-
150
- - **Epic Title**: Value-based, not technical
151
- - **User Value Statement**: What users can accomplish after this epic
152
- - **PRD Coverage**: Which FRs this epic addresses
153
- - **Technical Context**: How this leverages Architecture decisions
154
- - **UX Integration**: How this incorporates user experience patterns (if available)
155
- - **Dependencies**: What must come before (natural dependencies only)
156
-
157
- **FOUNDATION EPIC GUIDELINES:**
158
-
159
- For Epic 1, include technical foundation based on Architecture:
160
-
161
- - Project setup and build system
162
- - Core infrastructure and deployment pipeline
163
- - Database schema setup
164
- - Basic authentication foundation
165
- - API framework setup
166
-
167
- This enables all subsequent user-facing epics.
168
- </action>
169
-
170
- <template-output>epics_structure_plan</template-output>
171
- <template-output>epics_technical_context</template-output>
172
- </step>
173
-
174
- <step n="2" goal="Create detailed stories with complete implementation context" repeat="for-each-epic">
175
- <action>**EPIC {{N}} - COMPREHENSIVE STORY CREATION:**</action>
176
-
177
- <action>For Epic {{N}}: {{epic_title}}, create bite-sized stories that incorporate ALL available context.
178
-
179
- **STORY CREATION WITH FULL CONTEXT:**
180
-
181
- For each story, you now have the complete picture:
182
-
183
- - **WHAT to build** (from PRD FRs)
184
- - **HOW to build it** (from Architecture decisions)
185
- - **HOW users interact** (from UX patterns, if available)
186
-
187
- **TRANSFORM STRATEGIC REQUIREMENTS INTO TACTICAL IMPLEMENTATION:**
188
-
189
- PRD says: "Users can create accounts"
190
- Architecture says: "Use PostgreSQL with bcrypt hashing, JWT tokens, rate limiting"
191
- UX says: "Modal dialog with email/password fields, real-time validation, loading states"
192
-
193
- Your story becomes: Specific implementation details with exact acceptance criteria
194
-
195
- **STORY PATTERN FOR EACH EPIC {{N}}:**
196
-
197
- **Epic Goal:** {{epic_goal}}
198
-
199
- For each story M in Epic {{N}}:
200
-
201
- - **User Story**: As a [user type], I want [specific capability], So that [value/benefit]
202
- - **Acceptance Criteria**: BDD format with COMPLETE implementation details
203
- - **Technical Implementation**: Specific guidance from Architecture
204
- - **User Experience**: Exact interaction patterns from UX (if available)
205
- - **Prerequisites**: Only previous stories, never forward dependencies
206
-
207
- **DETAILED ACCEPTANCE CRITERIA GUIDELINES:**
208
-
209
- Include ALL implementation specifics:
210
-
211
- **From Architecture:**
212
-
213
- - Exact API endpoints and contracts
214
- - Database operations and validations
215
- - Authentication/authorization requirements
216
- - Error handling patterns
217
- - Performance requirements
218
- - Security considerations
219
- - Integration points with other systems
220
-
221
- **From UX (if available):**
222
-
223
- - Specific screen/page references
224
- - Interaction patterns and behaviors
225
- - Form validation rules and error messages
226
- - Responsive behavior
227
- - Accessibility requirements
228
- - Loading states and transitions
229
- - Success/error feedback patterns
230
-
231
- **From PRD:**
232
-
233
- - Business rules and constraints
234
- - User types and permissions
235
- - Compliance requirements
236
- - Success criteria
237
-
238
- **STORY SIZING PRINCIPLE:**
239
-
240
- Each story must be completable by a single dev agent in one focused session. If a story becomes too large, break it down further while maintaining user value.
241
-
242
- **EXAMPLE RICH STORY:**
243
-
244
- **Story:** User Registration with Email Verification
245
-
246
- As a new user, I want to create an account using my email address, So that I can access the platform's features.
247
-
248
- **Acceptance Criteria:**
249
- Given I am on the landing page
250
- When I click the "Sign Up" button
251
- Then the registration modal opens (UX Mockup 3.2)
252
-
253
- And I see email and password fields with proper labels
254
- And the email field validates RFC 5322 format in real-time
255
- And the password field shows strength meter (red→yellow→green)
256
- And I see "Password must be 8+ chars with 1 uppercase, 1 number, 1 special"
257
-
258
- When I submit valid registration data
259
- Then POST /api/v1/auth/register is called (Architecture section 4.1)
260
- And the user record is created in users table with bcrypt hash (Architecture 6.2)
261
- And a verification email is sent via SendGrid (Architecture 7.3)
262
- And I see "Check your email for verification link" message
263
- And I cannot log in until email is verified
264
-
265
- **Technical Notes:**
266
-
267
- - Use PostgreSQL users table (Architecture section 6.2)
268
- - Implement rate limiting: 3 attempts per hour per IP (Architecture 8.1)
269
- - Return JWT token on successful verification (Architecture 5.2)
270
- - Log registration events to audit_events table (Architecture 9.4)
271
- - Form validation follows UX Design patterns (UX section 4.1)
272
-
273
- **Prerequisites:** Epic 1.1 - Foundation Setup Complete
274
- </action>
275
-
276
- <action>**Generate all stories for Epic {{N}}**</action>
277
- <template-output>epic*title*{{N}}</template-output>
278
- <template-output>epic*goal*{{N}}</template-output>
279
-
280
- <action>For each story M in epic {{N}}, generate story content</action>
281
- <template-output>story*{{N}}*{{M}}</template-output>
282
-
283
- <action>**EPIC {{N}} COMPLETION REVIEW:**</action>
284
-
285
- <output>**Epic {{N}} Complete: {{epic_title}}**
286
-
287
- Stories Created: {{count}}
288
-
289
- **FR Coverage:** {{list of FRs covered by this epic}}
290
-
291
- **Technical Context Used:** {{Architecture sections referenced}}
292
-
293
- {{if ux_design_content}}
294
- **UX Patterns Incorporated:** {{UX sections referenced}}
295
- {{/if}}
296
-
297
- Ready for checkpoint validation.</output>
298
-
299
- <template-output>epic\_{{N}}\_complete</template-output>
300
- </step>
301
-
302
- <step n="3" goal="Final validation and coverage matrix">
303
- <action>**COMPREHENSIVE VALIDATION WITH FULL CONTEXT:**</action>
304
-
305
- <action>Review the complete epic and story breakdown for quality and completeness using ALL available context.
306
-
307
- **FR COVERAGE VALIDATION:**
308
-
309
- Create complete FR Coverage Matrix showing every PRD functional requirement mapped to specific stories:
310
-
311
- - **FR1:** [description] → Epic X, Story X.Y (with implementation details)
312
- - **FR2:** [description] → Epic Y, Story Y.A (with implementation details)
313
- - **FR3:** [description] → Epic Z, Story Z.B (with implementation details)
314
- - ...
315
-
316
- **CRITICAL VALIDATION:** Every single FR from the PRD must be covered by at least one story with complete acceptance criteria.
317
-
318
- **ARCHITECTURE INTEGRATION VALIDATION:**
319
-
320
- Verify that Architecture decisions are properly implemented:
321
-
322
- - All API endpoints from Architecture are covered in stories
323
- - Data models from Architecture are properly created and populated
324
- - Authentication/authorization patterns are consistently applied
325
- - Performance requirements are addressed in relevant stories
326
- - Security measures are implemented where required
327
- - Error handling follows Architecture patterns
328
- - Integration points between systems are properly handled
329
-
330
- **UX INTEGRATION VALIDATION** {{if ux_design_content}}:
331
-
332
- Verify that UX design patterns are properly implemented:
333
-
334
- - User flows follow the designed journey
335
- - Screen layouts and components match specifications
336
- - Interaction patterns work as designed
337
- - Responsive behavior matches breakpoints
338
- - Accessibility requirements are met
339
- - Error states and feedback patterns are implemented
340
- - Form validation follows UX guidelines
341
- - Loading states and transitions are implemented
342
- {{/if}}
343
-
344
- **STORY QUALITY VALIDATION:**
345
-
346
- - All stories are sized for single dev agent completion
347
- - Acceptance criteria are specific and testable
348
- - Technical implementation guidance is clear
349
- - User experience details are incorporated
350
- - No forward dependencies exist
351
- - Epic sequence delivers incremental value
352
- - Foundation epic properly enables subsequent work
353
-
354
- **FINAL QUALITY CHECK:**
355
-
356
- Answer these critical questions:
357
-
358
- 1. **User Value:** Does each epic deliver something users can actually do/use?
359
- 2. **Completeness:** Are ALL PRD functional requirements covered?
360
- 3. **Technical Soundness:** Do stories properly implement Architecture decisions?
361
- 4. **User Experience:** {{if ux_design_content}} Do stories follow UX design patterns? {{/if}}
362
- 5. **Implementation Ready:** Can dev agents implement these stories autonomously?
363
- </action>
364
-
365
- <output>**✅ EPIC AND STORY CREATION COMPLETE**
366
-
367
- **Output Generated:** epics.md with comprehensive implementation details
368
-
369
- **Full Context Incorporated:**
370
-
371
- - ✅ PRD functional requirements and scope
372
- - ✅ Architecture technical decisions and contracts
373
- {{if ux_design_content}}
374
- - ✅ UX Design interaction patterns and specifications
375
- {{/if}}
376
-
377
- **FR Coverage:** {{count}} functional requirements mapped to {{story_count}} stories
378
- **Epic Structure:** {{epic_count}} epics delivering incremental user value
379
-
380
- **Ready for Phase 4:** Sprint Planning and Development Implementation
381
- </output>
382
-
383
- <template-output>final_validation</template-output>
384
- <template-output>fr_coverage_matrix</template-output>
385
- </step>
386
-
387
- </workflow>
@@ -1,53 +0,0 @@
1
- # Epic and Story Decomposition Workflow
2
- name: create-epics-and-stories
3
- description: "Transform PRD requirements and Architecture decisions into comprehensive stories organized by user value. This workflow requires completed PRD + Architecture documents (UX recommended if UI exists) and breaks down requirements into implementation-ready epics and user stories that incorporate all available technical and design context. Creates detailed, actionable stories with complete acceptance criteria for development teams."
4
- author: "BMad"
5
-
6
- # Critical variables from config
7
- config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
8
- project_name: "{config_source}:project_name"
9
- output_folder: "{config_source}:output_folder"
10
- user_name: "{config_source}:user_name"
11
- communication_language: "{config_source}:communication_language"
12
- document_output_language: "{config_source}:document_output_language"
13
- user_skill_level: "{config_source}:user_skill_level"
14
- date: system-generated
15
-
16
- # Smart input file references - handles both whole docs and sharded docs
17
- # Priority: Whole document first, then sharded version
18
- input_file_patterns:
19
- prd:
20
- description: "Product Requirements Document with FRs and NFRs (required)"
21
- whole: "{output_folder}/*prd*.md"
22
- sharded: "{output_folder}/*prd*/index.md"
23
- load_strategy: "INDEX_GUIDED"
24
- architecture:
25
- description: "Architecture decisions and technical design (required)"
26
- whole: "{output_folder}/*architecture*.md"
27
- sharded: "{output_folder}/*architecture*/index.md"
28
- load_strategy: "FULL_LOAD"
29
- ux_design:
30
- description: "UX design specification for interaction patterns (recommended if UI exists)"
31
- whole: "{output_folder}/*ux*.md"
32
- sharded: "{output_folder}/*ux*/index.md"
33
- load_strategy: "FULL_LOAD"
34
-
35
- # Module path and component files
36
- installed_path: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/create-epics-and-stories"
37
- instructions: "{installed_path}/instructions.md"
38
- template: "{installed_path}/epics-template.md"
39
-
40
- # Output configuration
41
- default_output_file: "{output_folder}/epics.md"
42
-
43
- standalone: true
44
-
45
- web_bundle:
46
- name: "create-epics-and-stories"
47
- description: "Transform PRD requirements into bite-sized stories organized in epics for 200k context dev agents"
48
- author: "BMad"
49
- instructions: "{bmad_folder}/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md"
50
- template: "{bmad_folder}/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md"
51
- web_bundle_files:
52
- - "{bmad_folder}/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md"
53
- - "{bmad_folder}/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md"
@@ -1,169 +0,0 @@
1
- # Implementation Readiness Validation Checklist
2
-
3
- ## Document Completeness
4
-
5
- ### Core Planning Documents
6
-
7
- - [ ] PRD exists and is complete
8
- - [ ] PRD contains measurable success criteria
9
- - [ ] PRD defines clear scope boundaries and exclusions
10
- - [ ] Architecture document exists (architecture\*.md)
11
- - [ ] Technical Specification exists with implementation details
12
- - [ ] Epic and story breakdown document exists
13
- - [ ] All documents are dated and versioned
14
-
15
- ### Document Quality
16
-
17
- - [ ] No placeholder sections remain in any document
18
- - [ ] All documents use consistent terminology
19
- - [ ] Technical decisions include rationale and trade-offs
20
- - [ ] Assumptions and risks are explicitly documented
21
- - [ ] Dependencies are clearly identified and documented
22
-
23
- ## Alignment Verification
24
-
25
- ### PRD to Architecture Alignment
26
-
27
- - [ ] Every functional requirement in PRD has architectural support documented
28
- - [ ] All non-functional requirements from PRD are addressed in architecture
29
- - [ ] Architecture doesn't introduce features beyond PRD scope
30
- - [ ] Performance requirements from PRD match architecture capabilities
31
- - [ ] Security requirements from PRD are fully addressed in architecture
32
- - [ ] If architecture.md: Implementation patterns are defined for consistency
33
- - [ ] If architecture.md: All technology choices have verified versions
34
- - [ ] If UX spec exists: Architecture supports UX requirements
35
-
36
- ### PRD to Stories Coverage
37
-
38
- - [ ] Every PRD requirement maps to at least one story
39
- - [ ] All user journeys in PRD have complete story coverage
40
- - [ ] Story acceptance criteria align with PRD success criteria
41
- - [ ] Priority levels in stories match PRD feature priorities
42
- - [ ] No stories exist without PRD requirement traceability
43
-
44
- ### Architecture to Stories Implementation
45
-
46
- - [ ] All architectural components have implementation stories
47
- - [ ] Infrastructure setup stories exist for each architectural layer
48
- - [ ] Integration points defined in architecture have corresponding stories
49
- - [ ] Data migration/setup stories exist if required by architecture
50
- - [ ] Security implementation stories cover all architecture security decisions
51
-
52
- ## Story and Sequencing Quality
53
-
54
- ### Story Completeness
55
-
56
- - [ ] All stories have clear acceptance criteria
57
- - [ ] Technical tasks are defined within relevant stories
58
- - [ ] Stories include error handling and edge cases
59
- - [ ] Each story has clear definition of done
60
- - [ ] Stories are appropriately sized (no epic-level stories remaining)
61
-
62
- ### Sequencing and Dependencies
63
-
64
- - [ ] Stories are sequenced in logical implementation order
65
- - [ ] Dependencies between stories are explicitly documented
66
- - [ ] No circular dependencies exist
67
- - [ ] Prerequisite technical tasks precede dependent stories
68
- - [ ] Foundation/infrastructure stories come before feature stories
69
-
70
- ### Greenfield Project Specifics
71
-
72
- - [ ] Initial project setup and configuration stories exist
73
- - [ ] If using architecture.md: First story is starter template initialization command
74
- - [ ] Development environment setup is documented
75
- - [ ] CI/CD pipeline stories are included early in sequence
76
- - [ ] Database/storage initialization stories are properly placed
77
- - [ ] Authentication/authorization stories precede protected features
78
-
79
- ## Risk and Gap Assessment
80
-
81
- ### Critical Gaps
82
-
83
- - [ ] No core PRD requirements lack story coverage
84
- - [ ] No architectural decisions lack implementation stories
85
- - [ ] All integration points have implementation plans
86
- - [ ] Error handling strategy is defined and implemented
87
- - [ ] Security concerns are all addressed
88
-
89
- ### Technical Risks
90
-
91
- - [ ] No conflicting technical approaches between stories
92
- - [ ] Technology choices are consistent across all documents
93
- - [ ] Performance requirements are achievable with chosen architecture
94
- - [ ] Scalability concerns are addressed if applicable
95
- - [ ] Third-party dependencies are identified with fallback plans
96
-
97
- ## UX and Special Concerns (if applicable)
98
-
99
- ### UX Coverage
100
-
101
- - [ ] UX requirements are documented in PRD
102
- - [ ] UX implementation tasks exist in relevant stories
103
- - [ ] Accessibility requirements have story coverage
104
- - [ ] Responsive design requirements are addressed
105
- - [ ] User flow continuity is maintained across stories
106
-
107
- ### Special Considerations
108
-
109
- - [ ] Compliance requirements are fully addressed
110
- - [ ] Internationalization needs are covered if required
111
- - [ ] Performance benchmarks are defined and measurable
112
- - [ ] Monitoring and observability stories exist
113
- - [ ] Documentation stories are included where needed
114
-
115
- ## Overall Readiness
116
-
117
- ### Ready to Proceed Criteria
118
-
119
- - [ ] All critical issues have been resolved
120
- - [ ] High priority concerns have mitigation plans
121
- - [ ] Story sequencing supports iterative delivery
122
- - [ ] Team has necessary skills for implementation
123
- - [ ] No blocking dependencies remain unresolved
124
-
125
- ### Quality Indicators
126
-
127
- - [ ] Documents demonstrate thorough analysis
128
- - [ ] Clear traceability exists across all artifacts
129
- - [ ] Consistent level of detail throughout documents
130
- - [ ] Risks are identified with mitigation strategies
131
- - [ ] Success criteria are measurable and achievable
132
-
133
- ## Assessment Completion
134
-
135
- ### Report Quality
136
-
137
- - [ ] All findings are supported by specific examples
138
- - [ ] Recommendations are actionable and specific
139
- - [ ] Severity levels are appropriately assigned
140
- - [ ] Positive findings are highlighted
141
- - [ ] Next steps are clearly defined
142
-
143
- ### Process Validation
144
-
145
- - [ ] All expected documents were reviewed
146
- - [ ] Cross-references were systematically checked
147
- - [ ] Project level considerations were applied correctly
148
- - [ ] Workflow status was checked and considered
149
- - [ ] Output folder was thoroughly searched for artifacts
150
-
151
- ---
152
-
153
- ## Issue Log
154
-
155
- ### Critical Issues Found
156
-
157
- <!-- checklist of critical issues or N/A -->
158
-
159
- ### High Priority Issues Found
160
-
161
- <!-- checklist of high priority issues or N/A -->
162
-
163
- ### Medium Priority Issues Found
164
-
165
- <!-- checklist of medium priority issues or N/A -->
166
-
167
- ---
168
-
169
- _Use this checklist to ensure comprehensive validation of implementation readiness_