bmad-method 6.12.3 โ†’ 7.0.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 (388) 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 +260 -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 +54 -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 +124 -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/removals.txt +0 -87
  43. package/src/bmm-skills/agents/bmad-agent-analyst/SKILL.md +0 -76
  44. package/src/bmm-skills/agents/bmad-agent-analyst/customize.toml +0 -103
  45. package/src/bmm-skills/agents/bmad-agent-architect/SKILL.md +0 -76
  46. package/src/bmm-skills/agents/bmad-agent-architect/customize.toml +0 -63
  47. package/src/bmm-skills/agents/bmad-agent-dev/SKILL.md +0 -76
  48. package/src/bmm-skills/agents/bmad-agent-dev/customize.toml +0 -81
  49. package/src/bmm-skills/agents/bmad-agent-pm/SKILL.md +0 -76
  50. package/src/bmm-skills/agents/bmad-agent-pm/customize.toml +0 -73
  51. package/src/bmm-skills/agents/bmad-agent-ux-designer/SKILL.md +0 -76
  52. package/src/bmm-skills/agents/bmad-agent-ux-designer/customize.toml +0 -58
  53. package/src/bmm-skills/module-help.csv +0 -19
  54. package/src/bmm-skills/module.yaml +0 -85
  55. package/src/bmm-skills/plan/bmad-architecture/SKILL.md +0 -85
  56. package/src/bmm-skills/plan/bmad-architecture/assets/spine-template.md +0 -79
  57. package/src/bmm-skills/plan/bmad-architecture/customize.toml +0 -101
  58. package/src/bmm-skills/plan/bmad-architecture/references/headless.md +0 -26
  59. package/src/bmm-skills/plan/bmad-architecture/references/reviewer-gate.md +0 -13
  60. package/src/bmm-skills/plan/bmad-architecture/scripts/lint_spine.py +0 -261
  61. package/src/bmm-skills/plan/bmad-architecture/scripts/tests/test_lint_spine.py +0 -270
  62. package/src/bmm-skills/plan/bmad-create-epics-and-stories/SKILL.md +0 -93
  63. package/src/bmm-skills/plan/bmad-create-epics-and-stories/customize.toml +0 -39
  64. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -263
  65. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-02-design-epics.md +0 -242
  66. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-03-create-stories.md +0 -255
  67. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-04-final-validation.md +0 -141
  68. package/src/bmm-skills/plan/bmad-create-epics-and-stories/templates/epics-template.md +0 -62
  69. package/src/bmm-skills/plan/bmad-generate-project-context/SKILL.md +0 -12
  70. package/src/bmm-skills/plan/bmad-prd/SKILL.md +0 -94
  71. package/src/bmm-skills/plan/bmad-prd/assets/headless-schemas.md +0 -76
  72. package/src/bmm-skills/plan/bmad-prd/assets/prd-template.md +0 -165
  73. package/src/bmm-skills/plan/bmad-prd/assets/prd-validation-checklist.md +0 -135
  74. package/src/bmm-skills/plan/bmad-prd/assets/validation-report-template.html +0 -325
  75. package/src/bmm-skills/plan/bmad-prd/customize.toml +0 -148
  76. package/src/bmm-skills/plan/bmad-prd/references/headless.md +0 -39
  77. package/src/bmm-skills/plan/bmad-prd/references/validate.md +0 -97
  78. package/src/bmm-skills/plan/bmad-prfaq/SKILL.md +0 -135
  79. package/src/bmm-skills/plan/bmad-prfaq/agents/artifact-analyzer.md +0 -60
  80. package/src/bmm-skills/plan/bmad-prfaq/agents/web-researcher.md +0 -49
  81. package/src/bmm-skills/plan/bmad-prfaq/assets/prfaq-template.md +0 -62
  82. package/src/bmm-skills/plan/bmad-prfaq/bmad-manifest.json +0 -16
  83. package/src/bmm-skills/plan/bmad-prfaq/customize.toml +0 -39
  84. package/src/bmm-skills/plan/bmad-prfaq/references/customer-faq.md +0 -55
  85. package/src/bmm-skills/plan/bmad-prfaq/references/internal-faq.md +0 -51
  86. package/src/bmm-skills/plan/bmad-prfaq/references/press-release.md +0 -60
  87. package/src/bmm-skills/plan/bmad-prfaq/references/verdict.md +0 -83
  88. package/src/bmm-skills/plan/bmad-product-brief/SKILL.md +0 -91
  89. package/src/bmm-skills/plan/bmad-product-brief/assets/brief-template.md +0 -41
  90. package/src/bmm-skills/plan/bmad-product-brief/customize.toml +0 -100
  91. package/src/bmm-skills/plan/bmad-project-context/SKILL.md +0 -121
  92. package/src/bmm-skills/plan/bmad-project-context/customize.toml +0 -24
  93. package/src/bmm-skills/plan/bmad-project-context/references/best-practices.md +0 -84
  94. package/src/bmm-skills/plan/bmad-project-context/references/template.md +0 -55
  95. package/src/bmm-skills/plan/bmad-spec/SKILL.md +0 -160
  96. package/src/bmm-skills/plan/bmad-spec/assets/headless-schemas.md +0 -33
  97. package/src/bmm-skills/plan/bmad-spec/assets/spec-template.md +0 -49
  98. package/src/bmm-skills/plan/bmad-spec/assets/stories-schema.md +0 -44
  99. package/src/bmm-skills/plan/bmad-spec/customize.toml +0 -52
  100. package/src/bmm-skills/plan/bmad-sprint-planning/SKILL.md +0 -62
  101. package/src/bmm-skills/plan/bmad-sprint-planning/customize.toml +0 -39
  102. package/src/bmm-skills/plan/bmad-sprint-planning/references/fix-sprint-status.md +0 -30
  103. package/src/bmm-skills/plan/bmad-sprint-planning/references/generate-tracking.md +0 -25
  104. package/src/bmm-skills/plan/bmad-sprint-planning/references/readiness-gate.md +0 -20
  105. package/src/bmm-skills/plan/bmad-sprint-planning/references/status-view.md +0 -14
  106. package/src/bmm-skills/plan/bmad-sprint-planning/references/validate.md +0 -10
  107. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/__pycache__/sprint_plan.cpython-311.pyc +0 -0
  108. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/sprint_plan.py +0 -701
  109. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/__pycache__/test_sprint_plan.cpython-311-pytest-9.1.1.pyc +0 -0
  110. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/test_sprint_plan.py +0 -524
  111. package/src/bmm-skills/plan/bmad-sprint-planning/sprint-status-template.yaml +0 -71
  112. package/src/bmm-skills/plan/bmad-ux/SKILL.md +0 -90
  113. package/src/bmm-skills/plan/bmad-ux/assets/color-themes.md +0 -9
  114. package/src/bmm-skills/plan/bmad-ux/assets/design-directions.md +0 -9
  115. package/src/bmm-skills/plan/bmad-ux/assets/design-example-editorial.md +0 -158
  116. package/src/bmm-skills/plan/bmad-ux/assets/design-example-mobile.md +0 -93
  117. package/src/bmm-skills/plan/bmad-ux/assets/design-example-shadcn.md +0 -109
  118. package/src/bmm-skills/plan/bmad-ux/assets/excalidraw-wireframe.md +0 -19
  119. package/src/bmm-skills/plan/bmad-ux/assets/experience-example-mobile.md +0 -112
  120. package/src/bmm-skills/plan/bmad-ux/assets/experience-example-shadcn.md +0 -133
  121. package/src/bmm-skills/plan/bmad-ux/assets/headless-schemas.md +0 -84
  122. package/src/bmm-skills/plan/bmad-ux/assets/key-screens.md +0 -29
  123. package/src/bmm-skills/plan/bmad-ux/assets/validation-report-template.html +0 -319
  124. package/src/bmm-skills/plan/bmad-ux/customize.toml +0 -100
  125. package/src/bmm-skills/plan/bmad-ux/references/creative-tools.md +0 -19
  126. package/src/bmm-skills/plan/bmad-ux/references/design-md-spec.md +0 -50
  127. package/src/bmm-skills/plan/bmad-ux/references/headless.md +0 -37
  128. package/src/bmm-skills/plan/bmad-ux/references/validate.md +0 -115
  129. package/src/bmm-skills/ship/bmad-build/SKILL.md +0 -13
  130. package/src/bmm-skills/ship/bmad-build/compile-epic-context.md +0 -62
  131. package/src/bmm-skills/ship/bmad-build/customize.toml +0 -152
  132. package/src/bmm-skills/ship/bmad-build/references/claims-check.md +0 -14
  133. package/src/bmm-skills/ship/bmad-build/references/deletion-check.md +0 -14
  134. package/src/bmm-skills/ship/bmad-build/review-prompts/edge-case-hunter.md +0 -112
  135. package/src/bmm-skills/ship/bmad-build/review-prompts/verification-gap.md +0 -113
  136. package/src/bmm-skills/ship/bmad-build/spec-template.md +0 -111
  137. package/src/bmm-skills/ship/bmad-build/step-01-clarify-and-route.md +0 -100
  138. package/src/bmm-skills/ship/bmad-build/step-02-plan.md +0 -62
  139. package/src/bmm-skills/ship/bmad-build/step-03-implement.md +0 -51
  140. package/src/bmm-skills/ship/bmad-build/step-04-review.md +0 -85
  141. package/src/bmm-skills/ship/bmad-build/step-05-present.md +0 -43
  142. package/src/bmm-skills/ship/bmad-build/step-oneshot.md +0 -107
  143. package/src/bmm-skills/ship/bmad-build/sync-sprint-status.md +0 -5
  144. package/src/bmm-skills/ship/bmad-build/workflow.md +0 -84
  145. package/src/bmm-skills/ship/bmad-build-auto/SKILL.md +0 -13
  146. package/src/bmm-skills/ship/bmad-build-auto/compile-epic-context.md +0 -62
  147. package/src/bmm-skills/ship/bmad-build-auto/customize.toml +0 -119
  148. package/src/bmm-skills/ship/bmad-build-auto/references/claims-check.md +0 -14
  149. package/src/bmm-skills/ship/bmad-build-auto/references/deletion-check.md +0 -14
  150. package/src/bmm-skills/ship/bmad-build-auto/review-prompts/edge-case-hunter.md +0 -112
  151. package/src/bmm-skills/ship/bmad-build-auto/review-prompts/verification-gap.md +0 -113
  152. package/src/bmm-skills/ship/bmad-build-auto/spec-template.md +0 -96
  153. package/src/bmm-skills/ship/bmad-build-auto/step-01-clarify-and-route.md +0 -84
  154. package/src/bmm-skills/ship/bmad-build-auto/step-02-plan.md +0 -27
  155. package/src/bmm-skills/ship/bmad-build-auto/step-03-implement.md +0 -48
  156. package/src/bmm-skills/ship/bmad-build-auto/step-04-review.md +0 -116
  157. package/src/bmm-skills/ship/bmad-build-auto/workflow.md +0 -104
  158. package/src/bmm-skills/ship/bmad-code-review/SKILL.md +0 -90
  159. package/src/bmm-skills/ship/bmad-code-review/customize.toml +0 -110
  160. package/src/bmm-skills/ship/bmad-code-review/references/claims-check.md +0 -14
  161. package/src/bmm-skills/ship/bmad-code-review/references/deletion-check.md +0 -14
  162. package/src/bmm-skills/ship/bmad-code-review/review-prompts/edge-case-hunter.md +0 -112
  163. package/src/bmm-skills/ship/bmad-code-review/review-prompts/verification-gap.md +0 -113
  164. package/src/bmm-skills/ship/bmad-code-review/steps/step-01-gather-context.md +0 -94
  165. package/src/bmm-skills/ship/bmad-code-review/steps/step-02-review.md +0 -32
  166. package/src/bmm-skills/ship/bmad-code-review/steps/step-03-triage.md +0 -54
  167. package/src/bmm-skills/ship/bmad-code-review/steps/step-04-present.md +0 -134
  168. package/src/bmm-skills/ship/bmad-correct-course/SKILL.md +0 -308
  169. package/src/bmm-skills/ship/bmad-correct-course/checklist.md +0 -288
  170. package/src/bmm-skills/ship/bmad-correct-course/customize.toml +0 -39
  171. package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/SKILL.md +0 -176
  172. package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/checklist.md +0 -33
  173. package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/customize.toml +0 -39
  174. package/src/bmm-skills/ship/bmad-retrospective/SKILL.md +0 -94
  175. package/src/bmm-skills/ship/bmad-retrospective/customize.toml +0 -39
  176. package/src/bmm-skills/ship/bmad-retrospective/references/acceptance-verdict.md +0 -55
  177. package/src/bmm-skills/ship/bmad-retrospective/references/aggregate-views.md +0 -17
  178. package/src/bmm-skills/ship/bmad-retrospective/references/evidence-gathering.md +0 -30
  179. package/src/bmm-skills/ship/bmad-retrospective/references/retro-document.md +0 -84
  180. package/src/bmm-skills/ship/bmad-retrospective/references/team-discussion.md +0 -22
  181. package/src/bmm-skills/ship/bmad-retrospective/scripts/__pycache__/sprint_status.cpython-311.pyc +0 -0
  182. package/src/bmm-skills/ship/bmad-retrospective/scripts/git_evidence.py +0 -308
  183. package/src/bmm-skills/ship/bmad-retrospective/scripts/sprint_status.py +0 -750
  184. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_git_evidence.cpython-311-pytest-9.1.1.pyc +0 -0
  185. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_sprint_status.cpython-311-pytest-9.1.1.pyc +0 -0
  186. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/fixtures/sprint-status-template.yaml +0 -71
  187. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_git_evidence.py +0 -750
  188. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_sprint_status.py +0 -1579
  189. package/src/bmm-skills/ship/bmad-walkthrough/SKILL.md +0 -68
  190. package/src/bmm-skills/ship/bmad-walkthrough/customize.toml +0 -39
  191. package/src/bmm-skills/ship/bmad-walkthrough/generate-trail.md +0 -38
  192. package/src/bmm-skills/ship/bmad-walkthrough/step-01-orientation.md +0 -105
  193. package/src/bmm-skills/ship/bmad-walkthrough/step-02-walkthrough.md +0 -89
  194. package/src/bmm-skills/ship/bmad-walkthrough/step-03-detail-pass.md +0 -106
  195. package/src/bmm-skills/ship/bmad-walkthrough/step-04-testing.md +0 -74
  196. package/src/bmm-skills/ship/bmad-walkthrough/step-05-wrapup.md +0 -30
  197. package/src/bmm-skills/v6-shims/README.md +0 -29
  198. package/src/bmm-skills/v6-shims/bmad-checkpoint-preview/SKILL.md +0 -21
  199. package/src/bmm-skills/v6-shims/bmad-create-architecture/SKILL.md +0 -32
  200. package/src/bmm-skills/v6-shims/bmad-create-architecture/customize.toml +0 -39
  201. package/src/bmm-skills/v6-shims/bmad-create-prd/SKILL.md +0 -32
  202. package/src/bmm-skills/v6-shims/bmad-create-prd/customize.toml +0 -39
  203. package/src/bmm-skills/v6-shims/bmad-create-story/SKILL.md +0 -436
  204. package/src/bmm-skills/v6-shims/bmad-create-story/checklist.md +0 -357
  205. package/src/bmm-skills/v6-shims/bmad-create-story/customize.toml +0 -39
  206. package/src/bmm-skills/v6-shims/bmad-create-story/discover-inputs.md +0 -88
  207. package/src/bmm-skills/v6-shims/bmad-create-story/template.md +0 -49
  208. package/src/bmm-skills/v6-shims/bmad-dev-auto/SKILL.md +0 -21
  209. package/src/bmm-skills/v6-shims/bmad-dev-story/SKILL.md +0 -504
  210. package/src/bmm-skills/v6-shims/bmad-dev-story/checklist.md +0 -80
  211. package/src/bmm-skills/v6-shims/bmad-dev-story/customize.toml +0 -39
  212. package/src/bmm-skills/v6-shims/bmad-document-project/SKILL.md +0 -16
  213. package/src/bmm-skills/v6-shims/bmad-domain-research/SKILL.md +0 -16
  214. package/src/bmm-skills/v6-shims/bmad-edit-prd/SKILL.md +0 -32
  215. package/src/bmm-skills/v6-shims/bmad-edit-prd/customize.toml +0 -40
  216. package/src/bmm-skills/v6-shims/bmad-market-research/SKILL.md +0 -16
  217. package/src/bmm-skills/v6-shims/bmad-quick-dev/SKILL.md +0 -21
  218. package/src/bmm-skills/v6-shims/bmad-sprint-status/SKILL.md +0 -28
  219. package/src/bmm-skills/v6-shims/bmad-sprint-status/customize.toml +0 -39
  220. package/src/bmm-skills/v6-shims/bmad-technical-research/SKILL.md +0 -16
  221. package/src/bmm-skills/v6-shims/bmad-validate-prd/SKILL.md +0 -32
  222. package/src/bmm-skills/v6-shims/bmad-validate-prd/customize.toml +0 -40
  223. package/src/core-skills/bmad-advanced-elicitation/SKILL.md +0 -64
  224. package/src/core-skills/bmad-advanced-elicitation/assets/methods.csv +0 -72
  225. package/src/core-skills/bmad-advanced-elicitation/customize.toml +0 -54
  226. package/src/core-skills/bmad-advanced-elicitation/scripts/pick_methods.py +0 -233
  227. package/src/core-skills/bmad-advanced-elicitation/scripts/tests/test_pick_methods.py +0 -228
  228. package/src/core-skills/bmad-brainstorming/SKILL.md +0 -80
  229. package/src/core-skills/bmad-brainstorming/assets/brain-icons.json +0 -166
  230. package/src/core-skills/bmad-brainstorming/assets/brain-methods.csv +0 -109
  231. package/src/core-skills/bmad-brainstorming/assets/brain-selector.html +0 -328
  232. package/src/core-skills/bmad-brainstorming/customize.toml +0 -83
  233. package/src/core-skills/bmad-brainstorming/references/converge.md +0 -24
  234. package/src/core-skills/bmad-brainstorming/references/finalize.md +0 -26
  235. package/src/core-skills/bmad-brainstorming/references/headless.md +0 -54
  236. package/src/core-skills/bmad-brainstorming/references/in-chat-techniques.md +0 -18
  237. package/src/core-skills/bmad-brainstorming/references/mode-autonomous.md +0 -10
  238. package/src/core-skills/bmad-brainstorming/references/mode-facilitator.md +0 -11
  239. package/src/core-skills/bmad-brainstorming/references/mode-partner.md +0 -16
  240. package/src/core-skills/bmad-brainstorming/references/resume.md +0 -5
  241. package/src/core-skills/bmad-brainstorming/scripts/brain.py +0 -789
  242. package/src/core-skills/bmad-brainstorming/scripts/tests/test_brain.py +0 -289
  243. package/src/core-skills/bmad-customize/SKILL.md +0 -111
  244. package/src/core-skills/bmad-customize/scripts/list_customizable_skills.py +0 -235
  245. package/src/core-skills/bmad-customize/scripts/tests/test_list_customizable_skills.py +0 -249
  246. package/src/core-skills/bmad-deep-recon/SKILL.md +0 -82
  247. package/src/core-skills/bmad-deep-recon/assets/research.template.md +0 -18
  248. package/src/core-skills/bmad-deep-recon/customize.toml +0 -212
  249. package/src/core-skills/bmad-deep-recon/references/draft.md +0 -8
  250. package/src/core-skills/bmad-deep-recon/references/finalize.md +0 -11
  251. package/src/core-skills/bmad-deep-recon/references/html-briefing.md +0 -16
  252. package/src/core-skills/bmad-deep-recon/references/lifecycle.md +0 -11
  253. package/src/core-skills/bmad-deep-recon/references/process.md +0 -10
  254. package/src/core-skills/bmad-deep-recon/references/run.md +0 -73
  255. package/src/core-skills/bmad-deep-recon/references/selection.md +0 -13
  256. package/src/core-skills/bmad-deep-recon/references/synthesis.md +0 -16
  257. package/src/core-skills/bmad-deep-recon/references/verification.md +0 -29
  258. package/src/core-skills/bmad-deep-recon/scripts/recon_kit.py +0 -326
  259. package/src/core-skills/bmad-deep-recon/scripts/tests/test_recon_kit.py +0 -144
  260. package/src/core-skills/bmad-deep-recon/types/academic-lit.md +0 -19
  261. package/src/core-skills/bmad-deep-recon/types/competitive.md +0 -19
  262. package/src/core-skills/bmad-deep-recon/types/domain.md +0 -19
  263. package/src/core-skills/bmad-deep-recon/types/market.md +0 -19
  264. package/src/core-skills/bmad-deep-recon/types/technical.md +0 -19
  265. package/src/core-skills/bmad-deep-recon/types/user-voice.md +0 -19
  266. package/src/core-skills/bmad-forge-idea/SKILL.md +0 -107
  267. package/src/core-skills/bmad-forge-idea/customize.toml +0 -41
  268. package/src/core-skills/bmad-forge-idea/scripts/resolve_personas.py +0 -277
  269. package/src/core-skills/bmad-forge-idea/scripts/tests/test_resolve_personas.py +0 -160
  270. package/src/core-skills/bmad-help/SKILL.md +0 -77
  271. package/src/core-skills/bmad-party-mode/SKILL.md +0 -60
  272. package/src/core-skills/bmad-party-mode/customize.toml +0 -211
  273. package/src/core-skills/bmad-party-mode/references/create-party.md +0 -70
  274. package/src/core-skills/bmad-party-mode/references/mode-agent-team.md +0 -13
  275. package/src/core-skills/bmad-party-mode/references/mode-auto.md +0 -13
  276. package/src/core-skills/bmad-party-mode/references/mode-subagent.md +0 -31
  277. package/src/core-skills/bmad-party-mode/references/party-memory.md +0 -51
  278. package/src/core-skills/bmad-party-mode/scripts/resolve_party.py +0 -300
  279. package/src/core-skills/bmad-party-mode/scripts/tests/test_resolve_party.py +0 -183
  280. package/src/core-skills/bmad-review/SKILL.md +0 -50
  281. package/src/core-skills/bmad-review/customize.toml +0 -141
  282. package/src/core-skills/bmad-review/references/editorial-common.md +0 -56
  283. package/src/core-skills/bmad-review/references/lens-adversarial.md +0 -19
  284. package/src/core-skills/bmad-review/references/lens-edge-case-hunter.md +0 -72
  285. package/src/core-skills/bmad-review/references/lens-prose.md +0 -7
  286. package/src/core-skills/bmad-review/references/lens-structure.md +0 -9
  287. package/src/core-skills/bmad-review/references/lens-verification-gap.md +0 -92
  288. package/src/core-skills/bmad-review/references/structure-models.md +0 -44
  289. package/src/core-skills/bmad-review/scripts/tests/test_word_metrics.py +0 -62
  290. package/src/core-skills/bmad-review/scripts/word_metrics.py +0 -102
  291. package/src/core-skills/module-help.csv +0 -10
  292. package/src/core-skills/module.yaml +0 -38
  293. package/src/core-skills/v6-shims/README.md +0 -25
  294. package/src/core-skills/v6-shims/bmad-editorial-review/SKILL.md +0 -8
  295. package/src/core-skills/v6-shims/bmad-editorial-review/customize.toml +0 -31
  296. package/src/core-skills/v6-shims/bmad-editorial-review-prose/SKILL.md +0 -8
  297. package/src/core-skills/v6-shims/bmad-editorial-review-structure/SKILL.md +0 -8
  298. package/src/core-skills/v6-shims/bmad-review-adversarial-general/SKILL.md +0 -8
  299. package/src/core-skills/v6-shims/bmad-review-edge-case-hunter/SKILL.md +0 -8
  300. package/src/core-skills/v6-shims/bmad-review-verification-gap/SKILL.md +0 -8
  301. package/src/scripts/__pycache__/config_utils.cpython-311.pyc +0 -0
  302. package/src/scripts/config_utils.py +0 -119
  303. package/src/scripts/memlog.py +0 -228
  304. package/src/scripts/render_skill.py +0 -401
  305. package/src/scripts/resolve_config.py +0 -82
  306. package/src/scripts/resolve_customization.py +0 -164
  307. package/src/scripts/tests/__pycache__/test_config_utils.cpython-311.pyc +0 -0
  308. package/src/scripts/tests/__pycache__/test_resolve_config.cpython-311.pyc +0 -0
  309. package/src/scripts/tests/__pycache__/test_resolve_customization.cpython-311.pyc +0 -0
  310. package/src/scripts/tests/test_config_utils.py +0 -85
  311. package/src/scripts/tests/test_memlog.py +0 -306
  312. package/src/scripts/tests/test_resolve_config.py +0 -117
  313. package/src/scripts/tests/test_resolve_customization.py +0 -179
  314. package/tools/bundle-web-bundles.js +0 -117
  315. package/tools/format-workflow-md.js +0 -263
  316. package/tools/installer/README.md +0 -60
  317. package/tools/installer/bmad-cli.js +0 -105
  318. package/tools/installer/cli-utils.js +0 -57
  319. package/tools/installer/commands/install.js +0 -151
  320. package/tools/installer/commands/status.js +0 -65
  321. package/tools/installer/commands/uninstall.js +0 -167
  322. package/tools/installer/core/config.js +0 -76
  323. package/tools/installer/core/existing-install.js +0 -121
  324. package/tools/installer/core/install-paths.js +0 -132
  325. package/tools/installer/core/installer.js +0 -1826
  326. package/tools/installer/core/legacy-warnings.js +0 -151
  327. package/tools/installer/core/manifest-generator.js +0 -883
  328. package/tools/installer/core/manifest.js +0 -439
  329. package/tools/installer/core/shim-policy.js +0 -159
  330. package/tools/installer/core/uv-check.js +0 -195
  331. package/tools/installer/core/wsl-node-check.js +0 -109
  332. package/tools/installer/file-ops.js +0 -204
  333. package/tools/installer/fs-native.js +0 -116
  334. package/tools/installer/ide/_config-driven.js +0 -972
  335. package/tools/installer/ide/manager.js +0 -324
  336. package/tools/installer/ide/platform-codes.js +0 -80
  337. package/tools/installer/ide/platform-codes.yaml +0 -363
  338. package/tools/installer/ide/shared/installed-skills.js +0 -50
  339. package/tools/installer/ide/shared/path-utils.js +0 -219
  340. package/tools/installer/ide/shared/skill-manifest.js +0 -57
  341. package/tools/installer/install-messages.yaml +0 -44
  342. package/tools/installer/list-options.js +0 -210
  343. package/tools/installer/message-loader.js +0 -83
  344. package/tools/installer/modules/channel-plan.js +0 -216
  345. package/tools/installer/modules/channel-resolver.js +0 -241
  346. package/tools/installer/modules/custom-module-manager.js +0 -924
  347. package/tools/installer/modules/external-manager.js +0 -673
  348. package/tools/installer/modules/git-env.js +0 -47
  349. package/tools/installer/modules/module-help-schema.js +0 -13
  350. package/tools/installer/modules/official-modules.js +0 -2289
  351. package/tools/installer/modules/plugin-resolver.js +0 -398
  352. package/tools/installer/modules/version-resolver.js +0 -336
  353. package/tools/installer/project-root.js +0 -224
  354. package/tools/installer/prompts.js +0 -804
  355. package/tools/installer/set-overrides.js +0 -330
  356. package/tools/installer/ui.js +0 -2225
  357. package/tools/installer/yaml-format.js +0 -245
  358. package/tools/javascript-conventions.md +0 -5
  359. package/tools/migrate-custom-module-paths.js +0 -124
  360. package/tools/skill-validator.md +0 -312
  361. package/tools/tests/__pycache__/test_validate_skills.cpython-311.pyc +0 -0
  362. package/tools/tests/fixtures/validate-skills/bmad/SKILL.md +0 -8
  363. package/tools/tests/fixtures/validate-skills/deprecated-shim/SKILL.md +0 -9
  364. package/tools/tests/fixtures/validate-skills/missing-trigger/SKILL.md +0 -9
  365. package/tools/tests/fixtures/validate-skills/with-trigger/SKILL.md +0 -8
  366. package/tools/tests/test_validate_skills.py +0 -476
  367. package/tools/validate-published-implementation-model.mjs +0 -59
  368. package/tools/validate-sidebar-order.js +0 -388
  369. package/tools/validate-svg-changes.sh +0 -356
  370. package/tools/validate_skills.py +0 -698
  371. package/web-bundles/README.md +0 -46
  372. package/web-bundles/brainstorming-coach/INSTRUCTIONS.md +0 -86
  373. package/web-bundles/brainstorming-coach/SKILL.md +0 -83
  374. package/web-bundles/brainstorming-coach/brain-methods.csv +0 -62
  375. package/web-bundles/bundles.json +0 -139
  376. package/web-bundles/market-and-industry-research/INSTRUCTIONS.md +0 -88
  377. package/web-bundles/market-and-industry-research/SKILL.md +0 -59
  378. package/web-bundles/prd-coach/INSTRUCTIONS.md +0 -86
  379. package/web-bundles/prd-coach/SKILL.md +0 -101
  380. package/web-bundles/prd-coach/prd-template.md +0 -165
  381. package/web-bundles/prd-coach/prd-validation-checklist.md +0 -135
  382. package/web-bundles/prfaq-coach/INSTRUCTIONS.md +0 -86
  383. package/web-bundles/prfaq-coach/SKILL.md +0 -139
  384. package/web-bundles/product-brief-coach/INSTRUCTIONS.md +0 -86
  385. package/web-bundles/product-brief-coach/SKILL.md +0 -113
  386. package/web-bundles/ux-coach/INSTRUCTIONS.md +0 -92
  387. package/web-bundles/ux-coach/SKILL.md +0 -187
  388. package/web-bundles/ux-coach/ux-validation.md +0 -100
