bmad-method 6.10.1-next.9 → 6.11.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 (349) hide show
  1. package/.claude-plugin/marketplace.json +30 -57
  2. package/README.md +49 -82
  3. package/README_CN.md +10 -10
  4. package/README_VN.md +11 -11
  5. package/bmad-modules.yaml +43 -39
  6. package/package.json +7 -3
  7. package/removals.txt +17 -0
  8. package/src/bmm-skills/{1-analysis → agents}/bmad-agent-analyst/SKILL.md +1 -1
  9. package/src/bmm-skills/{1-analysis → agents}/bmad-agent-analyst/customize.toml +22 -7
  10. package/src/bmm-skills/{3-solutioning → agents}/bmad-agent-architect/SKILL.md +1 -1
  11. package/src/bmm-skills/{3-solutioning → agents}/bmad-agent-architect/customize.toml +2 -2
  12. package/src/bmm-skills/{4-implementation → agents}/bmad-agent-dev/SKILL.md +1 -1
  13. package/src/bmm-skills/{4-implementation → agents}/bmad-agent-dev/customize.toml +7 -14
  14. package/src/bmm-skills/{2-plan-workflows → agents}/bmad-agent-pm/SKILL.md +1 -1
  15. package/src/bmm-skills/{2-plan-workflows → agents}/bmad-agent-pm/customize.toml +2 -2
  16. package/src/bmm-skills/{2-plan-workflows → agents}/bmad-agent-ux-designer/SKILL.md +1 -1
  17. package/src/bmm-skills/module-help.csv +14 -26
  18. package/src/bmm-skills/module.yaml +5 -15
  19. package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/SKILL.md +3 -3
  20. package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/customize.toml +4 -2
  21. package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/SKILL.md +1 -1
  22. package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/steps/step-04-final-validation.md +1 -1
  23. package/src/bmm-skills/plan/bmad-generate-project-context/SKILL.md +10 -0
  24. package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/SKILL.md +3 -1
  25. package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/assets/prd-template.md +1 -1
  26. package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/customize.toml +5 -3
  27. package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/references/validate.md +3 -3
  28. package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/SKILL.md +1 -1
  29. package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/bmad-manifest.json +1 -1
  30. package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/references/verdict.md +1 -1
  31. package/src/bmm-skills/{1-analysis → plan}/bmad-product-brief/SKILL.md +1 -1
  32. package/src/bmm-skills/{1-analysis → plan}/bmad-product-brief/customize.toml +5 -3
  33. package/src/bmm-skills/plan/bmad-project-context/SKILL.md +110 -0
  34. package/src/bmm-skills/plan/bmad-project-context/customize.toml +24 -0
  35. package/src/bmm-skills/plan/bmad-project-context/references/best-practices.md +65 -0
  36. package/src/bmm-skills/plan/bmad-project-context/references/template.md +55 -0
  37. package/src/{core-skills → bmm-skills/plan}/bmad-spec/SKILL.md +1 -1
  38. package/src/{core-skills → bmm-skills/plan}/bmad-spec/assets/spec-template.md +1 -1
  39. package/src/{core-skills → bmm-skills/plan}/bmad-spec/customize.toml +3 -4
  40. package/src/bmm-skills/plan/bmad-sprint-planning/SKILL.md +62 -0
  41. package/src/bmm-skills/plan/bmad-sprint-planning/references/fix-sprint-status.md +30 -0
  42. package/src/bmm-skills/plan/bmad-sprint-planning/references/generate-tracking.md +25 -0
  43. package/src/bmm-skills/plan/bmad-sprint-planning/references/readiness-gate.md +20 -0
  44. package/src/bmm-skills/plan/bmad-sprint-planning/references/status-view.md +14 -0
  45. package/src/bmm-skills/plan/bmad-sprint-planning/references/validate.md +10 -0
  46. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/__pycache__/sprint_plan.cpython-311.pyc +0 -0
  47. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/sprint_plan.py +697 -0
  48. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/__pycache__/test_sprint_plan.cpython-311-pytest-9.1.1.pyc +0 -0
  49. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/test_sprint_plan.py +524 -0
  50. package/src/bmm-skills/{4-implementation → plan}/bmad-sprint-planning/sprint-status-template.yaml +9 -7
  51. package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/SKILL.md +1 -1
  52. package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/color-themes.md +1 -1
  53. package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/customize.toml +4 -2
  54. package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/references/creative-tools.md +1 -1
  55. package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/references/validate.md +1 -1
  56. package/src/bmm-skills/ship/bmad-build/SKILL.md +13 -0
  57. package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/compile-epic-context.md +1 -1
  58. package/src/bmm-skills/ship/bmad-build/customize.toml +164 -0
  59. package/src/bmm-skills/ship/bmad-build/references/deletion-check.md +14 -0
  60. package/src/bmm-skills/ship/bmad-build/review-prompts/edge-case-hunter.md +88 -0
  61. package/src/bmm-skills/ship/bmad-build/review-prompts/verification-gap.md +113 -0
  62. package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/step-01-clarify-and-route.md +20 -19
  63. package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/step-02-plan.md +5 -9
  64. package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/step-03-implement.md +10 -6
  65. package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/step-04-review.md +9 -15
  66. package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/step-05-present.md +10 -13
  67. package/src/bmm-skills/ship/bmad-build/step-oneshot.md +77 -0
  68. package/src/bmm-skills/ship/bmad-build/sync-sprint-status.md +19 -0
  69. package/src/bmm-skills/ship/bmad-build/workflow.md +84 -0
  70. package/src/bmm-skills/ship/bmad-build-auto/SKILL.md +13 -0
  71. package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/compile-epic-context.md +1 -1
  72. package/src/bmm-skills/ship/bmad-build-auto/customize.toml +121 -0
  73. package/src/{core-skills/bmad-review-edge-case-hunter/SKILL.md → bmm-skills/ship/bmad-build-auto/review-prompts/edge-case-hunter.md} +21 -6
  74. package/src/{core-skills/bmad-review-verification-gap/SKILL.md → bmm-skills/ship/bmad-build-auto/review-prompts/verification-gap.md} +15 -8
  75. package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/spec-template.md +2 -1
  76. package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/step-01-clarify-and-route.md +16 -17
  77. package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/step-02-plan.md +5 -9
  78. package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/step-03-implement.md +6 -4
  79. package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/step-04-review.md +26 -25
  80. package/src/bmm-skills/{4-implementation/bmad-dev-auto/SKILL.md → ship/bmad-build-auto/workflow.md} +27 -46
  81. package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/SKILL.md +1 -1
  82. package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/step-05-wrapup.md +1 -1
  83. package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/SKILL.md +1 -1
  84. package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/customize.toml +37 -17
  85. package/src/bmm-skills/ship/bmad-code-review/references/deletion-check.md +14 -0
  86. package/src/bmm-skills/ship/bmad-code-review/review-prompts/edge-case-hunter.md +88 -0
  87. package/src/bmm-skills/ship/bmad-code-review/review-prompts/verification-gap.md +113 -0
  88. package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/steps/step-01-gather-context.md +7 -4
  89. package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/steps/step-02-review.md +1 -1
  90. package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/steps/step-04-present.md +1 -1
  91. package/src/bmm-skills/{4-implementation → ship}/bmad-correct-course/SKILL.md +7 -8
  92. package/src/bmm-skills/{4-implementation → ship}/bmad-qa-generate-e2e-tests/SKILL.md +2 -2
  93. package/src/bmm-skills/ship/bmad-retrospective/SKILL.md +94 -0
  94. package/src/bmm-skills/{4-implementation → ship}/bmad-retrospective/customize.toml +2 -2
  95. package/src/bmm-skills/ship/bmad-retrospective/references/acceptance-verdict.md +55 -0
  96. package/src/bmm-skills/ship/bmad-retrospective/references/aggregate-views.md +17 -0
  97. package/src/bmm-skills/ship/bmad-retrospective/references/evidence-gathering.md +30 -0
  98. package/src/bmm-skills/ship/bmad-retrospective/references/retro-document.md +84 -0
  99. package/src/bmm-skills/ship/bmad-retrospective/references/team-discussion.md +22 -0
  100. package/src/bmm-skills/ship/bmad-retrospective/scripts/__pycache__/sprint_status.cpython-311.pyc +0 -0
  101. package/src/bmm-skills/ship/bmad-retrospective/scripts/git_evidence.py +304 -0
  102. package/src/bmm-skills/ship/bmad-retrospective/scripts/sprint_status.py +746 -0
  103. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_git_evidence.cpython-311-pytest-9.1.1.pyc +0 -0
  104. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_sprint_status.cpython-311-pytest-9.1.1.pyc +0 -0
  105. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/fixtures/sprint-status-template.yaml +71 -0
  106. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_git_evidence.py +750 -0
  107. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_sprint_status.py +1579 -0
  108. package/src/bmm-skills/v6-shims/README.md +28 -0
  109. package/src/bmm-skills/{3-solutioning → v6-shims}/bmad-create-architecture/SKILL.md +2 -2
  110. package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-create-prd/SKILL.md +4 -4
  111. package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/SKILL.md +5 -3
  112. package/src/bmm-skills/v6-shims/bmad-dev-auto/SKILL.md +19 -0
  113. package/src/bmm-skills/{4-implementation → v6-shims}/bmad-dev-story/SKILL.md +5 -3
  114. package/src/bmm-skills/{4-implementation → v6-shims}/bmad-dev-story/customize.toml +3 -0
  115. package/src/bmm-skills/v6-shims/bmad-document-project/SKILL.md +14 -0
  116. package/src/bmm-skills/v6-shims/bmad-domain-research/SKILL.md +14 -0
  117. package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-edit-prd/SKILL.md +4 -4
  118. package/src/bmm-skills/v6-shims/bmad-market-research/SKILL.md +14 -0
  119. package/src/bmm-skills/v6-shims/bmad-quick-dev/SKILL.md +19 -0
  120. package/src/bmm-skills/v6-shims/bmad-sprint-status/SKILL.md +26 -0
  121. package/src/bmm-skills/v6-shims/bmad-technical-research/SKILL.md +14 -0
  122. package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-validate-prd/SKILL.md +4 -4
  123. package/src/core-skills/bmad-advanced-elicitation/SKILL.md +26 -103
  124. package/src/core-skills/bmad-advanced-elicitation/customize.toml +54 -0
  125. package/src/core-skills/bmad-advanced-elicitation/scripts/pick_methods.py +233 -0
  126. package/src/core-skills/bmad-advanced-elicitation/scripts/tests/test_pick_methods.py +228 -0
  127. package/src/core-skills/bmad-brainstorming/SKILL.md +3 -3
  128. package/src/core-skills/bmad-brainstorming/assets/brain-selector.html +2 -0
  129. package/src/core-skills/bmad-brainstorming/references/mode-autonomous.md +1 -1
  130. package/src/core-skills/bmad-brainstorming/scripts/brain.py +36 -6
  131. package/src/core-skills/bmad-brainstorming/scripts/tests/test_brain.py +22 -0
  132. package/src/core-skills/bmad-customize/SKILL.md +2 -2
  133. package/src/core-skills/bmad-deep-recon/SKILL.md +82 -0
  134. package/src/core-skills/bmad-deep-recon/assets/research.template.md +18 -0
  135. package/src/core-skills/bmad-deep-recon/customize.toml +212 -0
  136. package/src/core-skills/bmad-deep-recon/references/draft.md +8 -0
  137. package/src/core-skills/bmad-deep-recon/references/finalize.md +11 -0
  138. package/src/core-skills/bmad-deep-recon/references/html-briefing.md +16 -0
  139. package/src/core-skills/bmad-deep-recon/references/lifecycle.md +11 -0
  140. package/src/core-skills/bmad-deep-recon/references/process.md +10 -0
  141. package/src/core-skills/bmad-deep-recon/references/run.md +73 -0
  142. package/src/core-skills/bmad-deep-recon/references/selection.md +13 -0
  143. package/src/core-skills/bmad-deep-recon/references/synthesis.md +16 -0
  144. package/src/core-skills/bmad-deep-recon/references/verification.md +29 -0
  145. package/src/core-skills/bmad-deep-recon/scripts/recon_kit.py +322 -0
  146. package/src/core-skills/bmad-deep-recon/scripts/tests/test_recon_kit.py +144 -0
  147. package/src/core-skills/bmad-deep-recon/types/academic-lit.md +19 -0
  148. package/src/core-skills/bmad-deep-recon/types/competitive.md +19 -0
  149. package/src/core-skills/bmad-deep-recon/types/domain.md +19 -0
  150. package/src/core-skills/bmad-deep-recon/types/market.md +19 -0
  151. package/src/core-skills/bmad-deep-recon/types/technical.md +19 -0
  152. package/src/core-skills/bmad-deep-recon/types/user-voice.md +19 -0
  153. package/src/core-skills/bmad-forge-idea/SKILL.md +2 -2
  154. package/src/core-skills/bmad-forge-idea/scripts/resolve_personas.py +7 -2
  155. package/src/core-skills/bmad-help/SKILL.md +3 -3
  156. package/src/core-skills/bmad-party-mode/SKILL.md +2 -2
  157. package/src/core-skills/bmad-party-mode/customize.toml +1 -1
  158. package/src/core-skills/bmad-party-mode/scripts/resolve_party.py +14 -4
  159. package/src/core-skills/bmad-review/SKILL.md +49 -0
  160. package/src/core-skills/bmad-review/customize.toml +141 -0
  161. package/src/core-skills/bmad-review/references/editorial-common.md +56 -0
  162. package/src/core-skills/bmad-review/references/lens-adversarial.md +19 -0
  163. package/src/core-skills/bmad-review/references/lens-edge-case-hunter.md +54 -0
  164. package/src/core-skills/bmad-review/references/lens-prose.md +7 -0
  165. package/src/core-skills/bmad-review/references/lens-structure.md +9 -0
  166. package/src/core-skills/bmad-review/references/lens-verification-gap.md +92 -0
  167. package/src/core-skills/bmad-review/references/structure-models.md +44 -0
  168. package/src/core-skills/bmad-review/scripts/tests/test_word_metrics.py +62 -0
  169. package/src/core-skills/bmad-review/scripts/word_metrics.py +102 -0
  170. package/src/core-skills/module-help.csv +4 -8
  171. package/src/core-skills/module.yaml +5 -0
  172. package/src/core-skills/v6-shims/README.md +25 -0
  173. package/src/core-skills/v6-shims/bmad-editorial-review/SKILL.md +6 -0
  174. package/src/core-skills/v6-shims/bmad-editorial-review/customize.toml +31 -0
  175. package/src/core-skills/v6-shims/bmad-editorial-review-prose/SKILL.md +6 -0
  176. package/src/core-skills/v6-shims/bmad-editorial-review-structure/SKILL.md +6 -0
  177. package/src/core-skills/v6-shims/bmad-review-adversarial-general/SKILL.md +6 -0
  178. package/src/core-skills/v6-shims/bmad-review-edge-case-hunter/SKILL.md +6 -0
  179. package/src/core-skills/v6-shims/bmad-review-verification-gap/SKILL.md +6 -0
  180. package/src/scripts/__pycache__/config_utils.cpython-311.pyc +0 -0
  181. package/src/scripts/config_utils.py +119 -0
  182. package/src/scripts/render_skill.py +401 -0
  183. package/src/scripts/resolve_config.py +32 -136
  184. package/src/scripts/resolve_customization.py +43 -184
  185. package/src/scripts/tests/__pycache__/test_config_utils.cpython-311.pyc +0 -0
  186. package/src/scripts/tests/__pycache__/test_resolve_config.cpython-311.pyc +0 -0
  187. package/src/scripts/tests/__pycache__/test_resolve_customization.cpython-311.pyc +0 -0
  188. package/src/scripts/tests/test_config_utils.py +85 -0
  189. package/src/scripts/tests/test_resolve_config.py +89 -0
  190. package/src/scripts/tests/test_resolve_customization.py +27 -0
  191. package/tools/installer/cli-utils.js +6 -2
  192. package/tools/installer/core/installer.js +31 -9
  193. package/tools/installer/core/manifest-generator.js +1 -1
  194. package/tools/installer/core/uv-check.js +122 -24
  195. package/tools/installer/ide/_config-driven.js +1 -1
  196. package/tools/installer/ide/platform-codes.yaml +7 -0
  197. package/tools/installer/ide/shared/path-utils.js +2 -2
  198. package/tools/installer/install-messages.yaml +3 -2
  199. package/tools/installer/modules/custom-module-manager.js +12 -6
  200. package/tools/installer/modules/external-manager.js +12 -8
  201. package/tools/installer/modules/git-env.js +47 -0
  202. package/tools/installer/modules/official-modules.js +1 -1
  203. package/tools/installer/prompts.js +41 -102
  204. package/tools/installer/ui.js +99 -22
  205. package/tools/skill-validator.md +11 -1
  206. package/tools/validate-published-implementation-model.mjs +68 -0
  207. package/tools/validate-skills.js +33 -0
  208. package/web-bundles/prd-coach/prd-template.md +1 -1
  209. package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/SKILL.md +0 -76
  210. package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/customize.toml +0 -81
  211. package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/explain-concept.md +0 -20
  212. package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/mermaid-gen.md +0 -20
  213. package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/validate-doc.md +0 -19
  214. package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/write-document.md +0 -20
  215. package/src/bmm-skills/1-analysis/bmad-document-project/SKILL.md +0 -62
  216. package/src/bmm-skills/1-analysis/bmad-document-project/checklist.md +0 -245
  217. package/src/bmm-skills/1-analysis/bmad-document-project/customize.toml +0 -41
  218. package/src/bmm-skills/1-analysis/bmad-document-project/documentation-requirements.csv +0 -12
  219. package/src/bmm-skills/1-analysis/bmad-document-project/instructions.md +0 -128
  220. package/src/bmm-skills/1-analysis/bmad-document-project/templates/deep-dive-template.md +0 -345
  221. package/src/bmm-skills/1-analysis/bmad-document-project/templates/index-template.md +0 -169
  222. package/src/bmm-skills/1-analysis/bmad-document-project/templates/project-overview-template.md +0 -103
  223. package/src/bmm-skills/1-analysis/bmad-document-project/templates/project-scan-report-schema.json +0 -160
  224. package/src/bmm-skills/1-analysis/bmad-document-project/templates/source-tree-template.md +0 -135
  225. package/src/bmm-skills/1-analysis/bmad-document-project/workflows/deep-dive-instructions.md +0 -300
  226. package/src/bmm-skills/1-analysis/bmad-document-project/workflows/deep-dive-workflow.md +0 -34
  227. package/src/bmm-skills/1-analysis/bmad-document-project/workflows/full-scan-instructions.md +0 -1108
  228. package/src/bmm-skills/1-analysis/bmad-document-project/workflows/full-scan-workflow.md +0 -34
  229. package/src/bmm-skills/1-analysis/research/bmad-domain-research/SKILL.md +0 -96
  230. package/src/bmm-skills/1-analysis/research/bmad-domain-research/customize.toml +0 -41
  231. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-01-init.md +0 -137
  232. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-02-domain-analysis.md +0 -229
  233. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-03-competitive-landscape.md +0 -238
  234. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-04-regulatory-focus.md +0 -206
  235. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-05-technical-trends.md +0 -234
  236. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-06-research-synthesis.md +0 -450
  237. package/src/bmm-skills/1-analysis/research/bmad-domain-research/research.template.md +0 -29
  238. package/src/bmm-skills/1-analysis/research/bmad-market-research/SKILL.md +0 -96
  239. package/src/bmm-skills/1-analysis/research/bmad-market-research/customize.toml +0 -41
  240. package/src/bmm-skills/1-analysis/research/bmad-market-research/research.template.md +0 -29
  241. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-01-init.md +0 -184
  242. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-02-customer-behavior.md +0 -239
  243. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-03-customer-pain-points.md +0 -251
  244. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-04-customer-decisions.md +0 -261
  245. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-05-competitive-analysis.md +0 -173
  246. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +0 -484
  247. package/src/bmm-skills/1-analysis/research/bmad-technical-research/SKILL.md +0 -96
  248. package/src/bmm-skills/1-analysis/research/bmad-technical-research/customize.toml +0 -41
  249. package/src/bmm-skills/1-analysis/research/bmad-technical-research/research.template.md +0 -29
  250. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-01-init.md +0 -137
  251. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-02-technical-overview.md +0 -239
  252. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-03-integration-patterns.md +0 -248
  253. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +0 -202
  254. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-05-implementation-research.md +0 -233
  255. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-06-research-synthesis.md +0 -493
  256. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/SKILL.md +0 -91
  257. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/customize.toml +0 -41
  258. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +0 -179
  259. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +0 -168
  260. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -169
  261. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-04-ux-alignment.md +0 -129
  262. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -241
  263. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +0 -132
  264. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/templates/readiness-report-template.md +0 -4
  265. package/src/bmm-skills/3-solutioning/bmad-generate-project-context/SKILL.md +0 -81
  266. package/src/bmm-skills/3-solutioning/bmad-generate-project-context/customize.toml +0 -41
  267. package/src/bmm-skills/3-solutioning/bmad-generate-project-context/project-context-template.md +0 -21
  268. package/src/bmm-skills/3-solutioning/bmad-generate-project-context/steps/step-01-discover.md +0 -186
  269. package/src/bmm-skills/3-solutioning/bmad-generate-project-context/steps/step-02-generate.md +0 -321
  270. package/src/bmm-skills/3-solutioning/bmad-generate-project-context/steps/step-03-complete.md +0 -284
  271. package/src/bmm-skills/4-implementation/bmad-dev-auto/customize.toml +0 -108
  272. package/src/bmm-skills/4-implementation/bmad-quick-dev/SKILL.md +0 -115
  273. package/src/bmm-skills/4-implementation/bmad-quick-dev/customize.toml +0 -83
  274. package/src/bmm-skills/4-implementation/bmad-quick-dev/step-oneshot.md +0 -82
  275. package/src/bmm-skills/4-implementation/bmad-quick-dev/sync-sprint-status.md +0 -19
  276. package/src/bmm-skills/4-implementation/bmad-retrospective/SKILL.md +0 -1527
  277. package/src/bmm-skills/4-implementation/bmad-sprint-planning/SKILL.md +0 -319
  278. package/src/bmm-skills/4-implementation/bmad-sprint-planning/checklist.md +0 -34
  279. package/src/bmm-skills/4-implementation/bmad-sprint-status/SKILL.md +0 -311
  280. package/src/core-skills/bmad-brainstorming/analysis/catalog-analysis.md +0 -239
  281. package/src/core-skills/bmad-brainstorming/analysis/method-matrix.csv +0 -109
  282. package/src/core-skills/bmad-editorial-review-prose/SKILL.md +0 -86
  283. package/src/core-skills/bmad-editorial-review-structure/SKILL.md +0 -179
  284. package/src/core-skills/bmad-index-docs/SKILL.md +0 -66
  285. package/src/core-skills/bmad-review-adversarial-general/SKILL.md +0 -37
  286. package/src/core-skills/bmad-shard-doc/SKILL.md +0 -105
  287. /package/src/bmm-skills/{2-plan-workflows → agents}/bmad-agent-ux-designer/customize.toml +0 -0
  288. /package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/assets/spine-template.md +0 -0
  289. /package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/references/headless.md +0 -0
  290. /package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/references/reviewer-gate.md +0 -0
  291. /package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/scripts/lint_spine.py +0 -0
  292. /package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/scripts/tests/test_lint_spine.py +0 -0
  293. /package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/customize.toml +0 -0
  294. /package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -0
  295. /package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/steps/step-02-design-epics.md +0 -0
  296. /package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/steps/step-03-create-stories.md +0 -0
  297. /package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/templates/epics-template.md +0 -0
  298. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/assets/headless-schemas.md +0 -0
  299. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/assets/prd-validation-checklist.md +0 -0
  300. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/assets/validation-report-template.html +0 -0
  301. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/references/headless.md +0 -0
  302. /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/agents/artifact-analyzer.md +0 -0
  303. /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/agents/web-researcher.md +0 -0
  304. /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/assets/prfaq-template.md +0 -0
  305. /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/customize.toml +0 -0
  306. /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/references/customer-faq.md +0 -0
  307. /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/references/internal-faq.md +0 -0
  308. /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/references/press-release.md +0 -0
  309. /package/src/bmm-skills/{1-analysis → plan}/bmad-product-brief/assets/brief-template.md +0 -0
  310. /package/src/{core-skills → bmm-skills/plan}/bmad-spec/assets/headless-schemas.md +0 -0
  311. /package/src/{core-skills → bmm-skills/plan}/bmad-spec/assets/stories-schema.md +0 -0
  312. /package/src/bmm-skills/{4-implementation → plan}/bmad-sprint-planning/customize.toml +0 -0
  313. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/design-directions.md +0 -0
  314. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/design-example-editorial.md +0 -0
  315. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/design-example-mobile.md +0 -0
  316. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/design-example-shadcn.md +0 -0
  317. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/excalidraw-wireframe.md +0 -0
  318. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/experience-example-mobile.md +0 -0
  319. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/experience-example-shadcn.md +0 -0
  320. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/headless-schemas.md +0 -0
  321. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/key-screens.md +0 -0
  322. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/validation-report-template.html +0 -0
  323. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/references/design-md-spec.md +0 -0
  324. /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/references/headless.md +0 -0
  325. /package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/spec-template.md +0 -0
  326. /package/src/{core-skills/bmad-review-edge-case-hunter → bmm-skills/ship/bmad-build-auto}/references/deletion-check.md +0 -0
  327. /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/customize.toml +0 -0
  328. /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/generate-trail.md +0 -0
  329. /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/step-01-orientation.md +0 -0
  330. /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/step-02-walkthrough.md +0 -0
  331. /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/step-03-detail-pass.md +0 -0
  332. /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/step-04-testing.md +0 -0
  333. /package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/steps/step-03-triage.md +0 -0
  334. /package/src/bmm-skills/{4-implementation → ship}/bmad-correct-course/checklist.md +0 -0
  335. /package/src/bmm-skills/{4-implementation → ship}/bmad-correct-course/customize.toml +0 -0
  336. /package/src/bmm-skills/{4-implementation → ship}/bmad-qa-generate-e2e-tests/checklist.md +0 -0
  337. /package/src/bmm-skills/{4-implementation → ship}/bmad-qa-generate-e2e-tests/customize.toml +0 -0
  338. /package/src/bmm-skills/{3-solutioning → v6-shims}/bmad-create-architecture/customize.toml +0 -0
  339. /package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-create-prd/customize.toml +0 -0
  340. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/checklist.md +0 -0
  341. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/customize.toml +0 -0
  342. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/discover-inputs.md +0 -0
  343. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/template.md +0 -0
  344. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-dev-story/checklist.md +0 -0
  345. /package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-edit-prd/customize.toml +0 -0
  346. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-sprint-status/customize.toml +0 -0
  347. /package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-validate-prd/customize.toml +0 -0
  348. /package/src/core-skills/bmad-advanced-elicitation/{methods.csv → assets/methods.csv} +0 -0
  349. /package/src/core-skills/bmad-party-mode/scripts/tests/{test-resolve_party.py → test_resolve_party.py} +0 -0
