bmalph 2.7.7 → 2.9.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 (502) hide show
  1. package/README.md +51 -28
  2. package/bmad/bmm/agents/analyst.agent.yaml +6 -6
  3. package/bmad/bmm/agents/architect.agent.yaml +2 -2
  4. package/bmad/bmm/agents/bmad-skill-manifest.yaml +39 -0
  5. package/bmad/bmm/agents/dev.agent.yaml +2 -2
  6. package/bmad/bmm/agents/pm.agent.yaml +6 -6
  7. package/bmad/bmm/agents/qa.agent.yaml +1 -1
  8. package/bmad/bmm/agents/quick-flow-solo-dev.agent.yaml +7 -3
  9. package/bmad/bmm/agents/sm.agent.yaml +4 -4
  10. package/bmad/bmm/agents/tech-writer/bmad-skill-manifest.yaml +3 -0
  11. package/bmad/bmm/agents/tech-writer/tech-writer.agent.yaml +1 -1
  12. package/bmad/bmm/agents/ux-designer.agent.yaml +1 -1
  13. package/bmad/bmm/module-help.csv +26 -25
  14. package/bmad/bmm/workflows/1-analysis/bmad-create-product-brief/SKILL.md +6 -0
  15. package/bmad/bmm/workflows/1-analysis/bmad-create-product-brief/bmad-skill-manifest.yaml +1 -0
  16. package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/product-brief.template.md +2 -2
  17. package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-01-init.md +4 -11
  18. package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-01b-continue.md +0 -3
  19. package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-02-vision.md +5 -11
  20. package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-03-users.md +5 -11
  21. package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-04-metrics.md +5 -11
  22. package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-05-scope.md +5 -11
  23. package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-06-complete.md +1 -4
  24. package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/workflow.md +4 -6
  25. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/SKILL.md +88 -0
  26. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/artifact-analyzer.md +60 -0
  27. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/opportunity-reviewer.md +44 -0
  28. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/skeptic-reviewer.md +44 -0
  29. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/web-researcher.md +49 -0
  30. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-manifest.json +17 -0
  31. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-skill-manifest.yaml +1 -0
  32. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/contextual-discovery.md +57 -0
  33. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/draft-and-review.md +86 -0
  34. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/finalize.md +75 -0
  35. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/guided-elicitation.md +70 -0
  36. package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/resources/brief-template.md +60 -0
  37. package/bmad/bmm/workflows/1-analysis/research/bmad-domain-research/SKILL.md +6 -0
  38. package/bmad/bmm/workflows/1-analysis/research/bmad-domain-research/bmad-skill-manifest.yaml +1 -0
  39. package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-06-research-synthesis.md +2 -1
  40. package/bmad/bmm/workflows/1-analysis/research/bmad-domain-research/research.template.md +29 -0
  41. package/bmad/bmm/workflows/1-analysis/research/{workflow-domain-research.md → bmad-domain-research/workflow.md} +0 -5
  42. package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/SKILL.md +6 -0
  43. package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/bmad-skill-manifest.yaml +1 -0
  44. package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/research.template.md +29 -0
  45. package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-01-init.md +184 -0
  46. package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-02-customer-behavior.md +239 -0
  47. package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-03-customer-pain-points.md +251 -0
  48. package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-04-customer-decisions.md +261 -0
  49. package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-05-competitive-analysis.md +173 -0
  50. package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +478 -0
  51. package/bmad/bmm/workflows/1-analysis/research/{workflow-market-research.md → bmad-market-research/workflow.md} +1 -6
  52. package/bmad/bmm/workflows/1-analysis/research/bmad-technical-research/SKILL.md +6 -0
  53. package/bmad/bmm/workflows/1-analysis/research/bmad-technical-research/bmad-skill-manifest.yaml +1 -0
  54. package/bmad/bmm/workflows/1-analysis/research/bmad-technical-research/research.template.md +29 -0
  55. package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-06-research-synthesis.md +2 -1
  56. package/bmad/bmm/workflows/1-analysis/research/{workflow-technical-research.md → bmad-technical-research/workflow.md} +0 -4
  57. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +2 -2
  58. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +2 -2
  59. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +2 -2
  60. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +2 -2
  61. package/bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +2 -1
  62. package/bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/SKILL.md +6 -0
  63. package/bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/bmad-skill-manifest.yaml +1 -0
  64. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-01-init.md +2 -2
  65. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-01b-continue.md +1 -1
  66. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-02-discovery.md +2 -2
  67. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-03-core-experience.md +5 -4
  68. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-04-emotional-response.md +5 -4
  69. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-05-inspiration.md +5 -4
  70. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-06-design-system.md +5 -4
  71. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-07-defining-experience.md +5 -4
  72. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-08-visual-foundation.md +5 -4
  73. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-09-design-directions.md +5 -4
  74. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-10-user-journeys.md +5 -4
  75. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-11-component-strategy.md +5 -4
  76. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-12-ux-patterns.md +5 -4
  77. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-13-responsive-accessibility.md +5 -4
  78. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-14-complete.md +3 -3
  79. package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/workflow.md +2 -8
  80. package/bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/SKILL.md +6 -0
  81. package/bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/bmad-skill-manifest.yaml +1 -0
  82. package/bmad/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-01-discovery.md +3 -8
  83. package/bmad/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-01b-legacy-conversion.md +1 -5
  84. package/bmad/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-02-review.md +5 -9
  85. package/bmad/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-03-edit.md +3 -6
  86. package/bmad/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-04-complete.md +2 -5
  87. package/bmad/bmm/workflows/2-plan-workflows/{create-prd/workflow-edit-prd.md → bmad-edit-prd/workflow.md} +2 -4
  88. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/SKILL.md +6 -0
  89. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/bmad-skill-manifest.yaml +1 -0
  90. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/domain-complexity.csv +15 -0
  91. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/prd-purpose.md +197 -0
  92. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/project-types.csv +11 -0
  93. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-01-discovery.md +221 -0
  94. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
  95. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
  96. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
  97. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
  98. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
  99. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
  100. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
  101. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
  102. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
  103. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
  104. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
  105. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
  106. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
  107. package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/workflow.md +62 -0
  108. package/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +2 -4
  109. package/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +1 -1
  110. package/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +3 -3
  111. package/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +3 -2
  112. package/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +3 -1
  113. package/bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/SKILL.md +6 -0
  114. package/bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/bmad-skill-manifest.yaml +1 -0
  115. package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-01-document-discovery.md +3 -8
  116. package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-02-prd-analysis.md +1 -5
  117. package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-03-epic-coverage-validation.md +1 -5
  118. package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-04-ux-alignment.md +1 -5
  119. package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-05-epic-quality-review.md +2 -6
  120. package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-06-final-assessment.md +1 -4
  121. package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/workflow.md +1 -6
  122. package/bmad/bmm/workflows/3-solutioning/bmad-create-architecture/SKILL.md +6 -0
  123. package/bmad/bmm/workflows/3-solutioning/bmad-create-architecture/bmad-skill-manifest.yaml +1 -0
  124. package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-01-init.md +4 -4
  125. package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-01b-continue.md +11 -2
  126. package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-02-context.md +4 -4
  127. package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-03-starter.md +5 -7
  128. package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-04-decisions.md +4 -4
  129. package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-05-patterns.md +4 -4
  130. package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-06-structure.md +4 -4
  131. package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-07-validation.md +4 -4
  132. package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-08-complete.md +1 -1
  133. package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/workflow.md +1 -12
  134. package/bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/SKILL.md +6 -0
  135. package/bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/bmad-skill-manifest.yaml +1 -0
  136. package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-01-validate-prerequisites.md +37 -41
  137. package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-02-design-epics.md +7 -28
  138. package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-03-create-stories.md +13 -30
  139. package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-04-final-validation.md +3 -21
  140. package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/templates/epics-template.md +4 -0
  141. package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/workflow.md +1 -6
  142. package/bmad/bmm/workflows/4-implementation/bmad-code-review/SKILL.md +6 -0
  143. package/bmad/bmm/workflows/4-implementation/bmad-code-review/bmad-skill-manifest.yaml +1 -0
  144. package/bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-01-gather-context.md +61 -0
  145. package/bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-02-review.md +41 -0
  146. package/bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-03-triage.md +50 -0
  147. package/bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-04-present.md +38 -0
  148. package/bmad/bmm/workflows/4-implementation/bmad-code-review/workflow.md +54 -0
  149. package/bmad/bmm/workflows/4-implementation/bmad-correct-course/SKILL.md +6 -0
  150. package/bmad/bmm/workflows/4-implementation/bmad-correct-course/bmad-skill-manifest.yaml +1 -0
  151. package/bmad/bmm/workflows/4-implementation/{correct-course → bmad-correct-course}/checklist.md +1 -1
  152. package/bmad/bmm/workflows/4-implementation/{correct-course/instructions.md → bmad-correct-course/workflow.md} +74 -14
  153. package/bmad/bmm/workflows/4-implementation/bmad-create-story/SKILL.md +6 -0
  154. package/bmad/bmm/workflows/4-implementation/bmad-create-story/bmad-skill-manifest.yaml +1 -0
  155. package/bmad/bmm/workflows/4-implementation/{create-story → bmad-create-story}/checklist.md +9 -10
  156. package/bmad/bmm/workflows/4-implementation/bmad-create-story/discover-inputs.md +88 -0
  157. package/bmad/bmm/workflows/4-implementation/bmad-create-story/workflow.md +380 -0
  158. package/bmad/bmm/workflows/4-implementation/bmad-dev-story/SKILL.md +6 -0
  159. package/bmad/bmm/workflows/4-implementation/bmad-dev-story/bmad-skill-manifest.yaml +1 -0
  160. package/bmad/bmm/workflows/4-implementation/{dev-story/instructions.xml → bmad-dev-story/workflow.md} +42 -2
  161. package/bmad/bmm/workflows/4-implementation/bmad-retrospective/SKILL.md +6 -0
  162. package/bmad/bmm/workflows/4-implementation/bmad-retrospective/bmad-skill-manifest.yaml +1 -0
  163. package/bmad/bmm/workflows/4-implementation/{retrospective/instructions.md → bmad-retrospective/workflow.md} +58 -23
  164. package/bmad/bmm/workflows/4-implementation/bmad-sprint-planning/SKILL.md +6 -0
  165. package/bmad/bmm/workflows/4-implementation/bmad-sprint-planning/bmad-skill-manifest.yaml +1 -0
  166. package/bmad/bmm/workflows/4-implementation/{sprint-planning → bmad-sprint-planning}/sprint-status-template.yaml +1 -0
  167. package/bmad/bmm/workflows/4-implementation/{sprint-planning/instructions.md → bmad-sprint-planning/workflow.md} +47 -10
  168. package/bmad/bmm/workflows/4-implementation/bmad-sprint-status/SKILL.md +6 -0
  169. package/bmad/bmm/workflows/4-implementation/bmad-sprint-status/bmad-skill-manifest.yaml +1 -0
  170. package/bmad/bmm/workflows/4-implementation/{sprint-status/instructions.md → bmad-sprint-status/workflow.md} +39 -8
  171. package/bmad/bmm/workflows/bmad-document-project/SKILL.md +6 -0
  172. package/bmad/bmm/workflows/bmad-document-project/bmad-skill-manifest.yaml +1 -0
  173. package/bmad/bmm/workflows/{document-project → bmad-document-project}/instructions.md +6 -8
  174. package/bmad/bmm/workflows/bmad-document-project/workflow.md +27 -0
  175. package/bmad/bmm/workflows/{document-project → bmad-document-project}/workflows/deep-dive-instructions.md +3 -2
  176. package/bmad/bmm/workflows/bmad-document-project/workflows/deep-dive-workflow.md +34 -0
  177. package/bmad/bmm/workflows/{document-project → bmad-document-project}/workflows/full-scan-instructions.md +5 -4
  178. package/bmad/bmm/workflows/bmad-document-project/workflows/full-scan-workflow.md +34 -0
  179. package/bmad/bmm/workflows/bmad-generate-project-context/SKILL.md +6 -0
  180. package/bmad/bmm/workflows/bmad-generate-project-context/bmad-skill-manifest.yaml +1 -0
  181. package/bmad/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-01-discover.md +3 -1
  182. package/bmad/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-02-generate.md +7 -4
  183. package/bmad/bmm/workflows/{generate-project-context → bmad-generate-project-context}/workflow.md +2 -8
  184. package/bmad/bmm/workflows/bmad-qa-generate-e2e-tests/SKILL.md +6 -0
  185. package/bmad/bmm/workflows/bmad-qa-generate-e2e-tests/bmad-skill-manifest.yaml +1 -0
  186. package/bmad/bmm/workflows/{qa/automate/instructions.md → bmad-qa-generate-e2e-tests/workflow.md} +33 -7
  187. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/SKILL.md +6 -0
  188. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/bmad-skill-manifest.yaml +1 -0
  189. package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-01-mode-detection.md +9 -14
  190. package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-02-context-gathering.md +1 -5
  191. package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-03-execute.md +1 -5
  192. package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-04-self-check.md +1 -5
  193. package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-05-adversarial-review.md +8 -18
  194. package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-06-resolve-findings.md +0 -2
  195. package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/workflow.md +1 -13
  196. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/SKILL.md +6 -0
  197. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/bmad-skill-manifest.yaml +1 -0
  198. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-01-clarify-and-route.md +51 -0
  199. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-02-plan.md +35 -0
  200. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-03-implement.md +33 -0
  201. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md +50 -0
  202. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-05-present.md +17 -0
  203. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/tech-spec-template.md +90 -0
  204. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/workflow.md +79 -0
  205. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/SKILL.md +6 -0
  206. package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/bmad-skill-manifest.yaml +1 -0
  207. package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-01-understand.md +7 -13
  208. package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-02-investigate.md +3 -7
  209. package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-03-generate.md +1 -5
  210. package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-04-review.md +9 -14
  211. package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/workflow.md +1 -7
  212. package/bmad/core/module-help.csv +10 -8
  213. package/bmad/core/module.yaml +1 -1
  214. package/bmad/core/skills/bmad-advanced-elicitation/SKILL.md +6 -0
  215. package/bmad/core/skills/bmad-advanced-elicitation/bmad-skill-manifest.yaml +1 -0
  216. package/bmad/core/skills/bmad-advanced-elicitation/workflow.md +135 -0
  217. package/bmad/core/skills/bmad-brainstorming/SKILL.md +6 -0
  218. package/bmad/core/skills/bmad-brainstorming/bmad-skill-manifest.yaml +1 -0
  219. package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-01-session-setup.md +35 -18
  220. package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-01b-continue.md +4 -2
  221. package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-02a-user-selected.md +5 -1
  222. package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-02b-ai-recommended.md +3 -1
  223. package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-02c-random-selection.md +3 -1
  224. package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-02d-progressive-flow.md +3 -1
  225. package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-03-technique-execution.md +6 -4
  226. package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-04-idea-organization.md +4 -2
  227. package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/workflow.md +4 -9
  228. package/bmad/core/skills/bmad-distillator/SKILL.md +178 -0
  229. package/bmad/core/skills/bmad-distillator/agents/distillate-compressor.md +116 -0
  230. package/bmad/core/skills/bmad-distillator/agents/round-trip-reconstructor.md +68 -0
  231. package/bmad/core/skills/bmad-distillator/bmad-skill-manifest.yaml +15 -0
  232. package/bmad/core/skills/bmad-distillator/resources/compression-rules.md +51 -0
  233. package/bmad/core/skills/bmad-distillator/resources/distillate-format-reference.md +227 -0
  234. package/bmad/core/skills/bmad-distillator/resources/splitting-strategy.md +78 -0
  235. package/bmad/core/skills/bmad-distillator/scripts/analyze_sources.py +300 -0
  236. package/bmad/core/skills/bmad-distillator/scripts/tests/test_analyze_sources.py +204 -0
  237. package/bmad/core/skills/bmad-editorial-review-prose/SKILL.md +6 -0
  238. package/bmad/core/skills/bmad-editorial-review-prose/bmad-skill-manifest.yaml +1 -0
  239. package/bmad/core/skills/bmad-editorial-review-prose/workflow.md +81 -0
  240. package/bmad/core/skills/bmad-editorial-review-structure/SKILL.md +6 -0
  241. package/bmad/core/skills/bmad-editorial-review-structure/bmad-skill-manifest.yaml +1 -0
  242. package/bmad/core/skills/bmad-editorial-review-structure/workflow.md +174 -0
  243. package/bmad/core/skills/bmad-help/SKILL.md +6 -0
  244. package/bmad/core/skills/bmad-help/bmad-skill-manifest.yaml +1 -0
  245. package/bmad/core/{tasks/help.md → skills/bmad-help/workflow.md} +11 -8
  246. package/bmad/core/skills/bmad-index-docs/SKILL.md +6 -0
  247. package/bmad/core/skills/bmad-index-docs/bmad-skill-manifest.yaml +1 -0
  248. package/bmad/core/skills/bmad-index-docs/workflow.md +61 -0
  249. package/bmad/core/skills/bmad-party-mode/SKILL.md +6 -0
  250. package/bmad/core/skills/bmad-party-mode/bmad-skill-manifest.yaml +1 -0
  251. package/bmad/core/{workflows/party-mode → skills/bmad-party-mode}/steps/step-03-graceful-exit.md +0 -1
  252. package/bmad/core/{workflows/party-mode → skills/bmad-party-mode}/workflow.md +0 -4
  253. package/bmad/core/skills/bmad-review-adversarial-general/SKILL.md +6 -0
  254. package/bmad/core/skills/bmad-review-adversarial-general/bmad-skill-manifest.yaml +1 -0
  255. package/bmad/core/skills/bmad-review-adversarial-general/workflow.md +32 -0
  256. package/bmad/core/skills/bmad-review-edge-case-hunter/SKILL.md +6 -0
  257. package/bmad/core/skills/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml +1 -0
  258. package/bmad/core/skills/bmad-review-edge-case-hunter/workflow.md +62 -0
  259. package/bmad/core/skills/bmad-shard-doc/SKILL.md +6 -0
  260. package/bmad/core/skills/bmad-shard-doc/bmad-skill-manifest.yaml +1 -0
  261. package/bmad/core/skills/bmad-shard-doc/workflow.md +100 -0
  262. package/bmad/core/tasks/bmad-create-prd/SKILL.md +6 -0
  263. package/bmad/core/tasks/bmad-create-prd/bmad-skill-manifest.yaml +1 -0
  264. package/bmad/core/tasks/bmad-create-prd/data/domain-complexity.csv +15 -0
  265. package/bmad/core/tasks/bmad-create-prd/data/prd-purpose.md +197 -0
  266. package/bmad/core/tasks/bmad-create-prd/data/project-types.csv +11 -0
  267. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-01-init.md +7 -20
  268. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-01b-continue.md +29 -21
  269. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02-discovery.md +7 -23
  270. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02b-vision.md +5 -17
  271. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02c-executive-summary.md +5 -17
  272. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-03-success.md +4 -16
  273. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-04-journeys.md +4 -16
  274. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-05-domain.md +7 -20
  275. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-06-innovation.md +8 -23
  276. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-07-project-type.md +6 -21
  277. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-08-scoping.md +5 -17
  278. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-09-functional.md +5 -17
  279. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-10-nonfunctional.md +5 -17
  280. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-11-polish.md +22 -18
  281. package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-12-complete.md +4 -13
  282. package/bmad/{bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md → core/tasks/bmad-create-prd/workflow.md} +3 -4
  283. package/bundled-versions.json +1 -1
  284. package/dist/cli.js +3 -2
  285. package/dist/commands/doctor-checks.js +15 -6
  286. package/dist/commands/doctor-health-checks.js +2 -1
  287. package/dist/commands/doctor.js +13 -4
  288. package/dist/commands/init.js +15 -3
  289. package/dist/commands/reset.js +1 -1
  290. package/dist/commands/run.js +36 -1
  291. package/dist/commands/status.js +3 -11
  292. package/dist/commands/upgrade.js +1 -1
  293. package/dist/installer/commands.js +33 -15
  294. package/dist/installer/install.js +1 -1
  295. package/dist/installer/metadata.js +1 -1
  296. package/dist/installer/project-files.js +5 -6
  297. package/dist/installer/ralph-assets.js +8 -0
  298. package/dist/installer/template-files.js +85 -13
  299. package/dist/platform/codex.js +6 -1
  300. package/dist/platform/detect.js +7 -3
  301. package/dist/platform/doctor-checks.js +2 -2
  302. package/dist/platform/guidance.js +66 -0
  303. package/dist/platform/instructions-snippet.js +15 -0
  304. package/dist/platform/opencode.js +20 -0
  305. package/dist/platform/registry.js +2 -0
  306. package/dist/platform/types.js +1 -0
  307. package/dist/reset.js +4 -5
  308. package/dist/run/ralph-process.js +59 -10
  309. package/dist/run/run-dashboard.js +10 -9
  310. package/dist/transition/artifact-scan.js +16 -10
  311. package/dist/transition/context.js +1 -1
  312. package/dist/utils/constants.js +26 -2
  313. package/dist/utils/github.js +4 -3
  314. package/dist/utils/ralph-runtime-state.js +3 -13
  315. package/dist/utils/validate.js +4 -10
  316. package/dist/watch/dashboard.js +17 -5
  317. package/dist/watch/renderer.js +31 -6
  318. package/dist/watch/state-reader.js +20 -1
  319. package/package.json +8 -2
  320. package/ralph/drivers/opencode.sh +147 -0
  321. package/ralph/lib/response_analyzer.sh +227 -78
  322. package/ralph/lib/wizard_utils.sh +4 -4
  323. package/ralph/ralph_loop.sh +508 -4
  324. package/ralph/templates/PROMPT.md +12 -0
  325. package/ralph/templates/REVIEW_PROMPT.md +60 -0
  326. package/ralph/templates/ralphrc.template +41 -2
  327. package/slash-commands/advanced-elicitation.md +1 -1
  328. package/slash-commands/adversarial-review.md +1 -1
  329. package/slash-commands/bmad-help.md +1 -1
  330. package/slash-commands/bmalph.md +1 -1
  331. package/slash-commands/brainstorm-project.md +1 -1
  332. package/slash-commands/brainstorming.md +1 -1
  333. package/slash-commands/correct-course.md +1 -1
  334. package/slash-commands/create-architecture.md +1 -1
  335. package/slash-commands/create-brief.md +1 -1
  336. package/slash-commands/create-epics-stories.md +1 -1
  337. package/slash-commands/create-prd.md +1 -1
  338. package/slash-commands/create-story.md +1 -1
  339. package/slash-commands/create-ux.md +1 -1
  340. package/slash-commands/distillator.md +1 -0
  341. package/slash-commands/document-project.md +1 -1
  342. package/slash-commands/domain-research.md +1 -1
  343. package/slash-commands/edge-case-hunter.md +1 -0
  344. package/slash-commands/edit-prd.md +1 -0
  345. package/slash-commands/editorial-prose.md +1 -1
  346. package/slash-commands/editorial-structure.md +1 -1
  347. package/slash-commands/generate-project-context.md +1 -1
  348. package/slash-commands/implementation-readiness.md +1 -1
  349. package/slash-commands/index-docs.md +1 -1
  350. package/slash-commands/market-research.md +1 -1
  351. package/slash-commands/party-mode.md +1 -1
  352. package/slash-commands/qa-automate.md +1 -1
  353. package/slash-commands/quick-dev-new.md +1 -0
  354. package/slash-commands/quick-dev.md +1 -1
  355. package/slash-commands/retrospective.md +1 -1
  356. package/slash-commands/shard-doc.md +1 -1
  357. package/slash-commands/sprint-planning.md +1 -1
  358. package/slash-commands/sprint-status.md +1 -1
  359. package/slash-commands/tech-spec.md +1 -1
  360. package/slash-commands/technical-research.md +1 -1
  361. package/slash-commands/validate-architecture.md +1 -1
  362. package/slash-commands/validate-brief.md +1 -1
  363. package/slash-commands/validate-epics-stories.md +1 -1
  364. package/slash-commands/validate-prd.md +1 -1
  365. package/slash-commands/validate-story.md +1 -1
  366. package/slash-commands/validate-ux.md +1 -1
  367. package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
  368. package/bmad/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
  369. package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -44
  370. package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -54
  371. package/bmad/bmm/workflows/4-implementation/create-story/instructions.xml +0 -346
  372. package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -53
  373. package/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -21
  374. package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -53
  375. package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -47
  376. package/bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -25
  377. package/bmad/bmm/workflows/document-project/workflow.yaml +0 -22
  378. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  379. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  380. package/bmad/bmm/workflows/qa/automate/workflow.yaml +0 -44
  381. package/bmad/core/agents/bmad-master.agent.yaml +0 -30
  382. package/bmad/core/tasks/editorial-review-prose.xml +0 -102
  383. package/bmad/core/tasks/editorial-review-structure.xml +0 -209
  384. package/bmad/core/tasks/index-docs.xml +0 -65
  385. package/bmad/core/tasks/review-adversarial-general.xml +0 -48
  386. package/bmad/core/tasks/shard-doc.xml +0 -108
  387. package/bmad/core/tasks/workflow.xml +0 -235
  388. package/bmad/core/workflows/advanced-elicitation/workflow.xml +0 -117
  389. package/dist/cli.js.map +0 -1
  390. package/dist/commands/check-updates.js.map +0 -1
  391. package/dist/commands/doctor-checks.js.map +0 -1
  392. package/dist/commands/doctor-health-checks.js.map +0 -1
  393. package/dist/commands/doctor-runtime-checks.js.map +0 -1
  394. package/dist/commands/doctor.js.map +0 -1
  395. package/dist/commands/implement.js.map +0 -1
  396. package/dist/commands/init.js.map +0 -1
  397. package/dist/commands/reset.js.map +0 -1
  398. package/dist/commands/run.js.map +0 -1
  399. package/dist/commands/status.js.map +0 -1
  400. package/dist/commands/upgrade.js.map +0 -1
  401. package/dist/commands/watch.js.map +0 -1
  402. package/dist/installer/bmad-assets.js.map +0 -1
  403. package/dist/installer/commands.js.map +0 -1
  404. package/dist/installer/install.js.map +0 -1
  405. package/dist/installer/metadata.js.map +0 -1
  406. package/dist/installer/project-files.js.map +0 -1
  407. package/dist/installer/ralph-assets.js.map +0 -1
  408. package/dist/installer/template-files.js.map +0 -1
  409. package/dist/installer/types.js.map +0 -1
  410. package/dist/installer.js.map +0 -1
  411. package/dist/platform/aider.js.map +0 -1
  412. package/dist/platform/claude-code.js.map +0 -1
  413. package/dist/platform/codex.js.map +0 -1
  414. package/dist/platform/copilot.js.map +0 -1
  415. package/dist/platform/cursor-runtime-checks.js.map +0 -1
  416. package/dist/platform/cursor.js.map +0 -1
  417. package/dist/platform/detect.js.map +0 -1
  418. package/dist/platform/doctor-checks.js.map +0 -1
  419. package/dist/platform/instructions-snippet.js.map +0 -1
  420. package/dist/platform/registry.js.map +0 -1
  421. package/dist/platform/resolve.js.map +0 -1
  422. package/dist/platform/types.js.map +0 -1
  423. package/dist/platform/windsurf.js.map +0 -1
  424. package/dist/reset.js.map +0 -1
  425. package/dist/run/ralph-process.js.map +0 -1
  426. package/dist/run/run-dashboard.js.map +0 -1
  427. package/dist/run/types.js.map +0 -1
  428. package/dist/transition/artifact-collection.js.map +0 -1
  429. package/dist/transition/artifact-loading.js.map +0 -1
  430. package/dist/transition/artifact-scan.js.map +0 -1
  431. package/dist/transition/artifacts.js.map +0 -1
  432. package/dist/transition/context-output.js.map +0 -1
  433. package/dist/transition/context.js.map +0 -1
  434. package/dist/transition/fix-plan-sync.js.map +0 -1
  435. package/dist/transition/fix-plan.js.map +0 -1
  436. package/dist/transition/index.js.map +0 -1
  437. package/dist/transition/orchestration.js.map +0 -1
  438. package/dist/transition/preflight.js.map +0 -1
  439. package/dist/transition/section-patterns.js.map +0 -1
  440. package/dist/transition/specs-changelog.js.map +0 -1
  441. package/dist/transition/specs-index.js.map +0 -1
  442. package/dist/transition/specs-sync.js.map +0 -1
  443. package/dist/transition/sprint-status.js.map +0 -1
  444. package/dist/transition/story-id.js.map +0 -1
  445. package/dist/transition/story-parsing.js.map +0 -1
  446. package/dist/transition/tech-stack.js.map +0 -1
  447. package/dist/transition/types.js.map +0 -1
  448. package/dist/utils/artifact-definitions.js.map +0 -1
  449. package/dist/utils/config.js.map +0 -1
  450. package/dist/utils/constants.js.map +0 -1
  451. package/dist/utils/dryrun.js.map +0 -1
  452. package/dist/utils/errors.js.map +0 -1
  453. package/dist/utils/file-system.js.map +0 -1
  454. package/dist/utils/format-status.js.map +0 -1
  455. package/dist/utils/github.js.map +0 -1
  456. package/dist/utils/json.js.map +0 -1
  457. package/dist/utils/logger.js.map +0 -1
  458. package/dist/utils/ralph-runtime-state.js.map +0 -1
  459. package/dist/utils/state.js.map +0 -1
  460. package/dist/utils/validate.js.map +0 -1
  461. package/dist/watch/dashboard.js.map +0 -1
  462. package/dist/watch/file-watcher.js.map +0 -1
  463. package/dist/watch/frame-writer.js.map +0 -1
  464. package/dist/watch/renderer.js.map +0 -1
  465. package/dist/watch/state-reader.js.map +0 -1
  466. package/dist/watch/types.js.map +0 -1
  467. package/slash-commands/execute-workflow.md +0 -1
  468. /package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-01-init.md +0 -0
  469. /package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-02-domain-analysis.md +0 -0
  470. /package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-03-competitive-landscape.md +0 -0
  471. /package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-04-regulatory-focus.md +0 -0
  472. /package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-05-technical-trends.md +0 -0
  473. /package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-01-init.md +0 -0
  474. /package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-02-technical-overview.md +0 -0
  475. /package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-03-integration-patterns.md +0 -0
  476. /package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-04-architectural-patterns.md +0 -0
  477. /package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-05-implementation-research.md +0 -0
  478. /package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/ux-design-template.md +0 -0
  479. /package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/templates/readiness-report-template.md +0 -0
  480. /package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/architecture-decision-template.md +0 -0
  481. /package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/data/domain-complexity.csv +0 -0
  482. /package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/data/project-types.csv +0 -0
  483. /package/bmad/bmm/workflows/4-implementation/{create-story → bmad-create-story}/template.md +0 -0
  484. /package/bmad/bmm/workflows/4-implementation/{dev-story → bmad-dev-story}/checklist.md +0 -0
  485. /package/bmad/bmm/workflows/4-implementation/{sprint-planning → bmad-sprint-planning}/checklist.md +0 -0
  486. /package/bmad/bmm/workflows/{document-project → bmad-document-project}/checklist.md +0 -0
  487. /package/bmad/bmm/workflows/{document-project → bmad-document-project}/documentation-requirements.csv +0 -0
  488. /package/bmad/bmm/workflows/{document-project → bmad-document-project}/templates/deep-dive-template.md +0 -0
  489. /package/bmad/bmm/workflows/{document-project → bmad-document-project}/templates/index-template.md +0 -0
  490. /package/bmad/bmm/workflows/{document-project → bmad-document-project}/templates/project-overview-template.md +0 -0
  491. /package/bmad/bmm/workflows/{document-project → bmad-document-project}/templates/project-scan-report-schema.json +0 -0
  492. /package/bmad/bmm/workflows/{document-project → bmad-document-project}/templates/source-tree-template.md +0 -0
  493. /package/bmad/bmm/workflows/{generate-project-context → bmad-generate-project-context}/project-context-template.md +0 -0
  494. /package/bmad/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-03-complete.md +0 -0
  495. /package/bmad/bmm/workflows/{qa/automate → bmad-qa-generate-e2e-tests}/checklist.md +0 -0
  496. /package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/tech-spec-template.md +0 -0
  497. /package/bmad/core/{workflows/advanced-elicitation → skills/bmad-advanced-elicitation}/methods.csv +0 -0
  498. /package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/brain-methods.csv +0 -0
  499. /package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/template.md +0 -0
  500. /package/bmad/core/{workflows/party-mode → skills/bmad-party-mode}/steps/step-01-agent-loading.md +0 -0
  501. /package/bmad/core/{workflows/party-mode → skills/bmad-party-mode}/steps/step-02-discussion-orchestration.md +0 -0
  502. /package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/templates/prd-template.md +0 -0
