bmad-method 6.1.1-next.9 → 6.2.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 (307) hide show
  1. package/README_CN.md +9 -9
  2. package/package.json +1 -1
  3. package/src/bmm/agents/analyst.agent.yaml +3 -3
  4. package/src/bmm/agents/architect.agent.yaml +1 -1
  5. package/src/bmm/agents/dev.agent.yaml +1 -1
  6. package/src/bmm/agents/pm.agent.yaml +6 -6
  7. package/src/bmm/agents/qa.agent.yaml +1 -1
  8. package/src/bmm/agents/quick-flow-solo-dev.agent.yaml +2 -2
  9. package/src/bmm/agents/sm.agent.yaml +3 -3
  10. package/src/bmm/agents/tech-writer/tech-writer.agent.yaml +1 -1
  11. package/src/bmm/module-help.csv +16 -16
  12. package/src/bmm/workflows/1-analysis/bmad-create-product-brief/SKILL.md +1 -1
  13. package/src/bmm/workflows/1-analysis/bmad-create-product-brief/product-brief.template.md +2 -2
  14. package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01-init.md +4 -11
  15. package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01b-continue.md +0 -3
  16. package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-02-vision.md +5 -11
  17. package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-03-users.md +5 -11
  18. package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-04-metrics.md +5 -11
  19. package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-05-scope.md +5 -11
  20. package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-06-complete.md +0 -3
  21. package/src/bmm/workflows/1-analysis/bmad-create-product-brief/workflow.md +3 -0
  22. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/SKILL.md +88 -0
  23. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/artifact-analyzer.md +60 -0
  24. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/opportunity-reviewer.md +44 -0
  25. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/skeptic-reviewer.md +44 -0
  26. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/web-researcher.md +49 -0
  27. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-manifest.json +17 -0
  28. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/contextual-discovery.md +57 -0
  29. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/draft-and-review.md +86 -0
  30. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/finalize.md +75 -0
  31. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/guided-elicitation.md +70 -0
  32. package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/resources/brief-template.md +60 -0
  33. package/src/bmm/workflows/1-analysis/research/bmad-domain-research/SKILL.md +1 -1
  34. package/src/bmm/workflows/1-analysis/research/bmad-market-research/SKILL.md +6 -0
  35. package/src/bmm/workflows/1-analysis/research/bmad-market-research/research.template.md +29 -0
  36. package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-01-init.md +184 -0
  37. package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-02-customer-behavior.md +239 -0
  38. package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-03-customer-pain-points.md +251 -0
  39. package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-04-customer-decisions.md +261 -0
  40. package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-05-competitive-analysis.md +173 -0
  41. package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +478 -0
  42. package/src/bmm/workflows/1-analysis/research/{workflow-market-research.md → bmad-market-research/workflow.md} +1 -6
  43. package/src/bmm/workflows/1-analysis/research/bmad-technical-research/SKILL.md +6 -0
  44. package/src/bmm/workflows/1-analysis/research/bmad-technical-research/research.template.md +29 -0
  45. package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-01-init.md +2 -2
  46. package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-02-technical-overview.md +2 -2
  47. package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-03-integration-patterns.md +2 -2
  48. package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-04-architectural-patterns.md +2 -2
  49. package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-05-implementation-research.md +2 -2
  50. package/src/bmm/workflows/1-analysis/research/{workflow-technical-research.md → bmad-technical-research/workflow.md} +0 -4
  51. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/SKILL.md +1 -1
  52. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01-init.md +2 -2
  53. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01b-continue.md +1 -1
  54. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-02-discovery.md +2 -2
  55. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-03-core-experience.md +5 -4
  56. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-04-emotional-response.md +5 -4
  57. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-05-inspiration.md +5 -4
  58. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-06-design-system.md +5 -4
  59. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-07-defining-experience.md +5 -4
  60. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-08-visual-foundation.md +5 -4
  61. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-09-design-directions.md +5 -4
  62. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-10-user-journeys.md +5 -4
  63. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-11-component-strategy.md +5 -4
  64. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-12-ux-patterns.md +5 -4
  65. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +5 -4
  66. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-14-complete.md +2 -2
  67. package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/workflow.md +1 -2
  68. package/src/bmm/workflows/2-plan-workflows/bmad-edit-prd/SKILL.md +6 -0
  69. package/src/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-01-discovery.md +3 -8
  70. package/src/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-01b-legacy-conversion.md +1 -5
  71. package/src/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-02-review.md +5 -9
  72. package/src/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-03-edit.md +3 -6
  73. package/src/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-04-complete.md +2 -5
  74. package/src/bmm/workflows/2-plan-workflows/{create-prd/workflow-edit-prd.md → bmad-edit-prd/workflow.md} +2 -4
  75. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/SKILL.md +6 -0
  76. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/domain-complexity.csv +15 -0
  77. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/prd-purpose.md +197 -0
  78. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/project-types.csv +11 -0
  79. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-01-discovery.md +221 -0
  80. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
  81. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
  82. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
  83. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
  84. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
  85. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
  86. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
  87. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
  88. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
  89. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
  90. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
  91. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
  92. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
  93. package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/workflow.md +62 -0
  94. package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +2 -4
  95. package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +1 -0
  96. package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +3 -3
  97. package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +2 -1
  98. package/src/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +2 -0
  99. package/src/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/SKILL.md +6 -0
  100. package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-01-document-discovery.md +3 -8
  101. package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-02-prd-analysis.md +1 -5
  102. package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-03-epic-coverage-validation.md +1 -5
  103. package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-04-ux-alignment.md +1 -5
  104. package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-05-epic-quality-review.md +2 -6
  105. package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-06-final-assessment.md +0 -3
  106. package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/workflow.md +0 -5
  107. package/src/bmm/workflows/3-solutioning/bmad-create-architecture/SKILL.md +1 -1
  108. package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01-init.md +4 -4
  109. package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-02-context.md +2 -2
  110. package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-03-starter.md +4 -4
  111. package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-04-decisions.md +4 -4
  112. package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-05-patterns.md +4 -4
  113. package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-06-structure.md +4 -4
  114. package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-07-validation.md +4 -4
  115. package/src/bmm/workflows/3-solutioning/bmad-create-architecture/workflow.md +0 -6
  116. package/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/SKILL.md +6 -0
  117. package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-01-validate-prerequisites.md +7 -29
  118. package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-02-design-epics.md +7 -28
  119. package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-03-create-stories.md +8 -29
  120. package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-04-final-validation.md +2 -20
  121. package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/workflow.md +1 -6
  122. package/src/bmm/workflows/4-implementation/bmad-code-review/SKILL.md +6 -0
  123. package/src/bmm/workflows/4-implementation/bmad-code-review/steps/step-01-gather-context.md +61 -0
  124. package/src/bmm/workflows/4-implementation/bmad-code-review/steps/step-02-review.md +41 -0
  125. package/src/bmm/workflows/4-implementation/bmad-code-review/steps/step-03-triage.md +50 -0
  126. package/src/bmm/workflows/4-implementation/bmad-code-review/steps/step-04-present.md +38 -0
  127. package/src/bmm/workflows/4-implementation/bmad-code-review/workflow.md +54 -0
  128. package/src/bmm/workflows/4-implementation/bmad-correct-course/SKILL.md +6 -0
  129. package/src/bmm/workflows/4-implementation/{correct-course → bmad-correct-course}/checklist.md +1 -1
  130. package/src/bmm/workflows/4-implementation/{correct-course → bmad-correct-course}/workflow.md +3 -10
  131. package/src/bmm/workflows/4-implementation/bmad-create-story/SKILL.md +1 -1
  132. package/src/bmm/workflows/4-implementation/bmad-create-story/checklist.md +2 -2
  133. package/src/bmm/workflows/4-implementation/bmad-create-story/workflow.md +3 -11
  134. package/src/bmm/workflows/4-implementation/bmad-dev-story/SKILL.md +1 -1
  135. package/src/bmm/workflows/4-implementation/bmad-dev-story/workflow.md +0 -1
  136. package/src/bmm/workflows/4-implementation/bmad-retrospective/SKILL.md +6 -0
  137. package/src/bmm/workflows/4-implementation/{retrospective → bmad-retrospective}/workflow.md +0 -6
  138. package/src/bmm/workflows/4-implementation/bmad-sprint-planning/SKILL.md +6 -0
  139. package/src/bmm/workflows/4-implementation/bmad-sprint-planning/bmad-skill-manifest.yaml +1 -0
  140. package/src/bmm/workflows/4-implementation/{sprint-planning → bmad-sprint-planning}/workflow.md +0 -8
  141. package/src/bmm/workflows/4-implementation/bmad-sprint-status/SKILL.md +6 -0
  142. package/src/bmm/workflows/4-implementation/bmad-sprint-status/bmad-skill-manifest.yaml +1 -0
  143. package/src/bmm/workflows/4-implementation/{sprint-status → bmad-sprint-status}/workflow.md +0 -6
  144. package/src/bmm/workflows/bmad-document-project/SKILL.md +6 -0
  145. package/src/bmm/workflows/bmad-document-project/bmad-skill-manifest.yaml +1 -0
  146. package/src/bmm/workflows/{document-project → bmad-document-project}/instructions.md +6 -6
  147. package/src/bmm/workflows/bmad-document-project/workflow.md +27 -0
  148. package/src/bmm/workflows/{document-project → bmad-document-project}/workflows/deep-dive-instructions.md +3 -1
  149. package/src/bmm/workflows/{document-project → bmad-document-project}/workflows/deep-dive-workflow.md +4 -12
  150. package/src/bmm/workflows/{document-project → bmad-document-project}/workflows/full-scan-instructions.md +5 -3
  151. package/src/bmm/workflows/{document-project → bmad-document-project}/workflows/full-scan-workflow.md +4 -12
  152. package/src/bmm/workflows/bmad-generate-project-context/SKILL.md +6 -0
  153. package/src/bmm/workflows/bmad-generate-project-context/bmad-skill-manifest.yaml +1 -0
  154. package/src/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-01-discover.md +4 -2
  155. package/src/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-02-generate.md +8 -5
  156. package/src/bmm/workflows/{generate-project-context → bmad-generate-project-context}/workflow.md +2 -8
  157. package/src/bmm/workflows/bmad-qa-generate-e2e-tests/SKILL.md +6 -0
  158. package/src/bmm/workflows/bmad-qa-generate-e2e-tests/bmad-skill-manifest.yaml +1 -0
  159. package/src/bmm/workflows/{qa-generate-e2e-tests → bmad-qa-generate-e2e-tests}/workflow.md +2 -9
  160. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/SKILL.md +1 -1
  161. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-01-mode-detection.md +9 -14
  162. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-02-context-gathering.md +1 -5
  163. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-03-execute.md +1 -5
  164. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-04-self-check.md +1 -5
  165. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-05-adversarial-review.md +1 -5
  166. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-06-resolve-findings.md +0 -2
  167. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/workflow.md +0 -6
  168. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/SKILL.md +1 -1
  169. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-01-clarify-and-route.md +2 -5
  170. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-02-plan.md +2 -6
  171. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-03-implement.md +1 -3
  172. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md +3 -6
  173. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-05-present.md +0 -2
  174. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/workflow.md +0 -1
  175. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-spec/SKILL.md +6 -0
  176. package/src/bmm/workflows/bmad-quick-flow/bmad-quick-spec/bmad-skill-manifest.yaml +1 -0
  177. package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-01-understand.md +7 -11
  178. package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-02-investigate.md +3 -6
  179. package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-03-generate.md +1 -4
  180. package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-04-review.md +4 -7
  181. package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/workflow.md +1 -6
  182. package/src/core/module-help.csv +1 -0
  183. package/src/core/skills/bmad-advanced-elicitation/SKILL.md +6 -0
  184. package/src/core/skills/bmad-advanced-elicitation/bmad-skill-manifest.yaml +1 -0
  185. package/src/core/{tasks → skills}/bmad-advanced-elicitation/workflow.md +3 -4
  186. package/src/core/{workflows → skills}/bmad-brainstorming/SKILL.md +1 -1
  187. package/src/core/skills/bmad-brainstorming/bmad-skill-manifest.yaml +1 -0
  188. package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-01-session-setup.md +5 -1
  189. package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-01b-continue.md +3 -1
  190. package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-02a-user-selected.md +5 -1
  191. package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-02b-ai-recommended.md +3 -1
  192. package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-02c-random-selection.md +3 -1
  193. package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-02d-progressive-flow.md +3 -1
  194. package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-03-technique-execution.md +4 -2
  195. package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-04-idea-organization.md +2 -0
  196. package/src/core/{workflows → skills}/bmad-brainstorming/workflow.md +1 -5
  197. package/src/core/skills/bmad-distillator/SKILL.md +178 -0
  198. package/src/core/skills/bmad-distillator/agents/distillate-compressor.md +116 -0
  199. package/src/core/skills/bmad-distillator/agents/round-trip-reconstructor.md +68 -0
  200. package/src/core/skills/bmad-distillator/bmad-skill-manifest.yaml +15 -0
  201. package/src/core/skills/bmad-distillator/resources/compression-rules.md +51 -0
  202. package/src/core/skills/bmad-distillator/resources/distillate-format-reference.md +227 -0
  203. package/src/core/skills/bmad-distillator/resources/splitting-strategy.md +78 -0
  204. package/src/core/skills/bmad-distillator/scripts/analyze_sources.py +300 -0
  205. package/src/core/skills/bmad-distillator/scripts/tests/test_analyze_sources.py +204 -0
  206. package/src/core/{tasks → skills}/bmad-editorial-review-prose/SKILL.md +1 -1
  207. package/src/core/skills/bmad-editorial-review-prose/bmad-skill-manifest.yaml +1 -0
  208. package/src/core/{tasks → skills}/bmad-editorial-review-structure/SKILL.md +1 -1
  209. package/src/core/skills/bmad-editorial-review-structure/bmad-skill-manifest.yaml +1 -0
  210. package/src/core/skills/bmad-help/SKILL.md +6 -0
  211. package/src/core/skills/bmad-help/bmad-skill-manifest.yaml +1 -0
  212. package/src/core/{tasks → skills}/bmad-index-docs/SKILL.md +1 -1
  213. package/src/core/skills/bmad-index-docs/bmad-skill-manifest.yaml +1 -0
  214. package/src/core/{workflows → skills}/bmad-party-mode/SKILL.md +1 -1
  215. package/src/core/skills/bmad-party-mode/bmad-skill-manifest.yaml +1 -0
  216. package/src/core/{tasks → skills}/bmad-review-adversarial-general/SKILL.md +1 -1
  217. package/src/core/skills/bmad-review-adversarial-general/bmad-skill-manifest.yaml +1 -0
  218. package/src/core/{tasks → skills}/bmad-review-edge-case-hunter/SKILL.md +2 -2
  219. package/src/core/skills/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml +1 -0
  220. package/src/core/{tasks → skills}/bmad-shard-doc/SKILL.md +1 -1
  221. package/src/core/skills/bmad-shard-doc/bmad-skill-manifest.yaml +1 -0
  222. package/src/core/tasks/bmad-create-prd/SKILL.md +6 -0
  223. package/src/core/tasks/bmad-create-prd/bmad-skill-manifest.yaml +1 -0
  224. package/src/core/tasks/bmad-create-prd/data/domain-complexity.csv +15 -0
  225. package/src/core/tasks/bmad-create-prd/data/prd-purpose.md +197 -0
  226. package/src/core/tasks/bmad-create-prd/data/project-types.csv +11 -0
  227. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-01-init.md +7 -20
  228. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-01b-continue.md +29 -20
  229. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02-discovery.md +7 -23
  230. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02b-vision.md +5 -17
  231. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02c-executive-summary.md +5 -17
  232. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-03-success.md +5 -17
  233. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-04-journeys.md +5 -17
  234. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-05-domain.md +7 -20
  235. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-06-innovation.md +8 -23
  236. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-07-project-type.md +6 -21
  237. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-08-scoping.md +5 -17
  238. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-09-functional.md +5 -17
  239. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-10-nonfunctional.md +5 -17
  240. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-11-polish.md +6 -19
  241. package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-12-complete.md +3 -12
  242. package/src/{bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md → core/tasks/bmad-create-prd/workflow.md} +3 -4
  243. package/tools/cli/external-official-modules.yaml +9 -9
  244. package/tools/cli/installers/lib/core/manifest.js +4 -2
  245. package/tools/skill-validator.md +322 -0
  246. package/src/bmm/workflows/1-analysis/research/bmad-skill-manifest.yaml +0 -9
  247. package/src/bmm/workflows/2-plan-workflows/create-prd/bmad-skill-manifest.yaml +0 -14
  248. package/src/bmm/workflows/3-solutioning/check-implementation-readiness/bmad-skill-manifest.yaml +0 -3
  249. package/src/bmm/workflows/3-solutioning/create-epics-and-stories/bmad-skill-manifest.yaml +0 -3
  250. package/src/bmm/workflows/4-implementation/code-review/bmad-skill-manifest.yaml +0 -3
  251. package/src/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
  252. package/src/bmm/workflows/4-implementation/code-review/discover-inputs.md +0 -88
  253. package/src/bmm/workflows/4-implementation/code-review/workflow.md +0 -268
  254. package/src/bmm/workflows/4-implementation/correct-course/bmad-skill-manifest.yaml +0 -3
  255. package/src/bmm/workflows/4-implementation/retrospective/bmad-skill-manifest.yaml +0 -3
  256. package/src/bmm/workflows/4-implementation/sprint-planning/bmad-skill-manifest.yaml +0 -3
  257. package/src/bmm/workflows/4-implementation/sprint-status/bmad-skill-manifest.yaml +0 -3
  258. package/src/bmm/workflows/bmad-quick-flow/quick-spec/bmad-skill-manifest.yaml +0 -3
  259. package/src/bmm/workflows/document-project/bmad-skill-manifest.yaml +0 -3
  260. package/src/bmm/workflows/document-project/workflow.md +0 -39
  261. package/src/bmm/workflows/generate-project-context/bmad-skill-manifest.yaml +0 -3
  262. package/src/bmm/workflows/qa-generate-e2e-tests/bmad-skill-manifest.yaml +0 -3
  263. package/src/core/agents/bmad-master.agent.yaml +0 -30
  264. package/src/core/agents/bmad-skill-manifest.yaml +0 -3
  265. package/src/core/tasks/bmad-advanced-elicitation/SKILL.md +0 -6
  266. package/src/core/tasks/bmad-help/SKILL.md +0 -6
  267. /package/src/{core/tasks/bmad-advanced-elicitation → bmm/workflows/1-analysis/bmad-product-brief-preview}/bmad-skill-manifest.yaml +0 -0
  268. /package/src/{core/tasks/bmad-editorial-review-prose → bmm/workflows/1-analysis/research/bmad-market-research}/bmad-skill-manifest.yaml +0 -0
  269. /package/src/{core/tasks/bmad-editorial-review-structure → bmm/workflows/1-analysis/research/bmad-technical-research}/bmad-skill-manifest.yaml +0 -0
  270. /package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-06-research-synthesis.md +0 -0
  271. /package/src/{core/tasks/bmad-help → bmm/workflows/2-plan-workflows/bmad-edit-prd}/bmad-skill-manifest.yaml +0 -0
  272. /package/src/{core/tasks/bmad-index-docs → bmm/workflows/2-plan-workflows/bmad-validate-prd}/bmad-skill-manifest.yaml +0 -0
  273. /package/src/{core/tasks/bmad-review-adversarial-general → bmm/workflows/3-solutioning/bmad-check-implementation-readiness}/bmad-skill-manifest.yaml +0 -0
  274. /package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/templates/readiness-report-template.md +0 -0
  275. /package/src/{core/tasks/bmad-review-edge-case-hunter → bmm/workflows/3-solutioning/bmad-create-epics-and-stories}/bmad-skill-manifest.yaml +0 -0
  276. /package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/templates/epics-template.md +0 -0
  277. /package/src/{core/tasks/bmad-shard-doc → bmm/workflows/4-implementation/bmad-code-review}/bmad-skill-manifest.yaml +0 -0
  278. /package/src/{core/workflows/bmad-brainstorming → bmm/workflows/4-implementation/bmad-correct-course}/bmad-skill-manifest.yaml +0 -0
  279. /package/src/{core/workflows/bmad-party-mode → bmm/workflows/4-implementation/bmad-retrospective}/bmad-skill-manifest.yaml +0 -0
  280. /package/src/bmm/workflows/4-implementation/{sprint-planning → bmad-sprint-planning}/checklist.md +0 -0
  281. /package/src/bmm/workflows/4-implementation/{sprint-planning → bmad-sprint-planning}/sprint-status-template.yaml +0 -0
  282. /package/src/bmm/workflows/{document-project → bmad-document-project}/checklist.md +0 -0
  283. /package/src/bmm/workflows/{document-project → bmad-document-project}/documentation-requirements.csv +0 -0
  284. /package/src/bmm/workflows/{document-project → bmad-document-project}/templates/deep-dive-template.md +0 -0
  285. /package/src/bmm/workflows/{document-project → bmad-document-project}/templates/index-template.md +0 -0
  286. /package/src/bmm/workflows/{document-project → bmad-document-project}/templates/project-overview-template.md +0 -0
  287. /package/src/bmm/workflows/{document-project → bmad-document-project}/templates/project-scan-report-schema.json +0 -0
  288. /package/src/bmm/workflows/{document-project → bmad-document-project}/templates/source-tree-template.md +0 -0
  289. /package/src/bmm/workflows/{generate-project-context → bmad-generate-project-context}/project-context-template.md +0 -0
  290. /package/src/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-03-complete.md +0 -0
  291. /package/src/bmm/workflows/{qa-generate-e2e-tests → bmad-qa-generate-e2e-tests}/checklist.md +0 -0
  292. /package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/tech-spec-template.md +0 -0
  293. /package/src/core/{tasks → skills}/bmad-advanced-elicitation/methods.csv +0 -0
  294. /package/src/core/{workflows → skills}/bmad-brainstorming/brain-methods.csv +0 -0
  295. /package/src/core/{workflows → skills}/bmad-brainstorming/template.md +0 -0
  296. /package/src/core/{tasks → skills}/bmad-editorial-review-prose/workflow.md +0 -0
  297. /package/src/core/{tasks → skills}/bmad-editorial-review-structure/workflow.md +0 -0
  298. /package/src/core/{tasks → skills}/bmad-help/workflow.md +0 -0
  299. /package/src/core/{tasks → skills}/bmad-index-docs/workflow.md +0 -0
  300. /package/src/core/{workflows → skills}/bmad-party-mode/steps/step-01-agent-loading.md +0 -0
  301. /package/src/core/{workflows → skills}/bmad-party-mode/steps/step-02-discussion-orchestration.md +0 -0
  302. /package/src/core/{workflows → skills}/bmad-party-mode/steps/step-03-graceful-exit.md +0 -0
  303. /package/src/core/{workflows → skills}/bmad-party-mode/workflow.md +0 -0
  304. /package/src/core/{tasks → skills}/bmad-review-adversarial-general/workflow.md +0 -0
  305. /package/src/core/{tasks → skills}/bmad-review-edge-case-hunter/workflow.md +0 -0
  306. /package/src/core/{tasks → skills}/bmad-shard-doc/workflow.md +0 -0
  307. /package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/templates/prd-template.md +0 -0