@@ -0,0 +1,24 @@
1
+ # DO NOT EDIT -- overwritten on every update.
2
+ #
3
+ # Workflow customization surface for bmad-project-context.
4
+ # Team overrides: {project-root}/_bmad/custom/bmad-project-context.toml
5
+ # Personal overrides: {project-root}/_bmad/custom/bmad-project-context.user.toml
6
+ #
7
+ # Merge rules: scalars override (last layer wins); arrays append.
8
+
9
+ [workflow]
10
+
11
+ # --- Universal defaults ---
12
+ activation_steps_prepend = []
13
+ activation_steps_append = []
14
+ # Deliberately empty: this skill's own output (AGENTS.md) is loaded by the
15
+ # harness, not through this array. Users append their own standing facts.
16
+ persistent_facts = []
17
+ on_complete = ""
18
+
19
+ # Standing outside-the-repo sources offered at every setup/refresh run
20
+ # (untrusted until verified against the repo or user-confirmed).
21
+ # Append-only. Entries: "file:{project-root}/..." or "file:/abs/path" for
22
+ # docs, "skill:name" to consult a skill, plain text for a standing fact,
23
+ # "tool:name" for an MCP knowledgebase.
24
+ external_sources = []
@@ -0,0 +1,65 @@
1
+ # What belongs in a repo's agent instructions
2
+
3
+ Rules for deciding what goes in the block, for judging what a repo already has, and for explaining both to the user.
4
+
5
+ ## The test
6
+
7
+ Can an agent derive this by reading the repository? If yes, leave it out — a stored copy is a stale duplicate of something the agent reads more accurately first-hand, and it is charged on every session. Write down what the code cannot say.
8
+
9
+ ## Admit
10
+
11
+ - **Policy the code cannot express** — branch rules, frozen and protected paths, generated files, secrets, security and compliance. Stated by a human or read off an enforcing config, never inferred.
12
+ - **What a config file cannot say about running the project** — the root test script does nothing in this workspace, integration tests need a service up first, the suite takes eleven minutes so iterate on single files, the `Makefile` is the real entry point and `package.json` is vestigial, CI runs a typecheck the test script does not. The invocation itself is already stated in `package.json`, `Makefile`, `pyproject.toml`, or CI config and does not earn a line — the correction or the caveat does.
13
+ - **Conventions that differ from ecosystem defaults.** An agent follows the norm unless told otherwise, so only the divergences earn a line. Command invocations count: when the obvious command is wrong here — a bare-repo prefix, a required wrapper — the exact working invocation earns a line, and no observed mistake is needed to admit it.
14
+ - **Pitfalls with observed evidence** — a recorded lesson, the maintainer's recollection, the same mistake fixed repeatedly in history, or one this session made and caught. A repo yields hundreds of trap-looking facts and none of them predict real mistakes; only observed behavior does. A surprising scan finding is a question to ask, not a line to write.
15
+ - **Runtime behavior invisible from the repo** — replaying webhooks, lying health endpoints, environment quirks — once a human confirms it.
16
+ - **Entry points and pointers** to where work lands.
17
+
18
+ Prefer prohibitions to advice, and name the permitted alternative in the same line.
19
+
20
+ ## Exclude
21
+
22
+ | | Why |
23
+ |---|---|
24
+ | Repo overviews, directory trees, stack lists | Derived fresh, more accurately; stored copies rot |
25
+ | Anything included for being interesting | Interest is not need |
26
+ | Style rules an agent self-enforces | Belongs in a formatter, linter, hook, or CI check — propose the check instead |
27
+ | Platitudes | Already the default |
28
+ | Commands already stated in `package.json`, a `Makefile`, or CI config | Read from the source of truth; a copy drifts the moment a script is renamed |
29
+ | Pasted code, changelog content, fast-changing facts | Stale immediately |
30
+ | Aspirational state | Describe what is; intent belongs in specs |
31
+ | History and edit narration | Git holds it; state present truth |
32
+
33
+ ## Retire
34
+
35
+ A policy or pitfall line goes only when the thing it guards is gone, or the user retires it. Nothing failing lately is not evidence — a working rule erases its own evidence.
36
+
37
+ Every other line faces one question at each write: would removing it change agent behavior? If no, cut it.
38
+
39
+ ## Size
40
+
41
+ Every line is paid in every session, and instruction-following degrades as the loaded set grows. Count what other always-loaded files add. Over budget means cut the weakest lines or move them behind a trigger — never raise the budget. Ten lines of evidence means ten lines.
42
+
43
+ ## Retrieval
44
+
45
+ An index the agent must choose to fetch gets skipped; one already in context does not. Keep everything load-bearing in the block. A pointer out of it names a trigger the agent can observe — a path, a file type, a named task — never one it must judge ("when the task is complex") or track about itself ("before your first edit").
46
+
47
+ Rules bounded to a directory go in a nested `AGENTS.md` there, attached by location rather than by pointer. Use a linked file only when the trigger is not a path.
48
+
49
+ ## Maintain
50
+
51
+ - Re-check that caveats still hold — a slow suite that got fast, a workaround for a bug that was fixed.
52
+ - Diff deletions and renames since the verified SHA against every line.
53
+ - Record provenance in the block so the next run knows what it is diffing from.
54
+ - Capture mistakes when they happen, not at review time. One occurrence is a note; recurrence earns a line.
55
+ - Route anything mechanically preventable to a hook, lint rule, or CI check. A check that lands deletes its line.
56
+
57
+ ## Repo or home directory
58
+
59
+ This block belongs committed: shared by the team, consistent across machines, versioned with the code it constrains.
60
+
61
+ Two things belong in the user's global agent config instead — rules repeating across all their projects, and personal preferences that are theirs rather than the team's.
62
+
63
+ ## Judging an existing file
64
+
65
+ Report, in this order: what is derivable filler, what is unverifiable or stale, what is missing against the sections above, and what is already good. Keep recorded lessons by default — they are maintainer testimony, and are challenged only with evidence that the thing they name is gone or wrong.
@@ -0,0 +1,55 @@
1
+ # Block shape
2
+
3
+ Sections in this order. Omit any section with nothing that passes its rule — never write an empty one. Admission rules: `best-practices.md`.
4
+
5
+ 1. **Orientation** — three or four sentences: what this is, the stack, where planning and deeper docs live.
6
+ 2. **Policy** — what the org requires.
7
+ 3. **Where things are** — entry points, and pointers to children and linked files.
8
+ 4. **Running and verifying** — only what `package.json`, a `Makefile`, or CI config does not already say.
9
+ 5. **Conventions that differ from defaults**
10
+ 6. **Known pitfalls**
11
+
12
+ Terse imperative lines under plain headings. No prose beyond Orientation, no introduction, no summary. A bare fact appears only as the justification clause of an instruction — "Exclude `vendor/` from searches, it is 60% of tracked files", never "`vendor/` is 60% of tracked files". A prohibition names the alternative. At most two emphasis markers in the whole block.
13
+
14
+ ## Worked example
15
+
16
+ ````markdown
17
+ <!-- bmad:context -->
18
+ <!-- Verified 2026-08-08 against a1b2c3d. Managed by bmad-project-context; edits inside this block are replaced on refresh. Keep anything you want preserved outside the markers. -->
19
+
20
+ ## acme-billing
21
+
22
+ Payment processing for Acme storefronts. TypeScript/Node, pnpm, Postgres. Planning lives in `docs/planning/`, tickets in Linear (ACME board).
23
+
24
+ ## Policy
25
+
26
+ - Never push to main; PRs only, one approval.
27
+ - Never modify `legacy/` — frozen, being replaced. New work goes in `src/`.
28
+ - Never hand-edit `src/generated/` — run `pnpm codegen`.
29
+
30
+ ## Where things are
31
+
32
+ - Webhook handling: `src/routes/webhooks.ts`; conventions in `docs/webhooks.md`
33
+ - Writing a migration? Read `docs/db-rules.md` first — ordering, transaction boundaries, pool limits.
34
+ - Billing service has its own guide: `services/billing/AGENTS.md`
35
+
36
+ ## Running and verifying
37
+
38
+ - Run single test files while iterating; the full suite takes ~11 minutes.
39
+ - Integration tests need `docker compose up -d` first, and fail confusingly without it.
40
+ - CI also runs `pnpm typecheck`, which `pnpm test` does not cover.
41
+
42
+ ## Conventions that differ from defaults
43
+
44
+ - Money is integer cents (`amountCents`), never floats — `src/lib/money.ts`
45
+ - All DB access goes through repositories in `src/repos/`; never call the client directly.
46
+
47
+ ## Known pitfalls
48
+
49
+ - Stripe webhooks replay in staging every 6h — handlers must be idempotent.
50
+ - Use vitest matchers, not jest — agents repeatedly add jest syntax here.
51
+
52
+ <!-- /bmad:context -->
53
+ ````
54
+
55
+ Fill the provenance line with the real date and the commit SHA verified against. Refresh diffs from that SHA.
@@ -20,7 +20,7 @@ Multiple skills may call to update the same spec over time.
20
20
 