@@ -0,0 +1,86 @@
1
+ **Language:** Use `{communication_language}` for all output.
2
+ **Output Language:** Use `{document_output_language}` for documents.
3
+ **Output Location:** `{planning_artifacts}`
4
+
5
+ # Stage 4: Draft & Review
6
+
7
+ **Goal:** Produce the executive product brief and run it through multiple review lenses to catch blind spots before the user sees the final version.
8
+
9
+ ## Step 1: Draft the Executive Brief
10
+
11
+ Use `../resources/brief-template.md` as a guide — adapt structure to fit the product's story.
12
+
13
+ **Writing principles:**
14
+ - **Executive audience** — persuasive, clear, concise. 1-2 pages.
15
+ - **Lead with the problem** — make the reader feel the pain before presenting the solution
16
+ - **Concrete over abstract** — specific examples, real scenarios, measurable outcomes
17
+ - **Confident voice** — this is a pitch, not a hedge
18
+ - Write in `{document_output_language}`
19
+
20
+ **Create the output document at:** `{planning_artifacts}/product-brief-{project_name}.md`
21
+
22
+ Include YAML frontmatter:
23
+ ```yaml
24
+ ---
25
+ title: "Product Brief: {project_name}"
26
+ status: "draft"
27
+ created: "{timestamp}"
28
+ updated: "{timestamp}"
29
+ inputs: [list of input files used]
30
+ ---
31
+ ```
32
+
33
+ ## Step 2: Fan Out Review Subagents
34
+
35
+ Before showing the draft to the user, run it through multiple review lenses in parallel.
36
+
37
+ **Launch in parallel:**
38
+
39
+ 1. **Skeptic Reviewer** (`../agents/skeptic-reviewer.md`) — "What's missing? What assumptions are untested? What could go wrong? Where is the brief vague or hand-wavy?"
40
+
41
+ 2. **Opportunity Reviewer** (`../agents/opportunity-reviewer.md`) — "What adjacent value propositions are being missed? What market angles or partnerships could strengthen this? What's underemphasized?"
42
+
43
+ 3. **Contextual Reviewer** — You (the main agent) pick the most useful third lens based on THIS specific product. Choose the lens that addresses the SINGLE BIGGEST RISK that the skeptic and opportunity reviewers won't naturally catch. Examples:
44
+ - For healthtech: "Regulatory and compliance risk reviewer"
45
+ - For devtools: "Developer experience and adoption friction critic"
46
+ - For marketplace: "Network effects and chicken-and-egg problem analyst"
47
+ - For enterprise: "Procurement and organizational change management reviewer"
48
+ - **When domain is unclear, default to:** "Go-to-market and launch risk reviewer" — examines distribution, pricing, and first-customer acquisition. Almost always valuable, frequently missed.
49
+ Describe the lens, run the review yourself inline.
50
+
51
+ ### Graceful Degradation
52
+
53
+ If subagents are unavailable:
54
+ - Perform all three review passes yourself, sequentially
55
+ - Apply each lens deliberately — don't blend them into one generic review
56
+ - The quality of review matters more than the parallelism
57
+
58
+ ## Step 3: Integrate Review Insights
59
+
60
+ After all reviews complete:
61
+
62
+ 1. **Triage findings** — group by theme, remove duplicates
63
+ 2. **Apply non-controversial improvements** directly to the draft (obvious gaps, unclear language, missing specifics)
64
+ 3. **Flag substantive suggestions** that need user input (strategic choices, scope questions, market positioning decisions)
65
+
66
+ ## Step 4: Present to User
67
+
68
+ **Headless mode:** Skip to `finalize.md` — no user interaction. Save the improved draft directly.
69
+
70
+ **Yolo and Guided modes:**
71
+
72
+ Present the draft brief to the user. Then share the reviewer insights:
73
+
74
+ "Here's your product brief draft. Before we finalize, my review panel surfaced some things worth considering:
75
+
76
+ **[Grouped reviewer findings — only the substantive ones that need user input]**
77
+
78
+ What do you think? Any changes you'd like to make?"
79
+
80
+ Present reviewer findings with brief rationale, then offer: "Want me to dig into any of these, or are you ready to make your revisions?"
81
+
82
+ **Iterate** as long as the user wants to refine. Use the "anything else, or are we happy with this?" soft gate.
83
+
84
+ ## Stage Complete
85
+
86
+ This stage is complete when: (a) the draft has been reviewed by all three lenses and improvements integrated, AND either (autonomous) save and route directly, or (guided/yolo) the user is satisfied. Route to `finalize.md`.
@@ -0,0 +1,75 @@
1
+ **Language:** Use `{communication_language}` for all output.
2
+ **Output Language:** Use `{document_output_language}` for documents.
3
+ **Output Location:** `{planning_artifacts}`
4
+
5
+ # Stage 5: Finalize
6
+
7
+ **Goal:** Save the polished brief, offer the LLM distillate, and point the user forward.
8
+
9
+ ## Step 1: Polish and Save
10
+
11
+ Update the product brief document at `{planning_artifacts}/product-brief-{project_name}.md`:
12
+ - Update frontmatter `status` to `"complete"`
13
+ - Update `updated` timestamp
14
+ - Ensure formatting is clean and consistent
15
+ - Confirm the document reads well as a standalone 1-2 page executive summary
16
+
17
+ ## Step 2: Offer the Distillate
18
+
19
+ Throughout the discovery process, you likely captured detail that doesn't belong in a 1-2 page executive summary but is valuable for downstream work — requirements hints, platform preferences, rejected ideas, technical constraints, detailed user scenarios, competitive deep-dives, etc.
20
+
21
+ **Ask the user:**
22
+ "Your product brief is complete. During our conversation, I captured additional detail that goes beyond the executive summary — things like [mention 2-3 specific examples of overflow you captured]. Would you like me to create a detail pack for PRD creation? It distills all that extra context into a concise, structured format optimized for the next phase."
23
+
24
+ **If yes, create the distillate** at `{planning_artifacts}/product-brief-{project_name}-distillate.md`:
25
+
26
+ ```yaml
27
+ ---
28
+ title: "Product Brief Distillate: {project_name}"
29
+ type: llm-distillate
30
+ source: "product-brief-{project_name}.md"
31
+ created: "{timestamp}"
32
+ purpose: "Token-efficient context for downstream PRD creation"
33
+ ---
34
+ ```
35
+
36
+ **Distillate content principles:**
37
+ - Dense bullet points, not prose
38
+ - Each bullet carries enough context to be understood standalone (don't assume the reader has the full brief loaded)
39
+ - Group by theme, not by when it was mentioned
40
+ - Include:
41
+ - **Rejected ideas** — so downstream workflows don't re-propose them, with brief rationale
42
+ - **Requirements hints** — anything the user mentioned that sounds like a requirement
43
+ - **Technical context** — platforms, integrations, constraints, preferences
44
+ - **Detailed user scenarios** — richer than what fits in the exec summary
45
+ - **Competitive intelligence** — specifics from web research worth preserving
46
+ - **Open questions** — things surfaced but not resolved during discovery
47
+ - **Scope signals** — what the user indicated is in/out/maybe for MVP
48
+ - Token-conscious: be concise, but give enough context per bullet so an LLM reading this later understands WHY each point matters
49
+
50
+ **Headless mode:** Always create the distillate automatically — unless the session was too brief to capture meaningful overflow (in that case, note this in the completion output instead of creating an empty file).
51
+
52
+ ## Step 3: Present Completion
53
+
54
+ "Your product brief for {project_name} is complete!
55
+
56
+ **Executive Brief:** `{planning_artifacts}/product-brief-{project_name}.md`
57
+ [If distillate created:] **Detail Pack:** `{planning_artifacts}/product-brief-{project_name}-distillate.md`
58
+
59
+ **Recommended next step:** Use the product brief (and detail pack) as input for PRD creation — tell your assistant 'create a PRD' and point it to these files."
60
+ [If distillate created:] "The detail pack contains all the overflow context (requirements hints, rejected ideas, technical constraints) specifically structured for the PRD workflow to consume."
61
+
62
+ **Headless mode:** Output the file paths as structured JSON and exit:
63
+ ```json
64
+ {
65
+ "status": "complete",
66
+ "brief": "{planning_artifacts}/product-brief-{project_name}.md",
67
+ "distillate": "{path or null}",
68
+ "confidence": "high|medium|low",
69
+ "open_questions": ["any unresolved items"]
70
+ }
71
+ ```
72
+
73
+ ## Stage Complete
74
+
75
+ This is the terminal stage. After delivering the completion message and file paths, the workflow is done. If the user requests further revisions, loop back to `draft-and-review.md`. Otherwise, exit.
@@ -0,0 +1,70 @@
1
+ **Language:** Use `{communication_language}` for all output.
2
+ **Output Language:** Use `{document_output_language}` for documents.
3
+
4
+ # Stage 3: Guided Elicitation
5
+
6
+ **Goal:** Fill the gaps in what you know. By now you have the user's brain dump, artifact analysis, and web research. This stage is about smart, targeted questioning — not rote section-by-section interrogation.
7
+
8
+ **Skip this stage entirely in Yolo and Autonomous modes** — go directly to `draft-and-review.md`.
9
+
10
+ ## Approach
11
+
12
+ You are NOT walking through a rigid questionnaire. You're having a conversation that covers the substance of a great product brief. The topics below are your mental checklist, not a script. Adapt to:
13
+ - What you already know (don't re-ask what's been covered)
14
+ - What the user is excited about (follow their energy)
15
+ - What's genuinely unclear (focus questions where they matter)
16
+
17
+ ## Topics to Cover (flexibly, conversationally)
18
+
19
+ ### Vision & Problem
20
+ - What core problem does this solve? For whom?
21
+ - How do people solve this today? What's frustrating about current approaches?
22
+ - What would success look like for the people this helps?
23
+ - What's the insight or angle that makes this approach different?
24
+
25
+ ### Users & Value
26
+ - Who experiences this problem most acutely?
27
+ - Are there different user types with different needs?
28
+ - What's the "aha moment" — when does a user realize this is what they needed?
29
+ - How does this fit into their existing workflow or life?
30
+
31
+ ### Market & Differentiation
32
+ - What competitive or alternative solutions exist? (Leverage web research findings)
33
+ - What's the unfair advantage or defensible moat?
34
+ - Why is now the right time for this?
35
+
36
+ ### Success & Scope
37
+ - How will you know this is working? What metrics matter?
38
+ - What's the minimum viable version that creates real value?
39
+ - What's explicitly NOT in scope for the first version?
40
+ - If this is wildly successful, what does it become in 2-3 years?
41
+
42
+ ## The Flow
43
+
44
+ For each topic area where you have gaps:
45
+
46
+ 1. **Lead with what you know** — "Based on your input and my research, it sounds like [X]. Is that right?"
47
+ 2. **Ask the gap question** — targeted, specific, not generic
48
+ 3. **Reflect and confirm** — paraphrase what you heard
49
+ 4. **"Anything else on this, or shall we move on?"** — the soft gate
50
+
51
+ If the user is giving you detail beyond brief scope (requirements, architecture, platform details, timelines), **capture it silently** for the distillate. Acknowledge it briefly ("Good detail, I'll capture that") but don't derail the conversation.
52
+
53
+ ## When to Move On
54
+
55
+ When you have enough substance to draft a compelling 1-2 page executive brief covering:
56
+ - Clear problem and who it affects
57
+ - Proposed solution and what makes it different
58
+ - Target users (at least primary)
59
+ - Some sense of success criteria or business objectives
60
+ - MVP-level scope thinking
61
+
62
+ You don't need perfection — you need enough to draft well. Missing details can be surfaced during the review stage.
63
+
64
+ If the user is providing complete, confident answers and you have solid coverage across all four topic areas after fewer than 3-4 exchanges, proactively offer to draft early.
65
+
66
+ **Transition:** "I think I have a solid picture. Ready for me to draft the brief, or is there anything else you'd like to add?"
67
+
68
+ ## Stage Complete
69
+
70
+ This stage is complete when sufficient substance exists to draft a compelling brief and the user confirms readiness. Route to `draft-and-review.md`.
@@ -0,0 +1,60 @@
1
+ # Product Brief Template
2
+
3
+ This is a flexible guide for the executive product brief — adapt it to serve the product's story. Merge sections, add new ones, reorder as needed. The product determines the structure, not the template.
4
+
5
+ ## Sensible Default Structure
6
+
7
+ ```markdown
8
+ # Product Brief: {Product Name}
9
+
10
+ ## Executive Summary
11
+
12
+ [2-3 paragraph narrative: What is this? What problem does it solve? Why does it matter? Why now?
13
+ This should be compelling enough to stand alone — if someone reads only this section, they should understand the vision.]
14
+
15
+ ## The Problem
16
+
17
+ [What pain exists? Who feels it? How are they coping today? What's the cost of the status quo?
18
+ Be specific — real scenarios, real frustrations, real consequences.]
19
+
20
+ ## The Solution
21
+
22
+ [What are we building? How does it solve the problem?
23
+ Focus on the experience and outcome, not the implementation.]
24
+
25
+ ## What Makes This Different
26
+
27
+ [Key differentiators. Why this approach vs alternatives? What's the unfair advantage?
28
+ Be honest — if the moat is execution speed, say so. Don't fabricate technical moats.]
29
+
30
+ ## Who This Serves
31
+
32
+ [Primary users — vivid but brief. Who are they, what do they need, what does success look like for them?
33
+ Secondary users if relevant.]
34
+
35
+ ## Success Criteria
36
+
37
+ [How do we know this is working? What metrics matter?
38
+ Mix of user success signals and business objectives. Be measurable.]
39
+
40
+ ## Scope
41
+
42
+ [What's in for the first version? What's explicitly out?
43
+ Keep this tight — it's a boundary document, not a feature list.]
44
+
45
+ ## Vision
46
+
47
+ [Where does this go if it succeeds? What does it become in 2-3 years?
48
+ Inspiring but grounded.]
49
+ ```
50
+
51
+ ## Adaptation Guidelines
52
+
53
+ - **For B2B products:** Consider adding a "Buyer vs User" section if they're different people
54
+ - **For platforms/marketplaces:** Consider a "Network Effects" or "Ecosystem" section
55
+ - **For technical products:** May need a brief "Technical Approach" section (keep it high-level)
56
+ - **For regulated industries:** Consider a "Compliance & Regulatory" section
57
+ - **If scope is well-defined:** Merge "Scope" and "Vision" into "Roadmap Thinking"
58
+ - **If the problem is well-known:** Shorten "The Problem" and expand "What Makes This Different"
59
+
60
+ The brief should be 1-2 pages. If it's longer, you're putting in too much detail — that's what the distillate is for.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: bmad-domain-research
3
+ description: 'Conduct domain and industry research. Use when the user says "lets create a research report on [domain or industry]"'
4
+ ---
5
+
6
+ Follow the instructions in ./workflow.md.
@@ -373,6 +373,7 @@ _This comprehensive research document serves as an authoritative reference on {{
373
373
 
374
374
  #### If 'C' (Complete Research):
375
375
 
376
+ - **Replace** the template placeholder `[Research overview and methodology will be appended here]` in the `## Research Overview` section near the top of the document with a concise 2-3 paragraph overview summarizing the research scope, key findings, and a pointer to the full executive summary in the Research Synthesis section
376
377
  - Append the complete document to the research file
377
378
  - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5]`
378
379
  - Complete the domain research workflow
@@ -380,7 +381,7 @@ _This comprehensive research document serves as an authoritative reference on {{
380
381
 
381
382
  ## APPEND TO DOCUMENT:
382
383
 
383
- When user selects 'C', append the complete comprehensive research document using the full structure above.
384
+ When user selects 'C', append the complete comprehensive research document using the full structure above. Also replace the `[Research overview and methodology will be appended here]` placeholder in the Research Overview section at the top of the document.
384
385
 
385
386
  ## SUCCESS METRICS:
386
387
 
@@ -0,0 +1,29 @@
1
+ ---
2
+ stepsCompleted: []
3
+ inputDocuments: []
4
+ workflowType: 'research'
5
+ lastStep: 1
6
+ research_type: '{{research_type}}'
7
+ research_topic: '{{research_topic}}'
8
+ research_goals: '{{research_goals}}'
9
+ user_name: '{{user_name}}'
10
+ date: '{{date}}'
11
+ web_research_enabled: true
12
+ source_verification: true
13
+ ---
14
+
15
+ # Research Report: {{research_type}}
16
+
17
+ **Date:** {{date}}
18
+ **Author:** {{user_name}}
19
+ **Research Type:** {{research_type}}
20
+
21
+ ---
22
+
23
+ ## Research Overview
24
+
25
+ [Research overview and methodology will be appended here]
26
+
27
+ ---
28
+
29
+ <!-- Content will be appended sequentially through research workflow steps -->
@@ -1,8 +1,3 @@
1
- ---
2
- name: domain-research
3
- description: Conduct domain research covering industry analysis, regulations, technology trends, and ecosystem dynamics using current web data and verified sources.
4
- ---
5
-
6
1
  # Domain Research Workflow
7
2
 
8
3
  **Goal:** Conduct comprehensive domain/industry research using current web data and verified sources to produce complete research documents with compelling narratives and proper citations.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: bmad-market-research
3
+ description: 'Conduct market research on competition and customers. Use when the user says "create a market research report about [business idea]".'
4
+ ---
5
+
6
+ Follow the instructions in ./workflow.md.
@@ -0,0 +1,29 @@
1
+ ---
2
+ stepsCompleted: []
3
+ inputDocuments: []
4
+ workflowType: 'research'
5
+ lastStep: 1
6
+ research_type: '{{research_type}}'
7
+ research_topic: '{{research_topic}}'
8
+ research_goals: '{{research_goals}}'
9
+ user_name: '{{user_name}}'
10
+ date: '{{date}}'
11
+ web_research_enabled: true
12
+ source_verification: true
13
+ ---
14
+
15
+ # Research Report: {{research_type}}
16
+
17
+ **Date:** {{date}}
18
+ **Author:** {{user_name}}
19
+ **Research Type:** {{research_type}}
20
+
21
+ ---
22
+
23
+ ## Research Overview
24
+
25
+ [Research overview and methodology will be appended here]
26
+
27
+ ---
28
+
29
+ <!-- Content will be appended sequentially through research workflow steps -->
@@ -0,0 +1,184 @@
1
+ # Market Research Step 1: Market Research Initialization
2
+
3
+ ## MANDATORY EXECUTION RULES (READ FIRST):
4
+
5
+ - 🛑 NEVER generate research content in init step
6
+ - ✅ ALWAYS confirm understanding of user's research goals
7
+ - 📋 YOU ARE A MARKET RESEARCH FACILITATOR, not content generator
8
+ - 💬 FOCUS on clarifying scope and approach
9
+ - 🔍 NO WEB RESEARCH in init - that's for later steps
10
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete research
11
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
12
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
13
+
14
+ ## EXECUTION PROTOCOLS:
15
+
16
+ - 🎯 Confirm research understanding before proceeding
17
+ - ⚠️ Present [C] continue option after scope clarification
18
+ - 💾 Write initial scope document immediately
19
+ - 📖 Update frontmatter `stepsCompleted: [1]` before loading next step
20
+ - 🚫 FORBIDDEN to load next step until C is selected
21
+
22
+ ## CONTEXT BOUNDARIES:
23
+
24
+ - Current document and frontmatter from main workflow discovery are available
25
+ - Research type = "market" is already set
26
+ - **Research topic = "{{research_topic}}"** - discovered from initial discussion
27
+ - **Research goals = "{{research_goals}}"** - captured from initial discussion
28
+ - Focus on market research scope clarification
29
+ - Web search capabilities are enabled for later steps
30
+
31
+ ## YOUR TASK:
32
+
33
+ Initialize market research by confirming understanding of {{research_topic}} and establishing clear research scope.
34
+
35
+ ## MARKET RESEARCH INITIALIZATION:
36
+
37
+ ### 1. Confirm Research Understanding
38
+
39
+ **INITIALIZE - DO NOT RESEARCH YET**
40
+
41
+ Start with research confirmation:
42
+ "I understand you want to conduct **market research** for **{{research_topic}}** with these goals: {{research_goals}}
43
+
44
+ **My Understanding of Your Research Needs:**
45
+
46
+ - **Research Topic**: {{research_topic}}
47
+ - **Research Goals**: {{research_goals}}
48
+ - **Research Type**: Market Research
49
+ - **Approach**: Comprehensive market analysis with source verification
50
+
51
+ **Market Research Areas We'll Cover:**
52
+
53
+ - Market size, growth dynamics, and trends
54
+ - Customer insights and behavior analysis
55
+ - Competitive landscape and positioning
56
+ - Strategic recommendations and implementation guidance
57
+
58
+ **Does this accurately capture what you're looking for?**"
59
+
60
+ ### 2. Refine Research Scope
61
+
62
+ Gather any clarifications needed:
63
+
64
+ #### Scope Clarification Questions:
65
+
66
+ - "Are there specific customer segments or aspects of {{research_topic}} we should prioritize?"
67
+ - "Should we focus on specific geographic regions or global market?"
68
+ - "Is this for market entry, expansion, product development, or other business purpose?"
69
+ - "Any competitors or market segments you specifically want us to analyze?"
70
+
71
+ ### 3. Document Initial Scope
72
+
73
+ **WRITE IMMEDIATELY TO DOCUMENT**
74
+
75
+ Write initial research scope to document:
76
+
77
+ ```markdown
78
+ # Market Research: {{research_topic}}
79
+
80
+ ## Research Initialization
81
+
82
+ ### Research Understanding Confirmed
83
+
84
+ **Topic**: {{research_topic}}
85
+ **Goals**: {{research_goals}}
86
+ **Research Type**: Market Research
87
+ **Date**: {{date}}
88
+
89
+ ### Research Scope
90
+
91
+ **Market Analysis Focus Areas:**
92
+
93
+ - Market size, growth projections, and dynamics
94
+ - Customer segments, behavior patterns, and insights
95
+ - Competitive landscape and positioning analysis
96
+ - Strategic recommendations and implementation guidance
97
+
98
+ **Research Methodology:**
99
+
100
+ - Current web data with source verification
101
+ - Multiple independent sources for critical claims
102
+ - Confidence level assessment for uncertain data
103
+ - Comprehensive coverage with no critical gaps
104
+
105
+ ### Next Steps
106
+
107
+ **Research Workflow:**
108
+
109
+ 1. ✅ Initialization and scope setting (current step)
110
+ 2. Customer Insights and Behavior Analysis
111
+ 3. Competitive Landscape Analysis
112
+ 4. Strategic Synthesis and Recommendations
113
+
114
+ **Research Status**: Scope confirmed, ready to proceed with detailed market analysis
115
+ ```
116
+
117
+ ### 4. Present Confirmation and Continue Option
118
+
119
+ Show initial scope document and present continue option:
120
+ "I've documented our understanding and initial scope for **{{research_topic}}** market research.
121
+
122
+ **What I've established:**
123
+
124
+ - Research topic and goals confirmed
125
+ - Market analysis focus areas defined
126
+ - Research methodology verification
127
+ - Clear workflow progression
128
+
129
+ **Document Status:** Initial scope written to research file for your review
130
+
131
+ **Ready to begin detailed market research?**
132
+ [C] Continue - Confirm scope and proceed to customer insights analysis
133
+ [Modify] Suggest changes to research scope before proceeding
134
+
135
+ **HALT — wait for user response before proceeding.**
136
+
137
+ ### 5. Handle User Response
138
+
139
+ #### If 'C' (Continue):
140
+
141
+ - Update frontmatter: `stepsCompleted: [1]`
142
+ - Add confirmation note to document: "Scope confirmed by user on {{date}}"
143
+ - Load: `./step-02-customer-behavior.md`
144
+
145
+ #### If 'Modify':
146
+
147
+ - Gather user changes to scope
148
+ - Update document with modifications
149
+ - Re-present updated scope for confirmation
150
+
151
+ ## SUCCESS METRICS:
152
+
153
+ ✅ Research topic and goals accurately understood
154
+ ✅ Market research scope clearly defined
155
+ ✅ Initial scope document written immediately
156
+ ✅ User opportunity to review and modify scope
157
+ ✅ [C] continue option presented and handled correctly
158
+ ✅ Document properly updated with scope confirmation
159
+
160
+ ## FAILURE MODES:
161
+
162
+ ❌ Not confirming understanding of research topic and goals
163
+ ❌ Generating research content instead of just scope clarification
164
+ ❌ Not writing initial scope document to file
165
+ ❌ Not providing opportunity for user to modify scope
166
+ ❌ Proceeding to next step without user confirmation
167
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor research decisions
168
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
169
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
170
+
171
+ ## INITIALIZATION PRINCIPLES:
172
+
173
+ This step ensures:
174
+
175
+ - Clear mutual understanding of research objectives
176
+ - Well-defined research scope and approach
177
+ - Immediate documentation for user review
178
+ - User control over research direction before detailed work begins
179
+
180
+ ## NEXT STEP:
181
+
182
+ After user confirmation and scope finalization, load `./step-02-customer-behavior.md` to begin detailed market research with customer insights analysis.
183
+
184
+ Remember: Init steps confirm understanding and scope, not generate research content!