@@ -1,9 +1,4 @@
1
1
  ---
2
- name: 'step-01-mode-detection'
3
- description: 'Determine execution mode (tech-spec vs direct), handle escalation, set state variables'
4
-
5
- nextStepFile_modeA: './step-03-execute.md'
6
- nextStepFile_modeB: './step-02-context-gathering.md'
7
2
  ---
8
3
 
9
4
  # Step 1: Mode Detection
@@ -50,7 +45,7 @@ Analyze the user's input to determine mode:
50
45
  - Load the spec, extract tasks/context/AC
51
46
  - Set `{execution_mode}` = "tech-spec"
52
47
  - Set `{tech_spec_path}` = provided path
53
- - **NEXT:** Read fully and follow: `{nextStepFile_modeA}`
48
+ - **NEXT:** Read fully and follow: `./step-03-execute.md`
54
49
 
55
50
  **Mode B: Direct Instructions**
56
51
 
@@ -90,8 +85,8 @@ Display: "**Select:** [P] Plan first (tech-spec) [E] Execute directly"
90
85
 
91
86
  #### Menu Handling Logic:
92
87
 
93
- - IF P: Direct user to `{quick_spec_workflow}`. **EXIT Quick Dev.**
94
- - IF E: Ask for any additional guidance, then **NEXT:** Read fully and follow: `{nextStepFile_modeB}`
88
+ - IF P: Direct user to invoke the `bmad-quick-spec` skill. **EXIT Quick Dev.**
89
+ - IF E: Ask for any additional guidance, then **NEXT:** Read fully and follow: `./step-02-context-gathering.md`
95
90
 
