scm-method 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/.claude-plugin/marketplace.json +77 -0
  2. package/AGENTS.md +12 -0
  3. package/LICENSE +30 -0
  4. package/README.md +109 -0
  5. package/README_CN.md +108 -0
  6. package/package.json +110 -0
  7. package/src/bmm-skills/1-analysis/research/scm-domain-research/SKILL.md +6 -0
  8. package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-01-init.md +137 -0
  9. package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
  10. package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
  11. package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
  12. package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-05-technical-trends.md +234 -0
  13. package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-06-research-synthesis.md +444 -0
  14. package/src/bmm-skills/1-analysis/research/scm-domain-research/research.template.md +29 -0
  15. package/src/bmm-skills/1-analysis/research/scm-domain-research/workflow.md +51 -0
  16. package/src/bmm-skills/1-analysis/research/scm-market-research/SKILL.md +6 -0
  17. package/src/bmm-skills/1-analysis/research/scm-market-research/research.template.md +29 -0
  18. package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-01-init.md +184 -0
  19. package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-02-customer-behavior.md +239 -0
  20. package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-03-customer-pain-points.md +251 -0
  21. package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-04-customer-decisions.md +261 -0
  22. package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-05-competitive-analysis.md +173 -0
  23. package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-06-research-completion.md +478 -0
  24. package/src/bmm-skills/1-analysis/research/scm-market-research/workflow.md +51 -0
  25. package/src/bmm-skills/1-analysis/research/scm-technical-research/SKILL.md +6 -0
  26. package/src/bmm-skills/1-analysis/research/scm-technical-research/research.template.md +29 -0
  27. package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-01-init.md +137 -0
  28. package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-02-technical-overview.md +239 -0
  29. package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
  30. package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
  31. package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-05-implementation-research.md +233 -0
  32. package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-06-research-synthesis.md +487 -0
  33. package/src/bmm-skills/1-analysis/research/scm-technical-research/workflow.md +52 -0
  34. package/src/bmm-skills/1-analysis/scm-agent-analyst/SKILL.md +59 -0
  35. package/src/bmm-skills/1-analysis/scm-agent-analyst/scm-skill-manifest.yaml +11 -0
  36. package/src/bmm-skills/1-analysis/scm-agent-tech-writer/SKILL.md +57 -0
  37. package/src/bmm-skills/1-analysis/scm-agent-tech-writer/explain-concept.md +20 -0
  38. package/src/bmm-skills/1-analysis/scm-agent-tech-writer/mermaid-gen.md +20 -0
  39. package/src/bmm-skills/1-analysis/scm-agent-tech-writer/scm-skill-manifest.yaml +11 -0
  40. package/src/bmm-skills/1-analysis/scm-agent-tech-writer/validate-doc.md +19 -0
  41. package/src/bmm-skills/1-analysis/scm-agent-tech-writer/write-document.md +20 -0
  42. package/src/bmm-skills/1-analysis/scm-document-project/SKILL.md +6 -0
  43. package/src/bmm-skills/1-analysis/scm-document-project/checklist.md +245 -0
  44. package/src/bmm-skills/1-analysis/scm-document-project/documentation-requirements.csv +12 -0
  45. package/src/bmm-skills/1-analysis/scm-document-project/instructions.md +128 -0
  46. package/src/bmm-skills/1-analysis/scm-document-project/templates/deep-dive-template.md +345 -0
  47. package/src/bmm-skills/1-analysis/scm-document-project/templates/index-template.md +169 -0
  48. package/src/bmm-skills/1-analysis/scm-document-project/templates/project-overview-template.md +103 -0
  49. package/src/bmm-skills/1-analysis/scm-document-project/templates/project-scan-report-schema.json +160 -0
  50. package/src/bmm-skills/1-analysis/scm-document-project/templates/source-tree-template.md +135 -0
  51. package/src/bmm-skills/1-analysis/scm-document-project/workflow.md +25 -0
  52. package/src/bmm-skills/1-analysis/scm-document-project/workflows/deep-dive-instructions.md +299 -0
  53. package/src/bmm-skills/1-analysis/scm-document-project/workflows/deep-dive-workflow.md +34 -0
  54. package/src/bmm-skills/1-analysis/scm-document-project/workflows/full-scan-instructions.md +1107 -0
  55. package/src/bmm-skills/1-analysis/scm-document-project/workflows/full-scan-workflow.md +34 -0
  56. package/src/bmm-skills/1-analysis/scm-prfaq/SKILL.md +96 -0
  57. package/src/bmm-skills/1-analysis/scm-prfaq/agents/artifact-analyzer.md +60 -0
  58. package/src/bmm-skills/1-analysis/scm-prfaq/agents/web-researcher.md +49 -0
  59. package/src/bmm-skills/1-analysis/scm-prfaq/assets/prfaq-template.md +62 -0
  60. package/src/bmm-skills/1-analysis/scm-prfaq/references/customer-faq.md +55 -0
  61. package/src/bmm-skills/1-analysis/scm-prfaq/references/internal-faq.md +51 -0
  62. package/src/bmm-skills/1-analysis/scm-prfaq/references/press-release.md +60 -0
  63. package/src/bmm-skills/1-analysis/scm-prfaq/references/verdict.md +79 -0
  64. package/src/bmm-skills/1-analysis/scm-prfaq/scm-manifest.json +16 -0
  65. package/src/bmm-skills/1-analysis/scm-product-brief/SKILL.md +82 -0
  66. package/src/bmm-skills/1-analysis/scm-product-brief/agents/artifact-analyzer.md +60 -0
  67. package/src/bmm-skills/1-analysis/scm-product-brief/agents/opportunity-reviewer.md +44 -0
  68. package/src/bmm-skills/1-analysis/scm-product-brief/agents/skeptic-reviewer.md +44 -0
  69. package/src/bmm-skills/1-analysis/scm-product-brief/agents/web-researcher.md +49 -0
  70. package/src/bmm-skills/1-analysis/scm-product-brief/prompts/contextual-discovery.md +57 -0
  71. package/src/bmm-skills/1-analysis/scm-product-brief/prompts/draft-and-review.md +86 -0
  72. package/src/bmm-skills/1-analysis/scm-product-brief/prompts/finalize.md +75 -0
  73. package/src/bmm-skills/1-analysis/scm-product-brief/prompts/guided-elicitation.md +70 -0
  74. package/src/bmm-skills/1-analysis/scm-product-brief/resources/brief-template.md +60 -0
  75. package/src/bmm-skills/1-analysis/scm-product-brief/scm-manifest.json +17 -0
  76. package/src/bmm-skills/2-plan-workflows/scm-agent-pm/SKILL.md +59 -0
  77. package/src/bmm-skills/2-plan-workflows/scm-agent-pm/scm-skill-manifest.yaml +11 -0
  78. package/src/bmm-skills/2-plan-workflows/scm-agent-ux-designer/SKILL.md +55 -0
  79. package/src/bmm-skills/2-plan-workflows/scm-agent-ux-designer/scm-skill-manifest.yaml +11 -0
  80. package/src/bmm-skills/2-plan-workflows/scm-create-prd/SKILL.md +6 -0
  81. package/src/bmm-skills/2-plan-workflows/scm-create-prd/data/domain-complexity.csv +15 -0
  82. package/src/bmm-skills/2-plan-workflows/scm-create-prd/data/prd-purpose.md +197 -0
  83. package/src/bmm-skills/2-plan-workflows/scm-create-prd/data/project-types.csv +11 -0
  84. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-01-init.md +178 -0
  85. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-01b-continue.md +161 -0
  86. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-02-discovery.md +208 -0
  87. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-02b-vision.md +142 -0
  88. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-02c-executive-summary.md +158 -0
  89. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-03-success.md +214 -0
  90. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-04-journeys.md +201 -0
  91. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-05-domain.md +194 -0
  92. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-06-innovation.md +211 -0
  93. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-07-project-type.md +222 -0
  94. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-08-scoping.md +216 -0
  95. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-09-functional.md +219 -0
  96. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-10-nonfunctional.md +230 -0
  97. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-11-polish.md +221 -0
  98. package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-12-complete.md +115 -0
  99. package/src/bmm-skills/2-plan-workflows/scm-create-prd/templates/prd-template.md +10 -0
  100. package/src/bmm-skills/2-plan-workflows/scm-create-prd/workflow.md +61 -0
  101. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/SKILL.md +6 -0
  102. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-01-init.md +135 -0
  103. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-01b-continue.md +127 -0
  104. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-02-discovery.md +190 -0
  105. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-03-core-experience.md +217 -0
  106. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-04-emotional-response.md +220 -0
  107. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-05-inspiration.md +235 -0
  108. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-06-design-system.md +253 -0
  109. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-07-defining-experience.md +255 -0
  110. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-08-visual-foundation.md +225 -0
  111. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-09-design-directions.md +225 -0
  112. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-10-user-journeys.md +242 -0
  113. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-11-component-strategy.md +249 -0
  114. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-12-ux-patterns.md +238 -0
  115. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-13-responsive-accessibility.md +265 -0
  116. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-14-complete.md +171 -0
  117. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/ux-design-template.md +13 -0
  118. package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/workflow.md +35 -0
  119. package/src/bmm-skills/2-plan-workflows/scm-edit-prd/SKILL.md +6 -0
  120. package/src/bmm-skills/2-plan-workflows/scm-edit-prd/steps-e/step-e-01-discovery.md +242 -0
  121. package/src/bmm-skills/2-plan-workflows/scm-edit-prd/steps-e/step-e-01b-legacy-conversion.md +204 -0
  122. package/src/bmm-skills/2-plan-workflows/scm-edit-prd/steps-e/step-e-02-review.md +245 -0
  123. package/src/bmm-skills/2-plan-workflows/scm-edit-prd/steps-e/step-e-03-edit.md +250 -0
  124. package/src/bmm-skills/2-plan-workflows/scm-edit-prd/steps-e/step-e-04-complete.md +165 -0
  125. package/src/bmm-skills/2-plan-workflows/scm-edit-prd/workflow.md +62 -0
  126. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/SKILL.md +6 -0
  127. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/data/domain-complexity.csv +15 -0
  128. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/data/prd-purpose.md +197 -0
  129. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/data/project-types.csv +11 -0
  130. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-01-discovery.md +221 -0
  131. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
  132. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
  133. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
  134. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
  135. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
  136. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
  137. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
  138. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
  139. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
  140. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
  141. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
  142. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
  143. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
  144. package/src/bmm-skills/2-plan-workflows/scm-validate-prd/workflow.md +61 -0
  145. package/src/bmm-skills/3-solutioning/scm-agent-architect/SKILL.md +54 -0
  146. package/src/bmm-skills/3-solutioning/scm-agent-architect/scm-skill-manifest.yaml +11 -0
  147. package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/SKILL.md +6 -0
  148. package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
  149. package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
  150. package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
  151. package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
  152. package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
  153. package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-06-final-assessment.md +126 -0
  154. package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/templates/readiness-report-template.md +4 -0
  155. package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/workflow.md +47 -0
  156. package/src/bmm-skills/3-solutioning/scm-create-architecture/SKILL.md +6 -0
  157. package/src/bmm-skills/3-solutioning/scm-create-architecture/architecture-decision-template.md +12 -0
  158. package/src/bmm-skills/3-solutioning/scm-create-architecture/data/domain-complexity.csv +13 -0
  159. package/src/bmm-skills/3-solutioning/scm-create-architecture/data/project-types.csv +7 -0
  160. package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-01-init.md +153 -0
  161. package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-01b-continue.md +173 -0
  162. package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-02-context.md +224 -0
  163. package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-03-starter.md +329 -0
  164. package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-04-decisions.md +318 -0
  165. package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-05-patterns.md +359 -0
  166. package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-06-structure.md +379 -0
  167. package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-07-validation.md +359 -0
  168. package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-08-complete.md +76 -0
  169. package/src/bmm-skills/3-solutioning/scm-create-architecture/workflow.md +32 -0
  170. package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/SKILL.md +6 -0
  171. package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/steps/step-01-validate-prerequisites.md +255 -0
  172. package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/steps/step-02-design-epics.md +212 -0
  173. package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
  174. package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/steps/step-04-final-validation.md +131 -0
  175. package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/templates/epics-template.md +61 -0
  176. package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/workflow.md +51 -0
  177. package/src/bmm-skills/3-solutioning/scm-generate-project-context/SKILL.md +6 -0
  178. package/src/bmm-skills/3-solutioning/scm-generate-project-context/project-context-template.md +21 -0
  179. package/src/bmm-skills/3-solutioning/scm-generate-project-context/steps/step-01-discover.md +186 -0
  180. package/src/bmm-skills/3-solutioning/scm-generate-project-context/steps/step-02-generate.md +321 -0
  181. package/src/bmm-skills/3-solutioning/scm-generate-project-context/steps/step-03-complete.md +278 -0
  182. package/src/bmm-skills/3-solutioning/scm-generate-project-context/workflow.md +39 -0
  183. package/src/bmm-skills/4-implementation/scm-agent-dev/SKILL.md +64 -0
  184. package/src/bmm-skills/4-implementation/scm-agent-dev/scm-skill-manifest.yaml +11 -0
  185. package/src/bmm-skills/4-implementation/scm-agent-qa/SKILL.md +61 -0
  186. package/src/bmm-skills/4-implementation/scm-agent-qa/scm-skill-manifest.yaml +11 -0
  187. package/src/bmm-skills/4-implementation/scm-agent-quick-flow-solo-dev/SKILL.md +53 -0
  188. package/src/bmm-skills/4-implementation/scm-agent-quick-flow-solo-dev/scm-skill-manifest.yaml +11 -0
  189. package/src/bmm-skills/4-implementation/scm-agent-sm/SKILL.md +55 -0
  190. package/src/bmm-skills/4-implementation/scm-agent-sm/scm-skill-manifest.yaml +11 -0
  191. package/src/bmm-skills/4-implementation/scm-code-review/SKILL.md +6 -0
  192. package/src/bmm-skills/4-implementation/scm-code-review/steps/step-01-gather-context.md +62 -0
  193. package/src/bmm-skills/4-implementation/scm-code-review/steps/step-02-review.md +34 -0
  194. package/src/bmm-skills/4-implementation/scm-code-review/steps/step-03-triage.md +49 -0
  195. package/src/bmm-skills/4-implementation/scm-code-review/steps/step-04-present.md +129 -0
  196. package/src/bmm-skills/4-implementation/scm-code-review/workflow.md +55 -0
  197. package/src/bmm-skills/4-implementation/scm-correct-course/SKILL.md +6 -0
  198. package/src/bmm-skills/4-implementation/scm-correct-course/checklist.md +288 -0
  199. package/src/bmm-skills/4-implementation/scm-correct-course/workflow.md +267 -0
  200. package/src/bmm-skills/4-implementation/scm-create-story/SKILL.md +6 -0
  201. package/src/bmm-skills/4-implementation/scm-create-story/checklist.md +357 -0
  202. package/src/bmm-skills/4-implementation/scm-create-story/discover-inputs.md +88 -0
  203. package/src/bmm-skills/4-implementation/scm-create-story/template.md +49 -0
  204. package/src/bmm-skills/4-implementation/scm-create-story/workflow.md +380 -0
  205. package/src/bmm-skills/4-implementation/scm-dev-story/SKILL.md +6 -0
  206. package/src/bmm-skills/4-implementation/scm-dev-story/checklist.md +80 -0
  207. package/src/bmm-skills/4-implementation/scm-dev-story/workflow.md +450 -0
  208. package/src/bmm-skills/4-implementation/scm-qa-generate-e2e-tests/SKILL.md +6 -0
  209. package/src/bmm-skills/4-implementation/scm-qa-generate-e2e-tests/checklist.md +33 -0
  210. package/src/bmm-skills/4-implementation/scm-qa-generate-e2e-tests/workflow.md +136 -0
  211. package/src/bmm-skills/4-implementation/scm-quick-dev/SKILL.md +6 -0
  212. package/src/bmm-skills/4-implementation/scm-quick-dev/spec-template.md +88 -0
  213. package/src/bmm-skills/4-implementation/scm-quick-dev/step-01-clarify-and-route.md +66 -0
  214. package/src/bmm-skills/4-implementation/scm-quick-dev/step-02-plan.md +35 -0
  215. package/src/bmm-skills/4-implementation/scm-quick-dev/step-03-implement.md +37 -0
  216. package/src/bmm-skills/4-implementation/scm-quick-dev/step-04-review.md +49 -0
  217. package/src/bmm-skills/4-implementation/scm-quick-dev/step-05-present.md +63 -0
  218. package/src/bmm-skills/4-implementation/scm-quick-dev/step-oneshot.md +62 -0
  219. package/src/bmm-skills/4-implementation/scm-quick-dev/workflow.md +79 -0
  220. package/src/bmm-skills/4-implementation/scm-retrospective/SKILL.md +6 -0
  221. package/src/bmm-skills/4-implementation/scm-retrospective/workflow.md +1479 -0
  222. package/src/bmm-skills/4-implementation/scm-sprint-planning/SKILL.md +6 -0
  223. package/src/bmm-skills/4-implementation/scm-sprint-planning/checklist.md +33 -0
  224. package/src/bmm-skills/4-implementation/scm-sprint-planning/sprint-status-template.yaml +56 -0
  225. package/src/bmm-skills/4-implementation/scm-sprint-planning/workflow.md +263 -0
  226. package/src/bmm-skills/4-implementation/scm-sprint-status/SKILL.md +6 -0
  227. package/src/bmm-skills/4-implementation/scm-sprint-status/workflow.md +261 -0
  228. package/src/bmm-skills/module-help.csv +31 -0
  229. package/src/bmm-skills/module.yaml +50 -0
  230. package/src/core-skills/module-help.csv +11 -0
  231. package/src/core-skills/module.yaml +25 -0
  232. package/src/core-skills/scm-advanced-elicitation/SKILL.md +136 -0
  233. package/src/core-skills/scm-advanced-elicitation/methods.csv +51 -0
  234. package/src/core-skills/scm-brainstorming/SKILL.md +6 -0
  235. package/src/core-skills/scm-brainstorming/brain-methods.csv +62 -0
  236. package/src/core-skills/scm-brainstorming/steps/step-01-session-setup.md +214 -0
  237. package/src/core-skills/scm-brainstorming/steps/step-01b-continue.md +124 -0
  238. package/src/core-skills/scm-brainstorming/steps/step-02a-user-selected.md +229 -0
  239. package/src/core-skills/scm-brainstorming/steps/step-02b-ai-recommended.md +239 -0
  240. package/src/core-skills/scm-brainstorming/steps/step-02c-random-selection.md +211 -0
  241. package/src/core-skills/scm-brainstorming/steps/step-02d-progressive-flow.md +266 -0
  242. package/src/core-skills/scm-brainstorming/steps/step-03-technique-execution.md +401 -0
  243. package/src/core-skills/scm-brainstorming/steps/step-04-idea-organization.md +305 -0
  244. package/src/core-skills/scm-brainstorming/template.md +15 -0
  245. package/src/core-skills/scm-brainstorming/workflow.md +53 -0
  246. package/src/core-skills/scm-distillator/SKILL.md +177 -0
  247. package/src/core-skills/scm-distillator/agents/distillate-compressor.md +116 -0
  248. package/src/core-skills/scm-distillator/agents/round-trip-reconstructor.md +68 -0
  249. package/src/core-skills/scm-distillator/resources/compression-rules.md +51 -0
  250. package/src/core-skills/scm-distillator/resources/distillate-format-reference.md +227 -0
  251. package/src/core-skills/scm-distillator/resources/splitting-strategy.md +78 -0
  252. package/src/core-skills/scm-distillator/scripts/analyze_sources.py +300 -0
  253. package/src/core-skills/scm-distillator/scripts/tests/test_analyze_sources.py +204 -0
  254. package/src/core-skills/scm-editorial-review-prose/SKILL.md +86 -0
  255. package/src/core-skills/scm-editorial-review-structure/SKILL.md +179 -0
  256. package/src/core-skills/scm-help/SKILL.md +73 -0
  257. package/src/core-skills/scm-index-docs/SKILL.md +66 -0
  258. package/src/core-skills/scm-party-mode/SKILL.md +125 -0
  259. package/src/core-skills/scm-review-adversarial-general/SKILL.md +37 -0
  260. package/src/core-skills/scm-review-edge-case-hunter/SKILL.md +67 -0
  261. package/src/core-skills/scm-shard-doc/SKILL.md +105 -0
  262. package/tools/format-workflow-md.js +263 -0
  263. package/tools/installer/README.md +60 -0
  264. package/tools/installer/cli-utils.js +181 -0
  265. package/tools/installer/commands/install.js +80 -0
  266. package/tools/installer/commands/status.js +65 -0
  267. package/tools/installer/commands/uninstall.js +167 -0
  268. package/tools/installer/core/config.js +52 -0
  269. package/tools/installer/core/custom-module-cache.js +260 -0
  270. package/tools/installer/core/existing-install.js +127 -0
  271. package/tools/installer/core/install-paths.js +129 -0
  272. package/tools/installer/core/installer.js +1790 -0
  273. package/tools/installer/core/manifest-generator.js +701 -0
  274. package/tools/installer/core/manifest.js +1040 -0
  275. package/tools/installer/custom-handler.js +112 -0
  276. package/tools/installer/external-official-modules.yaml +63 -0
  277. package/tools/installer/file-ops.js +204 -0
  278. package/tools/installer/ide/_config-driven.js +536 -0
  279. package/tools/installer/ide/manager.js +247 -0
  280. package/tools/installer/ide/platform-codes.js +37 -0
  281. package/tools/installer/ide/platform-codes.yaml +192 -0
  282. package/tools/installer/ide/shared/agent-command-generator.js +180 -0
  283. package/tools/installer/ide/shared/module-injections.js +136 -0
  284. package/tools/installer/ide/shared/path-utils.js +364 -0
  285. package/tools/installer/ide/shared/scm-artifacts.js +208 -0
  286. package/tools/installer/ide/shared/skill-manifest.js +72 -0
  287. package/tools/installer/ide/templates/agent-command-template.md +14 -0
  288. package/tools/installer/ide/templates/combined/antigravity.md +8 -0
  289. package/tools/installer/ide/templates/combined/default-agent.md +15 -0
  290. package/tools/installer/ide/templates/combined/default-task.md +10 -0
  291. package/tools/installer/ide/templates/combined/default-tool.md +10 -0
  292. package/tools/installer/ide/templates/combined/default-workflow.md +6 -0
  293. package/tools/installer/ide/templates/combined/gemini-agent.toml +14 -0
  294. package/tools/installer/ide/templates/combined/gemini-task.toml +11 -0
  295. package/tools/installer/ide/templates/combined/gemini-tool.toml +11 -0
  296. package/tools/installer/ide/templates/combined/gemini-workflow-yaml.toml +16 -0
  297. package/tools/installer/ide/templates/combined/gemini-workflow.toml +14 -0
  298. package/tools/installer/ide/templates/combined/kiro-agent.md +16 -0
  299. package/tools/installer/ide/templates/combined/kiro-task.md +9 -0
  300. package/tools/installer/ide/templates/combined/kiro-tool.md +9 -0
  301. package/tools/installer/ide/templates/combined/kiro-workflow.md +7 -0
  302. package/tools/installer/ide/templates/combined/opencode-agent.md +15 -0
  303. package/tools/installer/ide/templates/combined/opencode-task.md +13 -0
  304. package/tools/installer/ide/templates/combined/opencode-tool.md +13 -0
  305. package/tools/installer/ide/templates/combined/opencode-workflow-yaml.md +16 -0
  306. package/tools/installer/ide/templates/combined/opencode-workflow.md +16 -0
  307. package/tools/installer/ide/templates/combined/rovodev.md +9 -0
  308. package/tools/installer/ide/templates/combined/trae.md +9 -0
  309. package/tools/installer/ide/templates/combined/windsurf-workflow.md +10 -0
  310. package/tools/installer/ide/templates/split/.gitkeep +0 -0
  311. package/tools/installer/install-messages.yaml +35 -0
  312. package/tools/installer/message-loader.js +83 -0
  313. package/tools/installer/modules/custom-modules.js +197 -0
  314. package/tools/installer/modules/external-manager.js +354 -0
  315. package/tools/installer/modules/official-modules.js +2043 -0
  316. package/tools/installer/project-root.js +77 -0
  317. package/tools/installer/prompts.js +809 -0
  318. package/tools/installer/scm-cli.js +108 -0
  319. package/tools/installer/ui.js +1683 -0
  320. package/tools/installer/yaml-format.js +245 -0
  321. package/tools/javascript-conventions.md +5 -0
  322. package/tools/migrate-custom-module-paths.js +124 -0
  323. package/tools/platform-codes.yaml +169 -0
  324. package/tools/validate-skills.js +736 -0