21
21
  1. Resolve customization: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`. On failure, read `{skill-root}/customize.toml` directly.
22
22
  2. Run `{workflow.activation_steps_prepend}`. Treat `{workflow.persistent_facts}` as foundational context (`file:` entries are loaded).
23
- 3. Load `{project-root}/_bmad/core/config.yaml` (and `config.user.yaml` if present), root level and `bmm` section. Resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{planning_artifacts}`, `{project_name}`, `{date}`.
23
+ 3. Resolve config: `uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (merges `_bmad/config.toml`, `_bmad/config.user.toml`, and the `_bmad/custom/` overrides). From the merged JSON resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{project_name}`, `{output_folder}` (under `core`), and `{date}`.
24
24
  4. Detect mode. **Headless** when any of: no TTY, programmatic caller (another skill or non-interactive runner), or the first message pre-supplies all inputs and asks for an artifact path back. **Interactive** otherwise. In interactive mode, greet by `{user_name}` in `{communication_language}`, stay in that language, and mention that `bmad-party-mode` and `bmad-advanced-elicitation` are available for deeper exploration on any field.
25
25
 
26
26
  Run `{workflow.activation_steps_append}`.
@@ -4,7 +4,7 @@ companions: [] # files downstream MUST read alongside SPEC.md. Paths may poi
4
4
  sources: [] # files fully absorbed into the SPEC (audit only; downstream does NOT read these). Never the memlog.