96
91
  #### EXECUTION RULES:
97
92
 
@@ -112,9 +107,9 @@ Display:
112
107
 
113
108
  #### Menu Handling Logic:
114
109
 
115
- - IF P: Direct to `{quick_spec_workflow}`. **EXIT Quick Dev.**
110
+ - IF P: Direct user to invoke the `bmad-quick-spec` skill. **EXIT Quick Dev.**
116
111
  - IF W: Direct user to run the PRD workflow instead. **EXIT Quick Dev.**
117
- - IF E: Ask for guidance, then **NEXT:** Read fully and follow: `{nextStepFile_modeB}`
112
+ - IF E: Ask for guidance, then **NEXT:** Read fully and follow: `./step-02-context-gathering.md`
118
113
 
119
114
  #### EXECUTION RULES:
120
115
 
@@ -135,9 +130,9 @@ Display:
135
130
 
136
131
  #### Menu Handling Logic:
137
132
 
138
- - IF P: Direct to `{quick_spec_workflow}`. **EXIT Quick Dev.**
133
+ - IF P: Direct user to invoke the `bmad-quick-spec` skill. **EXIT Quick Dev.**
139
134
  - IF W: Direct user to run the PRD workflow instead. **EXIT Quick Dev.**
140
- - IF E: Ask for guidance, then **NEXT:** Read fully and follow: `{nextStepFile_modeB}`
135
+ - IF E: Ask for guidance, then **NEXT:** Read fully and follow: `./step-02-context-gathering.md`
141
136
 
