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,450 @@
1
+ # Dev Story Workflow
2
+
3
+ **Goal:** Execute story implementation following a context filled story spec file.
4
+
5
+ **Your Role:** Developer implementing the story.
6
+ - Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}
7
+ - Generate all documents in {document_output_language}
8
+ - Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List, Change Log, and Status
9
+ - Execute ALL steps in exact order; do NOT skip steps
10
+ - Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution until the story is COMPLETE (all ACs satisfied and all tasks/subtasks checked) UNLESS a HALT condition is triggered or the USER gives other instruction.
11
+ - Do NOT schedule a "next session" or request review pauses unless a HALT condition applies. Only Step 6 decides completion.
12
+ - User skill level ({user_skill_level}) affects conversation style ONLY, not code updates.
13
+
14
+ ---
15
+
16
+ ## INITIALIZATION
17
+
18
+ ### Configuration Loading
19
+
20
+ Load config from `{project-root}/_scm/bmm/config.yaml` and resolve:
21
+
22
+ - `project_name`, `user_name`
23
+ - `communication_language`, `document_output_language`
24
+ - `user_skill_level`
25
+ - `implementation_artifacts`
26
+ - `date` as system-generated current datetime
27
+
28
+ ### Paths
29
+
30
+ - `story_file` = `` (explicit story path; auto-discovered if empty)
31
+ - `sprint_status` = `{implementation_artifacts}/sprint-status.yaml`
32
+
33
+ ### Context
34
+
35
+ - `project_context` = `**/project-context.md` (load if exists)
36
+
37
+ ---
38
+
39
+ ## EXECUTION
40
+
41
+ <workflow>
42
+ <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
43
+ <critical>Generate all documents in {document_output_language}</critical>
44
+ <critical>Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List,
45
+ Change Log, and Status</critical>
46
+ <critical>Execute ALL steps in exact order; do NOT skip steps</critical>
47
+ <critical>Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution
48
+ until the story is COMPLETE (all ACs satisfied and all tasks/subtasks checked) UNLESS a HALT condition is triggered or the USER gives
49
+ other instruction.</critical>
50
+ <critical>Do NOT schedule a "next session" or request review pauses unless a HALT condition applies. Only Step 6 decides completion.</critical>
51
+ <critical>User skill level ({user_skill_level}) affects conversation style ONLY, not code updates.</critical>
52
+
53
+ <step n="1" goal="Find next ready story and load it" tag="sprint-status">
54
+ <check if="{{story_path}} is provided">
55
+ <action>Use {{story_path}} directly</action>
56
+ <action>Read COMPLETE story file</action>
57
+ <action>Extract story_key from filename or metadata</action>
58
+ <goto anchor="task_check" />
59
+ </check>
60
+
61
+ <!-- Sprint-based story discovery -->
62
+ <check if="{{sprint_status}} file exists">
63
+ <critical>MUST read COMPLETE sprint-status.yaml file from start to end to preserve order</critical>
64
+ <action>Load the FULL file: {{sprint_status}}</action>
65
+ <action>Read ALL lines from beginning to end - do not skip any content</action>
66
+ <action>Parse the development_status section completely to understand story order</action>
67
+
68
+ <action>Find the FIRST story (by reading in order from top to bottom) where:
69
+ - Key matches pattern: number-number-name (e.g., "1-2-user-auth")
70
+ - NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
71
+ - Status value equals "ready-for-dev"
72
+ </action>
73
+
74
+ <check if="no ready-for-dev or in-progress story found">
75
+ <output>📋 No ready-for-dev stories found in sprint-status.yaml
76
+
77
+ **Current Sprint Status:** {{sprint_status_summary}}
78
+
79
+ **What would you like to do?**
80
+ 1. Run `create-story` to create next story from epics with comprehensive context
81
+ 2. Run `*validate-create-story` to improve existing stories before development (recommended quality check)
82
+ 3. Specify a particular story file to develop (provide full path)
83
+ 4. Check {{sprint_status}} file to see current sprint status
84
+
85
+ 💡 **Tip:** Stories in `ready-for-dev` may not have been validated. Consider running `validate-create-story` first for a quality
86
+ check.
87
+ </output>
88
+ <ask>Choose option [1], [2], [3], or [4], or specify story file path:</ask>
89
+
90
+ <check if="user chooses '1'">
91
+ <action>HALT - Run create-story to create next story</action>
92
+ </check>
93
+
94
+ <check if="user chooses '2'">
95
+ <action>HALT - Run validate-create-story to improve existing stories</action>
96
+ </check>
97
+
98
+ <check if="user chooses '3'">
99
+ <ask>Provide the story file path to develop:</ask>
100
+ <action>Store user-provided story path as {{story_path}}</action>
101
+ <goto anchor="task_check" />
102
+ </check>
103
+
104
+ <check if="user chooses '4'">
105
+ <output>Loading {{sprint_status}} for detailed status review...</output>
106
+ <action>Display detailed sprint status analysis</action>
107
+ <action>HALT - User can review sprint status and provide story path</action>
108
+ </check>
109
+
110
+ <check if="user provides story file path">
111
+ <action>Store user-provided story path as {{story_path}}</action>
112
+ <goto anchor="task_check" />
113
+ </check>
114
+ </check>
115
+ </check>
116
+
117
+ <!-- Non-sprint story discovery -->
118
+ <check if="{{sprint_status}} file does NOT exist">
119
+ <action>Search {implementation_artifacts} for stories directly</action>
120
+ <action>Find stories with "ready-for-dev" status in files</action>
121
+ <action>Look for story files matching pattern: *-*-*.md</action>
122
+ <action>Read each candidate story file to check Status section</action>
123
+
124
+ <check if="no ready-for-dev stories found in story files">
125
+ <output>📋 No ready-for-dev stories found
126
+
127
+ **Available Options:**
128
+ 1. Run `create-story` to create next story from epics with comprehensive context
129
+ 2. Run `*validate-create-story` to improve existing stories
130
+ 3. Specify which story to develop
131
+ </output>
132
+ <ask>What would you like to do? Choose option [1], [2], or [3]:</ask>
133
+
134
+ <check if="user chooses '1'">
135
+ <action>HALT - Run create-story to create next story</action>
136
+ </check>
137
+
138
+ <check if="user chooses '2'">
139
+ <action>HALT - Run validate-create-story to improve existing stories</action>
140
+ </check>
141
+
142
+ <check if="user chooses '3'">
143
+ <ask>It's unclear what story you want developed. Please provide the full path to the story file:</ask>
144
+ <action>Store user-provided story path as {{story_path}}</action>
145
+ <action>Continue with provided story file</action>
146
+ </check>
147
+ </check>
148
+
149
+ <check if="ready-for-dev story found in files">
150
+ <action>Use discovered story file and extract story_key</action>
151
+ </check>
152
+ </check>
153
+
154
+ <action>Store the found story_key (e.g., "1-2-user-authentication") for later status updates</action>
155
+ <action>Find matching story file in {implementation_artifacts} using story_key pattern: {{story_key}}.md</action>
156
+ <action>Read COMPLETE story file from discovered path</action>
157
+
158
+ <anchor id="task_check" />
159
+
160
+ <action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Dev Agent Record, File List, Change Log, Status</action>
161
+
162
+ <action>Load comprehensive context from story file's Dev Notes section</action>
163
+ <action>Extract developer guidance from Dev Notes: architecture requirements, previous learnings, technical specifications</action>
164
+ <action>Use enhanced story context to inform implementation decisions and approaches</action>
165
+
166
+ <action>Identify first incomplete task (unchecked [ ]) in Tasks/Subtasks</action>
167
+
168
+ <action if="no incomplete tasks">
169
+ <goto step="6">Completion sequence</goto>
170
+ </action>
171
+ <action if="story file inaccessible">HALT: "Cannot develop story without access to story file"</action>
172
+ <action if="incomplete task or subtask requirements ambiguous">ASK user to clarify or HALT</action>
173
+ </step>
174
+
175
+ <step n="2" goal="Load project context and story information">
176
+ <critical>Load all available context to inform implementation</critical>
177
+
178
+ <action>Load {project_context} for coding standards and project-wide patterns (if exists)</action>
179
+ <action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Dev Agent Record, File List, Change Log, Status</action>
180
+ <action>Load comprehensive context from story file's Dev Notes section</action>
181
+ <action>Extract developer guidance from Dev Notes: architecture requirements, previous learnings, technical specifications</action>
182
+ <action>Use enhanced story context to inform implementation decisions and approaches</action>
183
+ <output>✅ **Context Loaded**
184
+ Story and project context available for implementation
185
+ </output>
186
+ </step>
187
+
188
+ <step n="3" goal="Detect review continuation and extract review context">
189
+ <critical>Determine if this is a fresh start or continuation after code review</critical>
190
+
191
+ <action>Check if "Senior Developer Review (AI)" section exists in the story file</action>
192
+ <action>Check if "Review Follow-ups (AI)" subsection exists under Tasks/Subtasks</action>
193
+
194
+ <check if="Senior Developer Review section exists">
195
+ <action>Set review_continuation = true</action>
196
+ <action>Extract from "Senior Developer Review (AI)" section:
197
+ - Review outcome (Approve/Changes Requested/Blocked)
198
+ - Review date
199
+ - Total action items with checkboxes (count checked vs unchecked)
200
+ - Severity breakdown (High/Med/Low counts)
201
+ </action>
202
+ <action>Count unchecked [ ] review follow-up tasks in "Review Follow-ups (AI)" subsection</action>
203
+ <action>Store list of unchecked review items as {{pending_review_items}}</action>
204
+
205
+ <output>⏯️ **Resuming Story After Code Review** ({{review_date}})
206
+
207
+ **Review Outcome:** {{review_outcome}}
208
+ **Action Items:** {{unchecked_review_count}} remaining to address
209
+ **Priorities:** {{high_count}} High, {{med_count}} Medium, {{low_count}} Low
210
+
211
+ **Strategy:** Will prioritize review follow-up tasks (marked [AI-Review]) before continuing with regular tasks.
212
+ </output>
213
+ </check>
214
+
215
+ <check if="Senior Developer Review section does NOT exist">
216
+ <action>Set review_continuation = false</action>
217
+ <action>Set {{pending_review_items}} = empty</action>
218
+
219
+ <output>🚀 **Starting Fresh Implementation**
220
+
221
+ Story: {{story_key}}
222
+ Story Status: {{current_status}}
223
+ First incomplete task: {{first_task_description}}
224
+ </output>
225
+ </check>
226
+ </step>
227
+
228
+ <step n="4" goal="Mark story in-progress" tag="sprint-status">
229
+ <check if="{{sprint_status}} file exists">
230
+ <action>Load the FULL file: {{sprint_status}}</action>
231
+ <action>Read all development_status entries to find {{story_key}}</action>
232
+ <action>Get current status value for development_status[{{story_key}}]</action>
233
+
234
+ <check if="current status == 'ready-for-dev' OR review_continuation == true">
235
+ <action>Update the story in the sprint status report to = "in-progress"</action>
236
+ <action>Update last_updated field to current date</action>
237
+ <output>🚀 Starting work on story {{story_key}}
238
+ Status updated: ready-for-dev → in-progress
239
+ </output>
240
+ </check>
241
+
242
+ <check if="current status == 'in-progress'">
243
+ <output>⏯️ Resuming work on story {{story_key}}
244
+ Story is already marked in-progress
245
+ </output>
246
+ </check>
247
+
248
+ <check if="current status is neither ready-for-dev nor in-progress">
249
+ <output>⚠️ Unexpected story status: {{current_status}}
250
+ Expected ready-for-dev or in-progress. Continuing anyway...
251
+ </output>
252
+ </check>
253
+
254
+ <action>Store {{current_sprint_status}} for later use</action>
255
+ </check>
256
+
257
+ <check if="{{sprint_status}} file does NOT exist">
258
+ <output>ℹ️ No sprint status file exists - story progress will be tracked in story file only</output>
259
+ <action>Set {{current_sprint_status}} = "no-sprint-tracking"</action>
260
+ </check>
261
+ </step>
262
+
263
+ <step n="5" goal="Implement task following red-green-refactor cycle">
264
+ <critical>FOLLOW THE STORY FILE TASKS/SUBTASKS SEQUENCE EXACTLY AS WRITTEN - NO DEVIATION</critical>
265
+
266
+ <action>Review the current task/subtask from the story file - this is your authoritative implementation guide</action>
267
+ <action>Plan implementation following red-green-refactor cycle</action>
268
+
269
+ <!-- RED PHASE -->
270
+ <action>Write FAILING tests first for the task/subtask functionality</action>
271
+ <action>Confirm tests fail before implementation - this validates test correctness</action>
272
+
273
+ <!-- GREEN PHASE -->
274
+ <action>Implement MINIMAL code to make tests pass</action>
275
+ <action>Run tests to confirm they now pass</action>
276
+ <action>Handle error conditions and edge cases as specified in task/subtask</action>
277
+
278
+ <!-- REFACTOR PHASE -->
279
+ <action>Improve code structure while keeping tests green</action>
280
+ <action>Ensure code follows architecture patterns and coding standards from Dev Notes</action>
281
+
282
+ <action>Document technical approach and decisions in Dev Agent Record → Implementation Plan</action>
283
+
284
+ <action if="new dependencies required beyond story specifications">HALT: "Additional dependencies need user approval"</action>
285
+ <action if="3 consecutive implementation failures occur">HALT and request guidance</action>
286
+ <action if="required configuration is missing">HALT: "Cannot proceed without necessary configuration files"</action>
287
+
288
+ <critical>NEVER implement anything not mapped to a specific task/subtask in the story file</critical>
289
+ <critical>NEVER proceed to next task until current task/subtask is complete AND tests pass</critical>
290
+ <critical>Execute continuously without pausing until all tasks/subtasks are complete or explicit HALT condition</critical>
291
+ <critical>Do NOT propose to pause for review until Step 9 completion gates are satisfied</critical>
292
+ </step>
293
+
294
+ <step n="6" goal="Author comprehensive tests">
295
+ <action>Create unit tests for business logic and core functionality introduced/changed by the task</action>
296
+ <action>Add integration tests for component interactions specified in story requirements</action>
297
+ <action>Include end-to-end tests for critical user flows when story requirements demand them</action>
298
+ <action>Cover edge cases and error handling scenarios identified in story Dev Notes</action>
299
+ </step>
300
+
301
+ <step n="7" goal="Run validations and tests">
302
+ <action>Determine how to run tests for this repo (infer test framework from project structure)</action>
303
+ <action>Run all existing tests to ensure no regressions</action>
304
+ <action>Run the new tests to verify implementation correctness</action>
305
+ <action>Run linting and code quality checks if configured in project</action>
306
+ <action>Validate implementation meets ALL story acceptance criteria; enforce quantitative thresholds explicitly</action>
307
+ <action if="regression tests fail">STOP and fix before continuing - identify breaking changes immediately</action>
308
+ <action if="new tests fail">STOP and fix before continuing - ensure implementation correctness</action>
309
+ </step>
310
+
311
+ <step n="8" goal="Validate and mark task complete ONLY when fully done">
312
+ <critical>NEVER mark a task complete unless ALL conditions are met - NO LYING OR CHEATING</critical>
313
+
314
+ <!-- VALIDATION GATES -->
315
+ <action>Verify ALL tests for this task/subtask ACTUALLY EXIST and PASS 100%</action>
316
+ <action>Confirm implementation matches EXACTLY what the task/subtask specifies - no extra features</action>
317
+ <action>Validate that ALL acceptance criteria related to this task are satisfied</action>
318
+ <action>Run full test suite to ensure NO regressions introduced</action>
319
+
320
+ <!-- REVIEW FOLLOW-UP HANDLING -->
321
+ <check if="task is review follow-up (has [AI-Review] prefix)">
322
+ <action>Extract review item details (severity, description, related AC/file)</action>
323
+ <action>Add to resolution tracking list: {{resolved_review_items}}</action>
324
+
325
+ <!-- Mark task in Review Follow-ups section -->
326
+ <action>Mark task checkbox [x] in "Tasks/Subtasks → Review Follow-ups (AI)" section</action>
327
+
328
+ <!-- CRITICAL: Also mark corresponding action item in review section -->
329
+ <action>Find matching action item in "Senior Developer Review (AI) → Action Items" section by matching description</action>
330
+ <action>Mark that action item checkbox [x] as resolved</action>
331
+
332
+ <action>Add to Dev Agent Record → Completion Notes: "✅ Resolved review finding [{{severity}}]: {{description}}"</action>
333
+ </check>
334
+
335
+ <!-- ONLY MARK COMPLETE IF ALL VALIDATION PASS -->
336
+ <check if="ALL validation gates pass AND tests ACTUALLY exist and pass">
337
+ <action>ONLY THEN mark the task (and subtasks) checkbox with [x]</action>
338
+ <action>Update File List section with ALL new, modified, or deleted files (paths relative to repo root)</action>
339
+ <action>Add completion notes to Dev Agent Record summarizing what was ACTUALLY implemented and tested</action>
340
+ </check>
341
+
342
+ <check if="ANY validation fails">
343
+ <action>DO NOT mark task complete - fix issues first</action>
344
+ <action>HALT if unable to fix validation failures</action>
345
+ </check>
346
+
347
+ <check if="review_continuation == true and {{resolved_review_items}} is not empty">
348
+ <action>Count total resolved review items in this session</action>
349
+ <action>Add Change Log entry: "Addressed code review findings - {{resolved_count}} items resolved (Date: {{date}})"</action>
350
+ </check>
351
+
352
+ <action>Save the story file</action>
353
+ <action>Determine if more incomplete tasks remain</action>
354
+ <action if="more tasks remain">
355
+ <goto step="5">Next task</goto>
356
+ </action>
357
+ <action if="no tasks remain">
358
+ <goto step="9">Completion</goto>
359
+ </action>
360
+ </step>
361
+
362
+ <step n="9" goal="Story completion and mark for review" tag="sprint-status">
363
+ <action>Verify ALL tasks and subtasks are marked [x] (re-scan the story document now)</action>
364
+ <action>Run the full regression suite (do not skip)</action>
365
+ <action>Confirm File List includes every changed file</action>
366
+ <action>Execute enhanced definition-of-done validation</action>
367
+ <action>Update the story Status to: "review"</action>
368
+
369
+ <!-- Enhanced Definition of Done Validation -->
370
+ <action>Validate definition-of-done checklist with essential requirements:
371
+ - All tasks/subtasks marked complete with [x]
372
+ - Implementation satisfies every Acceptance Criterion
373
+ - Unit tests for core functionality added/updated
374
+ - Integration tests for component interactions added when required
375
+ - End-to-end tests for critical flows added when story demands them
376
+ - All tests pass (no regressions, new tests successful)
377
+ - Code quality checks pass (linting, static analysis if configured)
378
+ - File List includes every new/modified/deleted file (relative paths)
379
+ - Dev Agent Record contains implementation notes
380
+ - Change Log includes summary of changes
381
+ - Only permitted story sections were modified
382
+ </action>
383
+
384
+ <!-- Mark story ready for review - sprint status conditional -->
385
+ <check if="{sprint_status} file exists AND {{current_sprint_status}} != 'no-sprint-tracking'">
386
+ <action>Load the FULL file: {sprint_status}</action>
387
+ <action>Find development_status key matching {{story_key}}</action>
388
+ <action>Verify current status is "in-progress" (expected previous state)</action>
389
+ <action>Update development_status[{{story_key}}] = "review"</action>
390
+ <action>Update last_updated field to current date</action>
391
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
392
+ <output>✅ Story status updated to "review" in sprint-status.yaml</output>
393
+ </check>
394
+
395
+ <check if="{sprint_status} file does NOT exist OR {{current_sprint_status}} == 'no-sprint-tracking'">
396
+ <output>ℹ️ Story status updated to "review" in story file (no sprint tracking configured)</output>
397
+ </check>
398
+
399
+ <check if="story key not found in sprint status">
400
+ <output>⚠️ Story file updated, but sprint-status update failed: {{story_key}} not found
401
+
402
+ Story status is set to "review" in file, but sprint-status.yaml may be out of sync.
403
+ </output>
404
+ </check>
405
+
406
+ <!-- Final validation gates -->
407
+ <action if="any task is incomplete">HALT - Complete remaining tasks before marking ready for review</action>
408
+ <action if="regression failures exist">HALT - Fix regression issues before completing</action>
409
+ <action if="File List is incomplete">HALT - Update File List with all changed files</action>
410
+ <action if="definition-of-done validation fails">HALT - Address DoD failures before completing</action>
411
+ </step>
412
+
413
+ <step n="10" goal="Completion communication and user support">
414
+ <action>Execute the enhanced definition-of-done checklist using the validation framework</action>
415
+ <action>Prepare a concise summary in Dev Agent Record → Completion Notes</action>
416
+
417
+ <action>Communicate to {user_name} that story implementation is complete and ready for review</action>
418
+ <action>Summarize key accomplishments: story ID, story key, title, key changes made, tests added, files modified</action>
419
+ <action>Provide the story file path and current status (now "review")</action>
420
+
421
+ <action>Based on {user_skill_level}, ask if user needs any explanations about:
422
+ - What was implemented and how it works
423
+ - Why certain technical decisions were made
424
+ - How to test or verify the changes
425
+ - Any patterns, libraries, or approaches used
426
+ - Anything else they'd like clarified
427
+ </action>
428
+
429
+ <check if="user asks for explanations">
430
+ <action>Provide clear, contextual explanations tailored to {user_skill_level}</action>
431
+ <action>Use examples and references to specific code when helpful</action>
432
+ </check>
433
+
434
+ <action>Once explanations are complete (or user indicates no questions), suggest logical next steps</action>
435
+ <action>Recommended next steps (flexible based on project setup):
436
+ - Review the implemented story and test the changes
437
+ - Verify all acceptance criteria are met
438
+ - Ensure deployment readiness if applicable
439
+ - Run `code-review` workflow for peer review
440
+ - Optional: If Test Architect module installed, run `/scm:tea:automate` to expand guardrail tests
441
+ </action>
442
+
443
+ <output>💡 **Tip:** For best results, run `code-review` using a **different** LLM than the one that implemented this story.</output>
444
+ <check if="{sprint_status} file exists">
445
+ <action>Suggest checking {sprint_status} to see project progress</action>
446
+ </check>
447
+ <action>Remain flexible - allow user to choose their own path or ask for other assistance</action>
448
+ </step>
449
+
450
+ </workflow>
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: scm-qa-generate-e2e-tests
3
+ description: 'Generate end to end automated tests for existing features. Use when the user says "create qa automated tests for [feature]"'
4
+ ---
5
+
6
+ Follow the instructions in ./workflow.md.
@@ -0,0 +1,33 @@
1
+ # Quinn Automate - Validation Checklist
2
+
3
+ ## Test Generation
4
+
5
+ - [ ] API tests generated (if applicable)
6
+ - [ ] E2E tests generated (if UI exists)
7
+ - [ ] Tests use standard test framework APIs
8
+ - [ ] Tests cover happy path
9
+ - [ ] Tests cover 1-2 critical error cases
10
+
11
+ ## Test Quality
12
+
13
+ - [ ] All generated tests run successfully
14
+ - [ ] Tests use proper locators (semantic, accessible)
15
+ - [ ] Tests have clear descriptions
16
+ - [ ] No hardcoded waits or sleeps
17
+ - [ ] Tests are independent (no order dependency)
18
+
19
+ ## Output
20
+
21
+ - [ ] Test summary created
22
+ - [ ] Tests saved to appropriate directories
23
+ - [ ] Summary includes coverage metrics
24
+
25
+ ## Validation
26
+
27
+ Run the tests using your project's test command.
28
+
29
+ **Expected**: All tests pass ✅
30
+
31
+ ---
32
+
33
+ **Need more comprehensive testing?** Install [Test Architect (TEA)](https://scm-code-org.github.io/scm-method-test-architecture-enterprise/) for advanced workflows.
@@ -0,0 +1,136 @@
1
+ # QA Generate E2E Tests Workflow
2
+
3
+ **Goal:** Generate automated API and E2E tests for implemented code.
4
+
5
+ **Your Role:** You are a QA automation engineer. You generate tests ONLY — no code review or story validation (use the `scm-code-review` skill for that).
6
+
7
+ ---
8
+
9
+ ## INITIALIZATION
10
+
11
+ ### Configuration Loading
12
+
13
+ Load config from `{project-root}/_scm/bmm/config.yaml` and resolve:
14
+
15
+ - `project_name`, `user_name`
16
+ - `communication_language`, `document_output_language`
17
+ - `implementation_artifacts`
18
+ - `date` as system-generated current datetime
19
+ - YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
20
+
21
+ ### Paths
22
+
23
+ - `test_dir` = `{project-root}/tests`
24
+ - `source_dir` = `{project-root}`
25
+ - `default_output_file` = `{implementation_artifacts}/tests/test-summary.md`
26
+
27
+ ### Context
28
+
29
+ - `project_context` = `**/project-context.md` (load if exists)
30
+
31
+ ---
32
+
33
+ ## EXECUTION
34
+
35
+ ### Step 0: Detect Test Framework
36
+
37
+ Check project for existing test framework:
38
+
39
+ - Look for `package.json` dependencies (playwright, jest, vitest, cypress, etc.)
40
+ - Check for existing test files to understand patterns
41
+ - Use whatever test framework the project already has
42
+ - If no framework exists:
43
+ - Analyze source code to determine project type (React, Vue, Node API, etc.)
44
+ - Search online for current recommended test framework for that stack
45
+ - Suggest the meta framework and use it (or ask user to confirm)
46
+
47
+ ### Step 1: Identify Features
48
+
49
+ Ask user what to test:
50
+
51
+ - Specific feature/component name
52
+ - Directory to scan (e.g., `src/components/`)
53
+ - Or auto-discover features in the codebase
54
+
55
+ ### Step 2: Generate API Tests (if applicable)
56
+
57
+ For API endpoints/services, generate tests that:
58
+
59
+ - Test status codes (200, 400, 404, 500)
60
+ - Validate response structure
61
+ - Cover happy path + 1-2 error cases
62
+ - Use project's existing test framework patterns
63
+
64
+ ### Step 3: Generate E2E Tests (if UI exists)
65
+
66
+ For UI features, generate tests that:
67
+
68
+ - Test user workflows end-to-end
69
+ - Use semantic locators (roles, labels, text)
70
+ - Focus on user interactions (clicks, form fills, navigation)
71
+ - Assert visible outcomes
72
+ - Keep tests linear and simple
73
+ - Follow project's existing test patterns
74
+
75
+ ### Step 4: Run Tests
76
+
77
+ Execute tests to verify they pass (use project's test command).
78
+
79
+ If failures occur, fix them immediately.
80
+
81
+ ### Step 5: Create Summary
82
+
83
+ Output markdown summary:
84
+
85
+ ```markdown
86
+ # Test Automation Summary
87
+
88
+ ## Generated Tests
89
+
90
+ ### API Tests
91
+ - [x] tests/api/endpoint.spec.ts - Endpoint validation
92
+
93
+ ### E2E Tests
94
+ - [x] tests/e2e/feature.spec.ts - User workflow
95
+
96
+ ## Coverage
97
+ - API endpoints: 5/10 covered
98
+ - UI features: 3/8 covered
99
+
100
+ ## Next Steps
101
+ - Run tests in CI
102
+ - Add more edge cases as needed
103
+ ```
104
+
105
+ ## Keep It Simple
106
+
107
+ **Do:**
108
+
109
+ - Use standard test framework APIs
110
+ - Focus on happy path + critical errors
111
+ - Write readable, maintainable tests
112
+ - Run tests to verify they pass
113
+
114
+ **Avoid:**
115
+
116
+ - Complex fixture composition
117
+ - Over-engineering
118
+ - Unnecessary abstractions
119
+
120
+ **For Advanced Features:**
121
+
122
+ If the project needs:
123
+
124
+ - Risk-based test strategy
125
+ - Test design planning
126
+ - Quality gates and NFR assessment
127
+ - Comprehensive coverage analysis
128
+ - Advanced testing patterns and utilities
129
+
130
+ > **Install Test Architect (TEA) module**: <https://scm-code-org.github.io/scm-method-test-architecture-enterprise/>
131
+
132
+ ## Output
133
+
134
+ Save summary to: `{default_output_file}`
135
+
136
+ **Done!** Tests generated and verified. Validate against `./checklist.md`.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: scm-quick-dev
3
+ description: 'Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project''s existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.'
4
+ ---
5
+
6
+ Follow the instructions in ./workflow.md.