5
5
  ---
6
6
 
7
- > **Canonical contract.** This SPEC and the files in `companions:` are the complete, preservation-validated contract for what to build, test, and validate. Source documents listed in frontmatter are for traceability only — consult them only if you need narrative rationale or prose color this contract intentionally omits.
7
+ > **Canonical contract.** This SPEC and the files in `companions:` are the complete, preservation-validated contract for what to build, test, and validate. Source documents listed in frontmatter are for traceability — consult them only if you need narrative rationale or prose color this contract intentionally omits.
8
8
 
9
9
  # {Spec Title}
10
10
 
@@ -38,10 +38,9 @@ spec_template = "assets/spec-template.md"
38
38
  # Uppercase by convention to signal "the central source of truth."
39
39
  spec_filename = "SPEC.md"
40
40
 
41
- # Output path for spec folders. Lands directly under {output_folder}
42
- # so bmad-spec works in core-only installs and matches the
43
- # long-term BMad direction of grouping artifacts as siblings under
44
- # {output_folder}/<type>/ rather than nested inside planning vs
41
+ # Output path for spec folders. Lands directly under {output_folder},
42
+ # matching the long-term BMad direction of grouping artifacts as siblings
43
+ # under {output_folder}/<type>/ rather than nested inside planning vs
45
44
  # implementation folders.