142
137
  #### EXECUTION RULES:
143
138
 
@@ -150,8 +145,8 @@ Display:
150
145
 
151
146
  **CRITICAL:** When this step completes, explicitly state which step to load:
152
147
 
153
- - Mode A (tech-spec): "**NEXT:** read fully and follow: `{nextStepFile_modeA}`"
154
- - Mode B (direct, [E] selected): "**NEXT:** Read fully and follow: `{nextStepFile_modeB}`"
148
+ - Mode A (tech-spec): "**NEXT:** read fully and follow: `./step-03-execute.md`"
149
+ - Mode B (direct, [E] selected): "**NEXT:** Read fully and follow: `./step-02-context-gathering.md`"
155
150
  - Escalation ([P] or [W]): "**EXITING Quick Dev.** Follow the directed workflow."
156
151
 
157
152
  ---
@@ -1,8 +1,4 @@
1
1
  ---
2
- name: 'step-02-context-gathering'
3
- description: 'Quick context gathering for direct mode - identify files, patterns, dependencies'
4
-
5
- nextStepFile: './step-03-execute.md'
6
2
  ---
7
3
 
8
4
  # Step 2: Context Gathering (Direct Mode)
@@ -97,7 +93,7 @@ Ready to execute? (y/n/adjust)
97
93
 
98
94
  **CRITICAL:** When user confirms ready, explicitly state:
99
95
 
100
- - **y:** "**NEXT:** Read fully and follow: `{nextStepFile}`"
96
+ - **y:** "**NEXT:** Read fully and follow: `./step-03-execute.md`"
101
97
  - **n/adjust:** Continue gathering context, then re-present plan
102
98
 
103
99
  ---
@@ -1,8 +1,4 @@
1
1
  ---
2
- name: 'step-03-execute'
3
- description: 'Execute implementation - iterate through tasks, write code, run tests'
4
-
5
- nextStepFile: './step-04-self-check.md'
6
2
  ---
