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,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explain-concept
|
|
3
|
+
description: Create clear technical explanations with examples
|
|
4
|
+
menu-code: EC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Explain Concept
|
|
8
|
+
|
|
9
|
+
Create a clear technical explanation with examples and diagrams for a complex concept.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Understand the concept** — Clarify what needs to be explained and the target audience
|
|
14
|
+
2. **Structure** — Break it down into digestible sections using a task-oriented approach
|
|
15
|
+
3. **Illustrate** — Include code examples and Mermaid diagrams where helpful
|
|
16
|
+
4. **Deliver** — Present the explanation in clear, accessible language appropriate for the audience
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
|
|
20
|
+
A structured explanation with examples and diagrams that makes the complex simple.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mermaid-gen
|
|
3
|
+
description: Create Mermaid-compliant diagrams
|
|
4
|
+
menu-code: MG
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Mermaid Generate
|
|
8
|
+
|
|
9
|
+
Create a Mermaid diagram based on user description through multi-turn conversation until the complete details are understood.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Understand the ask** — Clarify what needs to be visualized
|
|
14
|
+
2. **Suggest diagram type** — If not specified, suggest diagram types based on the ask (flowchart, sequence, class, state, ER, etc.)
|
|
15
|
+
3. **Generate** — Create the diagram strictly following Mermaid syntax and CommonMark fenced code block standards
|
|
16
|
+
4. **Iterate** — Refine based on user feedback
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
|
|
20
|
+
A Mermaid diagram in a fenced code block, ready to render.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type: agent
|
|
2
|
+
name: scm-agent-tech-writer
|
|
3
|
+
displayName: Paige
|
|
4
|
+
title: Technical Writer
|
|
5
|
+
icon: "📚"
|
|
6
|
+
capabilities: "documentation, Mermaid diagrams, standards compliance, concept explanation"
|
|
7
|
+
role: Technical Documentation Specialist + Knowledge Curator
|
|
8
|
+
identity: "Experienced technical writer expert in CommonMark, DITA, OpenAPI. Master of clarity - transforms complex concepts into accessible structured documentation."
|
|
9
|
+
communicationStyle: "Patient educator who explains like teaching a friend. Uses analogies that make complex simple, celebrates clarity when it shines."
|
|
10
|
+
principles: "Every Technical Document I touch helps someone accomplish a task. Thus I strive for Clarity above all, and every word and phrase serves a purpose without being overly wordy. I believe a picture/diagram is worth 1000s of words and will include diagrams over drawn out text. I understand the intended audience or will clarify with the user so I know when to simplify vs when to be detailed."
|
|
11
|
+
module: bmm
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: validate-doc
|
|
3
|
+
description: Validate documentation against standards and best practices
|
|
4
|
+
menu-code: VD
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Validate Documentation
|
|
8
|
+
|
|
9
|
+
Review the specified document against documentation best practices along with anything additional the user asked you to focus on.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Load the document** — Read the specified document fully
|
|
14
|
+
2. **Analyze** — Review against documentation standards, clarity, structure, audience-appropriateness, and any user-specified focus areas
|
|
15
|
+
3. **Report** — Return specific, actionable improvement suggestions organized by priority
|
|
16
|
+
|
|
17
|
+
## Output
|
|
18
|
+
|
|
19
|
+
A prioritized list of specific, actionable improvement suggestions.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: write-document
|
|
3
|
+
description: Author a document following documentation best practices
|
|
4
|
+
menu-code: WD
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Write Document
|
|
8
|
+
|
|
9
|
+
Engage in multi-turn conversation until you fully understand the ask. Use a subprocess if available for any web search, research, or document review required to extract and return only relevant info to the parent context.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Discover intent** — Ask clarifying questions until the document scope, audience, and purpose are clear
|
|
14
|
+
2. **Research** — If the user provides references or the topic requires it, use subagents to review documents and extract relevant information
|
|
15
|
+
3. **Draft** — Author the document following documentation best practices: clear structure, task-oriented approach, diagrams where helpful
|
|
16
|
+
4. **Review** — Use a subprocess to review and revise for quality of content and standards compliance
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
|
|
20
|
+
A complete, well-structured document ready for use.
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
# Document Project Workflow - Validation Checklist
|
|
2
|
+
|
|
3
|
+
## Scan Level and Resumability
|
|
4
|
+
|
|
5
|
+
- [ ] Scan level selection offered (quick/deep/exhaustive) for initial_scan and full_rescan modes
|
|
6
|
+
- [ ] Deep-dive mode automatically uses exhaustive scan (no choice given)
|
|
7
|
+
- [ ] Quick scan does NOT read source files (only patterns, configs, manifests)
|
|
8
|
+
- [ ] Deep scan reads files in critical directories per project type
|
|
9
|
+
- [ ] Exhaustive scan reads ALL source files (excluding node_modules, dist, build)
|
|
10
|
+
- [ ] State file (project-scan-report.json) created at workflow start
|
|
11
|
+
- [ ] State file updated after each step completion
|
|
12
|
+
- [ ] State file contains all required fields per schema
|
|
13
|
+
- [ ] Resumability prompt shown if state file exists and is <24 hours old
|
|
14
|
+
- [ ] Old state files (>24 hours) automatically archived
|
|
15
|
+
- [ ] Resume functionality loads previous state correctly
|
|
16
|
+
- [ ] Workflow can jump to correct step when resuming
|
|
17
|
+
|
|
18
|
+
## Write-as-you-go Architecture
|
|
19
|
+
|
|
20
|
+
- [ ] Each document written to disk IMMEDIATELY after generation
|
|
21
|
+
- [ ] Document validation performed right after writing (section-level)
|
|
22
|
+
- [ ] State file updated after each document is written
|
|
23
|
+
- [ ] Detailed findings purged from context after writing (only summaries kept)
|
|
24
|
+
- [ ] Context contains only high-level summaries (1-2 sentences per section)
|
|
25
|
+
- [ ] No accumulation of full project analysis in memory
|
|
26
|
+
|
|
27
|
+
## Batching Strategy (Deep/Exhaustive Scans)
|
|
28
|
+
|
|
29
|
+
- [ ] Batching applied for deep and exhaustive scan levels
|
|
30
|
+
- [ ] Batches organized by SUBFOLDER (not arbitrary file count)
|
|
31
|
+
- [ ] Large files (>5000 LOC) handled with appropriate judgment
|
|
32
|
+
- [ ] Each batch: read files, extract info, write output, validate, purge context
|
|
33
|
+
- [ ] Batch completion tracked in state file (batches_completed array)
|
|
34
|
+
- [ ] Batch summaries kept in context (1-2 sentences max)
|
|
35
|
+
|
|
36
|
+
## Project Detection and Classification
|
|
37
|
+
|
|
38
|
+
- [ ] Project type correctly identified and matches actual technology stack
|
|
39
|
+
- [ ] Multi-part vs single-part structure accurately detected
|
|
40
|
+
- [ ] All project parts identified if multi-part (no missing client/server/etc.)
|
|
41
|
+
- [ ] Documentation requirements loaded for each part type
|
|
42
|
+
- [ ] Architecture registry match is appropriate for detected stack
|
|
43
|
+
|
|
44
|
+
## Technology Stack Analysis
|
|
45
|
+
|
|
46
|
+
- [ ] All major technologies identified (framework, language, database, etc.)
|
|
47
|
+
- [ ] Versions captured where available
|
|
48
|
+
- [ ] Technology decision table is complete and accurate
|
|
49
|
+
- [ ] Dependencies and libraries documented
|
|
50
|
+
- [ ] Build tools and package managers identified
|
|
51
|
+
|
|
52
|
+
## Codebase Scanning Completeness
|
|
53
|
+
|
|
54
|
+
- [ ] All critical directories scanned based on project type
|
|
55
|
+
- [ ] API endpoints documented (if requires_api_scan = true)
|
|
56
|
+
- [ ] Data models captured (if requires_data_models = true)
|
|
57
|
+
- [ ] State management patterns identified (if requires_state_management = true)
|
|
58
|
+
- [ ] UI components inventoried (if requires_ui_components = true)
|
|
59
|
+
- [ ] Configuration files located and documented
|
|
60
|
+
- [ ] Authentication/security patterns identified
|
|
61
|
+
- [ ] Entry points correctly identified
|
|
62
|
+
- [ ] Integration points mapped (for multi-part projects)
|
|
63
|
+
- [ ] Test files and patterns documented
|
|
64
|
+
|
|
65
|
+
## Source Tree Analysis
|
|
66
|
+
|
|
67
|
+
- [ ] Complete directory tree generated with no major omissions
|
|
68
|
+
- [ ] Critical folders highlighted and described
|
|
69
|
+
- [ ] Entry points clearly marked
|
|
70
|
+
- [ ] Integration paths noted (for multi-part)
|
|
71
|
+
- [ ] Asset locations identified (if applicable)
|
|
72
|
+
- [ ] File organization patterns explained
|
|
73
|
+
|
|
74
|
+
## Architecture Documentation Quality
|
|
75
|
+
|
|
76
|
+
- [ ] Architecture document uses appropriate template from registry
|
|
77
|
+
- [ ] All template sections filled with relevant information (no placeholders)
|
|
78
|
+
- [ ] Technology stack section is comprehensive
|
|
79
|
+
- [ ] Architecture pattern clearly explained
|
|
80
|
+
- [ ] Data architecture documented (if applicable)
|
|
81
|
+
- [ ] API design documented (if applicable)
|
|
82
|
+
- [ ] Component structure explained (if applicable)
|
|
83
|
+
- [ ] Source tree included and annotated
|
|
84
|
+
- [ ] Testing strategy documented
|
|
85
|
+
- [ ] Deployment architecture captured (if config found)
|
|
86
|
+
|
|
87
|
+
## Development and Operations Documentation
|
|
88
|
+
|
|
89
|
+
- [ ] Prerequisites clearly listed
|
|
90
|
+
- [ ] Installation steps documented
|
|
91
|
+
- [ ] Environment setup instructions provided
|
|
92
|
+
- [ ] Local run commands specified
|
|
93
|
+
- [ ] Build process documented
|
|
94
|
+
- [ ] Test commands and approach explained
|
|
95
|
+
- [ ] Deployment process documented (if applicable)
|
|
96
|
+
- [ ] CI/CD pipeline details captured (if found)
|
|
97
|
+
- [ ] Contribution guidelines extracted (if found)
|
|
98
|
+
|
|
99
|
+
## Multi-Part Project Specific (if applicable)
|
|
100
|
+
|
|
101
|
+
- [ ] Each part documented separately
|
|
102
|
+
- [ ] Part-specific architecture files created (architecture-{part_id}.md)
|
|
103
|
+
- [ ] Part-specific component inventories created (if applicable)
|
|
104
|
+
- [ ] Part-specific development guides created
|
|
105
|
+
- [ ] Integration architecture document created
|
|
106
|
+
- [ ] Integration points clearly defined with type and details
|
|
107
|
+
- [ ] Data flow between parts explained
|
|
108
|
+
- [ ] project-parts.json metadata file created
|
|
109
|
+
|
|
110
|
+
## Index and Navigation
|
|
111
|
+
|
|
112
|
+
- [ ] index.md created as master entry point
|
|
113
|
+
- [ ] Project structure clearly summarized in index
|
|
114
|
+
- [ ] Quick reference section complete and accurate
|
|
115
|
+
- [ ] All generated docs linked from index
|
|
116
|
+
- [ ] All existing docs linked from index (if found)
|
|
117
|
+
- [ ] Getting started section provides clear next steps
|
|
118
|
+
- [ ] AI-assisted development guidance included
|
|
119
|
+
- [ ] Navigation structure matches project complexity (simple for single-part, detailed for multi-part)
|
|
120
|
+
|
|
121
|
+
## File Completeness
|
|
122
|
+
|
|
123
|
+
- [ ] index.md generated
|
|
124
|
+
- [ ] project-overview.md generated
|
|
125
|
+
- [ ] source-tree-analysis.md generated
|
|
126
|
+
- [ ] architecture.md (or per-part) generated
|
|
127
|
+
- [ ] component-inventory.md (or per-part) generated if UI components exist
|
|
128
|
+
- [ ] development-guide.md (or per-part) generated
|
|
129
|
+
- [ ] api-contracts.md (or per-part) generated if APIs documented
|
|
130
|
+
- [ ] data-models.md (or per-part) generated if data models found
|
|
131
|
+
- [ ] deployment-guide.md generated if deployment config found
|
|
132
|
+
- [ ] contribution-guide.md generated if guidelines found
|
|
133
|
+
- [ ] integration-architecture.md generated if multi-part
|
|
134
|
+
- [ ] project-parts.json generated if multi-part
|
|
135
|
+
|
|
136
|
+
## Content Quality
|
|
137
|
+
|
|
138
|
+
- [ ] Technical information is accurate and specific
|
|
139
|
+
- [ ] No generic placeholders or "TODO" items remain
|
|
140
|
+
- [ ] Examples and code snippets are relevant to actual project
|
|
141
|
+
- [ ] File paths and directory references are correct
|
|
142
|
+
- [ ] Technology names and versions are accurate
|
|
143
|
+
- [ ] Terminology is consistent across all documents
|
|
144
|
+
- [ ] Descriptions are clear and actionable
|
|
145
|
+
|
|
146
|
+
## Brownfield PRD Readiness
|
|
147
|
+
|
|
148
|
+
- [ ] Documentation provides enough context for AI to understand existing system
|
|
149
|
+
- [ ] Integration points are clear for planning new features
|
|
150
|
+
- [ ] Reusable components are identified for leveraging in new work
|
|
151
|
+
- [ ] Data models are documented for schema extension planning
|
|
152
|
+
- [ ] API contracts are documented for endpoint expansion
|
|
153
|
+
- [ ] Code conventions and patterns are captured for consistency
|
|
154
|
+
- [ ] Architecture constraints are clear for informed decision-making
|
|
155
|
+
|
|
156
|
+
## Output Validation
|
|
157
|
+
|
|
158
|
+
- [ ] All files saved to correct output folder
|
|
159
|
+
- [ ] File naming follows convention (no part suffix for single-part, with suffix for multi-part)
|
|
160
|
+
- [ ] No broken internal links between documents
|
|
161
|
+
- [ ] Markdown formatting is correct and renders properly
|
|
162
|
+
- [ ] JSON files are valid (project-parts.json if applicable)
|
|
163
|
+
|
|
164
|
+
## Final Validation
|
|
165
|
+
|
|
166
|
+
- [ ] User confirmed project classification is accurate
|
|
167
|
+
- [ ] User provided any additional context needed
|
|
168
|
+
- [ ] All requested areas of focus addressed
|
|
169
|
+
- [ ] Documentation is immediately usable for brownfield PRD workflow
|
|
170
|
+
- [ ] No critical information gaps identified
|
|
171
|
+
|
|
172
|
+
## Issues Found
|
|
173
|
+
|
|
174
|
+
### Critical Issues (must fix before completion)
|
|
175
|
+
|
|
176
|
+
-
|
|
177
|
+
|
|
178
|
+
### Minor Issues (can be addressed later)
|
|
179
|
+
|
|
180
|
+
-
|
|
181
|
+
|
|
182
|
+
### Missing Information (to note for user)
|
|
183
|
+
|
|
184
|
+
-
|
|
185
|
+
|
|
186
|
+
## Deep-Dive Mode Validation (if deep-dive was performed)
|
|
187
|
+
|
|
188
|
+
- [ ] Deep-dive target area correctly identified and scoped
|
|
189
|
+
- [ ] All files in target area read completely (no skipped files)
|
|
190
|
+
- [ ] File inventory includes all exports with complete signatures
|
|
191
|
+
- [ ] Dependencies mapped for all files
|
|
192
|
+
- [ ] Dependents identified (who imports each file)
|
|
193
|
+
- [ ] Code snippets included for key implementation details
|
|
194
|
+
- [ ] Patterns and design approaches documented
|
|
195
|
+
- [ ] State management strategy explained
|
|
196
|
+
- [ ] Side effects documented (API calls, DB queries, etc.)
|
|
197
|
+
- [ ] Error handling approaches captured
|
|
198
|
+
- [ ] Testing files and coverage documented
|
|
199
|
+
- [ ] TODOs and comments extracted
|
|
200
|
+
- [ ] Dependency graph created showing relationships
|
|
201
|
+
- [ ] Data flow traced through the scanned area
|
|
202
|
+
- [ ] Integration points with rest of codebase identified
|
|
203
|
+
- [ ] Related code and similar patterns found outside scanned area
|
|
204
|
+
- [ ] Reuse opportunities documented
|
|
205
|
+
- [ ] Implementation guidance provided
|
|
206
|
+
- [ ] Modification instructions clear
|
|
207
|
+
- [ ] Index.md updated with deep-dive link
|
|
208
|
+
- [ ] Deep-dive documentation is immediately useful for implementation
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## State File Quality
|
|
213
|
+
|
|
214
|
+
- [ ] State file is valid JSON (no syntax errors)
|
|
215
|
+
- [ ] State file is optimized (no pretty-printing, minimal whitespace)
|
|
216
|
+
- [ ] State file contains all completed steps with timestamps
|
|
217
|
+
- [ ] State file outputs_generated list is accurate and complete
|
|
218
|
+
- [ ] State file resume_instructions are clear and actionable
|
|
219
|
+
- [ ] State file findings contain only high-level summaries (not detailed data)
|
|
220
|
+
- [ ] State file can be successfully loaded for resumption
|
|
221
|
+
|
|
222
|
+
## Completion Criteria
|
|
223
|
+
|
|
224
|
+
All items in the following sections must be checked:
|
|
225
|
+
|
|
226
|
+
- ✓ Scan Level and Resumability
|
|
227
|
+
- ✓ Write-as-you-go Architecture
|
|
228
|
+
- ✓ Batching Strategy (if deep/exhaustive scan)
|
|
229
|
+
- ✓ Project Detection and Classification
|
|
230
|
+
- ✓ Technology Stack Analysis
|
|
231
|
+
- ✓ Architecture Documentation Quality
|
|
232
|
+
- ✓ Index and Navigation
|
|
233
|
+
- ✓ File Completeness
|
|
234
|
+
- ✓ Brownfield PRD Readiness
|
|
235
|
+
- ✓ State File Quality
|
|
236
|
+
- ✓ Deep-Dive Mode Validation (if applicable)
|
|
237
|
+
|
|
238
|
+
The workflow is complete when:
|
|
239
|
+
|
|
240
|
+
1. All critical checklist items are satisfied
|
|
241
|
+
2. No critical issues remain
|
|
242
|
+
3. User has reviewed and approved the documentation
|
|
243
|
+
4. Generated docs are ready for use in brownfield PRD workflow
|
|
244
|
+
5. Deep-dive docs (if any) are comprehensive and implementation-ready
|
|
245
|
+
6. State file is valid and can enable resumption if interrupted
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
project_type_id,requires_api_scan,requires_data_models,requires_state_management,requires_ui_components,requires_deployment_config,key_file_patterns,critical_directories,integration_scan_patterns,test_file_patterns,config_patterns,auth_security_patterns,schema_migration_patterns,entry_point_patterns,shared_code_patterns,monorepo_workspace_patterns,async_event_patterns,ci_cd_patterns,asset_patterns,hardware_interface_patterns,protocol_schema_patterns,localization_patterns,requires_hardware_docs,requires_asset_inventory
|
|
2
|
+
web,true,true,true,true,true,package.json;tsconfig.json;*.config.js;*.config.ts;vite.config.*;webpack.config.*;next.config.*;nuxt.config.*,src/;app/;pages/;components/;api/;lib/;styles/;public/;static/,*client.ts;*service.ts;*api.ts;fetch*.ts;axios*.ts;*http*.ts,*.test.ts;*.spec.ts;*.test.tsx;*.spec.tsx;**/__tests__/**;**/*.test.*;**/*.spec.*,.env*;config/*;*.config.*;.config/;settings/,*auth*.ts;*session*.ts;middleware/auth*;*.guard.ts;*authenticat*;*permission*;guards/,migrations/**;prisma/**;*.prisma;alembic/**;knex/**;*migration*.sql;*migration*.ts,main.ts;index.ts;app.ts;server.ts;_app.tsx;_app.ts;layout.tsx,shared/**;common/**;utils/**;lib/**;helpers/**;@*/**;packages/**,pnpm-workspace.yaml;lerna.json;nx.json;turbo.json;workspace.json;rush.json,*event*.ts;*queue*.ts;*subscriber*.ts;*consumer*.ts;*producer*.ts;*worker*.ts;jobs/**,.github/workflows/**;.gitlab-ci.yml;Jenkinsfile;.circleci/**;azure-pipelines.yml;bitbucket-pipelines.yml,.drone.yml,public/**;static/**;assets/**;images/**;media/**,N/A,*.proto;*.graphql;graphql/**;schema.graphql;*.avro;openapi.*;swagger.*,i18n/**;locales/**;lang/**;translations/**;messages/**;*.po;*.pot,false,false
|
|
3
|
+
mobile,true,true,true,true,true,package.json;pubspec.yaml;Podfile;build.gradle;app.json;capacitor.config.*;ionic.config.json,src/;app/;screens/;components/;services/;models/;assets/;ios/;android/,*client.ts;*service.ts;*api.ts;fetch*.ts;axios*.ts;*http*.ts,*.test.ts;*.test.tsx;*_test.dart;*.test.dart;**/__tests__/**,.env*;config/*;app.json;capacitor.config.*;google-services.json;GoogleService-Info.plist,*auth*.ts;*session*.ts;*authenticat*;*permission*;*biometric*;secure-store*,migrations/**;realm/**;*.realm;watermelondb/**;sqlite/**,main.ts;index.ts;App.tsx;App.ts;main.dart,shared/**;common/**;utils/**;lib/**;components/shared/**;@*/**,pnpm-workspace.yaml;lerna.json;nx.json;turbo.json,*event*.ts;*notification*.ts;*push*.ts;background-fetch*,fastlane/**;.github/workflows/**;.gitlab-ci.yml;bitbucket-pipelines.yml;appcenter-*,assets/**;Resources/**;res/**;*.xcassets;drawable*/;mipmap*/;images/**,N/A,*.proto;graphql/**;*.graphql,i18n/**;locales/**;translations/**;*.strings;*.xml,false,true
|
|
4
|
+
backend,true,true,false,false,true,package.json;requirements.txt;go.mod;Gemfile;pom.xml;build.gradle;Cargo.toml;*.csproj,src/;api/;services/;models/;routes/;controllers/;middleware/;handlers/;repositories/;domain/,*client.ts;*repository.ts;*service.ts;*connector*.ts;*adapter*.ts,*.test.ts;*.spec.ts;*_test.go;test_*.py;*Test.java;*_test.rs,.env*;config/*;*.config.*;application*.yml;application*.yaml;appsettings*.json;settings.py,*auth*.ts;*session*.ts;*authenticat*;*authorization*;middleware/auth*;guards/;*jwt*;*oauth*,migrations/**;alembic/**;flyway/**;liquibase/**;prisma/**;*.prisma;*migration*.sql;*migration*.ts;db/migrate,main.ts;index.ts;server.ts;app.ts;main.go;main.py;Program.cs;__init__.py,shared/**;common/**;utils/**;lib/**;core/**;@*/**;pkg/**,pnpm-workspace.yaml;lerna.json;nx.json;go.work,*event*.ts;*queue*.ts;*subscriber*.ts;*consumer*.ts;*producer*.ts;*worker*.ts;*handler*.ts;jobs/**;workers/**,.github/workflows/**;.gitlab-ci.yml;Jenkinsfile;.circleci/**;azure-pipelines.yml;.drone.yml,N/A,N/A,*.proto;*.graphql;graphql/**;*.avro;*.thrift;openapi.*;swagger.*;schema/**,N/A,false,false
|
|
5
|
+
cli,false,false,false,false,false,package.json;go.mod;Cargo.toml;setup.py;pyproject.toml;*.gemspec,src/;cmd/;cli/;bin/;lib/;commands/,N/A,*.test.ts;*_test.go;test_*.py;*.spec.ts;*_spec.rb,.env*;config/*;*.config.*;.*.rc;.*rc,N/A,N/A,main.ts;index.ts;cli.ts;main.go;main.py;__main__.py;bin/*,shared/**;common/**;utils/**;lib/**;helpers/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml;goreleaser.yml,N/A,N/A,N/A,N/A,false,false
|
|
6
|
+
library,false,false,false,false,false,package.json;setup.py;Cargo.toml;go.mod;*.gemspec;*.csproj;pom.xml,src/;lib/;dist/;pkg/;build/;target/,N/A,*.test.ts;*_test.go;test_*.py;*.spec.ts;*Test.java;*_test.rs,.*.rc;tsconfig.json;rollup.config.*;vite.config.*;webpack.config.*,N/A,N/A,index.ts;index.js;lib.rs;main.go;__init__.py,src/**;lib/**;core/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml;.circleci/**,N/A,N/A,N/A,N/A,false,false
|
|
7
|
+
desktop,false,false,true,true,true,package.json;Cargo.toml;*.csproj;CMakeLists.txt;tauri.conf.json;electron-builder.yml;wails.json,src/;app/;components/;main/;renderer/;resources/;assets/;build/,*service.ts;ipc*.ts;*bridge*.ts;*native*.ts;invoke*,*.test.ts;*.spec.ts;*_test.rs;*.spec.tsx,.env*;config/*;*.config.*;app.config.*;forge.config.*;builder.config.*,*auth*.ts;*session*.ts;keychain*;secure-storage*,N/A,main.ts;index.ts;main.js;src-tauri/main.rs;electron.ts,shared/**;common/**;utils/**;lib/**;components/shared/**,N/A,*event*.ts;*ipc*.ts;*message*.ts,.github/workflows/**;.gitlab-ci.yml;.circleci/**,resources/**;assets/**;icons/**;static/**;build/resources,N/A,N/A,i18n/**;locales/**;translations/**;lang/**,false,true
|
|
8
|
+
game,false,false,true,false,false,*.unity;*.godot;*.uproject;package.json;project.godot,Assets/;Scenes/;Scripts/;Prefabs/;Resources/;Content/;Source/;src/;scenes/;scripts/,N/A,*Test.cs;*_test.gd;*Test.cpp;*.test.ts,.env*;config/*;*.ini;settings/;GameSettings/,N/A,N/A,main.gd;Main.cs;GameManager.cs;main.cpp;index.ts,shared/**;common/**;utils/**;Core/**;Framework/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml,Assets/**;Scenes/**;Prefabs/**;Materials/**;Textures/**;Audio/**;Models/**;*.fbx;*.blend;*.shader;*.hlsl;*.glsl;Shaders/**;VFX/**,N/A,N/A,Localization/**;Languages/**;i18n/**,false,true
|
|
9
|
+
data,false,true,false,false,true,requirements.txt;pyproject.toml;dbt_project.yml;airflow.cfg;setup.py;Pipfile,dags/;pipelines/;models/;transformations/;notebooks/;sql/;etl/;jobs/,N/A,test_*.py;*_test.py;tests/**,.env*;config/*;profiles.yml;dbt_project.yml;airflow.cfg,N/A,migrations/**;dbt/models/**;*.sql;schemas/**,main.py;__init__.py;pipeline.py;dag.py,shared/**;common/**;utils/**;lib/**;helpers/**,N/A,*event*.py;*consumer*.py;*producer*.py;*worker*.py;jobs/**;tasks/**,.github/workflows/**;.gitlab-ci.yml;airflow/dags/**,N/A,N/A,*.proto;*.avro;schemas/**;*.parquet,N/A,false,false
|
|
10
|
+
extension,true,false,true,true,false,manifest.json;package.json;wxt.config.ts,src/;popup/;content/;background/;assets/;components/,*message.ts;*runtime.ts;*storage.ts;*tabs.ts,*.test.ts;*.spec.ts;*.test.tsx,.env*;wxt.config.*;webpack.config.*;vite.config.*,*auth*.ts;*session*.ts;*permission*,N/A,index.ts;popup.ts;background.ts;content.ts,shared/**;common/**;utils/**;lib/**,N/A,*message*.ts;*event*.ts;chrome.runtime*;browser.runtime*,.github/workflows/**,assets/**;icons/**;images/**;static/**,N/A,N/A,_locales/**;locales/**;i18n/**,false,false
|
|
11
|
+
infra,false,false,false,false,true,*.tf;*.tfvars;pulumi.yaml;cdk.json;*.yml;*.yaml;Dockerfile;docker-compose*.yml,terraform/;modules/;k8s/;charts/;playbooks/;roles/;policies/;stacks/,N/A,*_test.go;test_*.py;*_test.tf;*_spec.rb,.env*;*.tfvars;config/*;vars/;group_vars/;host_vars/,N/A,N/A,main.tf;index.ts;__main__.py;playbook.yml,modules/**;shared/**;common/**;lib/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml;.circleci/**,N/A,N/A,N/A,N/A,false,false
|
|
12
|
+
embedded,false,false,false,false,false,platformio.ini;CMakeLists.txt;*.ino;Makefile;*.ioc;mbed-os.lib,src/;lib/;include/;firmware/;drivers/;hal/;bsp/;components/,N/A,test_*.c;*_test.cpp;*_test.c;tests/**,.env*;config/*;sdkconfig;*.json;settings/,N/A,N/A,main.c;main.cpp;main.ino;app_main.c,lib/**;shared/**;common/**;drivers/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml,N/A,*.h;*.hpp;drivers/**;hal/**;bsp/**;pinout.*;peripheral*;gpio*;*.fzz;schematics/**,*.proto;mqtt*;coap*;modbus*,N/A,true,false
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Document Project Workflow Router
|
|
2
|
+
|
|
3
|
+
<critical>Communicate all responses in {communication_language}</critical>
|
|
4
|
+
|
|
5
|
+
<workflow>
|
|
6
|
+
|
|
7
|
+
<critical>This router determines workflow mode and delegates to specialized sub-workflows</critical>
|
|
8
|
+
|
|
9
|
+
<step n="1" goal="Check for ability to resume and determine workflow mode">
|
|
10
|
+
<action>Check for existing state file at: {project_knowledge}/project-scan-report.json</action>
|
|
11
|
+
|
|
12
|
+
<check if="project-scan-report.json exists">
|
|
13
|
+
<action>Read state file and extract: timestamps, mode, scan_level, current_step, completed_steps, project_classification</action>
|
|
14
|
+
<action>Extract cached project_type_id(s) from state file if present</action>
|
|
15
|
+
<action>Calculate age of state file (current time - last_updated)</action>
|
|
16
|
+
|
|
17
|
+
<ask>I found an in-progress workflow state from {{last_updated}}.
|
|
18
|
+
|
|
19
|
+
**Current Progress:**
|
|
20
|
+
|
|
21
|
+
- Mode: {{mode}}
|
|
22
|
+
- Scan Level: {{scan_level}}
|
|
23
|
+
- Completed Steps: {{completed_steps_count}}/{{total_steps}}
|
|
24
|
+
- Last Step: {{current_step}}
|
|
25
|
+
- Project Type(s): {{cached_project_types}}
|
|
26
|
+
|
|
27
|
+
Would you like to:
|
|
28
|
+
|
|
29
|
+
1. **Resume from where we left off** - Continue from step {{current_step}}
|
|
30
|
+
2. **Start fresh** - Archive old state and begin new scan
|
|
31
|
+
3. **Cancel** - Exit without changes
|
|
32
|
+
|
|
33
|
+
Your choice [1/2/3]:
|
|
34
|
+
</ask>
|
|
35
|
+
|
|
36
|
+
<check if="user selects 1">
|
|
37
|
+
<action>Set resume_mode = true</action>
|
|
38
|
+
<action>Set workflow_mode = {{mode}}</action>
|
|
39
|
+
<action>Load findings summaries from state file</action>
|
|
40
|
+
<action>Load cached project_type_id(s) from state file</action>
|
|
41
|
+
|
|
42
|
+
<critical>CONDITIONAL CSV LOADING FOR RESUME:</critical>
|
|
43
|
+
<action>For each cached project_type_id, load ONLY the corresponding row from: ./documentation-requirements.csv</action>
|
|
44
|
+
<action>Skip loading project-types.csv and architecture_registry.csv (not needed on resume)</action>
|
|
45
|
+
<action>Store loaded doc requirements for use in remaining steps</action>
|
|
46
|
+
|
|
47
|
+
<action>Display: "Resuming {{workflow_mode}} from {{current_step}} with cached project type(s): {{cached_project_types}}"</action>
|
|
48
|
+
|
|
49
|
+
<check if="workflow_mode == deep_dive">
|
|
50
|
+
<action>Read fully and follow: ./workflows/deep-dive-workflow.md with resume context</action>
|
|
51
|
+
</check>
|
|
52
|
+
|
|
53
|
+
<check if="workflow_mode == initial_scan OR workflow_mode == full_rescan">
|
|
54
|
+
<action>Read fully and follow: ./workflows/full-scan-workflow.md with resume context</action>
|
|
55
|
+
</check>
|
|
56
|
+
|
|
57
|
+
</check>
|
|
58
|
+
|
|
59
|
+
<check if="user selects 2">
|
|
60
|
+
<action>Create archive directory: {project_knowledge}/.archive/</action>
|
|
61
|
+
<action>Move old state file to: {project_knowledge}/.archive/project-scan-report-{{timestamp}}.json</action>
|
|
62
|
+
<action>Set resume_mode = false</action>
|
|
63
|
+
<action>Continue to Step 0.5</action>
|
|
64
|
+
</check>
|
|
65
|
+
|
|
66
|
+
<check if="user selects 3">
|
|
67
|
+
<action>Display: "Exiting workflow without changes."</action>
|
|
68
|
+
<action>Exit workflow</action>
|
|
69
|
+
</check>
|
|
70
|
+
|
|
71
|
+
<check if="state file age >= 24 hours">
|
|
72
|
+
<action>Display: "Found old state file (>24 hours). Starting fresh scan."</action>
|
|
73
|
+
<action>Archive old state file to: {project_knowledge}/.archive/project-scan-report-{{timestamp}}.json</action>
|
|
74
|
+
<action>Set resume_mode = false</action>
|
|
75
|
+
<action>Continue to Step 0.5</action>
|
|
76
|
+
</check>
|
|
77
|
+
|
|
78
|
+
</step>
|
|
79
|
+
|
|
80
|
+
<step n="3" goal="Check for existing documentation and determine workflow mode" if="resume_mode == false">
|
|
81
|
+
<action>Check if {project_knowledge}/index.md exists</action>
|
|
82
|
+
|
|
83
|
+
<check if="index.md exists">
|
|
84
|
+
<action>Read existing index.md to extract metadata (date, project structure, parts count)</action>
|
|
85
|
+
<action>Store as {{existing_doc_date}}, {{existing_structure}}</action>
|
|
86
|
+
|
|
87
|
+
<ask>I found existing documentation generated on {{existing_doc_date}}.
|
|
88
|
+
|
|
89
|
+
What would you like to do?
|
|
90
|
+
|
|
91
|
+
1. **Re-scan entire project** - Update all documentation with latest changes
|
|
92
|
+
2. **Deep-dive into specific area** - Generate detailed documentation for a particular feature/module/folder
|
|
93
|
+
3. **Cancel** - Keep existing documentation as-is
|
|
94
|
+
|
|
95
|
+
Your choice [1/2/3]:
|
|
96
|
+
</ask>
|
|
97
|
+
|
|
98
|
+
<check if="user selects 1">
|
|
99
|
+
<action>Set workflow_mode = "full_rescan"</action>
|
|
100
|
+
<action>Display: "Starting full project rescan..."</action>
|
|
101
|
+
<action>Read fully and follow: ./workflows/full-scan-workflow.md</action>
|
|
102
|
+
<action>After sub-workflow completes, continue to Step 4</action>
|
|
103
|
+
</check>
|
|
104
|
+
|
|
105
|
+
<check if="user selects 2">
|
|
106
|
+
<action>Set workflow_mode = "deep_dive"</action>
|
|
107
|
+
<action>Set scan_level = "exhaustive"</action>
|
|
108
|
+
<action>Display: "Starting deep-dive documentation mode..."</action>
|
|
109
|
+
<action>Read fully and follow: ./workflows/deep-dive-workflow.md</action>
|
|
110
|
+
<action>After sub-workflow completes, continue to Step 4</action>
|
|
111
|
+
</check>
|
|
112
|
+
|
|
113
|
+
<check if="user selects 3">
|
|
114
|
+
<action>Display message: "Keeping existing documentation. Exiting workflow."</action>
|
|
115
|
+
<action>Exit workflow</action>
|
|
116
|
+
</check>
|
|
117
|
+
</check>
|
|
118
|
+
|
|
119
|
+
<check if="index.md does not exist">
|
|
120
|
+
<action>Set workflow_mode = "initial_scan"</action>
|
|
121
|
+
<action>Display: "No existing documentation found. Starting initial project scan..."</action>
|
|
122
|
+
<action>Read fully and follow: ./workflows/full-scan-workflow.md</action>
|
|
123
|
+
<action>After sub-workflow completes, continue to Step 4</action>
|
|
124
|
+
</check>
|
|
125
|
+
|
|
126
|
+
</step>
|
|
127
|
+
|
|
128
|
+
</workflow>
|