bmad-method 6.12.4 → 7.1.0

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 (389) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +107 -54
  3. package/agents.json +640 -0
  4. package/bin/bmad-method.js +4 -0
  5. package/messages.yaml +267 -0
  6. package/modules.yaml +56 -0
  7. package/package.json +32 -110
  8. package/src/agent-picks.js +77 -0
  9. package/src/agents.js +141 -0
  10. package/src/bmad-scripts.js +167 -0
  11. package/src/cli.js +266 -0
  12. package/src/commands/agent-choice.js +67 -0
  13. package/src/commands/apply.js +38 -0
  14. package/src/commands/deps.js +25 -0
  15. package/src/commands/ending.js +66 -0
  16. package/src/commands/existing-install.js +50 -0
  17. package/src/commands/install-plan.js +130 -0
  18. package/src/commands/install-steps.js +66 -0
  19. package/src/commands/install.js +86 -0
  20. package/src/commands/status.js +39 -0
  21. package/src/commands/update.js +106 -0
  22. package/src/installed.js +48 -0
  23. package/src/messages.js +84 -0
  24. package/src/modules.js +221 -0
  25. package/src/preflight.js +124 -0
  26. package/src/project-lock.js +68 -0
  27. package/src/prompts.js +626 -0
  28. package/src/report.js +199 -0
  29. package/src/run.js +128 -0
  30. package/src/self-update.js +88 -0
  31. package/src/skills-cli.js +133 -0
  32. package/src/version.js +11 -0
  33. package/.claude-plugin/marketplace.json +0 -53
  34. package/AGENTS.md +0 -24
  35. package/CLAUDE.md +0 -1
  36. package/README_CN.md +0 -98
  37. package/README_KR.md +0 -90
  38. package/README_VN.md +0 -99
  39. package/bmad-modules.yaml +0 -140
  40. package/body.md +0 -17
  41. package/greptile.json +0 -52
  42. package/pr2.md +0 -11
  43. package/removals.txt +0 -87
  44. package/src/bmm-skills/agents/bmad-agent-analyst/SKILL.md +0 -76
  45. package/src/bmm-skills/agents/bmad-agent-analyst/customize.toml +0 -103
  46. package/src/bmm-skills/agents/bmad-agent-architect/SKILL.md +0 -76
  47. package/src/bmm-skills/agents/bmad-agent-architect/customize.toml +0 -63
  48. package/src/bmm-skills/agents/bmad-agent-dev/SKILL.md +0 -76
  49. package/src/bmm-skills/agents/bmad-agent-dev/customize.toml +0 -81
  50. package/src/bmm-skills/agents/bmad-agent-pm/SKILL.md +0 -76
  51. package/src/bmm-skills/agents/bmad-agent-pm/customize.toml +0 -73
  52. package/src/bmm-skills/agents/bmad-agent-ux-designer/SKILL.md +0 -76
  53. package/src/bmm-skills/agents/bmad-agent-ux-designer/customize.toml +0 -58
  54. package/src/bmm-skills/module-help.csv +0 -19
  55. package/src/bmm-skills/module.yaml +0 -85
  56. package/src/bmm-skills/plan/bmad-architecture/SKILL.md +0 -85
  57. package/src/bmm-skills/plan/bmad-architecture/assets/spine-template.md +0 -79
  58. package/src/bmm-skills/plan/bmad-architecture/customize.toml +0 -101
  59. package/src/bmm-skills/plan/bmad-architecture/references/headless.md +0 -26
  60. package/src/bmm-skills/plan/bmad-architecture/references/reviewer-gate.md +0 -13
  61. package/src/bmm-skills/plan/bmad-architecture/scripts/lint_spine.py +0 -261
  62. package/src/bmm-skills/plan/bmad-architecture/scripts/tests/test_lint_spine.py +0 -270
  63. package/src/bmm-skills/plan/bmad-create-epics-and-stories/SKILL.md +0 -93
  64. package/src/bmm-skills/plan/bmad-create-epics-and-stories/customize.toml +0 -39
  65. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -263
  66. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-02-design-epics.md +0 -242
  67. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-03-create-stories.md +0 -255
  68. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-04-final-validation.md +0 -141
  69. package/src/bmm-skills/plan/bmad-create-epics-and-stories/templates/epics-template.md +0 -62
  70. package/src/bmm-skills/plan/bmad-generate-project-context/SKILL.md +0 -12
  71. package/src/bmm-skills/plan/bmad-prd/SKILL.md +0 -94
  72. package/src/bmm-skills/plan/bmad-prd/assets/headless-schemas.md +0 -76
  73. package/src/bmm-skills/plan/bmad-prd/assets/prd-template.md +0 -165
  74. package/src/bmm-skills/plan/bmad-prd/assets/prd-validation-checklist.md +0 -135
  75. package/src/bmm-skills/plan/bmad-prd/assets/validation-report-template.html +0 -325
  76. package/src/bmm-skills/plan/bmad-prd/customize.toml +0 -148
  77. package/src/bmm-skills/plan/bmad-prd/references/headless.md +0 -39
  78. package/src/bmm-skills/plan/bmad-prd/references/validate.md +0 -97
  79. package/src/bmm-skills/plan/bmad-prfaq/SKILL.md +0 -135
  80. package/src/bmm-skills/plan/bmad-prfaq/agents/artifact-analyzer.md +0 -60
  81. package/src/bmm-skills/plan/bmad-prfaq/agents/web-researcher.md +0 -49
  82. package/src/bmm-skills/plan/bmad-prfaq/assets/prfaq-template.md +0 -62
  83. package/src/bmm-skills/plan/bmad-prfaq/bmad-manifest.json +0 -16
  84. package/src/bmm-skills/plan/bmad-prfaq/customize.toml +0 -39
  85. package/src/bmm-skills/plan/bmad-prfaq/references/customer-faq.md +0 -55
  86. package/src/bmm-skills/plan/bmad-prfaq/references/internal-faq.md +0 -51
  87. package/src/bmm-skills/plan/bmad-prfaq/references/press-release.md +0 -60
  88. package/src/bmm-skills/plan/bmad-prfaq/references/verdict.md +0 -83
  89. package/src/bmm-skills/plan/bmad-product-brief/SKILL.md +0 -91
  90. package/src/bmm-skills/plan/bmad-product-brief/assets/brief-template.md +0 -41
  91. package/src/bmm-skills/plan/bmad-product-brief/customize.toml +0 -100
  92. package/src/bmm-skills/plan/bmad-project-context/SKILL.md +0 -121
  93. package/src/bmm-skills/plan/bmad-project-context/customize.toml +0 -24
  94. package/src/bmm-skills/plan/bmad-project-context/references/best-practices.md +0 -84
  95. package/src/bmm-skills/plan/bmad-project-context/references/template.md +0 -55
  96. package/src/bmm-skills/plan/bmad-spec/SKILL.md +0 -160
  97. package/src/bmm-skills/plan/bmad-spec/assets/headless-schemas.md +0 -33
  98. package/src/bmm-skills/plan/bmad-spec/assets/spec-template.md +0 -49
  99. package/src/bmm-skills/plan/bmad-spec/assets/stories-schema.md +0 -44
  100. package/src/bmm-skills/plan/bmad-spec/customize.toml +0 -52
  101. package/src/bmm-skills/plan/bmad-sprint-planning/SKILL.md +0 -62
  102. package/src/bmm-skills/plan/bmad-sprint-planning/customize.toml +0 -39
  103. package/src/bmm-skills/plan/bmad-sprint-planning/references/fix-sprint-status.md +0 -30
  104. package/src/bmm-skills/plan/bmad-sprint-planning/references/generate-tracking.md +0 -25
  105. package/src/bmm-skills/plan/bmad-sprint-planning/references/readiness-gate.md +0 -20
  106. package/src/bmm-skills/plan/bmad-sprint-planning/references/status-view.md +0 -14
  107. package/src/bmm-skills/plan/bmad-sprint-planning/references/validate.md +0 -10
  108. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/__pycache__/sprint_plan.cpython-311.pyc +0 -0
  109. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/sprint_plan.py +0 -701
  110. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/__pycache__/test_sprint_plan.cpython-311-pytest-9.1.1.pyc +0 -0
  111. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/test_sprint_plan.py +0 -524
  112. package/src/bmm-skills/plan/bmad-sprint-planning/sprint-status-template.yaml +0 -71
  113. package/src/bmm-skills/plan/bmad-ux/SKILL.md +0 -90
  114. package/src/bmm-skills/plan/bmad-ux/assets/color-themes.md +0 -9
  115. package/src/bmm-skills/plan/bmad-ux/assets/design-directions.md +0 -9
  116. package/src/bmm-skills/plan/bmad-ux/assets/design-example-editorial.md +0 -158
  117. package/src/bmm-skills/plan/bmad-ux/assets/design-example-mobile.md +0 -93
  118. package/src/bmm-skills/plan/bmad-ux/assets/design-example-shadcn.md +0 -109
  119. package/src/bmm-skills/plan/bmad-ux/assets/excalidraw-wireframe.md +0 -19
  120. package/src/bmm-skills/plan/bmad-ux/assets/experience-example-mobile.md +0 -112
  121. package/src/bmm-skills/plan/bmad-ux/assets/experience-example-shadcn.md +0 -133
  122. package/src/bmm-skills/plan/bmad-ux/assets/headless-schemas.md +0 -84
  123. package/src/bmm-skills/plan/bmad-ux/assets/key-screens.md +0 -29
  124. package/src/bmm-skills/plan/bmad-ux/assets/validation-report-template.html +0 -319
  125. package/src/bmm-skills/plan/bmad-ux/customize.toml +0 -100
  126. package/src/bmm-skills/plan/bmad-ux/references/creative-tools.md +0 -19
  127. package/src/bmm-skills/plan/bmad-ux/references/design-md-spec.md +0 -50
  128. package/src/bmm-skills/plan/bmad-ux/references/headless.md +0 -37
  129. package/src/bmm-skills/plan/bmad-ux/references/validate.md +0 -115
  130. package/src/bmm-skills/ship/bmad-build/SKILL.md +0 -13
  131. package/src/bmm-skills/ship/bmad-build/compile-epic-context.md +0 -62
  132. package/src/bmm-skills/ship/bmad-build/customize.toml +0 -152
  133. package/src/bmm-skills/ship/bmad-build/references/claims-check.md +0 -14
  134. package/src/bmm-skills/ship/bmad-build/references/deletion-check.md +0 -14
  135. package/src/bmm-skills/ship/bmad-build/review-prompts/edge-case-hunter.md +0 -112
  136. package/src/bmm-skills/ship/bmad-build/review-prompts/verification-gap.md +0 -113
  137. package/src/bmm-skills/ship/bmad-build/spec-template.md +0 -111
  138. package/src/bmm-skills/ship/bmad-build/step-01-clarify-and-route.md +0 -100
  139. package/src/bmm-skills/ship/bmad-build/step-02-plan.md +0 -62
  140. package/src/bmm-skills/ship/bmad-build/step-03-implement.md +0 -51
  141. package/src/bmm-skills/ship/bmad-build/step-04-review.md +0 -85
  142. package/src/bmm-skills/ship/bmad-build/step-05-present.md +0 -43
  143. package/src/bmm-skills/ship/bmad-build/step-oneshot.md +0 -107
  144. package/src/bmm-skills/ship/bmad-build/sync-sprint-status.md +0 -5
  145. package/src/bmm-skills/ship/bmad-build/workflow.md +0 -84
  146. package/src/bmm-skills/ship/bmad-build-auto/SKILL.md +0 -13
  147. package/src/bmm-skills/ship/bmad-build-auto/compile-epic-context.md +0 -62
  148. package/src/bmm-skills/ship/bmad-build-auto/customize.toml +0 -119
  149. package/src/bmm-skills/ship/bmad-build-auto/references/claims-check.md +0 -14
  150. package/src/bmm-skills/ship/bmad-build-auto/references/deletion-check.md +0 -14
  151. package/src/bmm-skills/ship/bmad-build-auto/review-prompts/edge-case-hunter.md +0 -112
  152. package/src/bmm-skills/ship/bmad-build-auto/review-prompts/verification-gap.md +0 -113
  153. package/src/bmm-skills/ship/bmad-build-auto/spec-template.md +0 -96
  154. package/src/bmm-skills/ship/bmad-build-auto/step-01-clarify-and-route.md +0 -84
  155. package/src/bmm-skills/ship/bmad-build-auto/step-02-plan.md +0 -27
  156. package/src/bmm-skills/ship/bmad-build-auto/step-03-implement.md +0 -48
  157. package/src/bmm-skills/ship/bmad-build-auto/step-04-review.md +0 -116
  158. package/src/bmm-skills/ship/bmad-build-auto/workflow.md +0 -104
  159. package/src/bmm-skills/ship/bmad-code-review/SKILL.md +0 -90
  160. package/src/bmm-skills/ship/bmad-code-review/customize.toml +0 -110
  161. package/src/bmm-skills/ship/bmad-code-review/references/claims-check.md +0 -14
  162. package/src/bmm-skills/ship/bmad-code-review/references/deletion-check.md +0 -14
  163. package/src/bmm-skills/ship/bmad-code-review/review-prompts/edge-case-hunter.md +0 -112
  164. package/src/bmm-skills/ship/bmad-code-review/review-prompts/verification-gap.md +0 -113
  165. package/src/bmm-skills/ship/bmad-code-review/steps/step-01-gather-context.md +0 -94
  166. package/src/bmm-skills/ship/bmad-code-review/steps/step-02-review.md +0 -32
  167. package/src/bmm-skills/ship/bmad-code-review/steps/step-03-triage.md +0 -54
  168. package/src/bmm-skills/ship/bmad-code-review/steps/step-04-present.md +0 -134
  169. package/src/bmm-skills/ship/bmad-correct-course/SKILL.md +0 -308
  170. package/src/bmm-skills/ship/bmad-correct-course/checklist.md +0 -288
  171. package/src/bmm-skills/ship/bmad-correct-course/customize.toml +0 -39
  172. package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/SKILL.md +0 -176
  173. package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/checklist.md +0 -33
  174. package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/customize.toml +0 -39
  175. package/src/bmm-skills/ship/bmad-retrospective/SKILL.md +0 -94
  176. package/src/bmm-skills/ship/bmad-retrospective/customize.toml +0 -39
  177. package/src/bmm-skills/ship/bmad-retrospective/references/acceptance-verdict.md +0 -55
  178. package/src/bmm-skills/ship/bmad-retrospective/references/aggregate-views.md +0 -17
  179. package/src/bmm-skills/ship/bmad-retrospective/references/evidence-gathering.md +0 -30
  180. package/src/bmm-skills/ship/bmad-retrospective/references/retro-document.md +0 -84
  181. package/src/bmm-skills/ship/bmad-retrospective/references/team-discussion.md +0 -22
  182. package/src/bmm-skills/ship/bmad-retrospective/scripts/__pycache__/sprint_status.cpython-311.pyc +0 -0
  183. package/src/bmm-skills/ship/bmad-retrospective/scripts/git_evidence.py +0 -308
  184. package/src/bmm-skills/ship/bmad-retrospective/scripts/sprint_status.py +0 -750
  185. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_git_evidence.cpython-311-pytest-9.1.1.pyc +0 -0
  186. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_sprint_status.cpython-311-pytest-9.1.1.pyc +0 -0
  187. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/fixtures/sprint-status-template.yaml +0 -71
  188. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_git_evidence.py +0 -750
  189. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_sprint_status.py +0 -1579
  190. package/src/bmm-skills/ship/bmad-walkthrough/SKILL.md +0 -68
  191. package/src/bmm-skills/ship/bmad-walkthrough/customize.toml +0 -39
  192. package/src/bmm-skills/ship/bmad-walkthrough/generate-trail.md +0 -38
  193. package/src/bmm-skills/ship/bmad-walkthrough/step-01-orientation.md +0 -105
  194. package/src/bmm-skills/ship/bmad-walkthrough/step-02-walkthrough.md +0 -89
  195. package/src/bmm-skills/ship/bmad-walkthrough/step-03-detail-pass.md +0 -106
  196. package/src/bmm-skills/ship/bmad-walkthrough/step-04-testing.md +0 -74
  197. package/src/bmm-skills/ship/bmad-walkthrough/step-05-wrapup.md +0 -30
  198. package/src/bmm-skills/v6-shims/README.md +0 -29
  199. package/src/bmm-skills/v6-shims/bmad-checkpoint-preview/SKILL.md +0 -21
  200. package/src/bmm-skills/v6-shims/bmad-create-architecture/SKILL.md +0 -32
  201. package/src/bmm-skills/v6-shims/bmad-create-architecture/customize.toml +0 -39
  202. package/src/bmm-skills/v6-shims/bmad-create-prd/SKILL.md +0 -32
  203. package/src/bmm-skills/v6-shims/bmad-create-prd/customize.toml +0 -39
  204. package/src/bmm-skills/v6-shims/bmad-create-story/SKILL.md +0 -436
  205. package/src/bmm-skills/v6-shims/bmad-create-story/checklist.md +0 -357
  206. package/src/bmm-skills/v6-shims/bmad-create-story/customize.toml +0 -39
  207. package/src/bmm-skills/v6-shims/bmad-create-story/discover-inputs.md +0 -88
  208. package/src/bmm-skills/v6-shims/bmad-create-story/template.md +0 -49
  209. package/src/bmm-skills/v6-shims/bmad-dev-auto/SKILL.md +0 -21
  210. package/src/bmm-skills/v6-shims/bmad-dev-story/SKILL.md +0 -504
  211. package/src/bmm-skills/v6-shims/bmad-dev-story/checklist.md +0 -80
  212. package/src/bmm-skills/v6-shims/bmad-dev-story/customize.toml +0 -39
  213. package/src/bmm-skills/v6-shims/bmad-document-project/SKILL.md +0 -16
  214. package/src/bmm-skills/v6-shims/bmad-domain-research/SKILL.md +0 -16
  215. package/src/bmm-skills/v6-shims/bmad-edit-prd/SKILL.md +0 -32
  216. package/src/bmm-skills/v6-shims/bmad-edit-prd/customize.toml +0 -40
  217. package/src/bmm-skills/v6-shims/bmad-market-research/SKILL.md +0 -16
  218. package/src/bmm-skills/v6-shims/bmad-quick-dev/SKILL.md +0 -21
  219. package/src/bmm-skills/v6-shims/bmad-sprint-status/SKILL.md +0 -28
  220. package/src/bmm-skills/v6-shims/bmad-sprint-status/customize.toml +0 -39
  221. package/src/bmm-skills/v6-shims/bmad-technical-research/SKILL.md +0 -16
  222. package/src/bmm-skills/v6-shims/bmad-validate-prd/SKILL.md +0 -32
  223. package/src/bmm-skills/v6-shims/bmad-validate-prd/customize.toml +0 -40
  224. package/src/core-skills/bmad-advanced-elicitation/SKILL.md +0 -64
  225. package/src/core-skills/bmad-advanced-elicitation/assets/methods.csv +0 -72
  226. package/src/core-skills/bmad-advanced-elicitation/customize.toml +0 -54
  227. package/src/core-skills/bmad-advanced-elicitation/scripts/pick_methods.py +0 -233
  228. package/src/core-skills/bmad-advanced-elicitation/scripts/tests/test_pick_methods.py +0 -228
  229. package/src/core-skills/bmad-brainstorming/SKILL.md +0 -80
  230. package/src/core-skills/bmad-brainstorming/assets/brain-icons.json +0 -166
  231. package/src/core-skills/bmad-brainstorming/assets/brain-methods.csv +0 -109
  232. package/src/core-skills/bmad-brainstorming/assets/brain-selector.html +0 -328
  233. package/src/core-skills/bmad-brainstorming/customize.toml +0 -83
  234. package/src/core-skills/bmad-brainstorming/references/converge.md +0 -24
  235. package/src/core-skills/bmad-brainstorming/references/finalize.md +0 -26
  236. package/src/core-skills/bmad-brainstorming/references/headless.md +0 -54
  237. package/src/core-skills/bmad-brainstorming/references/in-chat-techniques.md +0 -18
  238. package/src/core-skills/bmad-brainstorming/references/mode-autonomous.md +0 -10
  239. package/src/core-skills/bmad-brainstorming/references/mode-facilitator.md +0 -11
  240. package/src/core-skills/bmad-brainstorming/references/mode-partner.md +0 -16
  241. package/src/core-skills/bmad-brainstorming/references/resume.md +0 -5
  242. package/src/core-skills/bmad-brainstorming/scripts/brain.py +0 -789
  243. package/src/core-skills/bmad-brainstorming/scripts/tests/test_brain.py +0 -289
  244. package/src/core-skills/bmad-customize/SKILL.md +0 -111
  245. package/src/core-skills/bmad-customize/scripts/list_customizable_skills.py +0 -235
  246. package/src/core-skills/bmad-customize/scripts/tests/test_list_customizable_skills.py +0 -249
  247. package/src/core-skills/bmad-deep-recon/SKILL.md +0 -82
  248. package/src/core-skills/bmad-deep-recon/assets/research.template.md +0 -18
  249. package/src/core-skills/bmad-deep-recon/customize.toml +0 -212
  250. package/src/core-skills/bmad-deep-recon/references/draft.md +0 -8
  251. package/src/core-skills/bmad-deep-recon/references/finalize.md +0 -11
  252. package/src/core-skills/bmad-deep-recon/references/html-briefing.md +0 -16
  253. package/src/core-skills/bmad-deep-recon/references/lifecycle.md +0 -11
  254. package/src/core-skills/bmad-deep-recon/references/process.md +0 -10
  255. package/src/core-skills/bmad-deep-recon/references/run.md +0 -73
  256. package/src/core-skills/bmad-deep-recon/references/selection.md +0 -13
  257. package/src/core-skills/bmad-deep-recon/references/synthesis.md +0 -16
  258. package/src/core-skills/bmad-deep-recon/references/verification.md +0 -29
  259. package/src/core-skills/bmad-deep-recon/scripts/recon_kit.py +0 -326
  260. package/src/core-skills/bmad-deep-recon/scripts/tests/test_recon_kit.py +0 -144
  261. package/src/core-skills/bmad-deep-recon/types/academic-lit.md +0 -19
  262. package/src/core-skills/bmad-deep-recon/types/competitive.md +0 -19
  263. package/src/core-skills/bmad-deep-recon/types/domain.md +0 -19
  264. package/src/core-skills/bmad-deep-recon/types/market.md +0 -19
  265. package/src/core-skills/bmad-deep-recon/types/technical.md +0 -19
  266. package/src/core-skills/bmad-deep-recon/types/user-voice.md +0 -19
  267. package/src/core-skills/bmad-forge-idea/SKILL.md +0 -107
  268. package/src/core-skills/bmad-forge-idea/customize.toml +0 -41
  269. package/src/core-skills/bmad-forge-idea/scripts/resolve_personas.py +0 -277
  270. package/src/core-skills/bmad-forge-idea/scripts/tests/test_resolve_personas.py +0 -160
  271. package/src/core-skills/bmad-help/SKILL.md +0 -77
  272. package/src/core-skills/bmad-party-mode/SKILL.md +0 -60
  273. package/src/core-skills/bmad-party-mode/customize.toml +0 -211
  274. package/src/core-skills/bmad-party-mode/references/create-party.md +0 -70
  275. package/src/core-skills/bmad-party-mode/references/mode-agent-team.md +0 -13
  276. package/src/core-skills/bmad-party-mode/references/mode-auto.md +0 -13
  277. package/src/core-skills/bmad-party-mode/references/mode-subagent.md +0 -31
  278. package/src/core-skills/bmad-party-mode/references/party-memory.md +0 -51
  279. package/src/core-skills/bmad-party-mode/scripts/resolve_party.py +0 -300
  280. package/src/core-skills/bmad-party-mode/scripts/tests/test_resolve_party.py +0 -183
  281. package/src/core-skills/bmad-review/SKILL.md +0 -50
  282. package/src/core-skills/bmad-review/customize.toml +0 -141
  283. package/src/core-skills/bmad-review/references/editorial-common.md +0 -56
  284. package/src/core-skills/bmad-review/references/lens-adversarial.md +0 -19
  285. package/src/core-skills/bmad-review/references/lens-edge-case-hunter.md +0 -72
  286. package/src/core-skills/bmad-review/references/lens-prose.md +0 -7
  287. package/src/core-skills/bmad-review/references/lens-structure.md +0 -9
  288. package/src/core-skills/bmad-review/references/lens-verification-gap.md +0 -92
  289. package/src/core-skills/bmad-review/references/structure-models.md +0 -44
  290. package/src/core-skills/bmad-review/scripts/tests/test_word_metrics.py +0 -62
  291. package/src/core-skills/bmad-review/scripts/word_metrics.py +0 -102
  292. package/src/core-skills/module-help.csv +0 -10
  293. package/src/core-skills/module.yaml +0 -38
  294. package/src/core-skills/v6-shims/README.md +0 -25
  295. package/src/core-skills/v6-shims/bmad-editorial-review/SKILL.md +0 -8
  296. package/src/core-skills/v6-shims/bmad-editorial-review/customize.toml +0 -31
  297. package/src/core-skills/v6-shims/bmad-editorial-review-prose/SKILL.md +0 -8
  298. package/src/core-skills/v6-shims/bmad-editorial-review-structure/SKILL.md +0 -8
  299. package/src/core-skills/v6-shims/bmad-review-adversarial-general/SKILL.md +0 -8
  300. package/src/core-skills/v6-shims/bmad-review-edge-case-hunter/SKILL.md +0 -8
  301. package/src/core-skills/v6-shims/bmad-review-verification-gap/SKILL.md +0 -8
  302. package/src/scripts/__pycache__/config_utils.cpython-311.pyc +0 -0
  303. package/src/scripts/config_utils.py +0 -119
  304. package/src/scripts/memlog.py +0 -228
  305. package/src/scripts/render_skill.py +0 -401
  306. package/src/scripts/resolve_config.py +0 -82
  307. package/src/scripts/resolve_customization.py +0 -164
  308. package/src/scripts/tests/__pycache__/test_config_utils.cpython-311.pyc +0 -0
  309. package/src/scripts/tests/__pycache__/test_resolve_config.cpython-311.pyc +0 -0
  310. package/src/scripts/tests/__pycache__/test_resolve_customization.cpython-311.pyc +0 -0
  311. package/src/scripts/tests/test_config_utils.py +0 -85
  312. package/src/scripts/tests/test_memlog.py +0 -306
  313. package/src/scripts/tests/test_resolve_config.py +0 -117
  314. package/src/scripts/tests/test_resolve_customization.py +0 -179
  315. package/tools/bundle-web-bundles.js +0 -117
  316. package/tools/format-workflow-md.js +0 -263
  317. package/tools/installer/README.md +0 -60
  318. package/tools/installer/bmad-cli.js +0 -105
  319. package/tools/installer/cli-utils.js +0 -57
  320. package/tools/installer/commands/install.js +0 -151
  321. package/tools/installer/commands/status.js +0 -65
  322. package/tools/installer/commands/uninstall.js +0 -167
  323. package/tools/installer/core/config.js +0 -76
  324. package/tools/installer/core/existing-install.js +0 -121
  325. package/tools/installer/core/install-paths.js +0 -132
  326. package/tools/installer/core/installer.js +0 -1826
  327. package/tools/installer/core/legacy-warnings.js +0 -151
  328. package/tools/installer/core/manifest-generator.js +0 -883
  329. package/tools/installer/core/manifest.js +0 -439
  330. package/tools/installer/core/shim-policy.js +0 -159
  331. package/tools/installer/core/uv-check.js +0 -195
  332. package/tools/installer/core/wsl-node-check.js +0 -109
  333. package/tools/installer/file-ops.js +0 -204
  334. package/tools/installer/fs-native.js +0 -116
  335. package/tools/installer/ide/_config-driven.js +0 -972
  336. package/tools/installer/ide/manager.js +0 -324
  337. package/tools/installer/ide/platform-codes.js +0 -80
  338. package/tools/installer/ide/platform-codes.yaml +0 -363
  339. package/tools/installer/ide/shared/installed-skills.js +0 -50
  340. package/tools/installer/ide/shared/path-utils.js +0 -219
  341. package/tools/installer/ide/shared/skill-manifest.js +0 -57
  342. package/tools/installer/install-messages.yaml +0 -44
  343. package/tools/installer/list-options.js +0 -210
  344. package/tools/installer/message-loader.js +0 -83
  345. package/tools/installer/modules/channel-plan.js +0 -216
  346. package/tools/installer/modules/channel-resolver.js +0 -241
  347. package/tools/installer/modules/custom-module-manager.js +0 -924
  348. package/tools/installer/modules/external-manager.js +0 -673
  349. package/tools/installer/modules/git-env.js +0 -47
  350. package/tools/installer/modules/module-help-schema.js +0 -13
  351. package/tools/installer/modules/official-modules.js +0 -2289
  352. package/tools/installer/modules/plugin-resolver.js +0 -398
  353. package/tools/installer/modules/version-resolver.js +0 -336
  354. package/tools/installer/project-root.js +0 -224
  355. package/tools/installer/prompts.js +0 -804
  356. package/tools/installer/set-overrides.js +0 -330
  357. package/tools/installer/ui.js +0 -2262
  358. package/tools/installer/yaml-format.js +0 -245
  359. package/tools/javascript-conventions.md +0 -5
  360. package/tools/migrate-custom-module-paths.js +0 -124
  361. package/tools/skill-validator.md +0 -312
  362. package/tools/tests/__pycache__/test_validate_skills.cpython-311.pyc +0 -0
  363. package/tools/tests/fixtures/validate-skills/bmad/SKILL.md +0 -8
  364. package/tools/tests/fixtures/validate-skills/deprecated-shim/SKILL.md +0 -9
  365. package/tools/tests/fixtures/validate-skills/missing-trigger/SKILL.md +0 -9
  366. package/tools/tests/fixtures/validate-skills/with-trigger/SKILL.md +0 -8
  367. package/tools/tests/test_validate_skills.py +0 -476
  368. package/tools/validate-published-implementation-model.mjs +0 -59
  369. package/tools/validate-sidebar-order.js +0 -388
  370. package/tools/validate-svg-changes.sh +0 -356
  371. package/tools/validate_skills.py +0 -698
  372. package/web-bundles/README.md +0 -46
  373. package/web-bundles/brainstorming-coach/INSTRUCTIONS.md +0 -86
  374. package/web-bundles/brainstorming-coach/SKILL.md +0 -83
  375. package/web-bundles/brainstorming-coach/brain-methods.csv +0 -62
  376. package/web-bundles/bundles.json +0 -139
  377. package/web-bundles/market-and-industry-research/INSTRUCTIONS.md +0 -88
  378. package/web-bundles/market-and-industry-research/SKILL.md +0 -59
  379. package/web-bundles/prd-coach/INSTRUCTIONS.md +0 -86
  380. package/web-bundles/prd-coach/SKILL.md +0 -101
  381. package/web-bundles/prd-coach/prd-template.md +0 -165
  382. package/web-bundles/prd-coach/prd-validation-checklist.md +0 -135
  383. package/web-bundles/prfaq-coach/INSTRUCTIONS.md +0 -86
  384. package/web-bundles/prfaq-coach/SKILL.md +0 -139
  385. package/web-bundles/product-brief-coach/INSTRUCTIONS.md +0 -86
  386. package/web-bundles/product-brief-coach/SKILL.md +0 -113
  387. package/web-bundles/ux-coach/INSTRUCTIONS.md +0 -92
  388. package/web-bundles/ux-coach/SKILL.md +0 -187
  389. package/web-bundles/ux-coach/ux-validation.md +0 -100