7
3
 
8
4
  # Step 3: Execute Implementation
@@ -89,7 +85,7 @@ For each task:
89
85
 
90
86
  ## NEXT STEP
91
87
 
92
- When ALL tasks are complete (or halted on blocker), read fully and follow: `{nextStepFile}`.
88
+ When ALL tasks are complete (or halted on blocker), read fully and follow: `./step-04-self-check.md`.
93
89
 
94
90
  ---
95
91
 
@@ -1,8 +1,4 @@
1
1
  ---
2
- name: 'step-04-self-check'
3
- description: 'Self-audit implementation against tasks, tests, AC, and patterns'
4
-
5
- nextStepFile: './step-05-adversarial-review.md'
6
2
  ---
7
3
 
8
4
  # Step 4: Self-Check
@@ -89,7 +85,7 @@ Proceeding to adversarial code review...
89
85
 
90
86
  ## NEXT STEP
91
87
 
92
- Proceed immediately to `{nextStepFile}`.
88
+ Proceed immediately to `./step-05-adversarial-review.md`.
93
89
 
94
90
  ---
95
91
 
@@ -1,8 +1,4 @@
1
1
  ---
2
- name: 'step-05-adversarial-review'
3
- description: 'Construct diff and invoke adversarial review skill'
4
-
5
- nextStepFile: './step-06-resolve-findings.md'
6
2
  ---
7
3
 
8
4
  # Step 5: Adversarial Code Review
@@ -77,7 +73,7 @@ If TodoWrite or similar tool is available, turn each finding into a TODO, includ
77
73
 
78
74
  ## NEXT STEP
79
75
 
80
- With findings in hand, read fully and follow: `{nextStepFile}` for user to choose resolution approach.
76
+ With findings in hand, read fully and follow: `./step-06-resolve-findings.md` for user to choose resolution approach.
81
77
 
82
78
  ---
83
79
 
@@ -1,6 +1,4 @@
1
1
  ---
2
- name: 'step-06-resolve-findings'
3
- description: 'Handle review findings interactively, apply fixes, update tech-spec with final status'
4
2
  ---
5
3
 
6
4
  # Step 6: Resolve Findings
@@ -31,12 +31,6 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
31
31
 
32
32
  - `project_context` = `**/project-context.md` (load if exists)
33
33
 
34
- ### Related Workflows
35
-
36
- - `quick_spec_workflow` = `../quick-spec/workflow.md`
37
- - `party_mode_exec` = `{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md`
38
- - `advanced_elicitation` = `skill:bmad-advanced-elicitation`
39
-
40
34
  ---
41
35
 
42
36
  ## EXECUTION
@@ -3,4 +3,4 @@ name: bmad-quick-dev-new-preview
3
3
  description: 'Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project''s existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.'
4
4
  ---
5
5
 
6
- Follow the instructions in [workflow.md](workflow.md).
6
+ Follow the instructions in ./workflow.md.
@@ -1,7 +1,4 @@
1
1
  ---
2
- name: 'step-01-clarify-and-route'
3
- description: 'Capture intent, route to execution path'
4
-
5
2
  wipFile: '{implementation_artifacts}/tech-spec-wip.md'
6
3
  deferred_work_file: '{implementation_artifacts}/deferred-work.md'
7
4
  spec_file: '' # set at runtime before leaving this step
@@ -50,5 +47,5 @@ spec_file: '' # set at runtime before leaving this step
50
47
 
51
48
  ## NEXT
52
49
 
53
- - One-shot / ready-for-dev: Read fully and follow `./steps/step-03-implement.md`
54
- - Plan-code-review: Read fully and follow `./steps/step-02-plan.md`
50
+ - One-shot / ready-for-dev: Read fully and follow `./step-03-implement.md`
51
+ - Plan-code-review: Read fully and follow `./step-02-plan.md`
@@ -1,8 +1,4 @@
1
1
  ---
2
- name: 'step-02-plan'
3
- description: 'Investigate, generate spec, present for approval'
4
-
5
- templateFile: '../tech-spec-template.md'
6
2
  wipFile: '{implementation_artifacts}/tech-spec-wip.md'
7
3
  deferred_work_file: '{implementation_artifacts}/deferred-work.md'
8
4
  ---
@@ -17,7 +13,7 @@ deferred_work_file: '{implementation_artifacts}/deferred-work.md'
17
13
  ## INSTRUCTIONS
18
14
 
19
15
  1. Investigate codebase. _Isolate deep exploration in sub-agents/tasks where available. To prevent context snowballing, instruct subagents to give you distilled summaries only._
20
- 2. Read `{templateFile}` fully. Fill it out based on the intent and investigation, and write the result to `{wipFile}`.
16
+ 2. Read `../tech-spec-template.md` fully. Fill it out based on the intent and investigation, and write the result to `{wipFile}`.
21
17
  3. Self-review against READY FOR DEVELOPMENT standard.
22
18
  4. If intent gaps exist, do not fantasize, do not leave open questions, HALT and ask the human.
23
19
  5. Token count check (see SCOPE STANDARD). If spec exceeds 1600 tokens:
@@ -36,4 +32,4 @@ Present summary. If token count exceeded 1600 and user chose [K], include the to
36
32
 
37
33
  ## NEXT
38
34
 
39
- Read fully and follow `./steps/step-03-implement.md`
35
+ Read fully and follow `./step-03-implement.md`
@@ -1,6 +1,4 @@
1
1
  ---
2
- name: 'step-03-implement'
3
- description: 'Execute implementation directly or via sub-agent. Local only.'
4
2
  ---
5
3
 
6
4
  # Step 3: Implement
@@ -32,4 +30,4 @@ Otherwise (`execution_mode = "plan-code-review"`): hand `{spec_file}` to a sub-a
32
30
 
33
31
  ## NEXT
34
32
 
35
- Read fully and follow `./steps/step-04-review.md`
33
+ Read fully and follow `./step-04-review.md`
@@ -1,7 +1,4 @@
1
1
  ---
2
- name: 'step-04-review'
3
- description: 'Adversarial review, classify findings, optional spec loop'
4
-
5
2
  deferred_work_file: '{implementation_artifacts}/deferred-work.md'
6
3
  specLoopIteration: 1
7
4
  ---
@@ -43,11 +40,11 @@ Do NOT `git add` anything — this is read-only inspection.
43
40
  - **defer** — pre-existing issue not caused by this story, surfaced incidentally by the review. Collect for later focused attention.
44
41
  - **reject** — noise. Drop silently. When unsure between defer and reject, prefer reject — only defer findings you are confident are real.
45
42
  3. Process findings in cascading order. If intent_gap or bad_spec findings exist, they trigger a loopback — lower findings are moot since code will be re-derived. If neither exists, process patch and defer normally. Increment `{specLoopIteration}` on each loopback. If it exceeds 5, HALT and escalate to the human. On any loopback, re-evaluate routing — if scope has grown beyond one-shot, escalate `execution_mode` to plan-code-review.