@@ -0,0 +1,255 @@
1
+ # Step 3: Generate Epics and Stories
2
+
3
+ ## STEP GOAL:
4
+
5
+ To generate all epics with their stories based on the approved epics_list, following the template structure exactly.
6
+
7
+ ## MANDATORY EXECUTION RULES (READ FIRST):
8
+
9
+ ### Universal Rules:
10
+
11
+ - πŸ›‘ NEVER generate content without user input
12
+ - πŸ“– CRITICAL: Read the complete step file before taking any action
13
+ - πŸ”„ CRITICAL: Process epics sequentially
14
+ - πŸ“‹ YOU ARE A FACILITATOR, not a content generator
15
+ - βœ… YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
16
+
17
+ ### Role Reinforcement:
18
+
19
+ - βœ… You are a product strategist and technical specifications writer
20
+ - βœ… If you already have been given communication or persona patterns, continue to use those while playing this new role
21
+ - βœ… We engage in collaborative dialogue, not command-response
22
+ - βœ… You bring story creation and acceptance criteria expertise
23
+ - βœ… User brings their implementation priorities and constraints
24
+
25
+ ### Step-Specific Rules:
26
+
27
+ - 🎯 Generate stories for each epic following the template exactly
28
+ - 🚫 FORBIDDEN to deviate from template structure
29
+ - πŸ’¬ Each story must have clear acceptance criteria
30
+ - πŸšͺ ENSURE each story is completable by a single dev agent
31
+ - πŸ”— **CRITICAL: Stories MUST NOT depend on future stories within the same epic**
32
+
33
+ ## EXECUTION PROTOCOLS:
34
+
35
+ - 🎯 Generate stories collaboratively with user input
36
+ - πŸ’Ύ Append epics and stories to {planning_artifacts}/epics.md following template
37
+ - πŸ“– Process epics one at a time in sequence
38
+ - 🚫 FORBIDDEN to skip any epic or rush through stories
39
+
40
+ ## STORY GENERATION PROCESS:
41
+
42
+ ### 1. Load Approved Epic Structure
43
+
44
+ Load {planning_artifacts}/epics.md and review:
45
+
46
+ - Approved epics_list from Step 2
47
+ - FR coverage map
48
+ - All requirements (FRs, NFRs, additional, **UX Design requirements if present**)
49
+ - Template structure at the end of the document
50
+
51
+ **UX Design Integration**: If UX Design Requirements (UX-DRs) were extracted in Step 1, ensure they are visible during story creation. UX-DRs must be covered by stories β€” either within existing epics (e.g., accessibility fixes for a feature epic) or in a dedicated "Design System / UX Polish" epic.
52
+
53
+ ### 2. Explain Story Creation Approach
54
+
55
+ **STORY CREATION GUIDELINES:**
56
+
57
+ For each epic, create stories that:
58
+
59
+ - Follow the exact template structure
60
+ - Are sized for single dev agent completion
61
+ - Have clear user value
62
+ - Include specific acceptance criteria
63
+ - Reference requirements being fulfilled
64
+
65
+ **🚨 DATABASE/ENTITY CREATION PRINCIPLE:**
66
+ Create tables/entities ONLY when needed by the story:
67
+
68
+ - ❌ WRONG: Epic 1 Story 1 creates all 50 database tables
69
+ - βœ… RIGHT: Each story creates/alters ONLY the tables it needs
70
+
71
+ **πŸ”— STORY DEPENDENCY PRINCIPLE:**
72
+ Stories must be independently completable in sequence:
73
+
74
+ - ❌ WRONG: Story 1.2 requires Story 1.3 to be completed first
75
+ - βœ… RIGHT: Each story can be completed based only on previous stories
76
+ - ❌ WRONG: "Wait for Story 1.4 to be implemented before this works"
77
+ - βœ… RIGHT: "This story works independently and enables future stories"
78
+
79
+ **STORY FORMAT (from template):**
80
+
81
+ ```
82
+ ### Story {N}.{M}: {story_title}
83
+
84
+ As a {user_type},
85
+ I want {capability},
86
+ So that {value_benefit}.
87
+
88
+ **Acceptance Criteria:**
89
+
90
+ **Given** {precondition}
91
+ **When** {action}
92
+ **Then** {expected_outcome}
93
+ **And** {additional_criteria}
94
+ ```
95
+
96
+ **βœ… GOOD STORY EXAMPLES:**
97
+
98
+ _Epic 1: User Authentication_
99
+
100
+ - Story 1.1: User Registration with Email
101
+ - Story 1.2: User Login with Password
102
+ - Story 1.3: Password Reset via Email
103
+
104
+ _Epic 2: Content Creation_
105
+
106
+ - Story 2.1: Create New Blog Post
107
+ - Story 2.2: Edit Existing Blog Post
108
+ - Story 2.3: Publish Blog Post
109
+
110
+ **❌ BAD STORY EXAMPLES:**
111
+
112
+ - Story: "Set up database" (no user value)
113
+ - Story: "Create all models" (too large, no user value)
114
+ - Story: "Build authentication system" (too large)
115
+ - Story: "Login UI (depends on Story 1.3 API endpoint)" (future dependency!)
116
+ - Story: "Edit post (requires Story 1.4 to be implemented first)" (wrong order!)
117
+
118
+ ### 3. Process Epics Sequentially
119
+
120
+ For each epic in the approved epics_list:
121
+
122
+ #### A. Epic Overview
123
+
124
+ Display:
125
+
126
+ - Epic number and title
127
+ - Epic goal statement
128
+ - FRs covered by this epic
129
+ - Any NFRs or additional requirements relevant
130
+ - Any UX Design Requirements (UX-DRs) relevant to this epic
131
+
132
+ #### B. Story Breakdown
133
+
134
+ Work with user to break down the epic into stories:
135
+
136
+ - Identify distinct user capabilities
137
+ - Ensure logical flow within the epic
138
+ - Size stories appropriately
139
+
140
+ #### C. Generate Each Story
141
+
142
+ For each story in the epic:
143
+
144
+ 1. **Story Title**: Clear, action-oriented
145
+ 2. **User Story**: Complete the As a/I want/So that format
146
+ 3. **Acceptance Criteria**: Write specific, testable criteria
147
+
148
+ **AC Writing Guidelines:**
149
+
150
+ - Use Given/When/Then format
151
+ - Each AC should be independently testable
152
+ - Include edge cases and error conditions
153
+ - Reference specific requirements when applicable
154
+
155
+ #### D. Collaborative Review
156
+
157
+ After writing each story:
158
+
159
+ - Present the story to user
160
+ - Ask: "Does this story capture the requirement correctly?"
161
+ - "Is the scope appropriate for a single dev session?"
162
+ - "Are the acceptance criteria complete and testable?"
163
+
164
+ #### E. Append to Document
165
+
166
+ When story is approved:
167
+
168
+ - Append it to {planning_artifacts}/epics.md following template structure
169
+ - Use correct numbering (Epic N, Story M)
170
+ - Maintain proper markdown formatting
171
+
172
+ ### 4. Epic Completion
173
+
174
+ After all stories for an epic are complete:
175
+
176
+ - Display epic summary
177
+ - Show count of stories created
178
+ - Verify all FRs for the epic are covered
179
+ - Get user confirmation to proceed to next epic
180
+
181
+ ### 5. Repeat for All Epics
182
+
183
+ Continue the process for each epic in the approved list, processing them in order (Epic 1, Epic 2, etc.).
184
+
185
+ ### 6. Final Document Completion
186
+
187
+ After all epics and stories are generated:
188
+
189
+ - Verify the document follows template structure exactly
190
+ - Ensure all placeholders are replaced
191
+ - Confirm all FRs are covered
192
+ - **Confirm all UX Design Requirements (UX-DRs) are covered by at least one story** (if UX document was an input)
193
+ - Check formatting consistency
194
+
195
+ ## TEMPLATE STRUCTURE COMPLIANCE:
196
+
197
+ The final {planning_artifacts}/epics.md must follow this structure exactly:
198
+
199
+ 1. **Overview** section with project name
200
+ 2. **Requirements Inventory** with all three subsections populated
201
+ 3. **FR Coverage Map** showing requirement to epic mapping
202
+ 4. **Epic List** with approved epic structure
203
+ 5. **Epic sections** for each epic (N = 1, 2, 3...)
204
+ - Epic title and goal
205
+ - All stories for that epic (M = 1, 2, 3...)
206
+ - Story title and user story
207
+ - Acceptance Criteria using Given/When/Then format
208
+
209
+ ### 7. Present FINAL MENU OPTIONS
210
+
211
+ After all epics and stories are complete:
212
+
213
+ Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue"
214
+
215
+ #### Menu Handling Logic:
216
+
217
+ - IF A: Invoke the `scm-advanced-elicitation` skill
218
+ - IF P: Invoke the `scm-party-mode` skill
219
+ - IF C: Save content to {planning_artifacts}/epics.md, update frontmatter, then read fully and follow: ./step-04-final-validation.md
220
+ - IF Any other comments or queries: help user respond then [Redisplay Menu Options](#7-present-final-menu-options)
221
+
222
+ #### EXECUTION RULES:
223
+
224
+ - ALWAYS halt and wait for user input after presenting menu
225
+ - ONLY proceed to next step when user selects 'C'
226
+ - After other menu items execution, return to this menu
227
+ - User can chat or ask questions - always respond and then end with display again of the menu options
228
+
229
+ ## CRITICAL STEP COMPLETION NOTE
230
+
231
+ ONLY WHEN [C continue option] is selected and [all epics and stories saved to document following the template structure exactly], will you then read fully and follow: `./step-04-final-validation.md` to begin final validation phase.
232
+
233
+ ---
234
+
235
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
236
+
237
+ ### βœ… SUCCESS:
238
+
239
+ - All epics processed in sequence
240
+ - Stories created for each epic
241
+ - Template structure followed exactly
242
+ - All FRs covered by stories
243
+ - Stories appropriately sized
244
+ - Acceptance criteria are specific and testable
245
+ - Document is complete and ready for development
246
+
247
+ ### ❌ SYSTEM FAILURE:
248
+
249
+ - Deviating from template structure
250
+ - Missing epics or stories
251
+ - Stories too large or unclear
252
+ - Missing acceptance criteria
253
+ - Not following proper formatting
254
+
255
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,131 @@
1
+ # Step 4: Final Validation
2
+
3
+ ## STEP GOAL:
4
+
5
+ To validate complete coverage of all requirements and ensure stories are ready for development.
6
+
7
+ ## MANDATORY EXECUTION RULES (READ FIRST):
8
+
9
+ ### Universal Rules:
10
+
11
+ - πŸ›‘ NEVER generate content without user input
12
+ - πŸ“– CRITICAL: Read the complete step file before taking any action
13
+ - πŸ”„ CRITICAL: Process validation sequentially without skipping
14
+ - πŸ“‹ YOU ARE A FACILITATOR, not a content generator
15
+ - βœ… YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
16
+
17
+ ### Role Reinforcement:
18
+
19
+ - βœ… You are a product strategist and technical specifications writer
20
+ - βœ… If you already have been given communication or persona patterns, continue to use those while playing this new role
21
+ - βœ… We engage in collaborative dialogue, not command-response
22
+ - βœ… You bring validation expertise and quality assurance
23
+ - βœ… User brings their implementation priorities and final review
24
+
25
+ ### Step-Specific Rules:
26
+
27
+ - 🎯 Focus ONLY on validating complete requirements coverage
28
+ - 🚫 FORBIDDEN to skip any validation checks
29
+ - πŸ’¬ Validate FR coverage, story completeness, and dependencies
30
+ - πŸšͺ ENSURE all stories are ready for development
31
+
32
+ ## EXECUTION PROTOCOLS:
33
+
34
+ - 🎯 Validate every requirement has story coverage
35
+ - πŸ’Ύ Check story dependencies and flow
36
+ - πŸ“– Verify architecture compliance
37
+ - 🚫 FORBIDDEN to approve incomplete coverage
38
+
39
+ ## CONTEXT BOUNDARIES:
40
+
41
+ - Available context: Complete epic and story breakdown from previous steps
42
+ - Focus: Final validation of requirements coverage and story readiness
43
+ - Limits: Validation only, no new content creation
44
+ - Dependencies: Completed story generation from Step 3
45
+
46
+ ## VALIDATION PROCESS:
47
+
48
+ ### 1. FR Coverage Validation
49
+
50
+ Review the complete epic and story breakdown to ensure EVERY FR is covered:
51
+
52
+ **CRITICAL CHECK:**
53
+
54
+ - Go through each FR from the Requirements Inventory
55
+ - Verify it appears in at least one story
56
+ - Check that acceptance criteria fully address the FR
57
+ - No FRs should be left uncovered
58
+
59
+ ### 2. Architecture Implementation Validation
60
+
61
+ **Check for Starter Template Setup:**
62
+
63
+ - Does Architecture document specify a starter template?
64
+ - If YES: Epic 1 Story 1 must be "Set up initial project from starter template"
65
+ - This includes cloning, installing dependencies, initial configuration
66
+
67
+ **Database/Entity Creation Validation:**
68
+
69
+ - Are database tables/entities created ONLY when needed by stories?
70
+ - ❌ WRONG: Epic 1 creates all tables upfront
71
+ - βœ… RIGHT: Tables created as part of the first story that needs them
72
+ - Each story should create/modify ONLY what it needs
73
+
74
+ ### 3. Story Quality Validation
75
+
76
+ **Each story must:**
77
+
78
+ - Be completable by a single dev agent
79
+ - Have clear acceptance criteria
80
+ - Reference specific FRs it implements
81
+ - Include necessary technical details
82
+ - **Not have forward dependencies** (can only depend on PREVIOUS stories)
83
+ - Be implementable without waiting for future stories
84
+
85
+ ### 4. Epic Structure Validation
86
+
87
+ **Check that:**
88
+
89
+ - Epics deliver user value, not technical milestones
90
+ - Dependencies flow naturally
91
+ - Foundation stories only setup what's needed
92
+ - No big upfront technical work
93
+
94
+ ### 5. Dependency Validation (CRITICAL)
95
+
96
+ **Epic Independence Check:**
97
+
98
+ - Does each epic deliver COMPLETE functionality for its domain?
99
+ - Can Epic 2 function without Epic 3 being implemented?
100
+ - Can Epic 3 function standalone using Epic 1 & 2 outputs?
101
+ - ❌ WRONG: Epic 2 requires Epic 3 features to work
102
+ - βœ… RIGHT: Each epic is independently valuable
103
+
104
+ **Within-Epic Story Dependency Check:**
105
+ For each epic, review stories in order:
106
+
107
+ - Can Story N.1 be completed without Stories N.2, N.3, etc.?
108
+ - Can Story N.2 be completed using only Story N.1 output?
109
+ - Can Story N.3 be completed using only Stories N.1 & N.2 outputs?
110
+ - ❌ WRONG: "This story depends on a future story"
111
+ - ❌ WRONG: Story references features not yet implemented
112
+ - βœ… RIGHT: Each story builds only on previous stories
113
+
114
+ ### 6. Complete and Save
115
+
116
+ If all validations pass:
117
+
118
+ - Update any remaining placeholders in the document
119
+ - Ensure proper formatting
120
+ - Save the final epics.md
121
+
122
+ **Present Final Menu:**
123
+ **All validations complete!** [C] Complete Workflow
124
+
125
+ HALT β€” wait for user input before proceeding.
126
+
127
+ When C is selected, the workflow is complete and the epics.md is ready for development.
128
+
129
+ Epics and Stories complete. Invoke the `scm-help` skill.
130
+
131
+ Upon Completion of task output: offer to answer any questions about the Epics and Stories.
@@ -0,0 +1,61 @@
1
+ ---
2
+ stepsCompleted: []
3
+ inputDocuments: []
4
+ ---
5
+
6
+ # {{project_name}} - Epic Breakdown
7
+
8
+ ## Overview
9
+
10
+ This document provides the complete epic and story breakdown for {{project_name}}, decomposing the requirements from the PRD, UX Design if it exists, and Architecture requirements into implementable stories.
11
+
12
+ ## Requirements Inventory
13
+
14
+ ### Functional Requirements
15
+
16
+ {{fr_list}}
17
+
18
+ ### NonFunctional Requirements
19
+
20
+ {{nfr_list}}
21
+
22
+ ### Additional Requirements
23
+
24
+ {{additional_requirements}}
25
+
26
+ ### UX Design Requirements
27
+
28
+ {{ux_design_requirements}}
29
+
30
+ ### FR Coverage Map
31
+
32
+ {{requirements_coverage_map}}
33
+
34
+ ## Epic List
35
+
36
+ {{epics_list}}
37
+
38
+ <!-- Repeat for each epic in epics_list (N = 1, 2, 3...) -->
39
+
40
+ ## Epic {{N}}: {{epic_title_N}}
41
+
42
+ {{epic_goal_N}}
43
+
44
+ <!-- Repeat for each story (M = 1, 2, 3...) within epic N -->
45
+
46
+ ### Story {{N}}.{{M}}: {{story_title_N_M}}
47
+
48
+ As a {{user_type}},
49
+ I want {{capability}},
50
+ So that {{value_benefit}}.
51
+
52
+ **Acceptance Criteria:**
53
+
54
+ <!-- for each AC on this story -->
55
+
56
+ **Given** {{precondition}}
57
+ **When** {{action}}
58
+ **Then** {{expected_outcome}}
59
+ **And** {{additional_criteria}}
60
+
61
+ <!-- End story repeat -->
@@ -0,0 +1,51 @@
1
+ # Create Epics and Stories
2
+
3
+ **Goal:** Transform PRD requirements and Architecture decisions into comprehensive stories organized by user value, creating detailed, actionable stories with complete acceptance criteria for development teams.
4
+
5
+ **Your Role:** In addition to your name, communication_style, and persona, you are also a product strategist and technical specifications writer collaborating with a product owner. This is a partnership, not a client-vendor relationship. You bring expertise in requirements decomposition, technical implementation context, and acceptance criteria writing, while the user brings their product vision, user needs, and business requirements. Work together as equals.
6
+
7
+ ---
8
+
9
+ ## WORKFLOW ARCHITECTURE
10
+
11
+ This uses **step-file architecture** for disciplined execution:
12
+
13
+ ### Core Principles
14
+
15
+ - **Micro-file Design**: Each step of the overall goal is a self contained instruction file that you will adhere too 1 file as directed at a time
16
+ - **Just-In-Time Loading**: Only 1 current step file will be loaded and followed to completion - never load future step files until told to do so
17
+ - **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
18
+ - **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array when a workflow produces a document
19
+ - **Append-Only Building**: Build documents by appending content as directed to the output file
20
+
21
+ ### Step Processing Rules
22
+
23
+ 1. **READ COMPLETELY**: Always read the entire step file before taking any action
24
+ 2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
25
+ 3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
26
+ 4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
27
+ 5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
28
+ 6. **LOAD NEXT**: When directed, read fully and follow the next step file
29
+
30
+ ### Critical Rules (NO EXCEPTIONS)
31
+
32
+ - πŸ›‘ **NEVER** load multiple step files simultaneously
33
+ - πŸ“– **ALWAYS** read entire step file before execution
34
+ - 🚫 **NEVER** skip steps or optimize the sequence
35
+ - πŸ’Ύ **ALWAYS** update frontmatter of output files when writing the final output for a specific step
36
+ - 🎯 **ALWAYS** follow the exact instructions in the step file
37
+ - ⏸️ **ALWAYS** halt at menus and wait for user input
38
+ - πŸ“‹ **NEVER** create mental todo lists from future steps
39
+
40
+ ## Activation
41
+
42
+ 1. Load config from `{project-root}/_scm/bmm/config.yaml` and resolve::
43
+ - Use `{user_name}` for greeting
44
+ - Use `{communication_language}` for all communications
45
+ - Use `{document_output_language}` for output documents
46
+ - Use `{planning_artifacts}` for output location and artifact scanning
47
+ - Use `{project_knowledge}` for additional context scanning
48
+
49
+ 2. First Step EXECUTION
50
+
51
+ Read fully and follow: `./steps/step-01-validate-prerequisites.md` to begin the workflow.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: scm-generate-project-context
3
+ description: 'Create project-context.md with AI rules. Use when the user says "generate project context" or "create project context"'
4
+ ---
5
+
6
+ Follow the instructions in ./workflow.md.
@@ -0,0 +1,21 @@
1
+ ---
2
+ project_name: '{{project_name}}'
3
+ user_name: '{{user_name}}'
4
+ date: '{{date}}'
5
+ sections_completed: ['technology_stack']
6
+ existing_patterns_found: { { number_of_patterns_discovered } }
7
+ ---
8
+
9
+ # Project Context for AI Agents
10
+
11
+ _This file contains critical rules and patterns that AI agents must follow when implementing code in this project. Focus on unobvious details that agents might otherwise miss._
12
+
13
+ ---
14
+
15
+ ## Technology Stack & Versions
16
+
17
+ _Documented after discovery phase_
18
+
19
+ ## Critical Implementation Rules
20
+
21
+ _Documented after discovery phase_