@@ -1,504 +0,0 @@
1
- ---
2
- name: bmad-dev-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
- # Dev Story Workflow
9
-
10
- **Goal:** Execute story implementation following a context filled story spec file.
11
-
12
- **Your Role:** Developer implementing the story.
13
- - Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}
14
- - Generate all documents in {document_output_language}
15
- - Only modify the story file in these areas: YAML frontmatter `baseline_commit`, Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List, Change Log, and Status
16
- - Execute ALL steps in exact order; do NOT skip steps
17
- - Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution until the story is COMPLETE (all ACs satisfied and all tasks/subtasks checked) UNLESS a HALT condition is triggered or the USER gives other instruction.
18
- - Do NOT schedule a "next session" or request review pauses unless a HALT condition applies. Only Step 9 decides completion.
19
- - User skill level ({user_skill_level}) affects conversation style ONLY, not code updates.
20
-
21
- ## Conventions
22
-
23
- - Bare paths (e.g. `steps/step-01-init.md`) resolve from the skill root.
24
- - `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).
25
- - `{project-root}`-prefixed paths resolve from the project working directory.
26
- - `{skill-name}` resolves to the skill directory's basename.
27
-
28
- ## On Activation
29
-
30
- ### Step 1: Resolve the Workflow Block
31
-
32
- Run: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow`
33
-
34
- **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:
35
-
36
- 1. `{skill-root}/customize.toml` โ€” defaults
37
- 2. `{project-root}/_bmad/custom/{skill-name}.toml` โ€” team overrides
38
- 3. `{project-root}/_bmad/custom/{skill-name}.user.toml` โ€” personal overrides
39
-
40
- 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.
41
-
42
- ### Step 2: Execute Prepend Steps
43
-
44
- Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
45
-
46
- ### Step 3: Load Persistent Facts
47
-
48
- 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.
49
-
50
- ### Step 4: Load Config
51
-
52
- Run `uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` and resolve:
53
-
54
- - `project_name`, `user_name`
55
- - `communication_language`, `document_output_language`
56
- - `user_skill_level`
57
- - `implementation_artifacts`
58
- - `date` as system-generated current datetime
59
- - `project_context` = `**/project-context.md` (load if exists)
60
-
61
- ### Step 5: Greet the User
62
-
63
- Greet `{user_name}`, speaking in `{communication_language}`.
64
-
65
- <output>Deprecated: `bmad-build` is now the official implementation method. Only use this when explicitly invoked by name.</output>
66
-
67
- ### Step 6: Execute Append Steps
68
-
69
- Execute each entry in `{workflow.activation_steps_append}` in order.
70
-
71
- 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.
72
-
73
- ## Paths
74
-
75
- - `story_file` = `` (explicit story path; auto-discovered if empty)
76
- - `sprint_status` = `{implementation_artifacts}/sprint-status.yaml`
77
-
78
- ## Execution
79
-
80
- <workflow>
81
- <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
82
- <critical>Generate all documents in {document_output_language}</critical>
83
- <critical>Only modify the story file in these areas: YAML frontmatter `baseline_commit`, Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List,
84
- Change Log, and Status</critical>
85
- <critical>Execute ALL steps in exact order; do NOT skip steps</critical>
86
- <critical>Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution
87
- until the story is COMPLETE (all ACs satisfied and all tasks/subtasks checked) UNLESS a HALT condition is triggered or the USER gives
88
- other instruction.</critical>
89
- <critical>Do NOT schedule a "next session" or request review pauses unless a HALT condition applies. Only Step 9 decides completion.</critical>
90
- <critical>User skill level ({user_skill_level}) affects conversation style ONLY, not code updates.</critical>
91
-
92
- <step n="1" goal="Find next ready story and load it" tag="sprint-status">
93
- <check if="{{story_path}} is provided">
94
- <action>Use {{story_path}} directly</action>
95
- <action>Read COMPLETE story file</action>
96
- <action>Extract story_key from filename or metadata</action>
97
- <goto anchor="task_check" />
98
- </check>
99
-
100
- <!-- Sprint-based story discovery -->
101
- <check if="{{sprint_status}} file exists">
102
- <critical>MUST read COMPLETE sprint-status.yaml file from start to end to preserve order</critical>
103
- <action>Load the FULL file: {{sprint_status}}</action>
104
- <action>Read ALL lines from beginning to end - do not skip any content</action>
105
- <action>Parse the development_status section completely to understand story order</action>
106
-
107
- <action>Find the FIRST story (by reading in order from top to bottom) where:
108
- - Key matches pattern: number-number-name (e.g., "1-2-user-auth")
109
- - NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
110
- - Status value equals "ready-for-dev"
111
- </action>
112
-
113
- <check if="no ready-for-dev or in-progress story found">
114
- <output>๐Ÿ“‹ No ready-for-dev stories found in sprint-status.yaml
115
-
116
- **Current Sprint Status:** {{sprint_status_summary}}
117
-
118
- **What would you like to do?**
119
- 1. Run `create-story` to create next story from epics with comprehensive context
120
- 2. Run `*validate-create-story` to improve existing stories before development (recommended quality check)
121
- 3. Specify a particular story file to develop (provide full path)
122
- 4. Check {{sprint_status}} file to see current sprint status
123
-
124
- ๐Ÿ’ก **Tip:** Stories in `ready-for-dev` may not have been validated. Consider running `validate-create-story` first for a quality
125
- check.
126
- </output>
127
- <ask>Choose option [1], [2], [3], or [4], or specify story file path:</ask>
128
-
129
- <check if="user chooses '1'">
130
- <action>HALT - Run create-story to create next story</action>
131
- </check>
132
-
133
- <check if="user chooses '2'">
134
- <action>HALT - Run validate-create-story to improve existing stories</action>
135
- </check>
136
-
137
- <check if="user chooses '3'">
138
- <ask>Provide the story file path to develop:</ask>
139
- <action>Store user-provided story path as {{story_path}}</action>
140
- <goto anchor="task_check" />
141
- </check>
142
-
143
- <check if="user chooses '4'">
144
- <output>Loading {{sprint_status}} for detailed status review...</output>
145
- <action>Display detailed sprint status analysis</action>
146
- <action>HALT - User can review sprint status and provide story path</action>
147
- </check>
148
-
149
- <check if="user provides story file path">
150
- <action>Store user-provided story path as {{story_path}}</action>
151
- <goto anchor="task_check" />
152
- </check>
153
- </check>
154
- </check>
155
-
156
- <!-- Non-sprint story discovery -->
157
- <check if="{{sprint_status}} file does NOT exist">
158
- <action>Search {implementation_artifacts} for stories directly</action>
159
- <action>Find stories with "ready-for-dev" status in files</action>
160
- <action>Look for story files matching pattern: *-*-*.md</action>
161
- <action>Read each candidate story file to check Status section</action>
162
-
163
- <check if="no ready-for-dev stories found in story files">
164
- <output>๐Ÿ“‹ No ready-for-dev stories found
165
-
166
- **Available Options:**
167
- 1. Run `create-story` to create next story from epics with comprehensive context
168
- 2. Run `*validate-create-story` to improve existing stories
169
- 3. Specify which story to develop
170
- </output>
171
- <ask>What would you like to do? Choose option [1], [2], or [3]:</ask>
172
-
173
- <check if="user chooses '1'">
174
- <action>HALT - Run create-story to create next story</action>
175
- </check>
176
-
177
- <check if="user chooses '2'">
178
- <action>HALT - Run validate-create-story to improve existing stories</action>
179
- </check>
180
-
181
- <check if="user chooses '3'">
182
- <ask>It's unclear what story you want developed. Please provide the full path to the story file:</ask>
183
- <action>Store user-provided story path as {{story_path}}</action>
184
- <action>Continue with provided story file</action>
185
- </check>
186
- </check>
187
-
188
- <check if="ready-for-dev story found in files">
189
- <action>Use discovered story file and extract story_key</action>
190
- </check>
191
- </check>
192
-
193
- <action>Store the found story_key (e.g., "1-2-user-authentication") for later status updates</action>
194
- <action>Find matching story file in {implementation_artifacts} using story_key pattern: {{story_key}}.md</action>
195
- <action>Read COMPLETE story file from discovered path</action>
196
-
197
- <anchor id="task_check" />
198
-
199
- <action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Dev Agent Record, File List, Change Log, Status</action>
200
-
201
- <action>Load comprehensive context from story file's Dev Notes section</action>
202
- <action>Extract developer guidance from Dev Notes: architecture requirements, previous learnings, technical specifications</action>
203
- <action>Use enhanced story context to inform implementation decisions and approaches</action>
204
-
205
- <action>Identify first incomplete task (unchecked [ ]) in Tasks/Subtasks</action>
206
-
207
- <action if="no incomplete tasks">
208
- <goto step="9">Completion sequence</goto>
209
- </action>
210
- <action if="story file inaccessible">HALT: "Cannot develop story without access to story file"</action>
211
- <action if="incomplete task or subtask requirements ambiguous">ASK user to clarify or HALT</action>
212
- </step>
213
-
214
- <step n="2" goal="Load project context and story information">
215
- <critical>Load all available context to inform implementation</critical>
216
-
217
- <action>Load {project_context} for coding standards and project-wide patterns (if exists)</action>
218
- <action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Dev Agent Record, File List, Change Log, Status</action>
219
- <action>Load comprehensive context from story file's Dev Notes section</action>
220
- <action>Extract developer guidance from Dev Notes: architecture requirements, previous learnings, technical specifications</action>
221
- <action>Use enhanced story context to inform implementation decisions and approaches</action>
222
- <output>โœ… **Context Loaded**
223
- Story and project context available for implementation
224
- </output>
225
- </step>
226
-
227
- <step n="3" goal="Detect review continuation and extract review context">
228
- <critical>Determine if this is a fresh start or continuation after code review</critical>
229
-
230
- <action>Check if "Senior Developer Review (AI)" section exists in the story file</action>
231
- <action>Check if "Review Follow-ups (AI)" subsection exists under Tasks/Subtasks</action>
232
-
233
- <check if="Senior Developer Review section exists">
234
- <action>Set review_continuation = true</action>
235
- <action>Extract from "Senior Developer Review (AI)" section:
236
- - Review outcome (Approve/Changes Requested/Blocked)
237
- - Review date
238
- - Total action items with checkboxes (count checked vs unchecked)
239
- - Severity breakdown (High/Med/Low counts)
240
- </action>
241
- <action>Count unchecked [ ] review follow-up tasks in "Review Follow-ups (AI)" subsection</action>
242
- <action>Store list of unchecked review items as {{pending_review_items}}</action>
243
-
244
- <output>โฏ๏ธ **Resuming Story After Code Review** ({{review_date}})
245
-
246
- **Review Outcome:** {{review_outcome}}
247
- **Action Items:** {{unchecked_review_count}} remaining to address
248
- **Priorities:** {{high_count}} High, {{med_count}} Medium, {{low_count}} Low
249
-
250
- **Strategy:** Will prioritize review follow-up tasks (marked [AI-Review]) before continuing with regular tasks.
251
- </output>
252
- </check>
253
-
254
- <check if="Senior Developer Review section does NOT exist">
255
- <action>Set review_continuation = false</action>
256
- <action>Set {{pending_review_items}} = empty</action>
257
-
258
- <output>๐Ÿš€ **Starting Fresh Implementation**
259
-
260
- Story: {{story_key}}
261
- Story Status: {{current_status}}
262
- First incomplete task: {{first_task_description}}
263
- </output>
264
- </check>
265
- </step>
266
-
267
- <step n="4" goal="Mark story in-progress" tag="sprint-status">
268
- <action>If story file YAML frontmatter already contains `baseline_commit`, preserve the existing value and do not overwrite it</action>
269
-
270
- <check if="{{sprint_status}} file exists">
271
- <action>Load the FULL file: {{sprint_status}}</action>
272
- <action>Read all development_status entries to find {{story_key}}</action>
273
- <action>Set {{current_status}} to development_status[{{story_key}}]</action>
274
- </check>
275
-
276
- <check if="{{sprint_status}} file does NOT exist">
277
- <action>Set {{current_status}} to the story file Status section value</action>
278
- </check>
279
-
280
- <check if="{{current_status}} == 'ready-for-dev' AND story file YAML frontmatter does NOT contain baseline_commit">
281
- <action>Run `git rev-parse HEAD` to capture current commit into {{baseline_commit}}; if git/version control is unavailable, set {{baseline_commit}} = `NO_VCS`</action>
282
- <action>If story file YAML frontmatter exists, add `baseline_commit: {{baseline_commit}}` to the frontmatter</action>
283
- <action>If story file has no YAML frontmatter, create frontmatter at the top containing only `baseline_commit: {{baseline_commit}}`</action>
284
- </check>
285
-
286
- <check if="{{sprint_status}} file exists">
287
- <check if="{{current_status}} == 'ready-for-dev' OR (review_continuation == true AND {{current_status}} != 'in-progress')">
288
- <action>Update the story in the sprint status report to = "in-progress"</action>
289
- <action>Update last_updated field to current date</action>
290
- <output>๐Ÿš€ Starting work on story {{story_key}}
291
- Status updated: {{current_status}} โ†’ in-progress
292
- </output>
293
- </check>
294
-
295
- <check if="{{current_status}} == 'in-progress'">
296
- <output>โฏ๏ธ Resuming work on story {{story_key}}
297
- Story is already marked in-progress
298
- </output>
299
- </check>
300
-
301
- <check if="{{current_status}} is neither ready-for-dev nor in-progress">
302
- <output>โš ๏ธ Unexpected story status: {{current_status}}
303
- Expected ready-for-dev or in-progress. Continuing anyway...
304
- </output>
305
- </check>
306
-
307
- <action>Store {{current_sprint_status}} for later use</action>
308
- </check>
309
-
310
- <check if="{{sprint_status}} file does NOT exist">
311
- <output>โ„น๏ธ No sprint status file exists - story progress will be tracked in story file only</output>
312
- <action>Set {{current_sprint_status}} = "no-sprint-tracking"</action>
313
- </check>
314
- </step>
315
-
316
- <step n="5" goal="Implement task following red-green-refactor cycle">
317
- <critical>FOLLOW THE STORY FILE TASKS/SUBTASKS SEQUENCE EXACTLY AS WRITTEN - NO DEVIATION</critical>
318
-
319
- <action>Review the current task/subtask from the story file - this is your authoritative implementation guide</action>
320
- <action>Plan implementation following red-green-refactor cycle</action>
321
-
322
- <!-- RED PHASE -->
323
- <action>Write FAILING tests first for the task/subtask functionality</action>
324
- <action>Confirm tests fail before implementation - this validates test correctness</action>
325
-
326
- <!-- GREEN PHASE -->
327
- <action>Implement MINIMAL code to make tests pass</action>
328
- <action>Run tests to confirm they now pass</action>
329
- <action>Handle error conditions and edge cases as specified in task/subtask</action>
330
-
331
- <!-- REFACTOR PHASE -->
332
- <action>Improve code structure while keeping tests green</action>
333
- <action>Ensure code follows architecture patterns and coding standards from Dev Notes</action>
334
-
335
- <action>Document technical approach and decisions in Dev Agent Record โ†’ Implementation Plan</action>
336
-
337
- <action if="new dependencies required beyond story specifications">HALT: "Additional dependencies need user approval"</action>
338
- <action if="3 consecutive implementation failures occur">HALT and request guidance</action>
339
- <action if="required configuration is missing">HALT: "Cannot proceed without necessary configuration files"</action>
340
-
341
- <critical>NEVER implement anything not mapped to a specific task/subtask in the story file</critical>
342
- <critical>NEVER proceed to next task until current task/subtask is complete AND tests pass</critical>
343
- <critical>Execute continuously without pausing until all tasks/subtasks are complete or explicit HALT condition</critical>
344
- <critical>Do NOT propose to pause for review until Step 9 completion gates are satisfied</critical>
345
- </step>
346
-
347
- <step n="6" goal="Author comprehensive tests">
348
- <action>Create unit tests for business logic and core functionality introduced/changed by the task</action>
349
- <action>Add integration tests for component interactions specified in story requirements</action>
350
- <action>Include end-to-end tests for critical user flows when story requirements demand them</action>
351
- <action>Cover edge cases and error handling scenarios identified in story Dev Notes</action>
352
- </step>
353
-
354
- <step n="7" goal="Run validations and tests">
355
- <action>Determine how to run tests for this repo (infer test framework from project structure)</action>
356
- <action>Run all existing tests to ensure no regressions</action>
357
- <action>Run the new tests to verify implementation correctness</action>
358
- <action>Run linting and code quality checks if configured in project</action>
359
- <action>Validate implementation meets ALL story acceptance criteria; enforce quantitative thresholds explicitly</action>
360
- <action if="regression tests fail">STOP and fix before continuing - identify breaking changes immediately</action>
361
- <action if="new tests fail">STOP and fix before continuing - ensure implementation correctness</action>
362
- </step>
363
-
364
- <step n="8" goal="Validate and mark task complete ONLY when fully done">
365
- <critical>NEVER mark a task complete unless ALL conditions are met - NO LYING OR CHEATING</critical>
366
-
367
- <!-- VALIDATION GATES -->
368
- <action>Verify ALL tests for this task/subtask ACTUALLY EXIST and PASS 100%</action>
369
- <action>Confirm implementation matches EXACTLY what the task/subtask specifies - no extra features</action>
370
- <action>Validate that ALL acceptance criteria related to this task are satisfied</action>
371
- <action>Run full test suite to ensure NO regressions introduced</action>
372
-
373
- <!-- REVIEW FOLLOW-UP HANDLING -->
374
- <check if="task is review follow-up (has [AI-Review] prefix)">
375
- <action>Extract review item details (severity, description, related AC/file)</action>
376
- <action>Add to resolution tracking list: {{resolved_review_items}}</action>
377
-
378
- <!-- Mark task in Review Follow-ups section -->
379
- <action>Mark task checkbox [x] in "Tasks/Subtasks โ†’ Review Follow-ups (AI)" section</action>
380
-
381
- <!-- CRITICAL: Also mark corresponding action item in review section -->
382
- <action>Find matching action item in "Senior Developer Review (AI) โ†’ Action Items" section by matching description</action>
383
- <action>Mark that action item checkbox [x] as resolved</action>
384
-
385
- <action>Add to Dev Agent Record โ†’ Completion Notes: "โœ… Resolved review finding [{{severity}}]: {{description}}"</action>
386
- </check>
387
-
388
- <!-- ONLY MARK COMPLETE IF ALL VALIDATION PASS -->
389
- <check if="ALL validation gates pass AND tests ACTUALLY exist and pass">
390
- <action>ONLY THEN mark the task (and subtasks) checkbox with [x]</action>
391
- <action>Update File List section with ALL new, modified, or deleted files (paths relative to repo root)</action>
392
- <action>Add completion notes to Dev Agent Record summarizing what was ACTUALLY implemented and tested</action>
393
- </check>
394
-
395
- <check if="ANY validation fails">
396
- <action>DO NOT mark task complete - fix issues first</action>
397
- <action>HALT if unable to fix validation failures</action>
398
- </check>
399
-
400
- <check if="review_continuation == true and {{resolved_review_items}} is not empty">
401
- <action>Count total resolved review items in this session</action>
402
- <action>Add Change Log entry: "Addressed code review findings - {{resolved_count}} items resolved (Date: {{date}})"</action>
403
- </check>
404
-
405
- <action>Save the story file</action>
406
- <action>Determine if more incomplete tasks remain</action>
407
- <action if="more tasks remain">
408
- <goto step="5">Next task</goto>
409
- </action>
410
- <action if="no tasks remain">
411
- <goto step="9">Completion</goto>
412
- </action>
413
- </step>
414
-
415
- <step n="9" goal="Story completion and mark for review" tag="sprint-status">
416
- <action>Verify ALL tasks and subtasks are marked [x] (re-scan the story document now)</action>
417
- <action>Run the full regression suite (do not skip)</action>
418
- <action>Confirm File List includes every changed file</action>
419
- <action>Execute enhanced definition-of-done validation</action>
420
- <action>Update the story Status to: "review"</action>
421
-
422
- <!-- Enhanced Definition of Done Validation -->
423
- <action>Validate definition-of-done checklist with essential requirements:
424
- - All tasks/subtasks marked complete with [x]
425
- - Implementation satisfies every Acceptance Criterion
426
- - Unit tests for core functionality added/updated
427
- - Integration tests for component interactions added when required
428
- - End-to-end tests for critical flows added when story demands them
429
- - All tests pass (no regressions, new tests successful)
430
- - Code quality checks pass (linting, static analysis if configured)
431
- - File List includes every new/modified/deleted file (relative paths)
432
- - Dev Agent Record contains implementation notes
433
- - Change Log includes summary of changes
434
- - Only permitted story sections were modified
435
- </action>
436
-
437
- <!-- Mark story ready for review - sprint status conditional -->
438
- <check if="{sprint_status} file exists AND {{current_sprint_status}} != 'no-sprint-tracking'">
439
- <action>Load the FULL file: {sprint_status}</action>
440
- <action>Find development_status key matching {{story_key}}</action>
441
- <action>Verify current status is "in-progress" (expected previous state)</action>
442
- <action>Update development_status[{{story_key}}] = "review"</action>
443
- <action>Update last_updated field to current date</action>
444
- <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
445
- <output>โœ… Story status updated to "review" in sprint-status.yaml</output>
446
- </check>
447
-
448
- <check if="{sprint_status} file does NOT exist OR {{current_sprint_status}} == 'no-sprint-tracking'">
449
- <output>โ„น๏ธ Story status updated to "review" in story file (no sprint tracking configured)</output>
450
- </check>
451
-
452
- <check if="story key not found in sprint status">
453
- <output>โš ๏ธ Story file updated, but sprint-status update failed: {{story_key}} not found
454
-
455
- Story status is set to "review" in file, but sprint-status.yaml may be out of sync.
456
- </output>
457
- </check>
458
-
459
- <!-- Final validation gates -->
460
- <action if="any task is incomplete">HALT - Complete remaining tasks before marking ready for review</action>
461
- <action if="regression failures exist">HALT - Fix regression issues before completing</action>
462
- <action if="File List is incomplete">HALT - Update File List with all changed files</action>
463
- <action if="definition-of-done validation fails">HALT - Address DoD failures before completing</action>
464
- </step>
465
-
466
- <step n="10" goal="Completion communication and user support">
467
- <action>Execute the enhanced definition-of-done checklist using the validation framework</action>
468
- <action>Prepare a concise summary in Dev Agent Record โ†’ Completion Notes</action>
469
-
470
- <action>Communicate to {user_name} that story implementation is complete and ready for review</action>
471
- <action>Summarize key accomplishments: story ID, story key, title, key changes made, tests added, files modified</action>
472
- <action>Provide the story file path and current status (now "review")</action>
473
-
474
- <action>Based on {user_skill_level}, ask if user needs any explanations about:
475
- - What was implemented and how it works
476
- - Why certain technical decisions were made
477
- - How to test or verify the changes
478
- - Any patterns, libraries, or approaches used
479
- - Anything else they'd like clarified
480
- </action>
481
-
482
- <check if="user asks for explanations">
483
- <action>Provide clear, contextual explanations tailored to {user_skill_level}</action>
484
- <action>Use examples and references to specific code when helpful</action>
485
- </check>
486
-
487
- <action>Once explanations are complete (or user indicates no questions), suggest logical next steps</action>
488
- <action>Recommended next steps (flexible based on project setup):
489
- - Review the implemented story and test the changes
490
- - Verify all acceptance criteria are met
491
- - Ensure deployment readiness if applicable
492
- - Run `code-review` workflow for peer review
493
- - Optional: If Test Architect module installed, run `/bmad:tea:automate` to expand guardrail tests
494
- </action>
495
-
496
- <output>๐Ÿ’ก **Tip:** For best results, run `code-review` using a **different** LLM than the one that implemented this story.</output>
497
- <check if="{sprint_status} file exists">
498
- <action>Suggest checking {sprint_status} to see project progress</action>
499
- </check>
500
- <action>Remain flexible - allow user to choose their own path or ask for other assistance</action>
501
- <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>
502
- </step>
503
-
504
- </workflow>
@@ -1,80 +0,0 @@
1
- ---
2
- title: 'Enhanced Dev Story Definition of Done Checklist'
3
- validation-target: 'Story markdown ({{story_path}})'
4
- validation-criticality: 'HIGHEST'
5
- required-inputs:
6
- - 'Story markdown file with enhanced Dev Notes containing comprehensive implementation context'
7
- - 'Completed Tasks/Subtasks section with all items marked [x]'
8
- - 'Updated File List section with all changed files'
9
- - 'Updated Dev Agent Record with implementation notes'
10
- optional-inputs:
11
- - 'Test results output'
12
- - 'CI logs'
13
- - 'Linting reports'
14
- validation-rules:
15
- - 'Only permitted story sections modified: Tasks/Subtasks checkboxes, Dev Agent Record, File List, Change Log, Status'
16
- - 'All implementation requirements from story Dev Notes must be satisfied'
17
- - 'Definition of Done checklist must pass completely'
18
- - 'Enhanced story context must contain sufficient technical guidance'
19
- ---
20
-
21
- # ๐ŸŽฏ Enhanced Definition of Done Checklist
22
-
23
- **Critical validation:** Story is truly ready for review only when ALL items below are satisfied
24
-
25
- ## ๐Ÿ“‹ Context & Requirements Validation
26
-
27
- - [ ] **Story Context Completeness:** Dev Notes contains ALL necessary technical requirements, architecture patterns, and implementation guidance
28
- - [ ] **Architecture Compliance:** Implementation follows all architectural requirements specified in Dev Notes
29
- - [ ] **Technical Specifications:** All technical specifications (libraries, frameworks, versions) from Dev Notes are implemented correctly
30
- - [ ] **Previous Story Learnings:** Previous story insights incorporated (if applicable) and build upon appropriately
31
-
32
- ## โœ… Implementation Completion
33
-
34
- - [ ] **All Tasks Complete:** Every task and subtask marked complete with [x]
35
- - [ ] **Acceptance Criteria Satisfaction:** Implementation satisfies EVERY Acceptance Criterion in the story
36
- - [ ] **No Ambiguous Implementation:** Clear, unambiguous implementation that meets story requirements
37
- - [ ] **Edge Cases Handled:** Error conditions and edge cases appropriately addressed
38
- - [ ] **Dependencies Within Scope:** Only uses dependencies specified in story or project-context.md
39
-
40
- ## ๐Ÿงช Testing & Quality Assurance
41
-
42
- - [ ] **Unit Tests:** Unit tests added/updated for ALL core functionality introduced/changed by this story
43
- - [ ] **Integration Tests:** Integration tests added/updated for component interactions when story requirements demand them
44
- - [ ] **End-to-End Tests:** End-to-end tests created for critical user flows when story requirements specify them
45
- - [ ] **Test Coverage:** Tests cover acceptance criteria and edge cases from story Dev Notes
46
- - [ ] **Regression Prevention:** ALL existing tests pass (no regressions introduced)
47
- - [ ] **Code Quality:** Linting and static checks pass when configured in project
48
- - [ ] **Test Framework Compliance:** Tests use project's testing frameworks and patterns from Dev Notes
49
-
50
- ## ๐Ÿ“ Documentation & Tracking
51
-
52
- - [ ] **File List Complete:** File List includes EVERY new, modified, or deleted file (paths relative to repo root)
53
- - [ ] **Dev Agent Record Updated:** Contains relevant Implementation Notes and/or Debug Log for this work
54
- - [ ] **Change Log Updated:** Change Log includes clear summary of what changed and why
55
- - [ ] **Review Follow-ups:** All review follow-up tasks (marked [AI-Review]) completed and corresponding review items marked resolved (if applicable)
56
- - [ ] **Story Structure Compliance:** Only permitted sections of story file were modified
57
-
58
- ## ๐Ÿ”š Final Status Verification
59
-
60
- - [ ] **Story Status Updated:** Story Status set to "review"
61
- - [ ] **Sprint Status Updated:** Sprint status updated to "review" (when sprint tracking is used)
62
- - [ ] **Quality Gates Passed:** All quality checks and validations completed successfully
63
- - [ ] **No HALT Conditions:** No blocking issues or incomplete work remaining
64
- - [ ] **User Communication Ready:** Implementation summary prepared for user review
65
-
66
- ## ๐ŸŽฏ Final Validation Output
67
-
68
- ```
69
- Definition of Done: {{PASS/FAIL}}
70
-
71
- โœ… **Story Ready for Review:** {{story_key}}
72
- ๐Ÿ“Š **Completion Score:** {{completed_items}}/{{total_items}} items passed
73
- ๐Ÿ” **Quality Gates:** {{quality_gates_status}}
74
- ๐Ÿ“‹ **Test Results:** {{test_results_summary}}
75
- ๐Ÿ“ **Documentation:** {{documentation_status}}
76
- ```
77
-
78
- **If FAIL:** List specific failures and required actions before story can be marked Ready for Review
79
-
80
- **If PASS:** Story is fully ready for code review and production consideration
@@ -1,39 +0,0 @@
1
- # DO NOT EDIT -- overwritten on every update.
2
- #
3
- # Workflow customization surface for bmad-dev-story. 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 stories must include testable acceptance criteria."
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 its final step,
36
- # after the story implementation is complete and status is updated. Override wins.
37
- # Leave empty for no custom post-completion behavior.
38
-
39
- on_complete = ""
@@ -1,16 +0,0 @@
1
- ---
2
- name: bmad-document-project
3
- description: 'Deprecated โ€” forwards to bmad-project-context. Use when the user says "document this project" or "generate project docs"'
4
- metadata:
5
- lifecycle: shim
6
- ---
7
-
8
- # DEPRECATED โ€” forwards to bmad-project-context
9
-
10
- Tell the user two things.
11
-
12
- First: this skill is deprecated. Generating documentation volume about a codebase made agents worse, not better โ€” agents read code more accurately than prose describing code, and the generated set was stale on arrival. `bmad-project-context` owns what remains useful: a small verified block in the repo's `AGENTS.md` carrying what the code cannot say โ€” required policy, conventions that differ from defaults, what running the project takes that no config file states, and known pitfalls.
13
-
14
- Second, so they are not surprised by what they get: the deeper "explain this system, its rationale and its history" material is a different altitude and is not part of that block. It is coming as its own capability. If that is what they were after, say so plainly rather than producing a thin substitute.
15
-
16
- Then invoke `bmad-project-context` with **setup** intent, forwarding the user's original request and any paths or documents they supplied, verbatim. It takes the workflow from here.
@@ -1,16 +0,0 @@
1
- ---
2
- name: bmad-domain-research
3
- description: 'Deprecated โ€” forwards to bmad-deep-recon (domain type)'
4
- metadata:
5
- lifecycle: shim
6
- ---
7
-
8
- # DEPRECATED โ€” forwards to bmad-deep-recon (domain type)
9
-
10
- This skill was consolidated into `bmad-deep-recon`. It is retained as a thin compatibility shim so existing invocations by name and `_bmad/custom/bmad-domain-research.toml` override files keep working. New work should invoke `bmad-deep-recon` directly โ€” it drafts deep-research prompts for outside tools, processes finished reports into downstream-ready summaries, and runs research directly, across market, domain, technical, competitive, user-voice, and academic-lit types (plus a select shape for choose-between decisions and custom types).
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-domain-research.toml` and `bmad-domain-research.user.toml` overrides for the legacy fields (`activation_steps_prepend`, `activation_steps_append`, `persistent_facts`, `on_complete`).
15
- 2. Emit a deprecation notice to the user (in their configured communication language): `bmad-domain-research` is deprecated and forwards to `bmad-deep-recon` with the domain type. To silence this notice and access the full new surface (draft/process/run modes, research types, verification levels, HTML briefing, handoffs), migrate `_bmad/custom/bmad-domain-research.toml` to `_bmad/custom/bmad-deep-recon.toml` and invoke `bmad-deep-recon` directly.
16
- 3. Invoke `bmad-deep-recon` with: **research type** `domain` (skip its type inference), the four legacy fields above as pre-resolved values, and the user's original input verbatim. `bmad-deep-recon` takes the workflow from here โ€” do not execute any further steps in this shim.