46
- - **intent_gap** — Root cause is inside `<frozen-after-approval>`. Revert code changes. Loop back to the human to resolve. Once resolved, read fully and follow `./steps/step-02-plan.md` to re-run steps 2–4.
47
- - **bad_spec** — Root cause is outside `<frozen-after-approval>`. Before reverting code: extract KEEP instructions for positive preservation (what worked well and must survive re-derivation). Revert code changes. Read the `## Spec Change Log` in `{spec_file}` and strictly respect all logged constraints when amending the non-frozen sections that contain the root cause. Append a new change-log entry recording: the triggering finding, what was amended, the known-bad state avoided, and the KEEP instructions. Read fully and follow `./steps/step-03-implement.md` to re-derive the code, then this step will run again.
43
+ - **intent_gap** — Root cause is inside `<frozen-after-approval>`. Revert code changes. Loop back to the human to resolve. Once resolved, read fully and follow `./step-02-plan.md` to re-run steps 2–4.
44
+ - **bad_spec** — Root cause is outside `<frozen-after-approval>`. Before reverting code: extract KEEP instructions for positive preservation (what worked well and must survive re-derivation). Revert code changes. Read the `## Spec Change Log` in `{spec_file}` and strictly respect all logged constraints when amending the non-frozen sections that contain the root cause. Append a new change-log entry recording: the triggering finding, what was amended, the known-bad state avoided, and the KEEP instructions. Read fully and follow `./step-03-implement.md` to re-derive the code, then this step will run again.
48
45
  - **patch** — Auto-fix. These are the only findings that survive loopbacks.
49
46
  - **defer** — Append to `{deferred_work_file}`.
50
47
  - **reject** — Drop silently.
51
48
  ## NEXT
52
49
 
53
- Read fully and follow `./steps/step-05-present.md`
50
+ Read fully and follow `./step-05-present.md`
@@ -1,6 +1,4 @@
1
1
  ---
2
- name: 'step-05-present'
3
- description: 'Present findings, get approval, create PR'
4
2
  ---
5
3
 
6
4
  # Step 5: Present
@@ -72,7 +72,6 @@ YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `
72
72
 
73
73
  ### 2. Paths
74
74
 
75
- - `templateFile` = `./tech-spec-template.md`
76
75
  - `wipFile` = `{implementation_artifacts}/tech-spec-wip.md`
77
76
 
78
77
  ### 3. First Step Execution
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: bmad-quick-spec
3
+ description: 'Very quick process to create implementation-ready quick specs for small changes or features. Use when the user says "create a quick spec" or "generate a quick tech spec"'
4
+ ---
5
+
6
+ Follow the instructions in ./workflow.md.
@@ -1,8 +1,4 @@
1
1
  ---
2
- name: 'step-01-understand'
3
- description: 'Analyze the requirement delta between current state and what user wants to build'
4
-
5
- templateFile: '../tech-spec-template.md'
6
2
  wipFile: '{implementation_artifacts}/tech-spec-wip.md'
7
3
  ---
8
4
 
@@ -54,9 +50,9 @@ a) **Menu Handling:**
54
50
 
55
51
  - **[Y] Continue existing:**
56
52
  - Jump directly to the appropriate step based on `stepsCompleted`:
57
- - `[1]` → Read fully and follow: `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md` (Step 2)
58
- - `[1, 2]` → Read fully and follow: `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md` (Step 3)
59
- - `[1, 2, 3]` → Read fully and follow: `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md` (Step 4)
53
+ - `[1]` → Read fully and follow: `./step-02-investigate.md` (Step 2)
54
+ - `[1, 2]` → Read fully and follow: `./step-03-generate.md` (Step 3)
55
+ - `[1, 2, 3]` → Read fully and follow: `./step-04-review.md` (Step 4)
60
56
  - **[N] Archive and start fresh:**
61
57
  - Rename `{wipFile}` to `{implementation_artifacts}/tech-spec-{slug}-archived-{date}.md`
62
58
 
@@ -125,7 +121,7 @@ b) **Ask the user to confirm the captured understanding before proceeding.**
125
121
 
126
122
  a) **Create the tech-spec WIP file:**
127
123
 
128
- 1. Copy template from `{templateFile}`
124
+ 1. Copy template from `../tech-spec-template.md`
129
125
  2. Write to `{wipFile}`
130
126
  3. Update frontmatter with captured values:
131
127
  ```yaml
@@ -165,9 +161,9 @@ b) **HALT and wait for user selection.**
165
161
 
166
162
  #### Menu Handling Logic:
167
163
 
168
- - IF A: Read fully and follow: `{advanced_elicitation}` with current tech-spec content, process enhanced insights, ask user "Accept improvements? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
169
- - IF P: Read fully and follow: `{party_mode_exec}` with current tech-spec content, process collaborative insights, ask user "Accept changes? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
170
- - IF C: Verify `{wipFile}` has `stepsCompleted: [1]`, then read fully and follow: `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md`
164
+ - IF A: Invoke the `bmad-advanced-elicitation` skill with current tech-spec content, process enhanced insights, ask user "Accept improvements? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
165
+ - IF P: Invoke the `bmad-party-mode` skill with current tech-spec content, process collaborative insights, ask user "Accept changes? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
166
+ - IF C: Verify `{wipFile}` has `stepsCompleted: [1]`, then read fully and follow: `./step-02-investigate.md`
171
167
  - IF Any other comments or queries: respond helpfully then redisplay menu
172
168
 
173
169
  #### EXECUTION RULES:
@@ -1,7 +1,4 @@
1
1
  ---
2
- name: 'step-02-investigate'
3
- description: 'Map technical constraints and anchor points within the codebase'
4
-
5
2
  wipFile: '{implementation_artifacts}/tech-spec-wip.md'
6
3
  ---
7
4
 
@@ -119,9 +116,9 @@ Display: "**Select:** [A] Advanced Elicitation [P] Party Mode [C] Continue to Ge
119
116
 
120
117
  #### Menu Handling Logic:
121
118
 
122
- - IF A: Read fully and follow: `{advanced_elicitation}` with current tech-spec content, process enhanced insights, ask user "Accept improvements? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
123
- - IF P: Read fully and follow: `{party_mode_exec}` with current tech-spec content, process collaborative insights, ask user "Accept changes? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
124
- - IF C: Verify frontmatter updated with `stepsCompleted: [1, 2]`, then read fully and follow: `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md`
119
+ - IF A: Invoke the `bmad-advanced-elicitation` skill with current tech-spec content, process enhanced insights, ask user "Accept improvements? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
120
+ - IF P: Invoke the `bmad-party-mode` skill with current tech-spec content, process collaborative insights, ask user "Accept changes? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
121
+ - IF C: Verify frontmatter updated with `stepsCompleted: [1, 2]`, then read fully and follow: `./step-03-generate.md`
125
122
  - IF Any other comments or queries: respond helpfully then redisplay menu
126
123
 
127
124
  #### EXECUTION RULES:
@@ -1,7 +1,4 @@
1
1
  ---
2
- name: 'step-03-generate'
3
- description: 'Build the implementation plan based on the technical mapping of constraints'
4
-
5
2
  wipFile: '{implementation_artifacts}/tech-spec-wip.md'
6
3
  ---
7
4
 
@@ -112,7 +109,7 @@ stepsCompleted: [1, 2, 3]
112
109
  ---
