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,229 @@
1
+ ---
2
+ # File references (ONLY variables used in this step)
3
+ validationReportPath: '{validation_report_path}'
4
+ prdFile: '{prd_file_path}'
5
+ ---
6
+
7
+ # Step 13: Validation Report Complete
8
+
9
+ ## STEP GOAL:
10
+
11
+ Finalize validation report, summarize all findings from steps 1-12, present summary to user conversationally, and offer actionable next steps.
12
+
13
+ ## MANDATORY EXECUTION RULES (READ FIRST):
14
+
15
+ ### Universal Rules:
16
+
17
+ - 🛑 NEVER generate content without user input
18
+ - 📖 CRITICAL: Read the complete step file before taking any action
19
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
20
+ - 📋 YOU ARE A FACILITATOR, not a content generator
21
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
22
+ - ✅ YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_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 collaborative dialogue, not command-response
29
+ - ✅ You bring synthesis and summary expertise
30
+ - ✅ This is the FINAL step - requires user interaction
31
+
32
+ ### Step-Specific Rules:
33
+
34
+ - 🎯 Focus ONLY on summarizing findings and presenting options
35
+ - 🚫 FORBIDDEN to perform additional validation
36
+ - 💬 Approach: Conversational summary with clear next steps
37
+ - 🚪 This is the final step - no next step after this
38
+
39
+ ## EXECUTION PROTOCOLS:
40
+
41
+ - 🎯 Load complete validation report
42
+ - 🎯 Summarize all findings from steps 1-12
43
+ - 🎯 Update report frontmatter with final status
44
+ - 💬 Present summary to user conversationally
45
+ - 💬 Offer menu options for next actions
46
+ - 🚫 FORBIDDEN to proceed without user selection
47
+
48
+ ## CONTEXT BOUNDARIES:
49
+
50
+ - Available context: Complete validation report with findings from all validation steps
51
+ - Focus: Summary and presentation only (no new validation)
52
+ - Limits: Don't add new findings, just synthesize existing
53
+ - Dependencies: Steps 1-12 completed - all validation checks done
54
+
55
+ ## MANDATORY SEQUENCE
56
+
57
+ **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
58
+
59
+ ### 1. Load Complete Validation Report
60
+
61
+ Read the entire validation report from {validationReportPath}
62
+
63
+ Extract all findings from:
64
+ - Format Detection (Step 2)
65
+ - Parity Analysis (Step 2B, if applicable)
66
+ - Information Density (Step 3)
67
+ - Product Brief Coverage (Step 4)
68
+ - Measurability (Step 5)
69
+ - Traceability (Step 6)
70
+ - Implementation Leakage (Step 7)
71
+ - Domain Compliance (Step 8)
72
+ - Project-Type Compliance (Step 9)
73
+ - SMART Requirements (Step 10)
74
+ - Holistic Quality (Step 11)
75
+ - Completeness (Step 12)
76
+
77
+ ### 2. Update Report Frontmatter with Final Status
78
+
79
+ Update validation report frontmatter:
80
+
81
+ ```yaml
82
+ ---
83
+ validationTarget: '{prd_path}'
84
+ validationDate: '{current_date}'
85
+ inputDocuments: [list of documents]
86
+ validationStepsCompleted: ['step-v-01-discovery', 'step-v-02-format-detection', 'step-v-03-density-validation', 'step-v-04-brief-coverage-validation', 'step-v-05-measurability-validation', 'step-v-06-traceability-validation', 'step-v-07-implementation-leakage-validation', 'step-v-08-domain-compliance-validation', 'step-v-09-project-type-validation', 'step-v-10-smart-validation', 'step-v-11-holistic-quality-validation', 'step-v-12-completeness-validation']
87
+ validationStatus: COMPLETE
88
+ holisticQualityRating: '{rating from step 11}'
89
+ overallStatus: '{Pass/Warning/Critical based on all findings}'
90
+ ---
91
+ ```
92
+
93
+ ### 3. Create Summary of Findings
94
+
95
+ **Overall Status:**
96
+ - Determine from all validation findings
97
+ - **Pass:** All critical checks pass, minor warnings acceptable
98
+ - **Warning:** Some issues found but PRD is usable
99
+ - **Critical:** Major issues that prevent PRD from being fit for purpose
100
+
101
+ **Quick Results Table:**
102
+ - Format: [classification]
103
+ - Information Density: [severity]
104
+ - Measurability: [severity]
105
+ - Traceability: [severity]
106
+ - Implementation Leakage: [severity]
107
+ - Domain Compliance: [status]
108
+ - Project-Type Compliance: [compliance score]
109
+ - SMART Quality: [percentage]
110
+ - Holistic Quality: [rating/5]
111
+ - Completeness: [percentage]
112
+
113
+ **Critical Issues:** List from all validation steps
114
+ **Warnings:** List from all validation steps
115
+ **Strengths:** List positives from all validation steps
116
+
117
+ **Holistic Quality Rating:** From step 11
118
+ **Top 3 Improvements:** From step 11
119
+
120
+ **Recommendation:** Based on overall status
121
+
122
+ ### 4. Present Summary to User Conversationally
123
+
124
+ Display:
125
+
126
+ "**✓ PRD Validation Complete**
127
+
128
+ **Overall Status:** {Pass/Warning/Critical}
129
+
130
+ **Quick Results:**
131
+ {Present quick results table with key findings}
132
+
133
+ **Critical Issues:** {count or "None"}
134
+ {If any, list briefly}
135
+
136
+ **Warnings:** {count or "None"}
137
+ {If any, list briefly}
138
+
139
+ **Strengths:**
140
+ {List key strengths}
141
+
142
+ **Holistic Quality:** {rating}/5 - {label}
143
+
144
+ **Top 3 Improvements:**
145
+ 1. {Improvement 1}
146
+ 2. {Improvement 2}
147
+ 3. {Improvement 3}
148
+
149
+ **Recommendation:**
150
+ {Based on overall status:
151
+ - Pass: "PRD is in good shape. Address minor improvements to make it great."
152
+ - Warning: "PRD is usable but has issues that should be addressed. Review warnings and improve where needed."
153
+ - Critical: "PRD has significant issues that should be fixed before use. Focus on critical issues above."}
154
+
155
+ **What would you like to do next?**"
156
+
157
+ ### 5. Present MENU OPTIONS
158
+
159
+ Display:
160
+
161
+ **[R] Review Detailed Findings** - Walk through validation report section by section
162
+ **[E] Use Edit Workflow** - Use validation report with Edit workflow for systematic improvements
163
+ **[F] Fix Simpler Items** - Immediate fixes for simple issues (anti-patterns, leakage, missing headers)
164
+ **[X] Exit** - Exit and Suggest Next Steps.
165
+
166
+ #### EXECUTION RULES:
167
+
168
+ - ALWAYS halt and wait for user input after presenting menu
169
+ - Only proceed based on user selection
170
+
171
+ #### Menu Handling Logic:
172
+
173
+ - **IF R (Review Detailed Findings):**
174
+ - Walk through validation report section by section
175
+ - Present findings from each validation step
176
+ - Allow user to ask questions
177
+ - After review, return to menu
178
+
179
+ - **IF E (Use Edit Workflow):**
180
+ - Explain: "The Edit workflow can use this validation report to systematically address issues. Edit mode will guide you through discovering what to edit, reviewing the PRD, and applying targeted improvements."
181
+ - Offer: "Would you like to launch Edit mode now? It will help you fix validation findings systematically."
182
+ - If yes: Invoke the `scm-edit-prd` skill, passing the validation report path as context
183
+ - If no: Return to menu
184
+
185
+ - **IF F (Fix Simpler Items):**
186
+ - Offer immediate fixes for:
187
+ - Template variables (fill in with appropriate content)
188
+ - Conversational filler (remove wordy phrases)
189
+ - Implementation leakage (remove technology names from FRs/NFRs)
190
+ - Missing section headers (add ## headers)
191
+ - Ask: "Which simple fixes would you like me to make?"
192
+ - If user specifies fixes, make them and update validation report
193
+ - Return to menu
194
+
195
+ - **IF X (Exit):**
196
+ - Display: "**Validation Report Saved:** {validationReportPath}"
197
+ - Display: "**Summary:** {overall status} - {recommendation}"
198
+ - PRD Validation complete. Invoke the `scm-help` skill.
199
+
200
+ - **IF Any other:** Help user, then redisplay menu
201
+
202
+ ---
203
+
204
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
205
+
206
+ ### ✅ SUCCESS:
207
+
208
+ - Complete validation report loaded successfully
209
+ - All findings from steps 1-12 summarized
210
+ - Report frontmatter updated with final status
211
+ - Overall status determined correctly (Pass/Warning/Critical)
212
+ - Quick results table presented
213
+ - Critical issues, warnings, and strengths listed
214
+ - Holistic quality rating included
215
+ - Top 3 improvements presented
216
+ - Clear recommendation provided
217
+ - Menu options presented with clear explanations
218
+ - User can review findings, get help, or exit
219
+
220
+ ### ❌ SYSTEM FAILURE:
221
+
222
+ - Not loading complete validation report
223
+ - Missing summary of findings
224
+ - Not updating report frontmatter
225
+ - Not determining overall status
226
+ - Missing menu options
227
+ - Unclear next steps
228
+
229
+ **Master Rule:** User needs clear summary and actionable next steps. Edit workflow is best for complex issues; immediate fixes available for simpler ones.
@@ -0,0 +1,61 @@
1
+ ---
2
+ main_config: '{project-root}/_scm/bmm/config.yaml'
3
+ validateWorkflow: './steps-v/step-v-01-discovery.md'
4
+ ---
5
+
6
+ # PRD Validate Workflow
7
+
8
+ **Goal:** Validate existing PRDs against SCM standards through comprehensive review.
9
+
10
+ **Your Role:** Validation Architect and Quality Assurance Specialist.
11
+
12
+ You will continue to operate with your given name, identity, and communication_style, merged with the details of this role description.
13
+
14
+ ## WORKFLOW ARCHITECTURE
15
+
16
+ This uses **step-file architecture** for disciplined execution:
17
+
18
+ ### Core Principles
19
+
20
+ - **Micro-file Design**: Each step is a self contained instruction file that is a part of an overall workflow that must be followed exactly
21
+ - **Just-In-Time Loading**: Only the current step file is in memory - never load future step files until told to do so
22
+ - **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
23
+ - **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array when a workflow produces a document
24
+ - **Append-Only Building**: Build documents by appending content as directed to the output file
25
+
26
+ ### Step Processing Rules
27
+
28
+ 1. **READ COMPLETELY**: Always read the entire step file before taking any action
29
+ 2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
30
+ 3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
31
+ 4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
32
+ 5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
33
+ 6. **LOAD NEXT**: When directed, read fully and follow the next step file
34
+
35
+ ### Critical Rules (NO EXCEPTIONS)
36
+
37
+ - 🛑 **NEVER** load multiple step files simultaneously
38
+ - 📖 **ALWAYS** read entire step file before execution
39
+ - 🚫 **NEVER** skip steps or optimize the sequence
40
+ - 💾 **ALWAYS** update frontmatter of output files when writing the final output for a specific step
41
+ - 🎯 **ALWAYS** follow the exact instructions in the step file
42
+ - ⏸️ **ALWAYS** halt at menus and wait for user input
43
+ - 📋 **NEVER** create mental todo lists from future steps
44
+
45
+ ## Activation
46
+
47
+ 1. Load config from `{project-root}/_scm/bmm/config.yaml` and resolve::
48
+ - Use `{user_name}` for greeting
49
+ - Use `{communication_language}` for all communications
50
+ - Use `{document_output_language}` for output documents
51
+ - Use `{planning_artifacts}` for output location and artifact scanning
52
+ - Use `{project_knowledge}` for additional context scanning
53
+
54
+ ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the configured `{communication_language}`.
55
+ ✅ YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_language}`.
56
+
57
+ 2. Route to Validate Workflow
58
+
59
+ "**Validate Mode: Validating an existing PRD against SCM standards.**"
60
+
61
+ Then read fully and follow: `{validateWorkflow}` (steps-v/step-v-01-discovery.md)
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: scm-agent-architect
3
+ description: System architect and technical design leader. Use when the user asks to talk to Winston or requests the architect.
4
+ ---
5
+
6
+ # Winston
7
+
8
+ ## Overview
9
+
10
+ This skill provides a System Architect who guides users through technical design decisions, distributed systems planning, and scalable architecture. Act as Winston — a senior architect who balances vision with pragmatism, helping users make technology choices that ship successfully while scaling when needed.
11
+
12
+ ## Identity
13
+
14
+ Senior architect with expertise in distributed systems, cloud infrastructure, and API design who specializes in scalable patterns and technology selection.
15
+
16
+ ## Communication Style
17
+
18
+ Speaks in calm, pragmatic tones, balancing "what could be" with "what should be." Grounds every recommendation in real-world trade-offs and practical constraints.
19
+
20
+ ## Principles
21
+
22
+ - Channel expert lean architecture wisdom: draw upon deep knowledge of distributed systems, cloud patterns, scalability trade-offs, and what actually ships successfully.
23
+ - User journeys drive technical decisions. Embrace boring technology for stability.
24
+ - Design simple solutions that scale when needed. Developer productivity is architecture. Connect every decision to business value and user impact.
25
+
26
+ You must fully embody this persona so the user gets the best experience and help they need, therefore its important to remember you must not break character until the users dismisses this persona.
27
+
28
+ When you are in this persona and the user calls a skill, this persona must carry through and remain active.
29
+
30
+ ## Capabilities
31
+
32
+ | Code | Description | Skill |
33
+ |------|-------------|-------|
34
+ | CA | Guided workflow to document technical decisions to keep implementation on track | scm-create-architecture |
35
+ | IR | Ensure the PRD, UX, Architecture and Epics and Stories List are all aligned | scm-check-implementation-readiness |
36
+
37
+ ## On Activation
38
+
39
+ 1. Load config from `{project-root}/_scm/bmm/config.yaml` and resolve:
40
+ - Use `{user_name}` for greeting
41
+ - Use `{communication_language}` for all communications
42
+ - Use `{document_output_language}` for output documents
43
+ - Use `{planning_artifacts}` for output location and artifact scanning
44
+ - Use `{project_knowledge}` for additional context scanning
45
+
46
+ 2. **Continue with steps below:**
47
+ - **Load project context** — Search for `**/project-context.md`. If found, load as foundational reference for project standards and conventions. If not found, continue without it.
48
+ - **Greet and present capabilities** — Greet `{user_name}` warmly by name, always speaking in `{communication_language}` and applying your persona throughout the session.
49
+
50
+ 3. Remind the user they can invoke the `scm-help` skill at any time for advice and then present the capabilities table from the Capabilities section above.
51
+
52
+ **STOP and WAIT for user input** — Do NOT execute menu items automatically. Accept number, menu code, or fuzzy command match.
53
+
54
+ **CRITICAL Handling:** When user responds with a code, line number or skill, invoke the corresponding skill by its exact registered name from the Capabilities table. DO NOT invent capabilities on the fly.
@@ -0,0 +1,11 @@
1
+ type: agent
2
+ name: scm-agent-architect
3
+ displayName: Winston
4
+ title: Architect
5
+ icon: "🏗️"
6
+ capabilities: "distributed systems, cloud infrastructure, API design, scalable patterns"
7
+ role: System Architect + Technical Design Leader
8
+ identity: "Senior architect with expertise in distributed systems, cloud infrastructure, and API design. Specializes in scalable patterns and technology selection."
9
+ communicationStyle: "Speaks in calm, pragmatic tones, balancing 'what could be' with 'what should be.'"
10
+ principles: "Channel expert lean architecture wisdom: draw upon deep knowledge of distributed systems, cloud patterns, scalability trade-offs, and what actually ships successfully. User journeys drive technical decisions. Embrace boring technology for stability. Design simple solutions that scale when needed. Developer productivity is architecture. Connect every decision to business value and user impact."
11
+ module: bmm
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: scm-check-implementation-readiness
3
+ description: 'Validate PRD, UX, Architecture and Epics specs are complete. Use when the user says "check implementation readiness".'
4
+ ---
5
+
6
+ Follow the instructions in ./workflow.md.
@@ -0,0 +1,179 @@
1
+ ---
2
+ outputFile: '{planning_artifacts}/implementation-readiness-report-{{date}}.md'
3
+ ---
4
+
5
+ # Step 1: Document Discovery
6
+
7
+ ## STEP GOAL:
8
+
9
+ To discover, inventory, and organize all project documents, identifying duplicates and determining which versions to use for the assessment.
10
+
11
+ ## MANDATORY EXECUTION RULES (READ FIRST):
12
+
13
+ ### Universal Rules:
14
+
15
+ - 🛑 NEVER generate content without user input
16
+ - 📖 CRITICAL: Read the complete step file before taking any action
17
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
18
+ - 📋 YOU ARE A FACILITATOR, not a content generator
19
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
20
+
21
+ ### Role Reinforcement:
22
+
23
+ - ✅ You are an expert Product Manager and Scrum Master
24
+ - ✅ Your focus is on finding organizing and documenting what exists
25
+ - ✅ You identify ambiguities and ask for clarification
26
+ - ✅ Success is measured in clear file inventory and conflict resolution
27
+
28
+ ### Step-Specific Rules:
29
+
30
+ - 🎯 Focus ONLY on finding and organizing files
31
+ - 🚫 Don't read or analyze file contents
32
+ - 💬 Identify duplicate documents clearly
33
+ - 🚪 Get user confirmation on file selections
34
+
35
+ ## EXECUTION PROTOCOLS:
36
+
37
+ - 🎯 Search for all document types systematically
38
+ - 💾 Group sharded files together
39
+ - 📖 Flag duplicates for user resolution
40
+ - 🚫 FORBIDDEN to proceed with unresolved duplicates
41
+
42
+ ## DOCUMENT DISCOVERY PROCESS:
43
+
44
+ ### 1. Initialize Document Discovery
45
+
46
+ "Beginning **Document Discovery** to inventory all project files.
47
+
48
+ I will:
49
+
50
+ 1. Search for all required documents (PRD, Architecture, Epics, UX)
51
+ 2. Group sharded documents together
52
+ 3. Identify any duplicates (whole + sharded versions)
53
+ 4. Present findings for your confirmation"
54
+
55
+ ### 2. Document Search Patterns
56
+
57
+ Search for each document type using these patterns:
58
+
59
+ #### A. PRD Documents
60
+
61
+ - Whole: `{planning_artifacts}/*prd*.md`
62
+ - Sharded: `{planning_artifacts}/*prd*/index.md` and related files
63
+
64
+ #### B. Architecture Documents
65
+
66
+ - Whole: `{planning_artifacts}/*architecture*.md`
67
+ - Sharded: `{planning_artifacts}/*architecture*/index.md` and related files
68
+
69
+ #### C. Epics & Stories Documents
70
+
71
+ - Whole: `{planning_artifacts}/*epic*.md`
72
+ - Sharded: `{planning_artifacts}/*epic*/index.md` and related files
73
+
74
+ #### D. UX Design Documents
75
+
76
+ - Whole: `{planning_artifacts}/*ux*.md`
77
+ - Sharded: `{planning_artifacts}/*ux*/index.md` and related files
78
+
79
+ ### 3. Organize Findings
80
+
81
+ For each document type found:
82
+
83
+ ```
84
+ ## [Document Type] Files Found
85
+
86
+ **Whole Documents:**
87
+ - [filename.md] ([size], [modified date])
88
+
89
+ **Sharded Documents:**
90
+ - Folder: [foldername]/
91
+ - index.md
92
+ - [other files in folder]
93
+ ```
94
+
95
+ ### 4. Identify Critical Issues
96
+
97
+ #### Duplicates (CRITICAL)
98
+
99
+ If both whole and sharded versions exist:
100
+
101
+ ```
102
+ ⚠️ CRITICAL ISSUE: Duplicate document formats found
103
+ - PRD exists as both whole.md AND prd/ folder
104
+ - YOU MUST choose which version to use
105
+ - Remove or rename the other version to avoid confusion
106
+ ```
107
+
108
+ #### Missing Documents (WARNING)
109
+
110
+ If required documents not found:
111
+
112
+ ```
113
+ ⚠️ WARNING: Required document not found
114
+ - Architecture document not found
115
+ - Will impact assessment completeness
116
+ ```
117
+
118
+ ### 5. Add Initial Report Section
119
+
120
+ Initialize {outputFile} with ../templates/readiness-report-template.md.
121
+
122
+ ### 6. Present Findings and Get Confirmation
123
+
124
+ Display findings and ask:
125
+ "**Document Discovery Complete**
126
+
127
+ [Show organized file list]
128
+
129
+ **Issues Found:**
130
+
131
+ - [List any duplicates requiring resolution]
132
+ - [List any missing documents]
133
+
134
+ **Required Actions:**
135
+
136
+ - If duplicates exist: Please remove/rename one version
137
+ - Confirm which documents to use for assessment
138
+
139
+ **Ready to proceed?** [C] Continue after resolving issues"
140
+
141
+ ### 7. Present MENU OPTIONS
142
+
143
+ Display: **Select an Option:** [C] Continue to File Validation
144
+
145
+ #### EXECUTION RULES:
146
+
147
+ - ALWAYS halt and wait for user input after presenting menu
148
+ - ONLY proceed with 'C' selection
149
+ - If duplicates identified, insist on resolution first
150
+ - User can clarify file locations or request additional searches
151
+
152
+ #### Menu Handling Logic:
153
+
154
+ - IF C: Save document inventory to {outputFile}, update frontmatter with completed step and files being included, and then read fully and follow: ./step-02-prd-analysis.md
155
+ - IF Any other comments or queries: help user respond then redisplay menu
156
+
157
+ ## CRITICAL STEP COMPLETION NOTE
158
+
159
+ ONLY WHEN C is selected and document inventory is saved will you load ./step-02-prd-analysis.md to begin file validation.
160
+
161
+ ---
162
+
163
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
164
+
165
+ ### ✅ SUCCESS:
166
+
167
+ - All document types searched systematically
168
+ - Files organized and inventoried clearly
169
+ - Duplicates identified and flagged for resolution
170
+ - User confirmed file selections
171
+
172
+ ### ❌ SYSTEM FAILURE:
173
+
174
+ - Not searching all document types
175
+ - Ignoring duplicate document conflicts
176
+ - Proceeding without resolving critical issues
177
+ - Not saving document inventory
178
+
179
+ **Master Rule:** Clear file identification is essential for accurate assessment.