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,202 @@
1
+ ---
2
+ # File references (ONLY variables used in this step)
3
+ nextStepFile: './step-v-08-domain-compliance-validation.md'
4
+ prdFile: '{prd_file_path}'
5
+ validationReportPath: '{validation_report_path}'
6
+ ---
7
+
8
+ # Step 7: Implementation Leakage Validation
9
+
10
+ ## STEP GOAL:
11
+
12
+ Ensure Functional Requirements and Non-Functional Requirements don't include implementation details - they should specify WHAT, not HOW.
13
+
14
+ ## MANDATORY EXECUTION RULES (READ FIRST):
15
+
16
+ ### Universal Rules:
17
+
18
+ - 🛑 NEVER generate content without user input
19
+ - 📖 CRITICAL: Read the complete step file before taking any action
20
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
21
+ - 📋 YOU ARE A FACILITATOR, not a content generator
22
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
23
+
24
+ ### Role Reinforcement:
25
+
26
+ - ✅ You are a Validation Architect and Quality Assurance Specialist
27
+ - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
28
+ - ✅ We engage in systematic validation, not collaborative dialogue
29
+ - ✅ You bring analytical rigor and separation of concerns expertise
30
+ - ✅ This step runs autonomously - no user input needed
31
+
32
+ ### Step-Specific Rules:
33
+
34
+ - 🎯 Focus ONLY on implementation leakage detection
35
+ - 🚫 FORBIDDEN to validate other aspects in this step
36
+ - 💬 Approach: Systematic scanning for technology and implementation terms
37
+ - 🚪 This is a validation sequence step - auto-proceeds when complete
38
+
39
+ ## EXECUTION PROTOCOLS:
40
+
41
+ - 🎯 Scan FRs and NFRs for implementation terms
42
+ - 💾 Distinguish capability-relevant vs leakage
43
+ - 📖 Append findings to validation report
44
+ - 📖 Display "Proceeding to next check..." and load next step
45
+ - 🚫 FORBIDDEN to pause or request user input
46
+
47
+ ## CONTEXT BOUNDARIES:
48
+
49
+ - Available context: PRD file, validation report
50
+ - Focus: Implementation leakage detection only
51
+ - Limits: Don't validate other aspects, don't pause for user input
52
+ - Dependencies: Steps 2-6 completed - initial validations done
53
+
54
+ ## MANDATORY SEQUENCE
55
+
56
+ **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
57
+
58
+ ### 1. Attempt Sub-Process Validation
59
+
60
+ **Try to use Task tool to spawn a subprocess:**
61
+
62
+ "Perform implementation leakage validation on this PRD:
63
+
64
+ **Scan for:**
65
+ 1. Technology names (React, Vue, Angular, PostgreSQL, MongoDB, AWS, GCP, Azure, Docker, Kubernetes, etc.)
66
+ 2. Library names (Redux, axios, lodash, Express, Django, Rails, Spring, etc.)
67
+ 3. Data structures (JSON, XML, CSV) unless relevant to capability
68
+ 4. Architecture patterns (MVC, microservices, serverless) unless business requirement
69
+ 5. Protocol names (HTTP, REST, GraphQL, WebSockets) - check if capability-relevant
70
+
71
+ **For each term found:**
72
+ - Is this capability-relevant? (e.g., 'API consumers can access...' - API is capability)
73
+ - Or is this implementation detail? (e.g., 'React component for...' - implementation)
74
+
75
+ Document violations with line numbers and explanation.
76
+
77
+ Return structured findings with leakage counts and examples."
78
+
79
+ ### 2. Graceful Degradation (if Task tool unavailable)
80
+
81
+ If Task tool unavailable, perform analysis directly:
82
+
83
+ **Implementation leakage terms to scan for:**
84
+
85
+ **Frontend Frameworks:**
86
+ React, Vue, Angular, Svelte, Solid, Next.js, Nuxt, etc.
87
+
88
+ **Backend Frameworks:**
89
+ Express, Django, Rails, Spring, Laravel, FastAPI, etc.
90
+
91
+ **Databases:**
92
+ PostgreSQL, MySQL, MongoDB, Redis, DynamoDB, Cassandra, etc.
93
+
94
+ **Cloud Platforms:**
95
+ AWS, GCP, Azure, Cloudflare, Vercel, Netlify, etc.
96
+
97
+ **Infrastructure:**
98
+ Docker, Kubernetes, Terraform, Ansible, etc.
99
+
100
+ **Libraries:**
101
+ Redux, Zustand, axios, fetch, lodash, jQuery, etc.
102
+
103
+ **Data Formats:**
104
+ JSON, XML, YAML, CSV (unless capability-relevant)
105
+
106
+ **For each term found in FRs/NFRs:**
107
+ - Determine if it's capability-relevant or implementation leakage
108
+ - Example: "API consumers can access data via REST endpoints" - API/REST is capability
109
+ - Example: "React components fetch data using Redux" - implementation leakage
110
+
111
+ **Count violations and note line numbers**
112
+
113
+ ### 3. Tally Implementation Leakage
114
+
115
+ **By category:**
116
+ - Frontend framework leakage: count
117
+ - Backend framework leakage: count
118
+ - Database leakage: count
119
+ - Cloud platform leakage: count
120
+ - Infrastructure leakage: count
121
+ - Library leakage: count
122
+ - Other implementation details: count
123
+
124
+ **Total implementation leakage violations:** sum
125
+
126
+ ### 4. Report Implementation Leakage Findings to Validation Report
127
+
128
+ Append to validation report:
129
+
130
+ ```markdown
131
+ ## Implementation Leakage Validation
132
+
133
+ ### Leakage by Category
134
+
135
+ **Frontend Frameworks:** {count} violations
136
+ {If violations, list examples with line numbers}
137
+
138
+ **Backend Frameworks:** {count} violations
139
+ {If violations, list examples with line numbers}
140
+
141
+ **Databases:** {count} violations
142
+ {If violations, list examples with line numbers}
143
+
144
+ **Cloud Platforms:** {count} violations
145
+ {If violations, list examples with line numbers}
146
+
147
+ **Infrastructure:** {count} violations
148
+ {If violations, list examples with line numbers}
149
+
150
+ **Libraries:** {count} violations
151
+ {If violations, list examples with line numbers}
152
+
153
+ **Other Implementation Details:** {count} violations
154
+ {If violations, list examples with line numbers}
155
+
156
+ ### Summary
157
+
158
+ **Total Implementation Leakage Violations:** {total}
159
+
160
+ **Severity:** [Critical if >5 violations, Warning if 2-5, Pass if <2]
161
+
162
+ **Recommendation:**
163
+ [If Critical] "Extensive implementation leakage found. Requirements specify HOW instead of WHAT. Remove all implementation details - these belong in architecture, not PRD."
164
+ [If Warning] "Some implementation leakage detected. Review violations and remove implementation details from requirements."
165
+ [If Pass] "No significant implementation leakage found. Requirements properly specify WHAT without HOW."
166
+
167
+ **Note:** API consumers, GraphQL (when required), and other capability-relevant terms are acceptable when they describe WHAT the system must do, not HOW to build it.
168
+ ```
169
+
170
+ ### 5. Display Progress and Auto-Proceed
171
+
172
+ Display: "**Implementation Leakage Validation Complete**
173
+
174
+ Total Violations: {count} ({severity})
175
+
176
+ **Proceeding to next validation check...**"
177
+
178
+ Without delay, read fully and follow: {nextStepFile} (step-v-08-domain-compliance-validation.md)
179
+
180
+ ---
181
+
182
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
183
+
184
+ ### ✅ SUCCESS:
185
+
186
+ - Scanned FRs and NFRs for all implementation term categories
187
+ - Distinguished capability-relevant from implementation leakage
188
+ - Violations documented with line numbers and explanations
189
+ - Severity assessed correctly
190
+ - Findings reported to validation report
191
+ - Auto-proceeds to next validation step
192
+ - Subprocess attempted with graceful degradation
193
+
194
+ ### ❌ SYSTEM FAILURE:
195
+
196
+ - Not scanning all implementation term categories
197
+ - Not distinguishing capability-relevant from leakage
198
+ - Missing line numbers for violations
199
+ - Not reporting findings to validation report
200
+ - Not auto-proceeding
201
+
202
+ **Master Rule:** Requirements specify WHAT, not HOW. Implementation details belong in architecture documents, not PRDs.
@@ -0,0 +1,240 @@
1
+ ---
2
+ # File references (ONLY variables used in this step)
3
+ nextStepFile: './step-v-09-project-type-validation.md'
4
+ prdFile: '{prd_file_path}'
5
+ prdFrontmatter: '{prd_frontmatter}'
6
+ validationReportPath: '{validation_report_path}'
7
+ domainComplexityData: '../data/domain-complexity.csv'
8
+ ---
9
+
10
+ # Step 8: Domain Compliance Validation
11
+
12
+ ## STEP GOAL:
13
+
14
+ Validate domain-specific requirements are present for high-complexity domains (Healthcare, Fintech, GovTech, etc.), ensuring regulatory and compliance requirements are properly documented.
15
+
16
+ ## MANDATORY EXECUTION RULES (READ FIRST):
17
+
18
+ ### Universal Rules:
19
+
20
+ - 🛑 NEVER generate content without user input
21
+ - 📖 CRITICAL: Read the complete step file before taking any action
22
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
23
+ - 📋 YOU ARE A FACILITATOR, not a content generator
24
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
25
+
26
+ ### Role Reinforcement:
27
+
28
+ - ✅ You are a Validation Architect and Quality Assurance Specialist
29
+ - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
30
+ - ✅ We engage in systematic validation, not collaborative dialogue
31
+ - ✅ You bring domain expertise and compliance knowledge
32
+ - ✅ This step runs autonomously - no user input needed
33
+
34
+ ### Step-Specific Rules:
35
+
36
+ - 🎯 Focus ONLY on domain-specific compliance requirements
37
+ - 🚫 FORBIDDEN to validate other aspects in this step
38
+ - 💬 Approach: Conditional validation based on domain classification
39
+ - 🚪 This is a validation sequence step - auto-proceeds when complete
40
+
41
+ ## EXECUTION PROTOCOLS:
42
+
43
+ - 🎯 Check classification.domain from PRD frontmatter
44
+ - 💬 If low complexity (general): Skip detailed checks
45
+ - 🎯 If high complexity: Validate required special sections
46
+ - 💾 Append compliance findings to validation report
47
+ - 📖 Display "Proceeding to next check..." and load next step
48
+ - 🚫 FORBIDDEN to pause or request user input
49
+
50
+ ## CONTEXT BOUNDARIES:
51
+
52
+ - Available context: PRD file with frontmatter classification, validation report
53
+ - Focus: Domain compliance only (conditional on domain complexity)
54
+ - Limits: Don't validate other aspects, conditional execution
55
+ - Dependencies: Steps 2-7 completed - format and requirements validation done
56
+
57
+ ## MANDATORY SEQUENCE
58
+
59
+ **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
60
+
61
+ ### 1. Load Domain Complexity Data
62
+
63
+ Load and read the complete file at:
64
+ `{domainComplexityData}` (../data/domain-complexity.csv)
65
+
66
+ This CSV contains:
67
+ - Domain classifications and complexity levels (high/medium/low)
68
+ - Required special sections for each domain
69
+ - Key concerns and requirements for regulated industries
70
+
71
+ Internalize this data - it drives which domains require special compliance sections.
72
+
73
+ ### 2. Extract Domain Classification
74
+
75
+ From PRD frontmatter, extract:
76
+ - `classification.domain` - what domain is this PRD for?
77
+
78
+ **If no domain classification found:**
79
+ Treat as "general" (low complexity) and proceed to step 4
80
+
81
+ ### 2. Determine Domain Complexity
82
+
83
+ **Low complexity domains (skip detailed checks):**
84
+ - General
85
+ - Consumer apps (standard e-commerce, social, productivity)
86
+ - Content websites
87
+ - Business tools (standard)
88
+
89
+ **High complexity domains (require special sections):**
90
+ - Healthcare / Healthtech
91
+ - Fintech / Financial services
92
+ - GovTech / Public sector
93
+ - EdTech (educational records, accredited courses)
94
+ - Legal tech
95
+ - Other regulated domains
96
+
97
+ ### 3. For High-Complexity Domains: Validate Required Special Sections
98
+
99
+ **Attempt subprocess validation:**
100
+
101
+ "Perform domain compliance validation for {domain}:
102
+
103
+ Based on {domain} requirements, check PRD for:
104
+
105
+ **Healthcare:**
106
+ - Clinical Requirements section
107
+ - Regulatory Pathway (FDA, HIPAA, etc.)
108
+ - Safety Measures
109
+ - HIPAA Compliance (data privacy, security)
110
+ - Patient safety considerations
111
+
112
+ **Fintech:**
113
+ - Compliance Matrix (SOC2, PCI-DSS, GDPR, etc.)
114
+ - Security Architecture
115
+ - Audit Requirements
116
+ - Fraud Prevention measures
117
+ - Financial transaction handling
118
+
119
+ **GovTech:**
120
+ - Accessibility Standards (WCAG 2.1 AA, Section 508)
121
+ - Procurement Compliance
122
+ - Security Clearance requirements
123
+ - Data residency requirements
124
+
125
+ **Other regulated domains:**
126
+ - Check for domain-specific regulatory sections
127
+ - Compliance requirements
128
+ - Special considerations
129
+
130
+ For each required section:
131
+ - Is it present in PRD?
132
+ - Is it adequately documented?
133
+ - Note any gaps
134
+
135
+ Return compliance matrix with presence/adequacy assessment."
136
+
137
+ **Graceful degradation (if no Task tool):**
138
+ - Manually check for required sections based on domain
139
+ - List present sections and missing sections
140
+ - Assess adequacy of documentation
141
+
142
+ ### 5. For Low-Complexity Domains: Skip Detailed Checks
143
+
144
+ Append to validation report:
145
+ ```markdown
146
+ ## Domain Compliance Validation
147
+
148
+ **Domain:** {domain}
149
+ **Complexity:** Low (general/standard)
150
+ **Assessment:** N/A - No special domain compliance requirements
151
+
152
+ **Note:** This PRD is for a standard domain without regulatory compliance requirements.
153
+ ```
154
+
155
+ Display: "**Domain Compliance Validation Skipped**
156
+
157
+ Domain: {domain} (low complexity)
158
+
159
+ **Proceeding to next validation check...**"
160
+
161
+ Without delay, read fully and follow: {nextStepFile}
162
+
163
+ ### 6. Report Compliance Findings (High-Complexity Domains)
164
+
165
+ Append to validation report:
166
+
167
+ ```markdown
168
+ ## Domain Compliance Validation
169
+
170
+ **Domain:** {domain}
171
+ **Complexity:** High (regulated)
172
+
173
+ ### Required Special Sections
174
+
175
+ **{Section 1 Name}:** [Present/Missing/Adequate]
176
+ {If missing or inadequate: Note specific gaps}
177
+
178
+ **{Section 2 Name}:** [Present/Missing/Adequate]
179
+ {If missing or inadequate: Note specific gaps}
180
+
181
+ [Continue for all required sections]
182
+
183
+ ### Compliance Matrix
184
+
185
+ | Requirement | Status | Notes |
186
+ |-------------|--------|-------|
187
+ | {Requirement 1} | [Met/Partial/Missing] | {Notes} |
188
+ | {Requirement 2} | [Met/Partial/Missing] | {Notes} |
189
+ [... continue for all requirements]
190
+
191
+ ### Summary
192
+
193
+ **Required Sections Present:** {count}/{total}
194
+ **Compliance Gaps:** {count}
195
+
196
+ **Severity:** [Critical if missing regulatory sections, Warning if incomplete, Pass if complete]
197
+
198
+ **Recommendation:**
199
+ [If Critical] "PRD is missing required domain-specific compliance sections. These are essential for {domain} products."
200
+ [If Warning] "Some domain compliance sections are incomplete. Strengthen documentation for full compliance."
201
+ [If Pass] "All required domain compliance sections are present and adequately documented."
202
+ ```
203
+
204
+ ### 7. Display Progress and Auto-Proceed
205
+
206
+ Display: "**Domain Compliance Validation Complete**
207
+
208
+ Domain: {domain} ({complexity})
209
+ Compliance Status: {status}
210
+
211
+ **Proceeding to next validation check...**"
212
+
213
+ Without delay, read fully and follow: {nextStepFile} (step-v-09-project-type-validation.md)
214
+
215
+ ---
216
+
217
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
218
+
219
+ ### ✅ SUCCESS:
220
+
221
+ - Domain classification extracted correctly
222
+ - Complexity assessed appropriately
223
+ - Low complexity domains: Skipped with clear "N/A" documentation
224
+ - High complexity domains: All required sections checked
225
+ - Compliance matrix built with status for each requirement
226
+ - Severity assessed correctly
227
+ - Findings reported to validation report
228
+ - Auto-proceeds to next validation step
229
+ - Subprocess attempted with graceful degradation
230
+
231
+ ### ❌ SYSTEM FAILURE:
232
+
233
+ - Not checking domain classification before proceeding
234
+ - Performing detailed checks on low complexity domains
235
+ - For high complexity: missing required section checks
236
+ - Not building compliance matrix
237
+ - Not reporting findings to validation report
238
+ - Not auto-proceeding
239
+
240
+ **Master Rule:** Domain compliance is conditional. High-complexity domains require special sections - low complexity domains skip these checks.
@@ -0,0 +1,260 @@
1
+ ---
2
+ # File references (ONLY variables used in this step)
3
+ nextStepFile: './step-v-10-smart-validation.md'
4
+ prdFile: '{prd_file_path}'
5
+ prdFrontmatter: '{prd_frontmatter}'
6
+ validationReportPath: '{validation_report_path}'
7
+ projectTypesData: '../data/project-types.csv'
8
+ ---
9
+
10
+ # Step 9: Project-Type Compliance Validation
11
+
12
+ ## STEP GOAL:
13
+
14
+ Validate project-type specific requirements are properly documented - different project types (api_backend, web_app, mobile_app, etc.) have different required and excluded sections.
15
+
16
+ ## MANDATORY EXECUTION RULES (READ FIRST):
17
+
18
+ ### Universal Rules:
19
+
20
+ - 🛑 NEVER generate content without user input
21
+ - 📖 CRITICAL: Read the complete step file before taking any action
22
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
23
+ - 📋 YOU ARE A FACILITATOR, not a content generator
24
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
25
+
26
+ ### Role Reinforcement:
27
+
28
+ - ✅ You are a Validation Architect and Quality Assurance Specialist
29
+ - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
30
+ - ✅ We engage in systematic validation, not collaborative dialogue
31
+ - ✅ You bring project type expertise and architectural knowledge
32
+ - ✅ This step runs autonomously - no user input needed
33
+
34
+ ### Step-Specific Rules:
35
+
36
+ - 🎯 Focus ONLY on project-type compliance
37
+ - 🚫 FORBIDDEN to validate other aspects in this step
38
+ - 💬 Approach: Validate required sections present, excluded sections absent
39
+ - 🚪 This is a validation sequence step - auto-proceeds when complete
40
+
41
+ ## EXECUTION PROTOCOLS:
42
+
43
+ - 🎯 Check classification.projectType from PRD frontmatter
44
+ - 🎯 Validate required sections for that project type are present
45
+ - 🎯 Validate excluded sections for that project type are absent
46
+ - 💾 Append compliance findings to validation report
47
+ - 📖 Display "Proceeding to next check..." and load next step
48
+ - 🚫 FORBIDDEN to pause or request user input
49
+
50
+ ## CONTEXT BOUNDARIES:
51
+
52
+ - Available context: PRD file with frontmatter classification, validation report
53
+ - Focus: Project-type compliance only
54
+ - Limits: Don't validate other aspects, don't pause for user input
55
+ - Dependencies: Steps 2-8 completed - domain and requirements validation done
56
+
57
+ ## MANDATORY SEQUENCE
58
+
59
+ **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
60
+
61
+ ### 1. Load Project Types Data
62
+
63
+ Load and read the complete file at:
64
+ `{projectTypesData}` (../data/project-types.csv)
65
+
66
+ This CSV contains:
67
+ - Detection signals for each project type
68
+ - Required sections for each project type
69
+ - Skip/excluded sections for each project type
70
+ - Innovation signals
71
+
72
+ Internalize this data - it drives what sections must be present or absent for each project type.
73
+
74
+ ### 2. Extract Project Type Classification
75
+
76
+ From PRD frontmatter, extract:
77
+ - `classification.projectType` - what type of project is this?
78
+
79
+ **Common project types:**
80
+ - api_backend
81
+ - web_app
82
+ - mobile_app
83
+ - desktop_app
84
+ - data_pipeline
85
+ - ml_system
86
+ - library_sdk
87
+ - infrastructure
88
+ - other
89
+
90
+ **If no projectType classification found:**
91
+ Assume "web_app" (most common) and note in findings
92
+
93
+ ### 3. Determine Required and Excluded Sections from CSV Data
94
+
95
+ **From loaded project-types.csv data, for this project type:**
96
+
97
+ **Required sections:** (from required_sections column)
98
+ These MUST be present in the PRD
99
+
100
+ **Skip sections:** (from skip_sections column)
101
+ These MUST NOT be present in the PRD
102
+
103
+ **Example mappings from CSV:**
104
+ - api_backend: Required=[endpoint_specs, auth_model, data_schemas], Skip=[ux_ui, visual_design]
105
+ - mobile_app: Required=[platform_reqs, device_permissions, offline_mode], Skip=[desktop_features, cli_commands]
106
+ - cli_tool: Required=[command_structure, output_formats, config_schema], Skip=[visual_design, ux_principles, touch_interactions]
107
+ - etc.
108
+
109
+ ### 4. Validate Against CSV-Based Requirements
110
+
111
+ **Based on project type, determine:**
112
+
113
+ **api_backend:**
114
+ - Required: Endpoint Specs, Auth Model, Data Schemas, API Versioning
115
+ - Excluded: UX/UI sections, mobile-specific sections
116
+
117
+ **web_app:**
118
+ - Required: User Journeys, UX/UI Requirements, Responsive Design
119
+ - Excluded: None typically
120
+
121
+ **mobile_app:**
122
+ - Required: Mobile UX, Platform specifics (iOS/Android), Offline mode
123
+ - Excluded: Desktop-specific sections
124
+
125
+ **desktop_app:**
126
+ - Required: Desktop UX, Platform specifics (Windows/Mac/Linux)
127
+ - Excluded: Mobile-specific sections
128
+
129
+ **data_pipeline:**
130
+ - Required: Data Sources, Data Transformation, Data Sinks, Error Handling
131
+ - Excluded: UX/UI sections
132
+
133
+ **ml_system:**
134
+ - Required: Model Requirements, Training Data, Inference Requirements, Model Performance
135
+ - Excluded: UX/UI sections (unless ML UI)
136
+
137
+ **library_sdk:**
138
+ - Required: API Surface, Usage Examples, Integration Guide
139
+ - Excluded: UX/UI sections, deployment sections
140
+
141
+ **infrastructure:**
142
+ - Required: Infrastructure Components, Deployment, Monitoring, Scaling
143
+ - Excluded: Feature requirements (this is infrastructure, not product)
144
+
145
+ ### 4. Attempt Sub-Process Validation
146
+
147
+ "Perform project-type compliance validation for {projectType}:
148
+
149
+ **Check that required sections are present:**
150
+ {List required sections for this project type}
151
+ For each: Is it present in PRD? Is it adequately documented?
152
+
153
+ **Check that excluded sections are absent:**
154
+ {List excluded sections for this project type}
155
+ For each: Is it absent from PRD? (Should not be present)
156
+
157
+ Build compliance table showing:
158
+ - Required sections: [Present/Missing/Incomplete]
159
+ - Excluded sections: [Absent/Present] (Present = violation)
160
+
161
+ Return compliance table with findings."
162
+
163
+ **Graceful degradation (if no Task tool):**
164
+ - Manually check PRD for required sections
165
+ - Manually check PRD for excluded sections
166
+ - Build compliance table
167
+
168
+ ### 5. Build Compliance Table
169
+
170
+ **Required sections check:**
171
+ - For each required section: Present / Missing / Incomplete
172
+ - Count: Required sections present vs total required
173
+
174
+ **Excluded sections check:**
175
+ - For each excluded section: Absent / Present (violation)
176
+ - Count: Excluded sections present (violations)
177
+
178
+ **Total compliance score:**
179
+ - Required: {present}/{total}
180
+ - Excluded violations: {count}
181
+
182
+ ### 6. Report Project-Type Compliance Findings to Validation Report
183
+
184
+ Append to validation report:
185
+
186
+ ```markdown
187
+ ## Project-Type Compliance Validation
188
+
189
+ **Project Type:** {projectType}
190
+
191
+ ### Required Sections
192
+
193
+ **{Section 1}:** [Present/Missing/Incomplete]
194
+ {If missing or incomplete: Note specific gaps}
195
+
196
+ **{Section 2}:** [Present/Missing/Incomplete]
197
+ {If missing or incomplete: Note specific gaps}
198
+
199
+ [Continue for all required sections]
200
+
201
+ ### Excluded Sections (Should Not Be Present)
202
+
203
+ **{Section 1}:** [Absent/Present] ✓
204
+ {If present: This section should not be present for {projectType}}
205
+
206
+ **{Section 2}:** [Absent/Present] ✓
207
+ {If present: This section should not be present for {projectType}}
208
+
209
+ [Continue for all excluded sections]
210
+
211
+ ### Compliance Summary
212
+
213
+ **Required Sections:** {present}/{total} present
214
+ **Excluded Sections Present:** {violations} (should be 0)
215
+ **Compliance Score:** {percentage}%
216
+
217
+ **Severity:** [Critical if required sections missing, Warning if incomplete, Pass if complete]
218
+
219
+ **Recommendation:**
220
+ [If Critical] "PRD is missing required sections for {projectType}. Add missing sections to properly specify this type of project."
221
+ [If Warning] "Some required sections for {projectType} are incomplete. Strengthen documentation."
222
+ [If Pass] "All required sections for {projectType} are present. No excluded sections found."
223
+ ```
224
+
225
+ ### 7. Display Progress and Auto-Proceed
226
+
227
+ Display: "**Project-Type Compliance Validation Complete**
228
+
229
+ Project Type: {projectType}
230
+ Compliance: {score}%
231
+
232
+ **Proceeding to next validation check...**"
233
+
234
+ Without delay, read fully and follow: {nextStepFile} (step-v-10-smart-validation.md)
235
+
236
+ ---
237
+
238
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
239
+
240
+ ### ✅ SUCCESS:
241
+
242
+ - Project type extracted correctly (or default assumed)
243
+ - Required sections validated for presence and completeness
244
+ - Excluded sections validated for absence
245
+ - Compliance table built with status for all sections
246
+ - Severity assessed correctly
247
+ - Findings reported to validation report
248
+ - Auto-proceeds to next validation step
249
+ - Subprocess attempted with graceful degradation
250
+
251
+ ### ❌ SYSTEM FAILURE:
252
+
253
+ - Not checking project type before proceeding
254
+ - Missing required section checks
255
+ - Missing excluded section checks
256
+ - Not building compliance table
257
+ - Not reporting findings to validation report
258
+ - Not auto-proceeding
259
+
260
+ **Master Rule:** Different project types have different requirements. API PRDs don't need UX sections - validate accordingly.