@@ -1,39 +0,0 @@
1
- # DO NOT EDIT -- overwritten on every update.
2
- #
3
- # Workflow customization surface for bmad-create-architecture. Mirrors the
4
- # agent customization shape under the [workflow] namespace.
5
-
6
- [workflow]
7
-
8
- # --- Configurable below. Overrides merge per BMad structural rules: ---
9
- # scalars: override wins • arrays (persistent_facts, activation_steps_*): append
10
- # arrays-of-tables with `code`/`id`: replace matching items, append new ones.
11
-
12
- # Steps to run before the standard activation (config load, greet).
13
- # Overrides append. Use for pre-flight loads, compliance checks, etc.
14
-
15
- activation_steps_prepend = []
16
-
17
- # Steps to run after greet but before the workflow begins.
18
- # Overrides append. Use for context-heavy setup that should happen
19
- # once the user has been acknowledged.
20
-
21
- activation_steps_append = []
22
-
23
- # Persistent facts the workflow keeps in mind for the whole run
24
- # (standards, compliance constraints, stylistic guardrails).
25
- # Distinct from the runtime memory sidecar — these are static context
26
- # loaded on activation. Overrides append.
27
- #
28
- # Each entry is either:
29
- # - a literal sentence, e.g. "Our org is AWS-only -- do not propose GCP or Azure."
30
- # - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
31
- # (glob patterns are supported; the file's contents are loaded and treated as facts).
32
-
33
- persistent_facts = []
34
-
35
- # Scalar: executed when the workflow reaches Step 8 (Architecture Completion & Handoff),
36
- # after the architecture document frontmatter is updated and next-steps guidance is given.
37
- # Override wins. Leave empty for no custom post-completion behavior.
38
-
39
- on_complete = ""
@@ -1,32 +0,0 @@
1
- ---
2
- name: bmad-create-prd
3
- description: 'Deprecated — forwards to bmad-prd (create intent)'
4
- metadata:
5
- lifecycle: shim
6
- ---
7
-
8
- # DEPRECATED — forwards to bmad-prd (create intent)
9
-
10
- This skill was consolidated into `bmad-prd`. It is retained as a thin compatibility shim so existing invocations by name and `_bmad/custom/bmad-create-prd.toml` override files keep working. New work should invoke `bmad-prd` directly — it detects create / update / validate intent from the conversation.
11
-
12
- ## On Activation
13
-
14
- 1. Resolve customization: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow`. This picks up any `{project-root}/_bmad/custom/bmad-create-prd.toml` and `bmad-create-prd.user.toml` overrides for the legacy fields (`activation_steps_prepend`, `activation_steps_append`, `persistent_facts`, `on_complete`).
15
-
16
- 2. Run `uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` and resolve `{user_name}` and `{communication_language}`.
17
-
18
- 3. Emit a deprecation notice to the user in `{communication_language}`:
19
-
20
- > Notice: `bmad-create-prd` is deprecated and will be removed in a future release. It now forwards to `bmad-prd` with create intent. To silence this notice and access the full new customization surface (`prd_template`, `validation_checklist_template`, `validation_report_template`, `doc_standards`, `finalize_reviewers`, `external_sources`, `external_handoffs`, `prd_output_path`, `run_folder_pattern`), migrate `_bmad/custom/bmad-create-prd.toml` to `_bmad/custom/bmad-prd.toml` and invoke `bmad-prd` directly next time. Customization fields that were in this version still remain in the new version and will be respected if present in `_bmad/custom/bmad-prd.toml`, but the new version also supports additional fields that you can take advantage of by migrating.
21
-
22
- 4. Invoke `bmad-prd` with the following context. Pass these as the activating context so `bmad-prd` honors them instead of resolving its own customization from scratch:
23
-
24
- - **Intent:** `create` — skip `bmad-prd`'s usual intent detection step.
25
- - **Pre-resolved legacy customization** — use these in place of resolving from `bmad-prd`'s own `customize.toml` for the four legacy fields. For everything else (`prd_template`, `validation_checklist_template`, `validation_report_template`, `doc_standards`, `finalize_reviewers`, `prd_output_path`, `run_folder_pattern`, `external_sources`, `external_handoffs`), use `bmad-prd`'s own defaults and overrides as normal:
26
- - `activation_steps_prepend` = the resolved value from step 1
27
- - `activation_steps_append` = the resolved value from step 1
28
- - `persistent_facts` = the resolved value from step 1
29
- - `on_complete` = the resolved value from step 1
30
- - **Original user input:** forward whatever the user said when invoking this skill verbatim.
31
-
32
- `bmad-prd` takes the workflow from here. Do not execute any further steps in this shim.
@@ -1,39 +0,0 @@
1
- # DO NOT EDIT -- overwritten on every update.
2
- #
3
- # Workflow customization surface for bmad-create-prd. Mirrors the
4
- # agent customization shape under the [workflow] namespace.
5
-
6
- [workflow]
7
-
8
- # --- Configurable below. Overrides merge per BMad structural rules: ---
9
- # scalars: override wins • arrays (persistent_facts, activation_steps_*): append
10
- # arrays-of-tables with `code`/`id`: replace matching items, append new ones.
11
-
12
- # Steps to run before the standard activation (config load, greet).
13
- # Overrides append. Use for pre-flight loads, compliance checks, etc.
14
-
15
- activation_steps_prepend = []
16
-
17
- # Steps to run after greet but before the workflow begins.
18
- # Overrides append. Use for context-heavy setup that should happen
19
- # once the user has been acknowledged.
20
-
21
- activation_steps_append = []
22
-
23
- # Persistent facts the workflow keeps in mind for the whole run
24
- # (standards, compliance constraints, stylistic guardrails).
25
- # Distinct from the runtime memory sidecar — these are static context
26
- # loaded on activation. Overrides append.
27
- #
28
- # Each entry is either:
29
- # - a literal sentence, e.g. "All PRDs must include a regulatory-risk section."
30
- # - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
31
- # (glob patterns are supported; the file's contents are loaded and treated as facts).
32
-
33
- persistent_facts = []
34
-
35
- # Scalar: executed when the workflow reaches Step 12 (Workflow Completion),
36
- # after the PRD is finalized and workflow status is updated. Override wins.
37
- # Leave empty for no custom post-completion behavior.
38
-
39
- on_complete = ""
@@ -1,436 +0,0 @@
1
- ---
2
- name: bmad-create-story
3
- description: "Deprecated: `bmad-build` is now the official implementation method. Only use this when explicitly invoked by name"
4
- metadata:
5
- lifecycle: shim
6
- ---
7
-
8
- # Create Story Workflow
9
-
10
- **Goal:** Create a comprehensive story file that gives the dev agent everything needed for flawless implementation.
11
-
12
- **Your Role:** Story context engine that prevents LLM developer mistakes, omissions, or disasters.
13
- - Communicate all responses in {communication_language} and generate all documents in {document_output_language}
14
- - Your purpose is NOT to copy from epics - it's to create a comprehensive, optimized story file that gives the DEV agent EVERYTHING needed for flawless implementation
15
- - COMMON LLM MISTAKES TO PREVENT: reinventing wheels, wrong libraries, wrong file locations, breaking regressions, ignoring UX, vague implementations, lying about completion, not learning from past work
16
- - EXHAUSTIVE ANALYSIS REQUIRED: You must thoroughly analyze ALL artifacts to extract critical context - do NOT be lazy or skim! This is the most important function in the entire development process!
17
- - UTILIZE SUBPROCESSES AND SUBAGENTS: Use research subagents, subprocesses or parallel processing if available to thoroughly analyze different artifacts simultaneously and thoroughly
18
- - SAVE QUESTIONS: If you think of questions or clarifications during analysis, save them for the end after the complete story is written
19
- - ZERO USER INTERVENTION: Process should be fully automated except for initial epic/story selection or missing documents
20
-
21
- Subagents, when the capability is available, are an important part of this workflow. Use them as directed by the workflow steps.
22
- If you need an explicit user instruction to run them, ask once now for the whole workflow run.
23
-
24
- ## Conventions
25
-
26
- - Bare paths (e.g. `discover-inputs.md`) resolve from the skill root.
27
- - `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).
28
- - `{project-root}`-prefixed paths resolve from the project working directory.
29
- - `{skill-name}` resolves to the skill directory's basename.
30
-
31
- ## On Activation
32
-
33
- ### Step 1: Resolve the Workflow Block
34
-
35
- Run: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow`
36
-
37
- **If the script fails**, resolve the `workflow` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:
38
-
39
- 1. `{skill-root}/customize.toml` — defaults
40
- 2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
41
- 3. `{project-root}/_bmad/custom/{skill-name}.user.toml` — personal overrides
42
-
43
- Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
44
-
45
- ### Step 2: Execute Prepend Steps
46
-
47
- Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
48
-
49
- ### Step 3: Load Persistent Facts
50
-
51
- Treat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs under `{project-root}` — load the referenced contents as facts. All other entries are facts verbatim.
52
-
53
- ### Step 4: Load Config
54
-
55
- Run `uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` and resolve:
56
-
57
- - `project_name`, `user_name`
58
- - `communication_language`, `document_output_language`
59
- - `user_skill_level`
60
- - `planning_artifacts`, `implementation_artifacts`
61
- - `date` as system-generated current datetime
62
-
63
- ### Step 5: Greet the User
64
-
65
- Greet `{user_name}`, speaking in `{communication_language}`.
66
-
67
- <output>Deprecated: `bmad-build` is now the official implementation method. Only use this when explicitly invoked by name.</output>
68
-
69
- ### Step 6: Execute Append Steps
70
-
71
- Execute each entry in `{workflow.activation_steps_append}` in order.
72
-
73
- Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
74
-
75
- ## Paths
76
-
77
- - `sprint_status` = `{implementation_artifacts}/sprint-status.yaml`
78
- - `epics_file` = `{planning_artifacts}/epics.md`
79
- - `prd_file` = `{planning_artifacts}/prd.md`
80
- - `architecture_file` = `{planning_artifacts}/architecture.md`
81
- - `ux_file` = `{planning_artifacts}/*ux*.md`
82
- - `story_title` = "" (will be elicited if not derivable)
83
- - `default_output_file` = `{implementation_artifacts}/{{story_key}}.md`
84
-
85
- ## Input Files
86
-
87
- | Input | Description | Path Pattern(s) | Load Strategy |
88
- |-------|-------------|------------------|---------------|
89
- | prd | PRD (fallback - epics file should have most content) | whole: `{planning_artifacts}/*prd*.md`, sharded: `{planning_artifacts}/*prd*/*.md` | SELECTIVE_LOAD |
90
- | architecture | Architecture (fallback - epics file should have relevant sections) | whole: `{planning_artifacts}/*architecture*.md`, sharded: `{planning_artifacts}/*architecture*/*.md` | SELECTIVE_LOAD |
91
- | ux | UX design (fallback - epics file should have relevant sections) | whole: `{planning_artifacts}/*ux*.md`, sharded: `{planning_artifacts}/*ux*/*.md` | SELECTIVE_LOAD |
92
- | epics | Enhanced epics+stories file with BDD and source hints | whole: `{planning_artifacts}/*epic*.md`, sharded: `{planning_artifacts}/*epic*/*.md` | SELECTIVE_LOAD |
93
-
94
- ## Execution
95
-
96
- <workflow>
97
-
98
- <step n="1" goal="Determine target story">
99
- <check if="{{story_path}} is provided by user or user provided the epic and story number such as 2-4 or 1.6 or epic 1 story 5">
100
- <action>Parse user-provided story path: extract epic_num, story_num, story_title from format like "1-2-user-auth"</action>
101
- <action>Set {{epic_num}}, {{story_num}}, {{story_key}} from user input</action>
102
- <action>GOTO step 2a</action>
103
- </check>
104
-
105
- <action>Check if {{sprint_status}} file exists for auto discover</action>
106
- <check if="sprint status file does NOT exist">
107
- <output>🚫 No sprint status file found and no story specified</output>
108
- <output>
109
- **Required Options:**
110
- 1. Run `sprint-planning` to initialize sprint tracking (recommended)
111
- 2. Provide specific epic-story number to create (e.g., "1-2-user-auth")
112
- 3. Provide path to story documents if sprint status doesn't exist yet
113
- </output>
114
- <ask>Choose option [1], provide epic-story number, path to story docs, or [q] to quit:</ask>
115
-
116
- <check if="user chooses 'q'">
117
- <action>HALT - No work needed</action>
118
- </check>
119
-
120
- <check if="user chooses '1'">
121
- <output>Run sprint-planning workflow first to create sprint-status.yaml</output>
122
- <action>HALT - User needs to run sprint-planning</action>
123
- </check>
124
-
125
- <check if="user provides epic-story number">
126
- <action>Parse user input: extract epic_num, story_num, story_title</action>
127
- <action>Set {{epic_num}}, {{story_num}}, {{story_key}} from user input</action>
128
- <action>GOTO step 2a</action>
129
- </check>
130
-
131
- <check if="user provides story docs path">
132
- <action>Use user-provided path for story documents</action>
133
- <action>GOTO step 2a</action>
134
- </check>
135
- </check>
136
-
137
- <!-- Auto-discover from sprint status only if no user input -->
138
- <check if="no user input provided">
139
- <critical>MUST read COMPLETE {sprint_status} file from start to end to preserve order</critical>
140
- <action>Load the FULL file: {{sprint_status}}</action>
141
- <action>Read ALL lines from beginning to end - do not skip any content</action>
142
- <action>Parse the development_status section completely</action>
143
-
144
- <action>Find the FIRST story (by reading in order from top to bottom) where:
145
- - Key matches pattern: number-number-name (e.g., "1-2-user-auth")
146
- - NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
147
- - Status value equals "backlog"
148
- </action>
149
-
150
- <check if="no backlog story found">
151
- <output>📋 No backlog stories found in sprint-status.yaml
152
-
153
- All stories are either already created, in progress, or done.
154
-
155
- **Options:**
156
- 1. Run sprint-planning to refresh story tracking
157
- 2. Load PM agent and run correct-course to add more stories
158
- 3. Check if current sprint is complete and run retrospective
159
- </output>
160
- <action>HALT</action>
161
- </check>
162
-
163
- <action>Extract from found story key (e.g., "1-2-user-authentication"):
164
- - epic_num: first number before dash (e.g., "1")
165
- - story_num: second number after first dash (e.g., "2")
166
- - story_title: remainder after second dash (e.g., "user-authentication")
167
- </action>
168
- <action>Set {{story_id}} = "{{epic_num}}.{{story_num}}"</action>
169
- <action>Store story_key for later use (e.g., "1-2-user-authentication")</action>
170
-
171
- <!-- Mark epic as in-progress if this is first story -->
172
- <action>Check if this is the first story in epic {{epic_num}} by looking for {{epic_num}}-1-* pattern</action>
173
- <check if="this is first story in epic {{epic_num}}">
174
- <action>Load {{sprint_status}} and check epic-{{epic_num}} status</action>
175
- <action>If epic status is "backlog" → update to "in-progress"</action>
176
- <action>If epic status is "contexted" (legacy status) → update to "in-progress" (backward compatibility)</action>
177
- <action>If epic status is "in-progress" → no change needed</action>
178
- <check if="epic status is 'done'">
179
- <output>🚫 ERROR: Cannot create story in completed epic</output>
180
- <output>Epic {{epic_num}} is marked as 'done'. All stories are complete.</output>
181
- <output>If you need to add more work, either:</output>
182
- <output>1. Manually change epic status back to 'in-progress' in sprint-status.yaml</output>
183
- <output>2. Create a new epic for additional work</output>
184
- <action>HALT - Cannot proceed</action>
185
- </check>
186
- <check if="epic status is not one of: backlog, contexted, in-progress, done">
187
- <output>🚫 ERROR: Invalid epic status '{{epic_status}}'</output>
188
- <output>Epic {{epic_num}} has invalid status. Expected: backlog, in-progress, or done</output>
189
- <output>Please fix sprint-status.yaml manually or run sprint-planning to regenerate</output>
190
- <action>HALT - Cannot proceed</action>
191
- </check>
192
- <output>📊 Epic {{epic_num}} status updated to in-progress</output>
193
- </check>
194
-
195
- <action>GOTO step 2a</action>
196
- </check>
197
- <action>Load the FULL file: {{sprint_status}}</action>
198
- <action>Read ALL lines from beginning to end - do not skip any content</action>
199
- <action>Parse the development_status section completely</action>
200
-
201
- <action>Find the FIRST story (by reading in order from top to bottom) where:
202
- - Key matches pattern: number-number-name (e.g., "1-2-user-auth")
203
- - NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
204
- - Status value equals "backlog"
205
- </action>
206
-
207
- <check if="no backlog story found">
208
- <output>No backlog stories found in sprint-status.yaml
209
-
210
- All stories are either already created, in progress, or done.
211
-
212
- **Options:**
213
- 1. Run sprint-planning to refresh story tracking
214
- 2. Load PM agent and run correct-course to add more stories
215
- 3. Check if current sprint is complete and run retrospective
216
- </output>
217
- <action>HALT</action>
218
- </check>
219
-
220
- <action>Extract from found story key (e.g., "1-2-user-authentication"):
221
- - epic_num: first number before dash (e.g., "1")
222
- - story_num: second number after first dash (e.g., "2")
223
- - story_title: remainder after second dash (e.g., "user-authentication")
224
- </action>
225
- <action>Set {{story_id}} = "{{epic_num}}.{{story_num}}"</action>
226
- <action>Store story_key for later use (e.g., "1-2-user-authentication")</action>
227
-
228
- <!-- Mark epic as in-progress if this is first story -->
229
- <action>Check if this is the first story in epic {{epic_num}} by looking for {{epic_num}}-1-* pattern</action>
230
- <check if="this is first story in epic {{epic_num}}">
231
- <action>Load {{sprint_status}} and check epic-{{epic_num}} status</action>
232
- <action>If epic status is "backlog" → update to "in-progress"</action>
233
- <action>If epic status is "contexted" (legacy status) → update to "in-progress" (backward compatibility)</action>
234
- <action>If epic status is "in-progress" → no change needed</action>
235
- <check if="epic status is 'done'">
236
- <output>ERROR: Cannot create story in completed epic</output>
237
- <output>Epic {{epic_num}} is marked as 'done'. All stories are complete.</output>
238
- <output>If you need to add more work, either:</output>
239
- <output>1. Manually change epic status back to 'in-progress' in sprint-status.yaml</output>
240
- <output>2. Create a new epic for additional work</output>
241
- <action>HALT - Cannot proceed</action>
242
- </check>
243
- <check if="epic status is not one of: backlog, contexted, in-progress, done">
244
- <output>ERROR: Invalid epic status '{{epic_status}}'</output>
245
- <output>Epic {{epic_num}} has invalid status. Expected: backlog, in-progress, or done</output>
246
- <output>Please fix sprint-status.yaml manually or run sprint-planning to regenerate</output>
247
- <action>HALT - Cannot proceed</action>
248
- </check>
249
- <output>Epic {{epic_num}} status updated to in-progress</output>
250
- </check>
251
-
252
- <action>GOTO step 2a</action>
253
- </step>
254
-
255
- <step n="2" goal="Load and analyze core artifacts">
256
- <critical>🔬 EXHAUSTIVE ARTIFACT ANALYSIS - This is where you prevent future developer mistakes!</critical>
257
-
258
- <!-- Load all available content through discovery protocol -->
259
- <action>Read fully and follow `./discover-inputs.md` to load all input files</action>
260
- <note>Available content: {epics_content}, {prd_content}, {architecture_content}, {ux_content}, plus any facts loaded during activation via `persistent_facts` (empty unless the user opted in).</note>
261
-
262
- <!-- Analyze epics file for story foundation -->
263
- <action>From {epics_content}, extract Epic {{epic_num}} complete context:</action> **EPIC ANALYSIS:** - Epic
264
- objectives and business value - ALL stories in this epic for cross-story context - Our specific story's requirements, user story
265
- statement, acceptance criteria - Technical requirements and constraints - Dependencies on other stories/epics - Source hints pointing to
266
- original documents <!-- Extract specific story requirements -->
267
- <action>Extract our story ({{epic_num}}-{{story_num}}) details:</action> **STORY FOUNDATION:** - User story statement
268
- (As a, I want, so that) - Detailed acceptance criteria (already BDD formatted) - Technical requirements specific to this story -
269
- Business context and value - Success criteria <!-- Previous story analysis for context continuity -->
270
- <check if="story_num > 1">
271
- <action>Find {{previous_story_num}}: scan {implementation_artifacts} for the story file in epic {{epic_num}} with the highest story number less than {{story_num}}</action>
272
- <action>Load previous story file: {implementation_artifacts}/{{epic_num}}-{{previous_story_num}}-*.md</action> **PREVIOUS STORY INTELLIGENCE:** -
273
- Dev notes and learnings from previous story - Review feedback and corrections needed - Files that were created/modified and their
274
- patterns - Testing approaches that worked/didn't work - Problems encountered and solutions found - Code patterns established <action>Extract
275
- all learnings that could impact current story implementation</action>
276
- </check>
277
-
278
- <!-- Git intelligence for previous work patterns -->
279
- <check
280
- if="previous story exists AND git repository detected">
281
- <action>Get last 5 commit titles to understand recent work patterns</action>
282
- <action>Analyze 1-5 most recent commits for relevance to current story:
283
- - Files created/modified
284
- - Code patterns and conventions used
285
- - Library dependencies added/changed
286
- - Architecture decisions implemented
287
- - Testing approaches used
288
- </action>
289
- <action>Extract actionable insights for current story implementation</action>
290
- </check>
291
- </step>
292
-
293
- <step n="3" goal="Architecture analysis for developer guardrails">
294
- <critical>🏗️ ARCHITECTURE INTELLIGENCE - Extract everything the developer MUST follow!</critical> **ARCHITECTURE DOCUMENT ANALYSIS:** <action>Systematically
295
- analyze architecture content for story-relevant requirements:</action>
296
-
297
- <!-- Load architecture - single file or sharded -->
298
- <check if="architecture file is single file">
299
- <action>Load complete {architecture_content}</action>
300
- </check>
301
- <check if="architecture is sharded to folder">
302
- <action>Load architecture index and scan all architecture files</action>
303
- </check> **CRITICAL ARCHITECTURE EXTRACTION:** <action>For
304
- each architecture section, determine if relevant to this story:</action> - **Technical Stack:** Languages, frameworks, libraries with
305
- versions - **Code Structure:** Folder organization, naming conventions, file patterns - **API Patterns:** Service structure, endpoint
306
- patterns, data contracts - **Database Schemas:** Tables, relationships, constraints relevant to story - **Security Requirements:**
307
- Authentication patterns, authorization rules - **Performance Requirements:** Caching strategies, optimization patterns - **Testing
308
- Standards:** Testing frameworks, coverage expectations, test patterns - **Deployment Patterns:** Environment configurations, build
309
- processes - **Integration Patterns:** External service integrations, data flows <action>Extract any story-specific requirements that the
310
- developer MUST follow</action>
311
- <action>Identify any architectural decisions that override previous patterns</action>
312
-
313
- <!-- Read existing code being modified — non-negotiable -->
314
- <critical>📂 READ FILES BEING MODIFIED — skipping this is the primary cause of implementation failures and review cycles</critical>
315
- <action>From the architecture directory structure, identify every file marked UPDATE (not NEW) that this story will touch</action>
316
- <action>Read each relevant UPDATE file completely. For each one, document in dev notes:
317
- - Current state: what it does today (state machine, API calls, data shapes, existing behaviors)
318
- - What this story changes: the specific sections or behaviors being modified
319
- - What must be preserved: existing interactions and behaviors the story must not break
320
- </action>
321
- <critical>A story implementation must leave the system working end-to-end — not just satisfy its stated ACs.
322
- If a behavior is required for the feature to work correctly in the existing system, it is a requirement
323
- whether or not it is explicitly written in the story. The dev agent owns this.</critical>
324
- </step>
325
-
326
- <step n="4" goal="Web research for latest technical specifics">
327
- <critical>🌐 ENSURE LATEST TECH KNOWLEDGE - Prevent outdated implementations!</critical> **WEB INTELLIGENCE:** <action>Identify specific
328
- technical areas that require latest version knowledge:</action>
329
-
330
- <!-- Check for libraries/frameworks mentioned in architecture -->
331
- <action>From architecture analysis, identify specific libraries, APIs, or
332
- frameworks</action>
333
- <action>For each critical technology, research latest stable version and key changes:
334
- - Latest API documentation and breaking changes
335
- - Security vulnerabilities or updates
336
- - Performance improvements or deprecations
337
- - Best practices for current version
338
- </action>
339
- **EXTERNAL CONTEXT INCLUSION:** <action>Include in story any critical latest information the developer needs:
340
- - Specific library versions and why chosen
341
- - API endpoints with parameters and authentication
342
- - Recent security patches or considerations
343
- - Performance optimization techniques
344
- - Migration considerations if upgrading
345
- </action>
346
- </step>
347
-
348
- <step n="5" goal="Create comprehensive story file">
349
- <critical>📝 CREATE ULTIMATE STORY FILE - The developer's master implementation guide!</critical>
350
-
351
- <action>Initialize from template.md:
352
- {default_output_file}</action>
353
- <template-output file="{default_output_file}">story_header</template-output>
354
-
355
- <!-- Story foundation from epics analysis -->
356
- <template-output
357
- file="{default_output_file}">story_requirements</template-output>
358
-
359
- <!-- Developer context section - MOST IMPORTANT PART -->
360
- <template-output file="{default_output_file}">
361
- developer_context_section</template-output> **DEV AGENT GUARDRAILS:** <template-output file="{default_output_file}">
362
- technical_requirements</template-output>
363
- <template-output file="{default_output_file}">architecture_compliance</template-output>
364
- <template-output
365
- file="{default_output_file}">library_framework_requirements</template-output>
366
- <template-output file="{default_output_file}">
367
- file_structure_requirements</template-output>
368
- <template-output file="{default_output_file}">testing_requirements</template-output>
369
-
370
- <!-- Previous story intelligence -->
371
- <check
372
- if="previous story learnings available">
373
- <template-output file="{default_output_file}">previous_story_intelligence</template-output>
374
- </check>
375
-
376
- <!-- Git intelligence -->
377
- <check
378
- if="git analysis completed">
379
- <template-output file="{default_output_file}">git_intelligence_summary</template-output>
380
- </check>
381
-
382
- <!-- Latest technical specifics -->
383
- <check if="web research completed">
384
- <template-output file="{default_output_file}">latest_tech_information</template-output>
385
- </check>
386
-
387
- <!-- Project context reference -->
388
- <template-output
389
- file="{default_output_file}">project_context_reference</template-output>
390
-
391
- <!-- Final status update -->
392
- <template-output file="{default_output_file}">
393
- story_completion_status</template-output>
394
-
395
- <!-- CRITICAL: Set status to ready-for-dev -->
396
- <action>Set story Status to: "ready-for-dev"</action>
397
- <action>Add completion note: "Ultimate
398
- context engine analysis completed - comprehensive developer guide created"</action>
399
- </step>
400
-
401
- <step n="6" goal="Update sprint status and finalize">
402
- <action>Validate the newly created story file {default_output_file} against `./checklist.md` and apply any required fixes before finalizing</action>
403
- <action>Save story document unconditionally</action>
404
-
405
- <!-- Update sprint status -->
406
- <check if="sprint status file exists">
407
- <action>Update {{sprint_status}}</action>
408
- <action>Load the FULL file and read all development_status entries</action>
409
- <action>Find development_status key matching {{story_key}}</action>
410
- <action>Verify current status is "backlog" (expected previous state)</action>
411
- <action>Update development_status[{{story_key}}] = "ready-for-dev"</action>
412
- <action>Update last_updated field to current date</action>
413
- <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
414
- </check>
415
-
416
- <action>Report completion</action>
417
- <output>**🎯 ULTIMATE BMad Method STORY CONTEXT CREATED, {user_name}!**
418
-
419
- **Story Details:**
420
- - Story ID: {{story_id}}
421
- - Story Key: {{story_key}}
422
- - File: {{story_file}}
423
- - Status: ready-for-dev
424
-
425
- **Next Steps:**
426
- 1. Review the comprehensive story in {{story_file}}
427
- 2. Run dev agents `dev-story` for optimized implementation
428
- 3. Run `code-review` when complete (auto-marks done)
429
- 4. Optional: If Test Architect module installed, run `/bmad:tea:automate` after `dev-story` to generate guardrail tests
430
-
431
- **The developer now has everything needed for flawless implementation!**
432
- </output>
433
- <action>Run: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow.on_complete` — if the resolved value is non-empty, follow it as the final terminal instruction before exiting.</action>
434
- </step>
435
-
436
- </workflow>