46
45
  spec_output_path = "{output_folder}/specs"
47
46
 
@@ -0,0 +1,62 @@
1
+ ---
2
+ name: bmad-sprint-planning
3
+ description: 'Gate planning readiness, generate sprint status tracking from epics, summarize sprint progress, and validate or repair the tracking file. Use when the user says "run sprint planning", "generate sprint plan", "check implementation readiness", "show sprint status", "validate sprint status", or "fix sprint status"'
4
+ ---
5
+
6
+ # Overview
7
+
8
+ You are a senior developer about to commit to this plan. Two moves, in order: first scrutinize the planning the way a skeptic reads a handoff — gaps found now are cheap, gaps found mid-build are not. Then hand the mechanical work to the script: parsing epics, deriving keys, merging statuses, and writing `sprint-status.yaml` are deterministic jobs, not judgment calls. Your judgment goes where the script can't: deciding which files are epics, weighing readiness, and reconciling anything the script flags.
9
+
10
+ ## On Activation
11
+
12
+ 1. Resolve customization: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`. On failure, read `{skill-root}/customize.toml` directly and use defaults.
13
+ 2. Execute each entry in `{workflow.activation_steps_prepend}` in order.
14
+ 3. Treat every entry in `{workflow.persistent_facts}` as foundational context for the rest of the run. Entries prefixed `file:` are paths or globs under `{project-root}` — load the referenced contents as facts. All other entries are facts verbatim.
15
+ 4. Load `{project-root}/_bmad/bmm/config.yaml` (and `config.user.yaml` if present). Resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{project_name}`, `{planning_artifacts}`, `{implementation_artifacts}`, `{project_knowledge}` (skip gracefully if unset), `{date}`. Stay in `{communication_language}` for every turn, not just the greeting.
16
+ 5. Greet `{user_name}`, detect intent, and load only what that intent needs:
17
+ - **readiness** — check implementation readiness only: load `references/readiness-gate.md`, run the gate, report, stop
18
+ - **sprint-planning** — the full flow (also the refresh path for an existing `sprint-status.yaml`): load `references/readiness-gate.md`, then on PASS `references/generate-tracking.md`
19
+ - **status** — "show sprint status", "where are we": skip the gate, load `references/status-view.md`
20
+ - **validate** — check the tracking file's format: load `references/validate.md`
21
+ - **fix** — repair or rebuild a broken `sprint-status.yaml`: load `references/fix-sprint-status.md`
22
+
23
+ If interactive and unclear, ask; for headless behavior see `## Headless Mode`.
24
+
25
+ Execute each entry in `{workflow.activation_steps_append}` in order.
26
+
27
+ Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding.
28
+
29
+ ## If the Script Fails
30
+
31
+ This rule covers every intent: when `sprint_plan.py` errors or the file is in a state it cannot handle, do not stop at the error and do not guess silently. Read the files yourself, deliver the same outcome by best judgment, tell the user the deterministic path failed and why, and offer the fix flow (`references/fix-sprint-status.md`) to restore a file the script can work with.
32
+
33
+ ## On Completion
34
+
35
+ Whatever the intent, close out in `{communication_language}` per the loaded reference, then run `{workflow.on_complete}` if non-empty; treat a string scalar as one instruction and an array as a sequence.
36
+
37
+ ## Headless Mode
38
+
39
+ When invoked headless, do not ask. Run the gate and, unless intent was readiness-only, generate tracking. Ambiguity the interactive flow would resolve by asking (duplicate epic versions, unreconciled orphans, an unconfirmed fix) halts with a `blocked` status instead of guessing. End with a JSON response:
40
+
41
+ ```json
42
+ {
43
+ "status": "complete",
44
+ "intent": "sprint-planning",
45
+ "gate": "PASS",
46
+ "status_file": "{implementation_artifacts}/sprint-status.yaml",
47
+ "findings": [],
48
+ "warnings": []
49
+ }
50
+ ```
51
+
52
+ `gate` is `PASS`, `CONCERNS`, or `FAIL`; on `FAIL` include `findings` and the saved findings path if written, and omit `status_file`. `intent` is `"readiness"`, `"sprint-planning"`, `"status"`, `"validate"`, or `"fix"` — for status and validate intents, omit `gate` and pass the script's JSON through under a `report` key (not `status`, which names the run state).
53
+
54
+ ## References
55
+
56
+ - `scripts/sprint_plan.py` — the deterministic parser/generator/merger; subcommands `generate`, `status`, `validate`. Its JSON output is the contract this skill reads; argparse errors are JSON too
57
+ - `references/readiness-gate.md` — the PASS/CONCERNS/FAIL gate: artifact inventory and the implementability question
58
+ - `references/generate-tracking.md` — epic discovery, the generate command, and acting on its JSON report
59
+ - `references/status-view.md` — the status view: counts, risks, open action items, next recommended action
60
+ - `references/fix-sprint-status.md` — rebuild a broken tracking file: evidence-gathering subagents, user confirmation, pristine regeneration
61
+ - `references/validate.md` — format validation of an existing `sprint-status.yaml`
62
+ - `sprint-status-template.yaml` — the documented file format and status vocabulary; the script embeds the same block and the test suite pins the two copies together
@@ -0,0 +1,30 @@
1
+ # Fix Sprint Status
2
+
3
+ Rebuild `sprint-status.yaml` to a pristine, script-valid state when it is broken, hand-mangled, drifted from reality, or the user simply asks to fix it. Inference determines what the state *should* be; the user confirms it; the script writes it. Never write without the confirmation.
4
+
5
+ 1. **Scope the damage.** Run `sprint_plan.py validate` and share what it found. If even the epic files are missing or unparseable, say so — there is nothing to rebuild tracking against until planning artifacts exist.
6
+
7
+ 2. **Determine the true state by inference.** This is judgment work — fan out subagents in parallel, each gathering one kind of evidence, and have each return proposed `key=status` pairs with the evidence behind them:
8
+ - **Epics** — read the epic files in `{planning_artifacts}`: the authoritative work breakdown (which epics, stories, and retrospectives should exist at all)
9
+ - **Story files** — scan `{implementation_artifacts}`: which stories have files on disk, and what their content says about progress (acceptance criteria checked off, completion notes, review sections)
10
+ - **Code evidence** — git history and the codebase: commits or merged work referencing story keys are evidence a story is done or in progress
11
+ - **The current file** — salvage everything credible from the existing `sprint-status.yaml`, especially `action_items`, even when its structure is broken
12
+
13
+ 3. **Reconcile into one proposed state.** Merge the evidence into a single table: key → proposed status, evidence, and anything uncertain. When evidence conflicts or is thin, prefer the lower status and flag it — a false `done` costs more than a false `in-progress`.
14
+
15
+ 4. **Confirm with `{user_name}`.** Show the table. Highlight every entry that differs from the current file — especially downgrades — and every low-confidence call. Adjust to their corrections. Headless: halt with `blocked` instead of confirming.
16
+
17
+ 5. **Write pristine.** One command, from the confirmed table:
18
+
19
+ ```
20
+ uv run {skill-root}/scripts/sprint_plan.py generate \
21
+ --epic-file <path> [...] \
22
+ --status-file {implementation_artifacts}/sprint-status.yaml \
23
+ --stories-dir {implementation_artifacts} \
24
+ --project "{project_name}" --date "{date}" \
25
+ --fresh --set <key>=<status> [--set <key>=<status> ...]
26
+ ```
27
+
28
+ `--fresh` rebuilds the document cleanly (canonical vocabulary, standard header) while still carrying `action_items`; `--set` applies the confirmed statuses and is the one path allowed to downgrade. Only confirmed entries that differ from the fresh defaults need a `--set`.
29
+
30
+ 6. **Verify.** Run `validate` again (expect `valid: true`) and present the status view summary so the user sees the repaired state.
@@ -0,0 +1,25 @@
1
+ # Generate Tracking
2
+
3
+ Discovery is your call; everything after it is the script's.
4
+
5
+ 1. Identify the epic files. The gate inventory already surfaced them — typically `epics.md`, `epic-*.md`, or a sharded `epics/` folder in `{planning_artifacts}`, but trust content over filename. If both a whole document and a sharded version exist, ask which is current rather than guessing.
6
+ 2. Run the script, passing every epic file:
7
+
8
+ ```
9
+ uv run {skill-root}/scripts/sprint_plan.py generate \
10
+ --epic-file <path> [--epic-file <path> ...] \
11
+ --status-file {implementation_artifacts}/sprint-status.yaml \
12
+ --stories-dir {implementation_artifacts} \
13
+ --project "{project_name}" --date "{date}"
14
+ ```
15
+
16
+ `{date}` must be `MM-DD-YYYY HH:MM` — the format the staleness check parses. The script owns parsing (`## Epic N:` / `### Story N.M: Title` → kebab-case keys; fenced code blocks ignored), ordering (epic, its stories, its retrospective), merging with any existing file (preserve advanced statuses, never downgrade; legacy v6 values like `drafted`/`contexted` are normalized to their modern meaning, never reset; `action_items`, custom keys, and user comments carried through; `project_key`/`tracking_system`/`story_location` kept from the existing file unless overridden by flag), story-file detection (a story file on disk floors its status at `ready-for-dev`), atomic writes, and post-write validation. It prints a JSON report. Add `--dry-run` to preview — the report's `in_sync`, `new_entries`, `dropped_orphans`, `illegal`, and `legacy_mapped` fields answer "is tracking in sync?" without writing.
17
+
18
+ 3. Read the JSON report and act on it — this is where judgment re-enters:
19
+ - `warnings` about unparsed Epic/Story-like headings mean the epic file deviates from the standard format. Show the user, fix the headings together (or accept the omission), and rerun.
20
+ - `dropped_orphans` are entries that existed in the old status file but match nothing in the epics — usually renames. Each carries its old status; reconcile with the user, then transplant by rerunning with `--set <new-key>=<old-status>`.
21
+ - If the epics defeat the parser entirely (a format the regexes can't see), fall back to building the file yourself against `sprint-status-template.yaml`, and tell the user the deterministic path didn't apply.
22
+
23
+ ## Report
24
+
25
+ Present the result from the script's JSON in `{communication_language}`: file path, epic/story counts, status breakdown, anything upgraded from disk. Suggest next steps — review the file, `bmad-build` to start the first story, rerun this skill anytime to refresh after epics change.
@@ -0,0 +1,20 @@
1
+ # Readiness Gate
2
+
3
+ Before generating any tracking, judge whether the plan can actually be built. If the user only asked to check readiness, this gate is the deliverable — report the verdict and stop.
4
+
5
+ Inventory what planning actually exists: scan `{planning_artifacts}` and `{project_knowledge}` for intent and planning artifacts — briefs, PRFAQs, PRDs, specs, UX outputs, architecture, epics and stories. Identify documents by reading what they are, not by filename patterns; projects arrive with different artifact mixes and naming.
6
+
7
+ Assess the plan as a whole against one question: **could a developer implement these epics without inventing decisions nothing records?**
8
+
9
+ - Requirements and decisions in the intent artifacts trace forward into stories; stories trace back to recorded intent — flag orphans in both directions
10
+ - Epics deliver user value and carry no forward dependencies; stories are independently completable
11
+ - Architecture and UX decisions the stories rely on are recorded somewhere, not assumed
12
+ - Conflicts between artifacts (a spec and an epic disagreeing) are surfaced, not silently resolved
13
+
14
+ A missing document type is only a finding if stories depend on decisions nothing records — a project with no UX artifact and no UI stories is fine.
15
+
16
+ Deliver a verdict:
17
+
18
+ - **PASS** — state it in one line; for the full sprint-planning intent, continue with `generate-tracking.md`
19
+ - **CONCERNS** — list them briefly with where each gap lives; ask `{user_name}` whether to proceed anyway or fix first
20
+ - **FAIL** — the plan is not implementable as recorded. Present findings ordered by severity, name the skill that fixes each (the relevant plan skill, or `bmad-correct-course` for cross-cutting changes), offer to save the findings to `{planning_artifacts}/implementation-readiness.md`, and stop
@@ -0,0 +1,14 @@
1
+ # Status View
2
+
3
+ When the user wants to know where the sprint stands ("show sprint status", "where are we"), run:
4
+
5
+ ```
6
+ uv run {skill-root}/scripts/sprint_plan.py status \
7
+ --status-file {implementation_artifacts}/sprint-status.yaml --date "{date}"
8
+ ```
9
+
10
+ `{date}` is `MM-DD-YYYY HH:MM`. The script computes everything: counts by status (legacy values like `drafted` mapped transparently and reported in `legacy_mapped`), risk flags (stale file, orphaned stories, in-progress epics without stories, stories waiting in review, unrecognized keys), open action items from retrospectives, and the next recommended action by fixed priority — resume in-progress → review what's in review → start the next ready or backlog story → run an open retrospective → all done. If the file is missing, the script says so — offer to run sprint planning to create it.
11
+
12
+ Render the JSON as a compact summary in `{communication_language}`: counts, risks, open action items, and the recommendation with its story key. Offer to run the recommended skill. Surface `illegal` and `unrecognized` entries and the script's `warnings` (malformed action items land there); if the user gives corrections, apply them via the fix flow rather than ad-hoc edits. No time estimates — status, risks, and next steps only.
13
+
14
+ If the script errors — malformed YAML, a hand-edited structure it can't parse, anything — do not stop at the error. Read `sprint-status.yaml` yourself, apply best judgment to give the user the same summary (counts, risks, next recommended action), tell them the deterministic path failed and why, and offer the fix flow (`fix-sprint-status.md`) so the script works next time.
@@ -0,0 +1,10 @@
1
+ # Validate
2
+
3
+ When the user asks whether `sprint-status.yaml` is well-formed, run:
4
+
5
+ ```
6
+ uv run {skill-root}/scripts/sprint_plan.py validate \
7
+ --status-file {implementation_artifacts}/sprint-status.yaml
8
+ ```
9
+
10
+ Never writes; exits 0 whether valid or not. Report `valid` in one line. If `problems` is non-empty, list them plainly (each names the key or field at fault) and offer the fix flow (`fix-sprint-status.md`). If `legacy_mapped` is non-empty, note the file still uses v6 status names and that any regenerate will rewrite them to the modern vocabulary — progress is preserved either way.