113
110
  ```
114
111
 
115
- c) **Read fully and follow: `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md` (Step 4)**
112
+ c) **Read fully and follow: `./step-04-review.md` (Step 4)**
116
113
 
117
114
  ## REQUIRED OUTPUTS:
118
115
 
@@ -1,7 +1,4 @@
1
1
  ---
2
- name: 'step-04-review'
3
- description: 'Review and finalize the tech-spec'
4
-
5
2
  wipFile: '{implementation_artifacts}/tech-spec-wip.md'
6
3
  ---
7
4
 
@@ -51,8 +48,8 @@ Display: "**Select:** [C] Continue [E] Edit [Q] Questions [A] Advanced Elicitati
51
48
  - IF C: Proceed to Section 3 (Finalize the Spec)
52
49
  - IF E: Proceed to Section 2 (Handle Review Feedback), then return here and redisplay menu
53
50
  - IF Q: Answer questions, then redisplay this menu
54
- - IF A: Read fully and follow: `{advanced_elicitation}` with current spec content, process enhanced insights, ask user "Accept improvements? (y/n)", if yes update spec then redisplay menu, if no keep original then redisplay menu
55
- - IF P: Read fully and follow: `{party_mode_exec}` with current spec content, process collaborative insights, ask user "Accept changes? (y/n)", if yes update spec then redisplay menu, if no keep original then redisplay menu
51
+ - IF A: Invoke the `bmad-advanced-elicitation` skill with current spec content, process enhanced insights, ask user "Accept improvements? (y/n)", if yes update spec then redisplay menu, if no keep original then redisplay menu
52
+ - IF P: Invoke the `bmad-party-mode` skill with current spec content, process collaborative insights, ask user "Accept changes? (y/n)", if yes update spec then redisplay menu, if no keep original then redisplay menu
56
53
  - IF Any other comments or queries: respond helpfully then redisplay menu
57
54
 
58
55
  #### EXECUTION RULES:
@@ -137,10 +134,10 @@ b) **HALT and wait for user selection.**
137
134
 
138
135
  #### Menu Handling Logic:
139
136
 
140
- - IF A: Read fully and follow: `{advanced_elicitation}` with current spec content, process enhanced insights, ask user "Accept improvements? (y/n)", if yes update spec then redisplay menu, if no keep original then redisplay menu
137
+ - IF A: Invoke the `bmad-advanced-elicitation` skill with current spec content, process enhanced insights, ask user "Accept improvements? (y/n)", if yes update spec then redisplay menu, if no keep original then redisplay menu
141
138
  - IF B: Invoke the `bmad-quick-dev` skill with `{finalFile}` in a fresh context if possible (warn: fresh context is better)
142
139
  - IF D: Exit workflow - display final confirmation and path to spec
143
- - IF P: Read fully and follow: `{party_mode_exec}` with current spec content, process collaborative insights, ask user "Accept changes? (y/n)", if yes update spec then redisplay menu, if no keep original then redisplay menu
140
+ - IF P: Invoke the `bmad-party-mode` skill with current spec content, process collaborative insights, ask user "Accept changes? (y/n)", if yes update spec then redisplay menu, if no keep original then redisplay menu
144
141
  - IF R: Execute Adversarial Review (see below)
145
142
  - IF Any other comments or queries: respond helpfully then redisplay menu
146
143
 
@@ -1,11 +1,6 @@
1
1
  ---
2
- name: quick-spec
3
- description: 'Very quick process to create implementation-ready quick specs for small changes or features. Use when the user says "create a quick spec" or "generate a quick tech spec"'
4
2
  main_config: '{project-root}/_bmad/bmm/config.yaml'
5
3
 
6
- # Checkpoint handler references
7
- advanced_elicitation: 'skill:bmad-advanced-elicitation'
8
- party_mode_exec: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md'
9
4
  ---
10
5
 
11
6
  # Quick-Spec Workflow
@@ -75,4 +70,4 @@ Load and read full config from `{main_config}` and resolve:
75
70
 
76
71
  ### 2. First Step Execution
77
72
 
78
- Read fully and follow: `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md` to begin the workflow.
73
+ Read fully and follow: `./steps/step-01-understand.md` to begin the workflow.
@@ -8,3 +8,4 @@ core,anytime,Editorial Review - Prose,EP,,skill:bmad-editorial-review-prose,bmad
8
8
  core,anytime,Editorial Review - Structure,ES,,skill:bmad-editorial-review-structure,bmad-editorial-review-structure,false,,,"Propose cuts, reorganization, and simplification while preserving comprehension. Use when doc produced from multiple subprocesses or needs structural improvement.",report located with target document,
9
9
  core,anytime,Adversarial Review (General),AR,,skill:bmad-review-adversarial-general,bmad-review-adversarial-general,false,,,"Review content critically to find issues and weaknesses. Use for quality assurance or before finalizing deliverables. Code Review in other modules run this automatically, but its useful also for document reviews",,
10
10
  core,anytime,Edge Case Hunter Review,ECH,,skill:bmad-review-edge-case-hunter,bmad-review-edge-case-hunter,false,,,"Walk every branching path and boundary condition in code, report only unhandled edge cases. Use alongside adversarial review for orthogonal coverage - method-driven not attitude-driven.",,
11
+ core,anytime,Distillator,DG,,skill:bmad-distillator,bmad-distillator,false,,,"Lossless LLM-optimized compression of source documents. Use when you need token-efficient distillates that preserve all information for downstream LLM consumption.",adjacent to source document or specified output_path,distillate markdown file(s)
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: bmad-advanced-elicitation
3
+ description: 'Push the LLM to reconsider, refine, and improve its recent output.'
4
+ ---
5
+
6
+ Follow the instructions in ./workflow.md.
@@ -1,5 +1,4 @@
1
1
  ---
2
- methods: './methods.csv'
3
2
  agent_party: '{project-root}/_bmad/_config/agent-manifest.csv'
4
3
  ---
5
4
 
@@ -35,7 +34,7 @@ When invoked from another prompt or process:
35
34
 
36
35
  ### Step 1: Method Registry Loading
37
36
 
38
- **Action:** Load and read `{methods}` and `{agent_party}`
37
+ **Action:** Load and read `./methods.csv` and `{agent_party}`
39
38
 
40
39
  #### CSV Structure
41
40
 
@@ -97,9 +96,9 @@ x. Proceed / No Further Actions
97
96
  **Case x (Proceed):**
98
97
 
99
98
  - Complete elicitation and proceed
100
- - Return the fully enhanced content back to create-doc.md
99
+ - Return the fully enhanced content back to the invoking skill
101
100
  - The enhanced content becomes the final version for that section
102
- - Signal completion back to create-doc.md to continue with next section
101
+ - Signal completion back to the invoking skill to continue with next section
103
102
 
104
103
  **Case a (List All):**
105
104
 
@@ -3,4 +3,4 @@ name: bmad-brainstorming
3
3
  description: 'Facilitate interactive brainstorming sessions using diverse creative techniques and ideation methods. Use when the user says help me brainstorm or help me ideate.'
4
4
  ---
5
5
 
6
- Follow the instructions in [workflow.md](workflow.md).
6
+ Follow the instructions in ./workflow.md.
@@ -48,6 +48,8 @@ If existing session files are found:
48
48
  **[2]** Start a new session
49
49
  **[3]** See all existing sessions"
50
50
 
51
+ **HALT — wait for user selection before proceeding.**
52
+
51
53
  - If user selects **[1]** (continue): Set `{brainstorming_session_output_file}` to that file path and load `./step-01b-continue.md`
52
54
  - If user selects **[2]** (new): Generate new filename with current date/time and proceed to step 3
53
55
  - If user selects **[3]** (see all): List all session filenames and ask which to continue or if new
@@ -65,7 +67,7 @@ Create the brainstorming session document:
65
67
  mkdir -p "$(dirname "{brainstorming_session_output_file}")"
66
68
 
67
69
  # Initialize from template
68
- cp "{template_path}" "{brainstorming_session_output_file}"
70
+ cp "../template.md" "{brainstorming_session_output_file}"
69
71
  ```
