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.
- package/.claude-plugin/marketplace.json +77 -0
- package/AGENTS.md +12 -0
- package/LICENSE +30 -0
- package/README.md +109 -0
- package/README_CN.md +108 -0
- package/package.json +110 -0
- package/src/bmm-skills/1-analysis/research/scm-domain-research/SKILL.md +6 -0
- package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-01-init.md +137 -0
- package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
- package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
- package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
- package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-05-technical-trends.md +234 -0
- package/src/bmm-skills/1-analysis/research/scm-domain-research/domain-steps/step-06-research-synthesis.md +444 -0
- package/src/bmm-skills/1-analysis/research/scm-domain-research/research.template.md +29 -0
- package/src/bmm-skills/1-analysis/research/scm-domain-research/workflow.md +51 -0
- package/src/bmm-skills/1-analysis/research/scm-market-research/SKILL.md +6 -0
- package/src/bmm-skills/1-analysis/research/scm-market-research/research.template.md +29 -0
- package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-01-init.md +184 -0
- package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-02-customer-behavior.md +239 -0
- package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-03-customer-pain-points.md +251 -0
- package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-04-customer-decisions.md +261 -0
- package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-05-competitive-analysis.md +173 -0
- package/src/bmm-skills/1-analysis/research/scm-market-research/steps/step-06-research-completion.md +478 -0
- package/src/bmm-skills/1-analysis/research/scm-market-research/workflow.md +51 -0
- package/src/bmm-skills/1-analysis/research/scm-technical-research/SKILL.md +6 -0
- package/src/bmm-skills/1-analysis/research/scm-technical-research/research.template.md +29 -0
- package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-01-init.md +137 -0
- package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-02-technical-overview.md +239 -0
- package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
- package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
- package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-05-implementation-research.md +233 -0
- package/src/bmm-skills/1-analysis/research/scm-technical-research/technical-steps/step-06-research-synthesis.md +487 -0
- package/src/bmm-skills/1-analysis/research/scm-technical-research/workflow.md +52 -0
- package/src/bmm-skills/1-analysis/scm-agent-analyst/SKILL.md +59 -0
- package/src/bmm-skills/1-analysis/scm-agent-analyst/scm-skill-manifest.yaml +11 -0
- package/src/bmm-skills/1-analysis/scm-agent-tech-writer/SKILL.md +57 -0
- package/src/bmm-skills/1-analysis/scm-agent-tech-writer/explain-concept.md +20 -0
- package/src/bmm-skills/1-analysis/scm-agent-tech-writer/mermaid-gen.md +20 -0
- package/src/bmm-skills/1-analysis/scm-agent-tech-writer/scm-skill-manifest.yaml +11 -0
- package/src/bmm-skills/1-analysis/scm-agent-tech-writer/validate-doc.md +19 -0
- package/src/bmm-skills/1-analysis/scm-agent-tech-writer/write-document.md +20 -0
- package/src/bmm-skills/1-analysis/scm-document-project/SKILL.md +6 -0
- package/src/bmm-skills/1-analysis/scm-document-project/checklist.md +245 -0
- package/src/bmm-skills/1-analysis/scm-document-project/documentation-requirements.csv +12 -0
- package/src/bmm-skills/1-analysis/scm-document-project/instructions.md +128 -0
- package/src/bmm-skills/1-analysis/scm-document-project/templates/deep-dive-template.md +345 -0
- package/src/bmm-skills/1-analysis/scm-document-project/templates/index-template.md +169 -0
- package/src/bmm-skills/1-analysis/scm-document-project/templates/project-overview-template.md +103 -0
- package/src/bmm-skills/1-analysis/scm-document-project/templates/project-scan-report-schema.json +160 -0
- package/src/bmm-skills/1-analysis/scm-document-project/templates/source-tree-template.md +135 -0
- package/src/bmm-skills/1-analysis/scm-document-project/workflow.md +25 -0
- package/src/bmm-skills/1-analysis/scm-document-project/workflows/deep-dive-instructions.md +299 -0
- package/src/bmm-skills/1-analysis/scm-document-project/workflows/deep-dive-workflow.md +34 -0
- package/src/bmm-skills/1-analysis/scm-document-project/workflows/full-scan-instructions.md +1107 -0
- package/src/bmm-skills/1-analysis/scm-document-project/workflows/full-scan-workflow.md +34 -0
- package/src/bmm-skills/1-analysis/scm-prfaq/SKILL.md +96 -0
- package/src/bmm-skills/1-analysis/scm-prfaq/agents/artifact-analyzer.md +60 -0
- package/src/bmm-skills/1-analysis/scm-prfaq/agents/web-researcher.md +49 -0
- package/src/bmm-skills/1-analysis/scm-prfaq/assets/prfaq-template.md +62 -0
- package/src/bmm-skills/1-analysis/scm-prfaq/references/customer-faq.md +55 -0
- package/src/bmm-skills/1-analysis/scm-prfaq/references/internal-faq.md +51 -0
- package/src/bmm-skills/1-analysis/scm-prfaq/references/press-release.md +60 -0
- package/src/bmm-skills/1-analysis/scm-prfaq/references/verdict.md +79 -0
- package/src/bmm-skills/1-analysis/scm-prfaq/scm-manifest.json +16 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/SKILL.md +82 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/agents/artifact-analyzer.md +60 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/agents/opportunity-reviewer.md +44 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/agents/skeptic-reviewer.md +44 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/agents/web-researcher.md +49 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/prompts/contextual-discovery.md +57 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/prompts/draft-and-review.md +86 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/prompts/finalize.md +75 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/prompts/guided-elicitation.md +70 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/resources/brief-template.md +60 -0
- package/src/bmm-skills/1-analysis/scm-product-brief/scm-manifest.json +17 -0
- package/src/bmm-skills/2-plan-workflows/scm-agent-pm/SKILL.md +59 -0
- package/src/bmm-skills/2-plan-workflows/scm-agent-pm/scm-skill-manifest.yaml +11 -0
- package/src/bmm-skills/2-plan-workflows/scm-agent-ux-designer/SKILL.md +55 -0
- package/src/bmm-skills/2-plan-workflows/scm-agent-ux-designer/scm-skill-manifest.yaml +11 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/SKILL.md +6 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/data/domain-complexity.csv +15 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/data/prd-purpose.md +197 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/data/project-types.csv +11 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-01-init.md +178 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-01b-continue.md +161 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-02-discovery.md +208 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-02b-vision.md +142 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-02c-executive-summary.md +158 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-03-success.md +214 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-04-journeys.md +201 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-05-domain.md +194 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-06-innovation.md +211 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-07-project-type.md +222 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-08-scoping.md +216 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-09-functional.md +219 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-10-nonfunctional.md +230 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-11-polish.md +221 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/steps-c/step-12-complete.md +115 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/templates/prd-template.md +10 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-prd/workflow.md +61 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/SKILL.md +6 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-01-init.md +135 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-01b-continue.md +127 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-02-discovery.md +190 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-03-core-experience.md +217 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-04-emotional-response.md +220 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-05-inspiration.md +235 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-06-design-system.md +253 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-07-defining-experience.md +255 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-08-visual-foundation.md +225 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-09-design-directions.md +225 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-10-user-journeys.md +242 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-11-component-strategy.md +249 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-12-ux-patterns.md +238 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-13-responsive-accessibility.md +265 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/steps/step-14-complete.md +171 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/ux-design-template.md +13 -0
- package/src/bmm-skills/2-plan-workflows/scm-create-ux-design/workflow.md +35 -0
- package/src/bmm-skills/2-plan-workflows/scm-edit-prd/SKILL.md +6 -0
- package/src/bmm-skills/2-plan-workflows/scm-edit-prd/steps-e/step-e-01-discovery.md +242 -0
- package/src/bmm-skills/2-plan-workflows/scm-edit-prd/steps-e/step-e-01b-legacy-conversion.md +204 -0
- package/src/bmm-skills/2-plan-workflows/scm-edit-prd/steps-e/step-e-02-review.md +245 -0
- package/src/bmm-skills/2-plan-workflows/scm-edit-prd/steps-e/step-e-03-edit.md +250 -0
- package/src/bmm-skills/2-plan-workflows/scm-edit-prd/steps-e/step-e-04-complete.md +165 -0
- package/src/bmm-skills/2-plan-workflows/scm-edit-prd/workflow.md +62 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/SKILL.md +6 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/data/domain-complexity.csv +15 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/data/prd-purpose.md +197 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/data/project-types.csv +11 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-01-discovery.md +221 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
- package/src/bmm-skills/2-plan-workflows/scm-validate-prd/workflow.md +61 -0
- package/src/bmm-skills/3-solutioning/scm-agent-architect/SKILL.md +54 -0
- package/src/bmm-skills/3-solutioning/scm-agent-architect/scm-skill-manifest.yaml +11 -0
- package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/SKILL.md +6 -0
- package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
- package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
- package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
- package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
- package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
- package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/steps/step-06-final-assessment.md +126 -0
- package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/templates/readiness-report-template.md +4 -0
- package/src/bmm-skills/3-solutioning/scm-check-implementation-readiness/workflow.md +47 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/SKILL.md +6 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/architecture-decision-template.md +12 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/data/domain-complexity.csv +13 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/data/project-types.csv +7 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-01-init.md +153 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-01b-continue.md +173 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-02-context.md +224 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-03-starter.md +329 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-04-decisions.md +318 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-05-patterns.md +359 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-06-structure.md +379 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-07-validation.md +359 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/steps/step-08-complete.md +76 -0
- package/src/bmm-skills/3-solutioning/scm-create-architecture/workflow.md +32 -0
- package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/SKILL.md +6 -0
- package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/steps/step-01-validate-prerequisites.md +255 -0
- package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/steps/step-02-design-epics.md +212 -0
- package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
- package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/steps/step-04-final-validation.md +131 -0
- package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/templates/epics-template.md +61 -0
- package/src/bmm-skills/3-solutioning/scm-create-epics-and-stories/workflow.md +51 -0
- package/src/bmm-skills/3-solutioning/scm-generate-project-context/SKILL.md +6 -0
- package/src/bmm-skills/3-solutioning/scm-generate-project-context/project-context-template.md +21 -0
- package/src/bmm-skills/3-solutioning/scm-generate-project-context/steps/step-01-discover.md +186 -0
- package/src/bmm-skills/3-solutioning/scm-generate-project-context/steps/step-02-generate.md +321 -0
- package/src/bmm-skills/3-solutioning/scm-generate-project-context/steps/step-03-complete.md +278 -0
- package/src/bmm-skills/3-solutioning/scm-generate-project-context/workflow.md +39 -0
- package/src/bmm-skills/4-implementation/scm-agent-dev/SKILL.md +64 -0
- package/src/bmm-skills/4-implementation/scm-agent-dev/scm-skill-manifest.yaml +11 -0
- package/src/bmm-skills/4-implementation/scm-agent-qa/SKILL.md +61 -0
- package/src/bmm-skills/4-implementation/scm-agent-qa/scm-skill-manifest.yaml +11 -0
- package/src/bmm-skills/4-implementation/scm-agent-quick-flow-solo-dev/SKILL.md +53 -0
- package/src/bmm-skills/4-implementation/scm-agent-quick-flow-solo-dev/scm-skill-manifest.yaml +11 -0
- package/src/bmm-skills/4-implementation/scm-agent-sm/SKILL.md +55 -0
- package/src/bmm-skills/4-implementation/scm-agent-sm/scm-skill-manifest.yaml +11 -0
- package/src/bmm-skills/4-implementation/scm-code-review/SKILL.md +6 -0
- package/src/bmm-skills/4-implementation/scm-code-review/steps/step-01-gather-context.md +62 -0
- package/src/bmm-skills/4-implementation/scm-code-review/steps/step-02-review.md +34 -0
- package/src/bmm-skills/4-implementation/scm-code-review/steps/step-03-triage.md +49 -0
- package/src/bmm-skills/4-implementation/scm-code-review/steps/step-04-present.md +129 -0
- package/src/bmm-skills/4-implementation/scm-code-review/workflow.md +55 -0
- package/src/bmm-skills/4-implementation/scm-correct-course/SKILL.md +6 -0
- package/src/bmm-skills/4-implementation/scm-correct-course/checklist.md +288 -0
- package/src/bmm-skills/4-implementation/scm-correct-course/workflow.md +267 -0
- package/src/bmm-skills/4-implementation/scm-create-story/SKILL.md +6 -0
- package/src/bmm-skills/4-implementation/scm-create-story/checklist.md +357 -0
- package/src/bmm-skills/4-implementation/scm-create-story/discover-inputs.md +88 -0
- package/src/bmm-skills/4-implementation/scm-create-story/template.md +49 -0
- package/src/bmm-skills/4-implementation/scm-create-story/workflow.md +380 -0
- package/src/bmm-skills/4-implementation/scm-dev-story/SKILL.md +6 -0
- package/src/bmm-skills/4-implementation/scm-dev-story/checklist.md +80 -0
- package/src/bmm-skills/4-implementation/scm-dev-story/workflow.md +450 -0
- package/src/bmm-skills/4-implementation/scm-qa-generate-e2e-tests/SKILL.md +6 -0
- package/src/bmm-skills/4-implementation/scm-qa-generate-e2e-tests/checklist.md +33 -0
- package/src/bmm-skills/4-implementation/scm-qa-generate-e2e-tests/workflow.md +136 -0
- package/src/bmm-skills/4-implementation/scm-quick-dev/SKILL.md +6 -0
- package/src/bmm-skills/4-implementation/scm-quick-dev/spec-template.md +88 -0
- package/src/bmm-skills/4-implementation/scm-quick-dev/step-01-clarify-and-route.md +66 -0
- package/src/bmm-skills/4-implementation/scm-quick-dev/step-02-plan.md +35 -0
- package/src/bmm-skills/4-implementation/scm-quick-dev/step-03-implement.md +37 -0
- package/src/bmm-skills/4-implementation/scm-quick-dev/step-04-review.md +49 -0
- package/src/bmm-skills/4-implementation/scm-quick-dev/step-05-present.md +63 -0
- package/src/bmm-skills/4-implementation/scm-quick-dev/step-oneshot.md +62 -0
- package/src/bmm-skills/4-implementation/scm-quick-dev/workflow.md +79 -0
- package/src/bmm-skills/4-implementation/scm-retrospective/SKILL.md +6 -0
- package/src/bmm-skills/4-implementation/scm-retrospective/workflow.md +1479 -0
- package/src/bmm-skills/4-implementation/scm-sprint-planning/SKILL.md +6 -0
- package/src/bmm-skills/4-implementation/scm-sprint-planning/checklist.md +33 -0
- package/src/bmm-skills/4-implementation/scm-sprint-planning/sprint-status-template.yaml +56 -0
- package/src/bmm-skills/4-implementation/scm-sprint-planning/workflow.md +263 -0
- package/src/bmm-skills/4-implementation/scm-sprint-status/SKILL.md +6 -0
- package/src/bmm-skills/4-implementation/scm-sprint-status/workflow.md +261 -0
- package/src/bmm-skills/module-help.csv +31 -0
- package/src/bmm-skills/module.yaml +50 -0
- package/src/core-skills/module-help.csv +11 -0
- package/src/core-skills/module.yaml +25 -0
- package/src/core-skills/scm-advanced-elicitation/SKILL.md +136 -0
- package/src/core-skills/scm-advanced-elicitation/methods.csv +51 -0
- package/src/core-skills/scm-brainstorming/SKILL.md +6 -0
- package/src/core-skills/scm-brainstorming/brain-methods.csv +62 -0
- package/src/core-skills/scm-brainstorming/steps/step-01-session-setup.md +214 -0
- package/src/core-skills/scm-brainstorming/steps/step-01b-continue.md +124 -0
- package/src/core-skills/scm-brainstorming/steps/step-02a-user-selected.md +229 -0
- package/src/core-skills/scm-brainstorming/steps/step-02b-ai-recommended.md +239 -0
- package/src/core-skills/scm-brainstorming/steps/step-02c-random-selection.md +211 -0
- package/src/core-skills/scm-brainstorming/steps/step-02d-progressive-flow.md +266 -0
- package/src/core-skills/scm-brainstorming/steps/step-03-technique-execution.md +401 -0
- package/src/core-skills/scm-brainstorming/steps/step-04-idea-organization.md +305 -0
- package/src/core-skills/scm-brainstorming/template.md +15 -0
- package/src/core-skills/scm-brainstorming/workflow.md +53 -0
- package/src/core-skills/scm-distillator/SKILL.md +177 -0
- package/src/core-skills/scm-distillator/agents/distillate-compressor.md +116 -0
- package/src/core-skills/scm-distillator/agents/round-trip-reconstructor.md +68 -0
- package/src/core-skills/scm-distillator/resources/compression-rules.md +51 -0
- package/src/core-skills/scm-distillator/resources/distillate-format-reference.md +227 -0
- package/src/core-skills/scm-distillator/resources/splitting-strategy.md +78 -0
- package/src/core-skills/scm-distillator/scripts/analyze_sources.py +300 -0
- package/src/core-skills/scm-distillator/scripts/tests/test_analyze_sources.py +204 -0
- package/src/core-skills/scm-editorial-review-prose/SKILL.md +86 -0
- package/src/core-skills/scm-editorial-review-structure/SKILL.md +179 -0
- package/src/core-skills/scm-help/SKILL.md +73 -0
- package/src/core-skills/scm-index-docs/SKILL.md +66 -0
- package/src/core-skills/scm-party-mode/SKILL.md +125 -0
- package/src/core-skills/scm-review-adversarial-general/SKILL.md +37 -0
- package/src/core-skills/scm-review-edge-case-hunter/SKILL.md +67 -0
- package/src/core-skills/scm-shard-doc/SKILL.md +105 -0
- package/tools/format-workflow-md.js +263 -0
- package/tools/installer/README.md +60 -0
- package/tools/installer/cli-utils.js +181 -0
- package/tools/installer/commands/install.js +80 -0
- package/tools/installer/commands/status.js +65 -0
- package/tools/installer/commands/uninstall.js +167 -0
- package/tools/installer/core/config.js +52 -0
- package/tools/installer/core/custom-module-cache.js +260 -0
- package/tools/installer/core/existing-install.js +127 -0
- package/tools/installer/core/install-paths.js +129 -0
- package/tools/installer/core/installer.js +1790 -0
- package/tools/installer/core/manifest-generator.js +701 -0
- package/tools/installer/core/manifest.js +1040 -0
- package/tools/installer/custom-handler.js +112 -0
- package/tools/installer/external-official-modules.yaml +63 -0
- package/tools/installer/file-ops.js +204 -0
- package/tools/installer/ide/_config-driven.js +536 -0
- package/tools/installer/ide/manager.js +247 -0
- package/tools/installer/ide/platform-codes.js +37 -0
- package/tools/installer/ide/platform-codes.yaml +192 -0
- package/tools/installer/ide/shared/agent-command-generator.js +180 -0
- package/tools/installer/ide/shared/module-injections.js +136 -0
- package/tools/installer/ide/shared/path-utils.js +364 -0
- package/tools/installer/ide/shared/scm-artifacts.js +208 -0
- package/tools/installer/ide/shared/skill-manifest.js +72 -0
- package/tools/installer/ide/templates/agent-command-template.md +14 -0
- package/tools/installer/ide/templates/combined/antigravity.md +8 -0
- package/tools/installer/ide/templates/combined/default-agent.md +15 -0
- package/tools/installer/ide/templates/combined/default-task.md +10 -0
- package/tools/installer/ide/templates/combined/default-tool.md +10 -0
- package/tools/installer/ide/templates/combined/default-workflow.md +6 -0
- package/tools/installer/ide/templates/combined/gemini-agent.toml +14 -0
- package/tools/installer/ide/templates/combined/gemini-task.toml +11 -0
- package/tools/installer/ide/templates/combined/gemini-tool.toml +11 -0
- package/tools/installer/ide/templates/combined/gemini-workflow-yaml.toml +16 -0
- package/tools/installer/ide/templates/combined/gemini-workflow.toml +14 -0
- package/tools/installer/ide/templates/combined/kiro-agent.md +16 -0
- package/tools/installer/ide/templates/combined/kiro-task.md +9 -0
- package/tools/installer/ide/templates/combined/kiro-tool.md +9 -0
- package/tools/installer/ide/templates/combined/kiro-workflow.md +7 -0
- package/tools/installer/ide/templates/combined/opencode-agent.md +15 -0
- package/tools/installer/ide/templates/combined/opencode-task.md +13 -0
- package/tools/installer/ide/templates/combined/opencode-tool.md +13 -0
- package/tools/installer/ide/templates/combined/opencode-workflow-yaml.md +16 -0
- package/tools/installer/ide/templates/combined/opencode-workflow.md +16 -0
- package/tools/installer/ide/templates/combined/rovodev.md +9 -0
- package/tools/installer/ide/templates/combined/trae.md +9 -0
- package/tools/installer/ide/templates/combined/windsurf-workflow.md +10 -0
- package/tools/installer/ide/templates/split/.gitkeep +0 -0
- package/tools/installer/install-messages.yaml +35 -0
- package/tools/installer/message-loader.js +83 -0
- package/tools/installer/modules/custom-modules.js +197 -0
- package/tools/installer/modules/external-manager.js +354 -0
- package/tools/installer/modules/official-modules.js +2043 -0
- package/tools/installer/project-root.js +77 -0
- package/tools/installer/prompts.js +809 -0
- package/tools/installer/scm-cli.js +108 -0
- package/tools/installer/ui.js +1683 -0
- package/tools/installer/yaml-format.js +245 -0
- package/tools/javascript-conventions.md +5 -0
- package/tools/migrate-custom-module-paths.js +124 -0
- package/tools/platform-codes.yaml +169 -0
- package/tools/validate-skills.js +736 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
diff_output: '' # set at runtime
|
|
3
|
+
spec_file: '' # set at runtime (path or empty)
|
|
4
|
+
review_mode: '' # set at runtime: "full" or "no-spec"
|
|
5
|
+
story_key: '' # set at runtime when discovered from sprint status
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Step 1: Gather Context
|
|
9
|
+
|
|
10
|
+
## RULES
|
|
11
|
+
|
|
12
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
13
|
+
- The prompt that triggered this workflow IS the intent — not a hint.
|
|
14
|
+
- Do not modify any files. This step is read-only.
|
|
15
|
+
|
|
16
|
+
## INSTRUCTIONS
|
|
17
|
+
|
|
18
|
+
1. **Detect review intent from invocation text.** Check the triggering prompt for phrases that map to a review mode:
|
|
19
|
+
- "staged" / "staged changes" → Staged changes only
|
|
20
|
+
- "uncommitted" / "working tree" / "all changes" → Uncommitted changes (staged + unstaged)
|
|
21
|
+
- "branch diff" / "vs main" / "against main" / "compared to {branch}" → Branch diff (extract base branch if mentioned)
|
|
22
|
+
- "commit range" / "last N commits" / "{sha}..{sha}" → Specific commit range
|
|
23
|
+
- "this diff" / "provided diff" / "paste" → User-provided diff (do not match bare "diff" — it appears in other modes)
|
|
24
|
+
- When multiple phrases match, prefer the most specific match (e.g., "branch diff" over bare "diff").
|
|
25
|
+
- **If a clear match is found:** Announce the detected mode (e.g., "Detected intent: review staged changes only") and proceed directly to constructing `{diff_output}` using the corresponding sub-case from instruction 3. Skip to instruction 4 (spec question).
|
|
26
|
+
- **If no match from invocation text, check sprint tracking.** Look for a sprint status file (`*sprint-status*`) in `{implementation_artifacts}` or `{planning_artifacts}`. If found, scan for any story with status `review`. Handle as follows:
|
|
27
|
+
- **Exactly one `review` story:** Set `{story_key}` to the story's key (e.g., `1-2-user-auth`). Suggest it: "I found story {{story-id}} in `review` status. Would you like to review its changes? [Y] Yes / [N] No, let me choose". If confirmed, use the story context to determine the diff source (branch name derived from story slug, or uncommitted changes). If declined, clear `{story_key}` and fall through to instruction 2.
|
|
28
|
+
- **Multiple `review` stories:** Present them as numbered options alongside a manual choice option. Wait for user selection. If the user selects a story, set `{story_key}` to the selected story's key and use the selected story's context to determine the diff source as in the single-story case above, and proceed to instruction 3. If the user selects the manual choice, clear `{story_key}` and fall through to instruction 2.
|
|
29
|
+
- **If no match and no sprint tracking:** Fall through to instruction 2.
|
|
30
|
+
|
|
31
|
+
2. HALT. Ask the user: **What do you want to review?** Present these options:
|
|
32
|
+
- **Uncommitted changes** (staged + unstaged)
|
|
33
|
+
- **Staged changes only**
|
|
34
|
+
- **Branch diff** vs a base branch (ask which base branch)
|
|
35
|
+
- **Specific commit range** (ask for the range)
|
|
36
|
+
- **Provided diff or file list** (user pastes or provides a path)
|
|
37
|
+
|
|
38
|
+
3. Construct `{diff_output}` from the chosen source.
|
|
39
|
+
- For **branch diff**: verify the base branch exists before running `git diff`. If it does not exist, HALT and ask the user for a valid branch.
|
|
40
|
+
- For **commit range**: verify the range resolves. If it does not, HALT and ask the user for a valid range.
|
|
41
|
+
- For **provided diff**: validate the content is non-empty and parseable as a unified diff. If it is not parseable, HALT and ask the user to provide a valid diff.
|
|
42
|
+
- For **file list**: validate each path exists in the working tree. Construct `{diff_output}` by running `git diff HEAD -- <path1> <path2> ...`. If any paths are untracked (new files not yet staged), use `git diff --no-index /dev/null <path>` to include them. If the diff is empty (files have no uncommitted changes and are not untracked), ask the user whether to review the full file contents or to specify a different baseline.
|
|
43
|
+
- After constructing `{diff_output}`, verify it is non-empty regardless of source type. If empty, HALT and tell the user there is nothing to review.
|
|
44
|
+
|
|
45
|
+
4. Ask the user: **Is there a spec or story file that provides context for these changes?**
|
|
46
|
+
- If yes: set `{spec_file}` to the path provided, verify the file exists and is readable, then set `{review_mode}` = `"full"`.
|
|
47
|
+
- If no: set `{review_mode}` = `"no-spec"`.
|
|
48
|
+
|
|
49
|
+
5. If `{review_mode}` = `"full"` and the file at `{spec_file}` has a `context` field in its frontmatter listing additional docs, load each referenced document. Warn the user about any docs that cannot be found.
|
|
50
|
+
|
|
51
|
+
6. Sanity check: if `{diff_output}` exceeds approximately 3000 lines, warn the user and offer to chunk the review by file group.
|
|
52
|
+
- If the user opts to chunk: agree on the first group, narrow `{diff_output}` accordingly, and list the remaining groups for the user to note for follow-up runs.
|
|
53
|
+
- If the user declines: proceed as-is with the full diff.
|
|
54
|
+
|
|
55
|
+
### CHECKPOINT
|
|
56
|
+
|
|
57
|
+
Present a summary before proceeding: diff stats (files changed, lines added/removed), `{review_mode}`, and loaded spec/context docs (if any). HALT and wait for user confirmation to proceed.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## NEXT
|
|
61
|
+
|
|
62
|
+
Read fully and follow `./step-02-review.md`
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
failed_layers: '' # set at runtime: comma-separated list of layers that failed or returned empty
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Step 2: Review
|
|
6
|
+
|
|
7
|
+
## RULES
|
|
8
|
+
|
|
9
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
10
|
+
- The Blind Hunter subagent receives NO project context — diff only.
|
|
11
|
+
- The Edge Case Hunter subagent receives diff and project read access.
|
|
12
|
+
- The Acceptance Auditor subagent receives diff, spec, and context docs.
|
|
13
|
+
|
|
14
|
+
## INSTRUCTIONS
|
|
15
|
+
|
|
16
|
+
1. If `{review_mode}` = `"no-spec"`, note to the user: "Acceptance Auditor skipped — no spec file provided."
|
|
17
|
+
|
|
18
|
+
2. Launch parallel subagents without conversation context. If subagents are not available, generate prompt files in `{implementation_artifacts}` — one per reviewer role below — and HALT. Ask the user to run each in a separate session (ideally a different LLM) and paste back the findings. When findings are pasted, resume from this point and proceed to step 3.
|
|
19
|
+
|
|
20
|
+
- **Blind Hunter** — receives `{diff_output}` only. No spec, no context docs, no project access. Invoke via the `scm-review-adversarial-general` skill.
|
|
21
|
+
|
|
22
|
+
- **Edge Case Hunter** — receives `{diff_output}` and read access to the project. Invoke via the `scm-review-edge-case-hunter` skill.
|
|
23
|
+
|
|
24
|
+
- **Acceptance Auditor** (only if `{review_mode}` = `"full"`) — receives `{diff_output}`, the content of the file at `{spec_file}`, and any loaded context docs. Its prompt:
|
|
25
|
+
> You are an Acceptance Auditor. Review this diff against the spec and context docs. Check for: violations of acceptance criteria, deviations from spec intent, missing implementation of specified behavior, contradictions between spec constraints and actual code. Output findings as a Markdown list. Each finding: one-line title, which AC/constraint it violates, and evidence from the diff.
|
|
26
|
+
|
|
27
|
+
3. **Subagent failure handling**: If any subagent fails, times out, or returns empty results, append the layer name to `{failed_layers}` (comma-separated) and proceed with findings from the remaining layers.
|
|
28
|
+
|
|
29
|
+
4. Collect all findings from the completed layers.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## NEXT
|
|
33
|
+
|
|
34
|
+
Read fully and follow `./step-03-triage.md`
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# Step 3: Triage
|
|
5
|
+
|
|
6
|
+
## RULES
|
|
7
|
+
|
|
8
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
9
|
+
- Be precise. When uncertain between categories, prefer the more conservative classification.
|
|
10
|
+
|
|
11
|
+
## INSTRUCTIONS
|
|
12
|
+
|
|
13
|
+
1. **Normalize** findings into a common format. Expected input formats:
|
|
14
|
+
- Adversarial (Blind Hunter): markdown list of descriptions
|
|
15
|
+
- Edge Case Hunter: JSON array with `location`, `trigger_condition`, `guard_snippet`, `potential_consequence` fields
|
|
16
|
+
- Acceptance Auditor: markdown list with title, AC/constraint reference, and evidence
|
|
17
|
+
|
|
18
|
+
If a layer's output does not match its expected format, attempt best-effort parsing. Note any parsing issues for the user.
|
|
19
|
+
|
|
20
|
+
Convert all to a unified list where each finding has:
|
|
21
|
+
- `id` -- sequential integer
|
|
22
|
+
- `source` -- `blind`, `edge`, `auditor`, or merged sources (e.g., `blind+edge`)
|
|
23
|
+
- `title` -- one-line summary
|
|
24
|
+
- `detail` -- full description
|
|
25
|
+
- `location` -- file and line reference (if available)
|
|
26
|
+
|
|
27
|
+
2. **Deduplicate.** If two or more findings describe the same issue, merge them into one:
|
|
28
|
+
- Use the most specific finding as the base (prefer edge-case JSON with location over adversarial prose).
|
|
29
|
+
- Append any unique detail, reasoning, or location references from the other finding(s) into the surviving `detail` field.
|
|
30
|
+
- Set `source` to the merged sources (e.g., `blind+edge`).
|
|
31
|
+
|
|
32
|
+
3. **Classify** each finding into exactly one bucket:
|
|
33
|
+
- **decision_needed** -- There is an ambiguous choice that requires human input. The code cannot be correctly patched without knowing the user's intent. Only possible if `{review_mode}` = `"full"`.
|
|
34
|
+
- **patch** -- Code issue that is fixable without human input. The correct fix is unambiguous.
|
|
35
|
+
- **defer** -- Pre-existing issue not caused by the current change. Real but not actionable now.
|
|
36
|
+
- **dismiss** -- Noise, false positive, or handled elsewhere.
|
|
37
|
+
|
|
38
|
+
If `{review_mode}` = `"no-spec"` and a finding would otherwise be `decision_needed`, reclassify it as `patch` (if the fix is unambiguous) or `defer` (if not).
|
|
39
|
+
|
|
40
|
+
4. **Drop** all `dismiss` findings. Record the dismiss count for the summary.
|
|
41
|
+
|
|
42
|
+
5. If `{failed_layers}` is non-empty, report which layers failed before announcing results. If zero findings remain after dropping dismissed AND `{failed_layers}` is non-empty, warn the user that the review may be incomplete rather than announcing a clean review.
|
|
43
|
+
|
|
44
|
+
6. If zero findings remain after triage (all rejected or none raised): state "✅ Clean review — all layers passed." (Step 3 already warned if any review layers failed via `{failed_layers}`.)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## NEXT
|
|
48
|
+
|
|
49
|
+
Read fully and follow `./step-04-present.md`
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
---
|
|
2
|
+
deferred_work_file: '{implementation_artifacts}/deferred-work.md'
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Step 4: Present and Act
|
|
6
|
+
|
|
7
|
+
## RULES
|
|
8
|
+
|
|
9
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
10
|
+
- When `{spec_file}` is set, always write findings to the story file before offering action choices.
|
|
11
|
+
- `decision-needed` findings must be resolved before handling `patch` findings.
|
|
12
|
+
|
|
13
|
+
## INSTRUCTIONS
|
|
14
|
+
|
|
15
|
+
### 1. Clean review shortcut
|
|
16
|
+
|
|
17
|
+
If zero findings remain after triage (all dismissed or none raised): state that and proceed to section 6 (Sprint Status Update).
|
|
18
|
+
|
|
19
|
+
### 2. Write findings to the story file
|
|
20
|
+
|
|
21
|
+
If `{spec_file}` exists and contains a Tasks/Subtasks section, append a `### Review Findings` subsection. Write all findings in this order:
|
|
22
|
+
|
|
23
|
+
1. **`decision-needed`** findings (unchecked):
|
|
24
|
+
`- [ ] [Review][Decision] <Title> — <Detail>`
|
|
25
|
+
|
|
26
|
+
2. **`patch`** findings (unchecked):
|
|
27
|
+
`- [ ] [Review][Patch] <Title> [<file>:<line>]`
|
|
28
|
+
|
|
29
|
+
3. **`defer`** findings (checked off, marked deferred):
|
|
30
|
+
`- [x] [Review][Defer] <Title> [<file>:<line>] — deferred, pre-existing`
|
|
31
|
+
|
|
32
|
+
Also append each `defer` finding to `{deferred_work_file}` under a heading `## Deferred from: code review ({date})`. If `{spec_file}` is set, include its basename in the heading (e.g., `code review of story-3.3 (2026-03-18)`). One bullet per finding with description.
|
|
33
|
+
|
|
34
|
+
### 3. Present summary
|
|
35
|
+
|
|
36
|
+
Announce what was written:
|
|
37
|
+
|
|
38
|
+
> **Code review complete.** <D> `decision-needed`, <P> `patch`, <W> `defer`, <R> dismissed as noise.
|
|
39
|
+
|
|
40
|
+
If `{spec_file}` is set, add: `Findings written to the review findings section in {spec_file}.`
|
|
41
|
+
Otherwise add: `Findings are listed above. No story file was provided, so nothing was persisted.`
|
|
42
|
+
|
|
43
|
+
### 4. Resolve decision-needed findings
|
|
44
|
+
|
|
45
|
+
If `decision_needed` findings exist, present each one with its detail and the options available. The user must decide — the correct fix is ambiguous without their input. Walk through each finding (or batch related ones) and get the user's call. Once resolved, each becomes a `patch`, `defer`, or is dismissed.
|
|
46
|
+
|
|
47
|
+
If the user chooses to defer, ask: Quick one-line reason for deferring this item? (helps future reviews): — then append that reason to both the story file bullet and the `{deferred_work_file}` entry.
|
|
48
|
+
|
|
49
|
+
**HALT** — I am waiting for your numbered choice. Reply with only the number (or "0" for batch). Do not proceed until you select an option.
|
|
50
|
+
|
|
51
|
+
### 5. Handle `patch` findings
|
|
52
|
+
|
|
53
|
+
If `patch` findings exist (including any resolved from step 4), HALT. Ask the user:
|
|
54
|
+
|
|
55
|
+
If `{spec_file}` is set, present all three options (if >3 `patch` findings exist, also show option 0):
|
|
56
|
+
|
|
57
|
+
> **How would you like to handle the <Z> `patch` findings?**
|
|
58
|
+
> 0. **Batch-apply all** — automatically fix every non-controversial patch (recommended when there are many)
|
|
59
|
+
> 1. **Fix them automatically** — I will apply fixes now
|
|
60
|
+
> 2. **Leave as action items** — they are already in the story file
|
|
61
|
+
> 3. **Walk through each** — let me show details before deciding
|
|
62
|
+
|
|
63
|
+
If `{spec_file}` is **not** set, present only options 1 and 3 (omit option 2 — findings were not written to a file). If >3 `patch` findings exist, also show option 0:
|
|
64
|
+
|
|
65
|
+
> **How would you like to handle the <Z> `patch` findings?**
|
|
66
|
+
> 0. **Batch-apply all** — automatically fix every non-controversial patch (recommended when there are many)
|
|
67
|
+
> 1. **Fix them automatically** — I will apply fixes now
|
|
68
|
+
> 2. **Walk through each** — let me show details before deciding
|
|
69
|
+
|
|
70
|
+
**HALT** — I am waiting for your numbered choice. Reply with only the number (or "0" for batch). Do not proceed until you select an option.
|
|
71
|
+
|
|
72
|
+
- **Option 0** (only when >3 findings): Apply all non-controversial patches without per-finding confirmation. Skip any finding that requires judgment. Present a summary of changes made and any skipped findings.
|
|
73
|
+
- **Option 1**: Apply each fix. After all patches are applied, present a summary of changes made. If `{spec_file}` is set, check off the items in the story file.
|
|
74
|
+
- **Option 2** (only when `{spec_file}` is set): Done — findings are already written to the story.
|
|
75
|
+
- **Walk through each**: Present each finding with full detail, diff context, and suggested fix. After walkthrough, re-offer the applicable options above.
|
|
76
|
+
|
|
77
|
+
**HALT** — I am waiting for your numbered choice. Reply with only the number (or "0" for batch). Do not proceed until you select an option.
|
|
78
|
+
|
|
79
|
+
**✅ Code review actions complete**
|
|
80
|
+
|
|
81
|
+
- Decision-needed resolved: <D>
|
|
82
|
+
- Patches handled: <P>
|
|
83
|
+
- Deferred: <W>
|
|
84
|
+
- Dismissed: <R>
|
|
85
|
+
|
|
86
|
+
### 6. Update story status and sync sprint tracking
|
|
87
|
+
|
|
88
|
+
Skip this section if `{spec_file}` is not set.
|
|
89
|
+
|
|
90
|
+
#### Determine new status based on review outcome
|
|
91
|
+
|
|
92
|
+
- If all `decision-needed` and `patch` findings were resolved (fixed or dismissed) AND no unresolved HIGH/MEDIUM issues remain: set `{new_status}` = `done`. Update the story file Status section to `done`.
|
|
93
|
+
- If `patch` findings were left as action items, or unresolved issues remain: set `{new_status}` = `in-progress`. Update the story file Status section to `in-progress`.
|
|
94
|
+
|
|
95
|
+
Save the story file.
|
|
96
|
+
|
|
97
|
+
#### Sync sprint-status.yaml
|
|
98
|
+
|
|
99
|
+
If `{story_key}` is not set, skip this subsection and note that sprint status was not synced because no story key was available.
|
|
100
|
+
|
|
101
|
+
If `{sprint_status}` file exists:
|
|
102
|
+
|
|
103
|
+
1. Load the FULL `{sprint_status}` file.
|
|
104
|
+
2. Find the `development_status` entry matching `{story_key}`.
|
|
105
|
+
3. If found: update `development_status[{story_key}]` to `{new_status}`. Update `last_updated` to current date. Save the file, preserving ALL comments and structure including STATUS DEFINITIONS.
|
|
106
|
+
4. If `{story_key}` not found in sprint status: warn the user that the story file was updated but sprint-status sync failed.
|
|
107
|
+
|
|
108
|
+
If `{sprint_status}` file does not exist, note that story status was updated in the story file only.
|
|
109
|
+
|
|
110
|
+
#### Completion summary
|
|
111
|
+
|
|
112
|
+
> **Review Complete!**
|
|
113
|
+
>
|
|
114
|
+
> **Story Status:** `{new_status}`
|
|
115
|
+
> **Issues Fixed:** <fixed_count>
|
|
116
|
+
> **Action Items Created:** <action_count>
|
|
117
|
+
> **Deferred:** <W>
|
|
118
|
+
> **Dismissed:** <R>
|
|
119
|
+
|
|
120
|
+
### 7. Next steps
|
|
121
|
+
|
|
122
|
+
Present the user with follow-up options:
|
|
123
|
+
|
|
124
|
+
> **What would you like to do next?**
|
|
125
|
+
> 1. **Start the next story** — run `dev-story` to pick up the next `ready-for-dev` story
|
|
126
|
+
> 2. **Re-run code review** — address findings and review again
|
|
127
|
+
> 3. **Done** — end the workflow
|
|
128
|
+
|
|
129
|
+
**HALT** — I am waiting for your choice. Do not proceed until the user selects an option.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
main_config: '{project-root}/_scm/bmm/config.yaml'
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Code Review Workflow
|
|
6
|
+
|
|
7
|
+
**Goal:** Review code changes adversarially using parallel review layers and structured triage.
|
|
8
|
+
|
|
9
|
+
**Your Role:** You are an elite code reviewer. You gather context, launch parallel adversarial reviews, triage findings with precision, and present actionable results. No noise, no filler.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## WORKFLOW ARCHITECTURE
|
|
13
|
+
|
|
14
|
+
This uses **step-file architecture** for disciplined execution:
|
|
15
|
+
|
|
16
|
+
- **Micro-file Design**: Each step is self-contained and followed exactly
|
|
17
|
+
- **Just-In-Time Loading**: Only load the current step file
|
|
18
|
+
- **Sequential Enforcement**: Complete steps in order, no skipping
|
|
19
|
+
- **State Tracking**: Persist progress via in-memory variables
|
|
20
|
+
- **Append-Only Building**: Build artifacts incrementally
|
|
21
|
+
|
|
22
|
+
### Step Processing Rules
|
|
23
|
+
|
|
24
|
+
1. **READ COMPLETELY**: Read the entire step file before acting
|
|
25
|
+
2. **FOLLOW SEQUENCE**: Execute sections in order
|
|
26
|
+
3. **WAIT FOR INPUT**: Halt at checkpoints and wait for human
|
|
27
|
+
4. **LOAD NEXT**: When directed, read fully and follow the next step file
|
|
28
|
+
|
|
29
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
30
|
+
|
|
31
|
+
- **NEVER** load multiple step files simultaneously
|
|
32
|
+
- **ALWAYS** read entire step file before execution
|
|
33
|
+
- **NEVER** skip steps or optimize the sequence
|
|
34
|
+
- **ALWAYS** follow the exact instructions in the step file
|
|
35
|
+
- **ALWAYS** halt at checkpoints and wait for human input
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## INITIALIZATION SEQUENCE
|
|
39
|
+
|
|
40
|
+
### 1. Configuration Loading
|
|
41
|
+
|
|
42
|
+
Load and read full config from `{main_config}` and resolve:
|
|
43
|
+
|
|
44
|
+
- `project_name`, `planning_artifacts`, `implementation_artifacts`, `user_name`
|
|
45
|
+
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
46
|
+
- `date` as system-generated current datetime
|
|
47
|
+
- `sprint_status` = `{implementation_artifacts}/sprint-status.yaml`
|
|
48
|
+
- `project_context` = `**/project-context.md` (load if exists)
|
|
49
|
+
- CLAUDE.md / memory files (load if exist)
|
|
50
|
+
|
|
51
|
+
YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`.
|
|
52
|
+
|
|
53
|
+
### 2. First Step Execution
|
|
54
|
+
|
|
55
|
+
Read fully and follow: `./steps/step-01-gather-context.md` to begin the workflow.
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
# Change Navigation Checklist
|
|
2
|
+
|
|
3
|
+
<critical>This checklist is executed as part of: ./workflow.md</critical>
|
|
4
|
+
<critical>Work through each section systematically with the user, recording findings and impacts</critical>
|
|
5
|
+
|
|
6
|
+
<checklist>
|
|
7
|
+
|
|
8
|
+
<section n="1" title="Understand the Trigger and Context">
|
|
9
|
+
|
|
10
|
+
<check-item id="1.1">
|
|
11
|
+
<prompt>Identify the triggering story that revealed this issue</prompt>
|
|
12
|
+
<action>Document story ID and brief description</action>
|
|
13
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
14
|
+
</check-item>
|
|
15
|
+
|
|
16
|
+
<check-item id="1.2">
|
|
17
|
+
<prompt>Define the core problem precisely</prompt>
|
|
18
|
+
<action>Categorize issue type:</action>
|
|
19
|
+
- Technical limitation discovered during implementation
|
|
20
|
+
- New requirement emerged from stakeholders
|
|
21
|
+
- Misunderstanding of original requirements
|
|
22
|
+
- Strategic pivot or market change
|
|
23
|
+
- Failed approach requiring different solution
|
|
24
|
+
<action>Write clear problem statement</action>
|
|
25
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
26
|
+
</check-item>
|
|
27
|
+
|
|
28
|
+
<check-item id="1.3">
|
|
29
|
+
<prompt>Assess initial impact and gather supporting evidence</prompt>
|
|
30
|
+
<action>Collect concrete examples, error messages, stakeholder feedback, or technical constraints</action>
|
|
31
|
+
<action>Document evidence for later reference</action>
|
|
32
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
33
|
+
</check-item>
|
|
34
|
+
|
|
35
|
+
<halt-condition>
|
|
36
|
+
<action if="trigger is unclear">HALT: "Cannot proceed without understanding what caused the need for change"</action>
|
|
37
|
+
<action if="no evidence provided">HALT: "Need concrete evidence or examples of the issue before analyzing impact"</action>
|
|
38
|
+
</halt-condition>
|
|
39
|
+
|
|
40
|
+
</section>
|
|
41
|
+
|
|
42
|
+
<section n="2" title="Epic Impact Assessment">
|
|
43
|
+
|
|
44
|
+
<check-item id="2.1">
|
|
45
|
+
<prompt>Evaluate current epic containing the trigger story</prompt>
|
|
46
|
+
<action>Can this epic still be completed as originally planned?</action>
|
|
47
|
+
<action>If no, what modifications are needed?</action>
|
|
48
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
49
|
+
</check-item>
|
|
50
|
+
|
|
51
|
+
<check-item id="2.2">
|
|
52
|
+
<prompt>Determine required epic-level changes</prompt>
|
|
53
|
+
<action>Check each scenario:</action>
|
|
54
|
+
- Modify existing epic scope or acceptance criteria
|
|
55
|
+
- Add new epic to address the issue
|
|
56
|
+
- Remove or defer epic that's no longer viable
|
|
57
|
+
- Completely redefine epic based on new understanding
|
|
58
|
+
<action>Document specific epic changes needed</action>
|
|
59
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
60
|
+
</check-item>
|
|
61
|
+
|
|
62
|
+
<check-item id="2.3">
|
|
63
|
+
<prompt>Review all remaining planned epics for required changes</prompt>
|
|
64
|
+
<action>Check each future epic for impact</action>
|
|
65
|
+
<action>Identify dependencies that may be affected</action>
|
|
66
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
67
|
+
</check-item>
|
|
68
|
+
|
|
69
|
+
<check-item id="2.4">
|
|
70
|
+
<prompt>Check if issue invalidates future epics or necessitates new ones</prompt>
|
|
71
|
+
<action>Does this change make any planned epics obsolete?</action>
|
|
72
|
+
<action>Are new epics needed to address gaps created by this change?</action>
|
|
73
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
74
|
+
</check-item>
|
|
75
|
+
|
|
76
|
+
<check-item id="2.5">
|
|
77
|
+
<prompt>Consider if epic order or priority should change</prompt>
|
|
78
|
+
<action>Should epics be resequenced based on this issue?</action>
|
|
79
|
+
<action>Do priorities need adjustment?</action>
|
|
80
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
81
|
+
</check-item>
|
|
82
|
+
|
|
83
|
+
</section>
|
|
84
|
+
|
|
85
|
+
<section n="3" title="Artifact Conflict and Impact Analysis">
|
|
86
|
+
|
|
87
|
+
<check-item id="3.1">
|
|
88
|
+
<prompt>Check PRD for conflicts</prompt>
|
|
89
|
+
<action>Does issue conflict with core PRD goals or objectives?</action>
|
|
90
|
+
<action>Do requirements need modification, addition, or removal?</action>
|
|
91
|
+
<action>Is the defined MVP still achievable or does scope need adjustment?</action>
|
|
92
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
93
|
+
</check-item>
|
|
94
|
+
|
|
95
|
+
<check-item id="3.2">
|
|
96
|
+
<prompt>Review Architecture document for conflicts</prompt>
|
|
97
|
+
<action>Check each area for impact:</action>
|
|
98
|
+
- System components and their interactions
|
|
99
|
+
- Architectural patterns and design decisions
|
|
100
|
+
- Technology stack choices
|
|
101
|
+
- Data models and schemas
|
|
102
|
+
- API designs and contracts
|
|
103
|
+
- Integration points
|
|
104
|
+
<action>Document specific architecture sections requiring updates</action>
|
|
105
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
106
|
+
</check-item>
|
|
107
|
+
|
|
108
|
+
<check-item id="3.3">
|
|
109
|
+
<prompt>Examine UI/UX specifications for conflicts</prompt>
|
|
110
|
+
<action>Check for impact on:</action>
|
|
111
|
+
- User interface components
|
|
112
|
+
- User flows and journeys
|
|
113
|
+
- Wireframes or mockups
|
|
114
|
+
- Interaction patterns
|
|
115
|
+
- Accessibility considerations
|
|
116
|
+
<action>Note specific UI/UX sections needing revision</action>
|
|
117
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
118
|
+
</check-item>
|
|
119
|
+
|
|
120
|
+
<check-item id="3.4">
|
|
121
|
+
<prompt>Consider impact on other artifacts</prompt>
|
|
122
|
+
<action>Review additional artifacts for impact:</action>
|
|
123
|
+
- Deployment scripts
|
|
124
|
+
- Infrastructure as Code (IaC)
|
|
125
|
+
- Monitoring and observability setup
|
|
126
|
+
- Testing strategies
|
|
127
|
+
- Documentation
|
|
128
|
+
- CI/CD pipelines
|
|
129
|
+
<action>Document any secondary artifacts requiring updates</action>
|
|
130
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
131
|
+
</check-item>
|
|
132
|
+
|
|
133
|
+
</section>
|
|
134
|
+
|
|
135
|
+
<section n="4" title="Path Forward Evaluation">
|
|
136
|
+
|
|
137
|
+
<check-item id="4.1">
|
|
138
|
+
<prompt>Evaluate Option 1: Direct Adjustment</prompt>
|
|
139
|
+
<action>Can the issue be addressed by modifying existing stories?</action>
|
|
140
|
+
<action>Can new stories be added within the current epic structure?</action>
|
|
141
|
+
<action>Would this approach maintain project timeline and scope?</action>
|
|
142
|
+
<action>Effort estimate: [High/Medium/Low]</action>
|
|
143
|
+
<action>Risk level: [High/Medium/Low]</action>
|
|
144
|
+
<status>[ ] Viable / [ ] Not viable</status>
|
|
145
|
+
</check-item>
|
|
146
|
+
|
|
147
|
+
<check-item id="4.2">
|
|
148
|
+
<prompt>Evaluate Option 2: Potential Rollback</prompt>
|
|
149
|
+
<action>Would reverting recently completed stories simplify addressing this issue?</action>
|
|
150
|
+
<action>Which stories would need to be rolled back?</action>
|
|
151
|
+
<action>Is the rollback effort justified by the simplification gained?</action>
|
|
152
|
+
<action>Effort estimate: [High/Medium/Low]</action>
|
|
153
|
+
<action>Risk level: [High/Medium/Low]</action>
|
|
154
|
+
<status>[ ] Viable / [ ] Not viable</status>
|
|
155
|
+
</check-item>
|
|
156
|
+
|
|
157
|
+
<check-item id="4.3">
|
|
158
|
+
<prompt>Evaluate Option 3: PRD MVP Review</prompt>
|
|
159
|
+
<action>Is the original PRD MVP still achievable with this issue?</action>
|
|
160
|
+
<action>Does MVP scope need to be reduced or redefined?</action>
|
|
161
|
+
<action>Do core goals need modification based on new constraints?</action>
|
|
162
|
+
<action>What would be deferred to post-MVP if scope is reduced?</action>
|
|
163
|
+
<action>Effort estimate: [High/Medium/Low]</action>
|
|
164
|
+
<action>Risk level: [High/Medium/Low]</action>
|
|
165
|
+
<status>[ ] Viable / [ ] Not viable</status>
|
|
166
|
+
</check-item>
|
|
167
|
+
|
|
168
|
+
<check-item id="4.4">
|
|
169
|
+
<prompt>Select recommended path forward</prompt>
|
|
170
|
+
<action>Based on analysis of all options, choose the best path</action>
|
|
171
|
+
<action>Provide clear rationale considering:</action>
|
|
172
|
+
- Implementation effort and timeline impact
|
|
173
|
+
- Technical risk and complexity
|
|
174
|
+
- Impact on team morale and momentum
|
|
175
|
+
- Long-term sustainability and maintainability
|
|
176
|
+
- Stakeholder expectations and business value
|
|
177
|
+
<action>Selected approach: [Option 1 / Option 2 / Option 3 / Hybrid]</action>
|
|
178
|
+
<action>Justification: [Document reasoning]</action>
|
|
179
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
180
|
+
</check-item>
|
|
181
|
+
|
|
182
|
+
</section>
|
|
183
|
+
|
|
184
|
+
<section n="5" title="Sprint Change Proposal Components">
|
|
185
|
+
|
|
186
|
+
<check-item id="5.1">
|
|
187
|
+
<prompt>Create identified issue summary</prompt>
|
|
188
|
+
<action>Write clear, concise problem statement</action>
|
|
189
|
+
<action>Include context about discovery and impact</action>
|
|
190
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
191
|
+
</check-item>
|
|
192
|
+
|
|
193
|
+
<check-item id="5.2">
|
|
194
|
+
<prompt>Document epic impact and artifact adjustment needs</prompt>
|
|
195
|
+
<action>Summarize findings from Epic Impact Assessment (Section 2)</action>
|
|
196
|
+
<action>Summarize findings from Artifact Conflict Analysis (Section 3)</action>
|
|
197
|
+
<action>Be specific about what changes are needed and why</action>
|
|
198
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
199
|
+
</check-item>
|
|
200
|
+
|
|
201
|
+
<check-item id="5.3">
|
|
202
|
+
<prompt>Present recommended path forward with rationale</prompt>
|
|
203
|
+
<action>Include selected approach from Section 4</action>
|
|
204
|
+
<action>Provide complete justification for recommendation</action>
|
|
205
|
+
<action>Address trade-offs and alternatives considered</action>
|
|
206
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
207
|
+
</check-item>
|
|
208
|
+
|
|
209
|
+
<check-item id="5.4">
|
|
210
|
+
<prompt>Define PRD MVP impact and high-level action plan</prompt>
|
|
211
|
+
<action>State clearly if MVP is affected</action>
|
|
212
|
+
<action>Outline major action items needed for implementation</action>
|
|
213
|
+
<action>Identify dependencies and sequencing</action>
|
|
214
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
215
|
+
</check-item>
|
|
216
|
+
|
|
217
|
+
<check-item id="5.5">
|
|
218
|
+
<prompt>Establish agent handoff plan</prompt>
|
|
219
|
+
<action>Identify which roles/agents will execute the changes:</action>
|
|
220
|
+
- Development team (for implementation)
|
|
221
|
+
- Product Owner / Scrum Master (for backlog changes)
|
|
222
|
+
- Product Manager / Architect (for strategic changes)
|
|
223
|
+
<action>Define responsibilities for each role</action>
|
|
224
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
225
|
+
</check-item>
|
|
226
|
+
|
|
227
|
+
</section>
|
|
228
|
+
|
|
229
|
+
<section n="6" title="Final Review and Handoff">
|
|
230
|
+
|
|
231
|
+
<check-item id="6.1">
|
|
232
|
+
<prompt>Review checklist completion</prompt>
|
|
233
|
+
<action>Verify all applicable sections have been addressed</action>
|
|
234
|
+
<action>Confirm all [Action-needed] items have been documented</action>
|
|
235
|
+
<action>Ensure analysis is comprehensive and actionable</action>
|
|
236
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
237
|
+
</check-item>
|
|
238
|
+
|
|
239
|
+
<check-item id="6.2">
|
|
240
|
+
<prompt>Verify Sprint Change Proposal accuracy</prompt>
|
|
241
|
+
<action>Review complete proposal for consistency and clarity</action>
|
|
242
|
+
<action>Ensure all recommendations are well-supported by analysis</action>
|
|
243
|
+
<action>Check that proposal is actionable and specific</action>
|
|
244
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
245
|
+
</check-item>
|
|
246
|
+
|
|
247
|
+
<check-item id="6.3">
|
|
248
|
+
<prompt>Obtain explicit user approval</prompt>
|
|
249
|
+
<action>Present complete proposal to user</action>
|
|
250
|
+
<action>Get clear yes/no approval for proceeding</action>
|
|
251
|
+
<action>Document approval and any conditions</action>
|
|
252
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
253
|
+
</check-item>
|
|
254
|
+
|
|
255
|
+
<check-item id="6.4">
|
|
256
|
+
<prompt>Update sprint-status.yaml to reflect approved epic changes</prompt>
|
|
257
|
+
<action>If epics were added: Add new epic entries with status 'backlog'</action>
|
|
258
|
+
<action>If epics were removed: Remove corresponding entries</action>
|
|
259
|
+
<action>If epics were renumbered: Update epic IDs and story references</action>
|
|
260
|
+
<action>If stories were added/removed: Update story entries within affected epics</action>
|
|
261
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
262
|
+
</check-item>
|
|
263
|
+
|
|
264
|
+
<check-item id="6.5">
|
|
265
|
+
<prompt>Confirm next steps and handoff plan</prompt>
|
|
266
|
+
<action>Review handoff responsibilities with user</action>
|
|
267
|
+
<action>Ensure all stakeholders understand their roles</action>
|
|
268
|
+
<action>Confirm timeline and success criteria</action>
|
|
269
|
+
<status>[ ] Done / [ ] N/A / [ ] Action-needed</status>
|
|
270
|
+
</check-item>
|
|
271
|
+
|
|
272
|
+
<halt-condition>
|
|
273
|
+
<action if="any critical section cannot be completed">HALT: "Cannot proceed to proposal without complete impact analysis"</action>
|
|
274
|
+
<action if="user approval not obtained">HALT: "Must have explicit approval before implementing changes"</action>
|
|
275
|
+
<action if="handoff responsibilities unclear">HALT: "Must clearly define who will execute the proposed changes"</action>
|
|
276
|
+
</halt-condition>
|
|
277
|
+
|
|
278
|
+
</section>
|
|
279
|
+
|
|
280
|
+
</checklist>
|
|
281
|
+
|
|
282
|
+
<execution-notes>
|
|
283
|
+
<note>This checklist is for SIGNIFICANT changes affecting project direction</note>
|
|
284
|
+
<note>Work interactively with user - they make final decisions</note>
|
|
285
|
+
<note>Be factual, not blame-oriented when analyzing issues</note>
|
|
286
|
+
<note>Handle changes professionally as opportunities to improve the project</note>
|
|
287
|
+
<note>Maintain conversation context throughout - this is collaborative work</note>
|
|
288
|
+
</execution-notes>
|