70
72
 
71
73
  #### B. Context File Check and Loading
@@ -155,6 +157,8 @@ When user selects approach, append the session overview content directly to `{br
155
157
 
156
158
  Which approach appeals to you most? (Enter 1-4)"
157
159
 
160
+ **HALT — wait for user selection before proceeding.**
161
+
158
162
  ### 4. Handle User Selection and Initial Document Append
159
163
 
160
164
  #### When user selects approach number:
@@ -63,7 +63,9 @@ Based on session analysis, provide appropriate options:
63
63
  **Options:**
64
64
  [1] Review Results - Go through your documented ideas and insights
65
65
  [2] Start New Session - Begin brainstorming on a new topic
66
- [3) Extend Session - Add more techniques or explore new angles"
66
+ [3] Extend Session - Add more techniques or explore new angles"
67
+
68
+ **HALT — wait for user selection before proceeding.**
67
69
 
68
70
  **If Session In Progress:**
69
71
  "Let's continue where we left off!
@@ -40,7 +40,7 @@ Load techniques from CSV on-demand:
40
40
 
41
41
  **Load CSV and parse:**
42
42
 
43
- - Read `brain-methods.csv`
43
+ - Read `../brain-methods.csv`
44
44
  - Parse: category, technique_name, description, facilitation_prompts, best_for, energy_level, typical_duration
45
45
  - Organize by categories for browsing
46
46
 
@@ -87,6 +87,8 @@ Show available categories with brief descriptions:
87
87
 
88
88
  **Which category interests you most? Enter 1-7, or tell me what type of thinking you're drawn to.**"
89
89
 
90
+ **HALT — wait for user selection before proceeding.**
91
+
90
92
  ### 3. Handle Category Selection
91
93
 
92
94
  After user selects category:
@@ -154,6 +156,8 @@ This combination will take approximately [total_time] and focus on [expected out
154
156
  [C] Continue - Begin technique execution
155
157
  [Back] - Modify technique selection"
156
158
 
159
+ **HALT — wait for user selection before proceeding.**
160
+
157
161
  ### 6. Update Frontmatter and Continue
158
162
 
159
163
  If user confirms:
@@ -47,7 +47,7 @@ Load techniques from CSV for analysis:
47
47
 
48
48
  **Load CSV and parse:**
49
49
 
50
- - Read `brain-methods.csv`
50
+ - Read `../brain-methods.csv`
51
51
  - Parse: category, technique_name, description, facilitation_prompts, best_for, energy_level, typical_duration
52
52
 
53
53
  ### 2. Context Analysis for Technique Matching
@@ -152,6 +152,8 @@ Provide deeper insight into each recommended technique:
152
152
  [Details] - Tell me more about any specific technique
153
153
  [Back] - Return to approach selection
154
154
 
155
+ **HALT — wait for user selection before proceeding.**
156
+
155
157
  ### 6. Handle User Response
156
158
 
157
159
  #### If [C] Continue:
@@ -47,7 +47,7 @@ Create anticipation for serendipitous technique discovery:
47
47
 
48
48
  **Load CSV and parse:**
49
49
 
50
- - Read `brain-methods.csv`
50
+ - Read `../brain-methods.csv`
51
51
  - Parse: category, technique_name, description, facilitation_prompts, best_for, energy_level, typical_duration
52
52
  - Prepare for intelligent random selection
53
53
 
@@ -124,6 +124,8 @@ You're about to experience brainstorming in a completely new way. These unexpect
124
124
  [Details] - Tell me more about any specific technique
125
125
  [Back] - Return to approach selection
126
126
 
127
+ **HALT — wait for user selection before proceeding.**
128
+
127
129
  ### 5. Handle User Response
128
130
 
129
131
  #### If [C] Continue:
@@ -66,7 +66,7 @@ Explain the value of systematic creative progression:
66
66
 
67
67
  **Load CSV and parse:**
68
68
 
69
- - Read `brain-methods.csv`
69
+ - Read `../brain-methods.csv`
70
70
  - Parse: category, technique_name, description, facilitation_prompts, best_for, energy_level, typical_duration
71
71
  - Map techniques to each phase of the creative journey
72
72
 
@@ -176,6 +176,8 @@ Show the full progressive flow with timing and transitions:
176
176
  [Details] - Tell me more about any specific phase or technique
177
177
  [Back] - Return to approach selection
178
178
 
179
+ **HALT — wait for user selection before proceeding.**
180
+
179
181
  ### 4. Handle Customization Requests
180
182
 
181
183
  If user wants customization:
@@ -1,7 +1,7 @@
1
1
  # Step 3: Interactive Technique Execution and Facilitation
2
2
 
3
3
  ---
4
- advancedElicitationTask: 'skill:bmad-advanced-elicitation'
4
+
5
5
  ---
6
6
 
7
7
  ## MANDATORY EXECUTION RULES (READ FIRST):
@@ -290,6 +290,8 @@ After final technique element:
290
290
  [B] **Take a quick break** - Pause and return with fresh energy
291
291
  [C] **Move to organization** - Only when you feel we've thoroughly explored
292
292
 
293
+ **HALT — wait for user selection before proceeding.**
294
+
293
295
  **Default recommendation:** Unless you feel we've generated at least 100+ ideas, I suggest we keep exploring! The best insights often come after the obvious ideas are exhausted.
294
296
 
295
297
  ### 8. Handle Menu Selection
@@ -303,7 +305,7 @@ After final technique element:
303
305
  #### If 'K', 'T', 'A', or 'B' (Continue Exploring):
304
306
 
305
307
  - **Stay in Step 3** and restart the facilitation loop for the chosen path (or pause if break requested).
306
- - For option A, invoke Advanced Elicitation: `{advancedElicitationTask}`
308
+ - For option A: Invoke the `bmad-advanced-elicitation` skill
307
309
 
308
310
  ### 9. Update Documentation
309
311
 
@@ -249,6 +249,8 @@ Provide final session wrap-up and forward guidance:
249
249
  **Ready to complete your session documentation?**
250
250
  [C] Complete - Generate final brainstorming session document
251
251
 
252
+ **HALT — wait for user selection before proceeding.**
253
+
252
254
  ### 8. Handle Completion Selection
253
255
 
254
256
  #### If [C] Complete: