drt-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/AGENTS.md +45 -0
- package/GETTING-STARTED.md +269 -0
- package/README.md +233 -0
- package/drt-method-1.0.0.tgz +0 -0
- package/drt-modules.yaml +1 -0
- package/package.json +51 -0
- package/scripts/install-from-github.ps1 +22 -0
- package/scripts/install-from-github.sh +17 -0
- package/src/core-skills/drt-advanced-elicitation/SKILL.md +142 -0
- package/src/core-skills/drt-advanced-elicitation/methods.csv +72 -0
- package/src/core-skills/drt-brainstorming/SKILL.md +80 -0
- package/src/core-skills/drt-brainstorming/assets/brain-icons.json +166 -0
- package/src/core-skills/drt-brainstorming/assets/brain-methods.csv +109 -0
- package/src/core-skills/drt-brainstorming/assets/brain-selector.html +326 -0
- package/src/core-skills/drt-brainstorming/customize.toml +84 -0
- package/src/core-skills/drt-brainstorming/references/converge.md +24 -0
- package/src/core-skills/drt-brainstorming/references/finalize.md +26 -0
- package/src/core-skills/drt-brainstorming/references/headless.md +54 -0
- package/src/core-skills/drt-brainstorming/references/in-chat-techniques.md +18 -0
- package/src/core-skills/drt-brainstorming/references/mode-autonomous.md +10 -0
- package/src/core-skills/drt-brainstorming/references/mode-facilitator.md +11 -0
- package/src/core-skills/drt-brainstorming/references/mode-partner.md +16 -0
- package/src/core-skills/drt-brainstorming/references/resume.md +5 -0
- package/src/core-skills/drt-brainstorming/scripts/brain.py +740 -0
- package/src/core-skills/drt-customize/SKILL.md +111 -0
- package/src/core-skills/drt-customize/scripts/list_customizable_skills.py +231 -0
- package/src/core-skills/drt-editorial-review-prose/SKILL.md +86 -0
- package/src/core-skills/drt-editorial-review-structure/SKILL.md +179 -0
- package/src/core-skills/drt-forge-idea/SKILL.md +107 -0
- package/src/core-skills/drt-forge-idea/customize.toml +42 -0
- package/src/core-skills/drt-forge-idea/scripts/resolve_personas.py +270 -0
- package/src/core-skills/drt-help/SKILL.md +75 -0
- package/src/core-skills/drt-index-docs/SKILL.md +66 -0
- package/src/core-skills/drt-party-mode/SKILL.md +60 -0
- package/src/core-skills/drt-party-mode/customize.toml +211 -0
- package/src/core-skills/drt-party-mode/references/create-party.md +70 -0
- package/src/core-skills/drt-party-mode/references/mode-agent-team.md +13 -0
- package/src/core-skills/drt-party-mode/references/mode-auto.md +13 -0
- package/src/core-skills/drt-party-mode/references/mode-subagent.md +31 -0
- package/src/core-skills/drt-party-mode/references/party-memory.md +51 -0
- package/src/core-skills/drt-party-mode/scripts/resolve_party.py +272 -0
- package/src/core-skills/drt-review-adversarial-general/SKILL.md +37 -0
- package/src/core-skills/drt-review-edge-case-hunter/SKILL.md +73 -0
- package/src/core-skills/drt-review-edge-case-hunter/references/deletion-check.md +14 -0
- package/src/core-skills/drt-review-verification-gap/SKILL.md +106 -0
- package/src/core-skills/drt-shard-doc/SKILL.md +105 -0
- package/src/core-skills/drt-spec/SKILL.md +160 -0
- package/src/core-skills/drt-spec/assets/headless-schemas.md +33 -0
- package/src/core-skills/drt-spec/assets/spec-template.md +49 -0
- package/src/core-skills/drt-spec/assets/stories-schema.md +44 -0
- package/src/core-skills/drt-spec/customize.toml +53 -0
- package/src/core-skills/module-help.csv +14 -0
- package/src/core-skills/module.yaml +33 -0
- package/src/drt-skills/1-analysis/drt-agent-analyst/SKILL.md +76 -0
- package/src/drt-skills/1-analysis/drt-agent-analyst/customize.toml +90 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/SKILL.md +76 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/customize.toml +81 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/explain-concept.md +20 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/mermaid-gen.md +20 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/validate-doc.md +19 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/write-document.md +20 -0
- package/src/drt-skills/1-analysis/drt-document-project/SKILL.md +62 -0
- package/src/drt-skills/1-analysis/drt-document-project/checklist.md +245 -0
- package/src/drt-skills/1-analysis/drt-document-project/customize.toml +41 -0
- package/src/drt-skills/1-analysis/drt-document-project/documentation-requirements.csv +12 -0
- package/src/drt-skills/1-analysis/drt-document-project/instructions.md +128 -0
- package/src/drt-skills/1-analysis/drt-document-project/templates/deep-dive-template.md +345 -0
- package/src/drt-skills/1-analysis/drt-document-project/templates/index-template.md +169 -0
- package/src/drt-skills/1-analysis/drt-document-project/templates/project-overview-template.md +103 -0
- package/src/drt-skills/1-analysis/drt-document-project/templates/project-scan-report-schema.json +160 -0
- package/src/drt-skills/1-analysis/drt-document-project/templates/source-tree-template.md +135 -0
- package/src/drt-skills/1-analysis/drt-document-project/workflows/deep-dive-instructions.md +300 -0
- package/src/drt-skills/1-analysis/drt-document-project/workflows/deep-dive-workflow.md +34 -0
- package/src/drt-skills/1-analysis/drt-document-project/workflows/full-scan-instructions.md +1111 -0
- package/src/drt-skills/1-analysis/drt-document-project/workflows/full-scan-workflow.md +34 -0
- package/src/drt-skills/1-analysis/drt-prfaq/SKILL.md +135 -0
- package/src/drt-skills/1-analysis/drt-prfaq/agents/artifact-analyzer.md +60 -0
- package/src/drt-skills/1-analysis/drt-prfaq/agents/web-researcher.md +49 -0
- package/src/drt-skills/1-analysis/drt-prfaq/assets/prfaq-template.md +62 -0
- package/src/drt-skills/1-analysis/drt-prfaq/bmad-manifest.json +16 -0
- package/src/drt-skills/1-analysis/drt-prfaq/customize.toml +41 -0
- package/src/drt-skills/1-analysis/drt-prfaq/references/customer-faq.md +55 -0
- package/src/drt-skills/1-analysis/drt-prfaq/references/internal-faq.md +51 -0
- package/src/drt-skills/1-analysis/drt-prfaq/references/press-release.md +60 -0
- package/src/drt-skills/1-analysis/drt-prfaq/references/verdict.md +83 -0
- package/src/drt-skills/1-analysis/drt-product-brief/SKILL.md +91 -0
- package/src/drt-skills/1-analysis/drt-product-brief/assets/brief-template.md +41 -0
- package/src/drt-skills/1-analysis/drt-product-brief/customize.toml +99 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/SKILL.md +96 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/customize.toml +41 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-01-init.md +137 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-05-technical-trends.md +234 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-06-research-synthesis.md +450 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/research.template.md +29 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/SKILL.md +96 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/customize.toml +41 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/research.template.md +29 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-01-init.md +184 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-02-customer-behavior.md +239 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-03-customer-pain-points.md +251 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-04-customer-decisions.md +261 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-05-competitive-analysis.md +173 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-06-research-completion.md +484 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/SKILL.md +96 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/customize.toml +41 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/research.template.md +29 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-01-init.md +137 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-02-technical-overview.md +239 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-05-implementation-research.md +233 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-06-research-synthesis.md +493 -0
- package/src/drt-skills/2-plan-workflows/drt-agent-pm/SKILL.md +76 -0
- package/src/drt-skills/2-plan-workflows/drt-agent-pm/customize.toml +75 -0
- package/src/drt-skills/2-plan-workflows/drt-agent-ux-designer/SKILL.md +76 -0
- package/src/drt-skills/2-plan-workflows/drt-agent-ux-designer/customize.toml +60 -0
- package/src/drt-skills/2-plan-workflows/drt-create-prd/SKILL.md +30 -0
- package/src/drt-skills/2-plan-workflows/drt-create-prd/customize.toml +41 -0
- package/src/drt-skills/2-plan-workflows/drt-edit-prd/SKILL.md +30 -0
- package/src/drt-skills/2-plan-workflows/drt-edit-prd/customize.toml +42 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/SKILL.md +92 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/assets/headless-schemas.md +76 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/assets/prd-template.md +165 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/assets/prd-validation-checklist.md +135 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/assets/validation-report-template.html +325 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/customize.toml +147 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/references/headless.md +39 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/references/validate.md +97 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/SKILL.md +90 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/color-themes.md +9 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-directions.md +9 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-example-editorial.md +158 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-example-mobile.md +93 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-example-shadcn.md +109 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/excalidraw-wireframe.md +19 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/experience-example-mobile.md +112 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/experience-example-shadcn.md +133 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/headless-schemas.md +84 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/key-screens.md +29 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/validation-report-template.html +319 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/customize.toml +100 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/references/creative-tools.md +19 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/references/design-md-spec.md +50 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/references/headless.md +37 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/references/validate.md +115 -0
- package/src/drt-skills/2-plan-workflows/drt-validate-prd/SKILL.md +30 -0
- package/src/drt-skills/2-plan-workflows/drt-validate-prd/customize.toml +42 -0
- package/src/drt-skills/3-solutioning/drt-agent-architect/SKILL.md +76 -0
- package/src/drt-skills/3-solutioning/drt-agent-architect/customize.toml +65 -0
- package/src/drt-skills/3-solutioning/drt-architecture/SKILL.md +85 -0
- package/src/drt-skills/3-solutioning/drt-architecture/assets/spine-template.md +79 -0
- package/src/drt-skills/3-solutioning/drt-architecture/customize.toml +100 -0
- package/src/drt-skills/3-solutioning/drt-architecture/references/headless.md +26 -0
- package/src/drt-skills/3-solutioning/drt-architecture/references/reviewer-gate.md +13 -0
- package/src/drt-skills/3-solutioning/drt-architecture/scripts/lint_spine.py +257 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/SKILL.md +91 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/customize.toml +41 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-06-final-assessment.md +132 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/templates/readiness-report-template.md +4 -0
- package/src/drt-skills/3-solutioning/drt-create-architecture/SKILL.md +30 -0
- package/src/drt-skills/3-solutioning/drt-create-architecture/customize.toml +41 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/SKILL.md +93 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/customize.toml +41 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-01-validate-prerequisites.md +263 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-02-design-epics.md +242 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-04-final-validation.md +143 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/templates/epics-template.md +61 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/SKILL.md +81 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/customize.toml +41 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/project-context-template.md +21 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/steps/step-01-discover.md +186 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/steps/step-02-generate.md +321 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/steps/step-03-complete.md +284 -0
- package/src/drt-skills/4-implementation/drt-agent-dev/SKILL.md +76 -0
- package/src/drt-skills/4-implementation/drt-agent-dev/customize.toml +95 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/SKILL.md +68 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/generate-trail.md +38 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-01-orientation.md +105 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-02-walkthrough.md +89 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-03-detail-pass.md +106 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-04-testing.md +74 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-05-wrapup.md +30 -0
- package/src/drt-skills/4-implementation/drt-code-review/SKILL.md +90 -0
- package/src/drt-skills/4-implementation/drt-code-review/customize.toml +93 -0
- package/src/drt-skills/4-implementation/drt-code-review/steps/step-01-gather-context.md +84 -0
- package/src/drt-skills/4-implementation/drt-code-review/steps/step-02-review.md +32 -0
- package/src/drt-skills/4-implementation/drt-code-review/steps/step-03-triage.md +50 -0
- package/src/drt-skills/4-implementation/drt-code-review/steps/step-04-present.md +132 -0
- package/src/drt-skills/4-implementation/drt-correct-course/SKILL.md +301 -0
- package/src/drt-skills/4-implementation/drt-correct-course/checklist.md +288 -0
- package/src/drt-skills/4-implementation/drt-correct-course/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-create-story/SKILL.md +432 -0
- package/src/drt-skills/4-implementation/drt-create-story/checklist.md +357 -0
- package/src/drt-skills/4-implementation/drt-create-story/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-create-story/discover-inputs.md +88 -0
- package/src/drt-skills/4-implementation/drt-create-story/template.md +49 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/SKILL.md +123 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/compile-epic-context.md +62 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/customize.toml +108 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/spec-template.md +98 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/step-01-clarify-and-route.md +84 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/step-02-plan.md +31 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/step-03-implement.md +42 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/step-04-review.md +95 -0
- package/src/drt-skills/4-implementation/drt-dev-story/SKILL.md +500 -0
- package/src/drt-skills/4-implementation/drt-dev-story/checklist.md +80 -0
- package/src/drt-skills/4-implementation/drt-dev-story/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-implement-task/SKILL.md +101 -0
- package/src/drt-skills/4-implementation/drt-implement-task/assets/task-spec-template.md +60 -0
- package/src/drt-skills/4-implementation/drt-implement-task/customize.toml +17 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-01-gather-intent.md +42 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-02-plan-and-approve.md +43 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-03-confirm-dependencies.md +38 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-04-implement.md +42 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-05-qc-test.md +31 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-06-quality-review.md +30 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-07-fix-findings.md +33 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-08-complete.md +35 -0
- package/src/drt-skills/4-implementation/drt-qa-generate-e2e-tests/SKILL.md +176 -0
- package/src/drt-skills/4-implementation/drt-qa-generate-e2e-tests/checklist.md +33 -0
- package/src/drt-skills/4-implementation/drt-qa-generate-e2e-tests/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/SKILL.md +13 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/compile-epic-context.md +62 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/customize.toml +83 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/render.js +206 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/spec-template.md +89 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-01-clarify-and-route.md +103 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-02-plan.md +47 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-03-implement.md +45 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-04-review.md +55 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-05-present.md +78 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-oneshot.md +78 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/sync-sprint-status.md +19 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/workflow.md +85 -0
- package/src/drt-skills/4-implementation/drt-retrospective/SKILL.md +1527 -0
- package/src/drt-skills/4-implementation/drt-retrospective/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-sprint-planning/SKILL.md +319 -0
- package/src/drt-skills/4-implementation/drt-sprint-planning/checklist.md +34 -0
- package/src/drt-skills/4-implementation/drt-sprint-planning/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-sprint-planning/sprint-status-template.yaml +69 -0
- package/src/drt-skills/4-implementation/drt-sprint-status/SKILL.md +311 -0
- package/src/drt-skills/4-implementation/drt-sprint-status/customize.toml +41 -0
- package/src/drt-skills/module-help.csv +32 -0
- package/src/drt-skills/module.yaml +95 -0
- package/src/scripts/lib/load-toml.js +43 -0
- package/src/scripts/lib/merge-utils.js +89 -0
- package/src/scripts/memlog.js +184 -0
- package/src/scripts/package.json +7 -0
- package/src/scripts/resolve-config.js +56 -0
- package/src/scripts/resolve-customization.js +77 -0
- package/tools/installer/cli-utils.js +53 -0
- package/tools/installer/commands/install.js +149 -0
- package/tools/installer/commands/status.js +65 -0
- package/tools/installer/commands/uninstall.js +167 -0
- package/tools/installer/core/config.js +73 -0
- package/tools/installer/core/existing-install.js +121 -0
- package/tools/installer/core/install-paths.js +132 -0
- package/tools/installer/core/installer.js +1762 -0
- package/tools/installer/core/legacy-warnings.js +151 -0
- package/tools/installer/core/manifest-generator.js +859 -0
- package/tools/installer/core/manifest.js +433 -0
- package/tools/installer/core/uv-check.js +97 -0
- package/tools/installer/core/wsl-node-check.js +109 -0
- package/tools/installer/drt-cli.js +104 -0
- package/tools/installer/file-ops.js +204 -0
- package/tools/installer/fs-native.js +116 -0
- package/tools/installer/ide/_config-driven.js +972 -0
- package/tools/installer/ide/manager.js +324 -0
- package/tools/installer/ide/platform-codes.js +80 -0
- package/tools/installer/ide/platform-codes.yaml +343 -0
- package/tools/installer/ide/shared/installed-skills.js +50 -0
- package/tools/installer/ide/shared/path-utils.js +217 -0
- package/tools/installer/ide/shared/skill-manifest.js +57 -0
- package/tools/installer/install-messages.yaml +29 -0
- package/tools/installer/list-options.js +210 -0
- package/tools/installer/message-loader.js +83 -0
- package/tools/installer/modules/channel-plan.js +203 -0
- package/tools/installer/modules/channel-resolver.js +241 -0
- package/tools/installer/modules/custom-module-manager.js +918 -0
- package/tools/installer/modules/external-manager.js +667 -0
- package/tools/installer/modules/module-help-schema.js +13 -0
- package/tools/installer/modules/official-modules.js +2257 -0
- package/tools/installer/modules/plugin-resolver.js +398 -0
- package/tools/installer/modules/version-resolver.js +336 -0
- package/tools/installer/project-root.js +224 -0
- package/tools/installer/prompts.js +852 -0
- package/tools/installer/set-overrides.js +330 -0
- package/tools/installer/ui.js +2090 -0
- package/tools/installer/yaml-format.js +245 -0
package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-03-create-stories.md
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
# Step 3: Generate Epics and Stories
|
|
2
|
+
|
|
3
|
+
## STEP GOAL:
|
|
4
|
+
|
|
5
|
+
To generate all epics with their stories based on the approved epics_list, following the template structure exactly.
|
|
6
|
+
|
|
7
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
8
|
+
|
|
9
|
+
### Universal Rules:
|
|
10
|
+
|
|
11
|
+
- 🛑 NEVER generate content without user input
|
|
12
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
13
|
+
- 🔄 CRITICAL: Process epics sequentially
|
|
14
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
15
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
16
|
+
|
|
17
|
+
### Role Reinforcement:
|
|
18
|
+
|
|
19
|
+
- ✅ You are a product strategist and technical specifications writer
|
|
20
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
21
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
22
|
+
- ✅ You bring story creation and acceptance criteria expertise
|
|
23
|
+
- ✅ User brings their implementation priorities and constraints
|
|
24
|
+
|
|
25
|
+
### Step-Specific Rules:
|
|
26
|
+
|
|
27
|
+
- 🎯 Generate stories for each epic following the template exactly
|
|
28
|
+
- 🚫 FORBIDDEN to deviate from template structure
|
|
29
|
+
- 💬 Each story must have clear acceptance criteria
|
|
30
|
+
- 🚪 ENSURE each story is completable by a single dev agent
|
|
31
|
+
- 🔗 **CRITICAL: Stories MUST NOT depend on future stories within the same epic**
|
|
32
|
+
|
|
33
|
+
## EXECUTION PROTOCOLS:
|
|
34
|
+
|
|
35
|
+
- 🎯 Generate stories collaboratively with user input
|
|
36
|
+
- 💾 Append epics and stories to {planning_artifacts}/epics.md following template
|
|
37
|
+
- 📖 Process epics one at a time in sequence
|
|
38
|
+
- 🚫 FORBIDDEN to skip any epic or rush through stories
|
|
39
|
+
|
|
40
|
+
## STORY GENERATION PROCESS:
|
|
41
|
+
|
|
42
|
+
### 1. Load Approved Epic Structure
|
|
43
|
+
|
|
44
|
+
Load {planning_artifacts}/epics.md and review:
|
|
45
|
+
|
|
46
|
+
- Approved epics_list from Step 2
|
|
47
|
+
- FR coverage map
|
|
48
|
+
- All requirements (FRs, NFRs, additional, **UX Design requirements if present**)
|
|
49
|
+
- Template structure at the end of the document
|
|
50
|
+
|
|
51
|
+
**UX Design Integration**: If UX Design Requirements (UX-DRs) were extracted in Step 1, ensure they are visible during story creation. UX-DRs must be covered by stories — either within existing epics (e.g., accessibility fixes for a feature epic) or in a dedicated "Design System / UX Polish" epic.
|
|
52
|
+
|
|
53
|
+
### 2. Explain Story Creation Approach
|
|
54
|
+
|
|
55
|
+
**STORY CREATION GUIDELINES:**
|
|
56
|
+
|
|
57
|
+
For each epic, create stories that:
|
|
58
|
+
|
|
59
|
+
- Follow the exact template structure
|
|
60
|
+
- Are sized for single dev agent completion
|
|
61
|
+
- Have clear user value
|
|
62
|
+
- Include specific acceptance criteria
|
|
63
|
+
- Reference requirements being fulfilled
|
|
64
|
+
|
|
65
|
+
**🚨 DATABASE/ENTITY CREATION PRINCIPLE:**
|
|
66
|
+
Create tables/entities ONLY when needed by the story:
|
|
67
|
+
|
|
68
|
+
- ❌ WRONG: Epic 1 Story 1 creates all 50 database tables
|
|
69
|
+
- ✅ RIGHT: Each story creates/alters ONLY the tables it needs
|
|
70
|
+
|
|
71
|
+
**🔗 STORY DEPENDENCY PRINCIPLE:**
|
|
72
|
+
Stories must be independently completable in sequence:
|
|
73
|
+
|
|
74
|
+
- ❌ WRONG: Story 1.2 requires Story 1.3 to be completed first
|
|
75
|
+
- ✅ RIGHT: Each story can be completed based only on previous stories
|
|
76
|
+
- ❌ WRONG: "Wait for Story 1.4 to be implemented before this works"
|
|
77
|
+
- ✅ RIGHT: "This story works independently and enables future stories"
|
|
78
|
+
|
|
79
|
+
**STORY FORMAT (from template):**
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
### Story {N}.{M}: {story_title}
|
|
83
|
+
|
|
84
|
+
As a {user_type},
|
|
85
|
+
I want {capability},
|
|
86
|
+
So that {value_benefit}.
|
|
87
|
+
|
|
88
|
+
**Acceptance Criteria:**
|
|
89
|
+
|
|
90
|
+
**Given** {precondition}
|
|
91
|
+
**When** {action}
|
|
92
|
+
**Then** {expected_outcome}
|
|
93
|
+
**And** {additional_criteria}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**✅ GOOD STORY EXAMPLES:**
|
|
97
|
+
|
|
98
|
+
_Epic 1: User Authentication_
|
|
99
|
+
|
|
100
|
+
- Story 1.1: User Registration with Email
|
|
101
|
+
- Story 1.2: User Login with Password
|
|
102
|
+
- Story 1.3: Password Reset via Email
|
|
103
|
+
|
|
104
|
+
_Epic 2: Content Creation_
|
|
105
|
+
|
|
106
|
+
- Story 2.1: Create New Blog Post
|
|
107
|
+
- Story 2.2: Edit Existing Blog Post
|
|
108
|
+
- Story 2.3: Publish Blog Post
|
|
109
|
+
|
|
110
|
+
**❌ BAD STORY EXAMPLES:**
|
|
111
|
+
|
|
112
|
+
- Story: "Set up database" (no user value)
|
|
113
|
+
- Story: "Create all models" (too large, no user value)
|
|
114
|
+
- Story: "Build authentication system" (too large)
|
|
115
|
+
- Story: "Login UI (depends on Story 1.3 API endpoint)" (future dependency!)
|
|
116
|
+
- Story: "Edit post (requires Story 1.4 to be implemented first)" (wrong order!)
|
|
117
|
+
|
|
118
|
+
### 3. Process Epics Sequentially
|
|
119
|
+
|
|
120
|
+
For each epic in the approved epics_list:
|
|
121
|
+
|
|
122
|
+
#### A. Epic Overview
|
|
123
|
+
|
|
124
|
+
Display:
|
|
125
|
+
|
|
126
|
+
- Epic number and title
|
|
127
|
+
- Epic goal statement
|
|
128
|
+
- FRs covered by this epic
|
|
129
|
+
- Any NFRs or additional requirements relevant
|
|
130
|
+
- Any UX Design Requirements (UX-DRs) relevant to this epic
|
|
131
|
+
|
|
132
|
+
#### B. Story Breakdown
|
|
133
|
+
|
|
134
|
+
Work with user to break down the epic into stories:
|
|
135
|
+
|
|
136
|
+
- Identify distinct user capabilities
|
|
137
|
+
- Ensure logical flow within the epic
|
|
138
|
+
- Size stories appropriately
|
|
139
|
+
|
|
140
|
+
#### C. Generate Each Story
|
|
141
|
+
|
|
142
|
+
For each story in the epic:
|
|
143
|
+
|
|
144
|
+
1. **Story Title**: Clear, action-oriented
|
|
145
|
+
2. **User Story**: Complete the As a/I want/So that format
|
|
146
|
+
3. **Acceptance Criteria**: Write specific, testable criteria
|
|
147
|
+
|
|
148
|
+
**AC Writing Guidelines:**
|
|
149
|
+
|
|
150
|
+
- Use Given/When/Then format
|
|
151
|
+
- Each AC should be independently testable
|
|
152
|
+
- Include edge cases and error conditions
|
|
153
|
+
- Reference specific requirements when applicable
|
|
154
|
+
|
|
155
|
+
#### D. Collaborative Review
|
|
156
|
+
|
|
157
|
+
After writing each story:
|
|
158
|
+
|
|
159
|
+
- Present the story to user
|
|
160
|
+
- Ask: "Does this story capture the requirement correctly?"
|
|
161
|
+
- "Is the scope appropriate for a single dev session?"
|
|
162
|
+
- "Are the acceptance criteria complete and testable?"
|
|
163
|
+
|
|
164
|
+
#### E. Append to Document
|
|
165
|
+
|
|
166
|
+
When story is approved:
|
|
167
|
+
|
|
168
|
+
- Append it to {planning_artifacts}/epics.md following template structure
|
|
169
|
+
- Use correct numbering (Epic N, Story M)
|
|
170
|
+
- Maintain proper markdown formatting
|
|
171
|
+
|
|
172
|
+
### 4. Epic Completion
|
|
173
|
+
|
|
174
|
+
After all stories for an epic are complete:
|
|
175
|
+
|
|
176
|
+
- Display epic summary
|
|
177
|
+
- Show count of stories created
|
|
178
|
+
- Verify all FRs for the epic are covered
|
|
179
|
+
- Get user confirmation to proceed to next epic
|
|
180
|
+
|
|
181
|
+
### 5. Repeat for All Epics
|
|
182
|
+
|
|
183
|
+
Continue the process for each epic in the approved list, processing them in order (Epic 1, Epic 2, etc.).
|
|
184
|
+
|
|
185
|
+
### 6. Final Document Completion
|
|
186
|
+
|
|
187
|
+
After all epics and stories are generated:
|
|
188
|
+
|
|
189
|
+
- Verify the document follows template structure exactly
|
|
190
|
+
- Ensure all placeholders are replaced
|
|
191
|
+
- Confirm all FRs are covered
|
|
192
|
+
- **Confirm all UX Design Requirements (UX-DRs) are covered by at least one story** (if UX document was an input)
|
|
193
|
+
- Check formatting consistency
|
|
194
|
+
|
|
195
|
+
## TEMPLATE STRUCTURE COMPLIANCE:
|
|
196
|
+
|
|
197
|
+
The final {planning_artifacts}/epics.md must follow this structure exactly:
|
|
198
|
+
|
|
199
|
+
1. **Overview** section with project name
|
|
200
|
+
2. **Requirements Inventory** with all three subsections populated
|
|
201
|
+
3. **FR Coverage Map** showing requirement to epic mapping
|
|
202
|
+
4. **Epic List** with approved epic structure
|
|
203
|
+
5. **Epic sections** for each epic (N = 1, 2, 3...)
|
|
204
|
+
- Epic title and goal
|
|
205
|
+
- All stories for that epic (M = 1, 2, 3...)
|
|
206
|
+
- Story title and user story
|
|
207
|
+
- Acceptance Criteria using Given/When/Then format
|
|
208
|
+
|
|
209
|
+
### 7. Present FINAL MENU OPTIONS
|
|
210
|
+
|
|
211
|
+
After all epics and stories are complete:
|
|
212
|
+
|
|
213
|
+
Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue"
|
|
214
|
+
|
|
215
|
+
#### Menu Handling Logic:
|
|
216
|
+
|
|
217
|
+
- IF A: Invoke the `drt-advanced-elicitation` skill
|
|
218
|
+
- IF P: Invoke the `drt-party-mode` skill
|
|
219
|
+
- IF C: Save content to {planning_artifacts}/epics.md, update frontmatter, then read fully and follow: ./step-04-final-validation.md
|
|
220
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#7-present-final-menu-options)
|
|
221
|
+
|
|
222
|
+
#### EXECUTION RULES:
|
|
223
|
+
|
|
224
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
225
|
+
- ONLY proceed to next step when user selects 'C'
|
|
226
|
+
- After other menu items execution, return to this menu
|
|
227
|
+
- User can chat or ask questions - always respond and then end with display again of the menu options
|
|
228
|
+
|
|
229
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
230
|
+
|
|
231
|
+
ONLY WHEN [C continue option] is selected and [all epics and stories saved to document following the template structure exactly], will you then read fully and follow: `./step-04-final-validation.md` to begin final validation phase.
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
236
|
+
|
|
237
|
+
### ✅ SUCCESS:
|
|
238
|
+
|
|
239
|
+
- All epics processed in sequence
|
|
240
|
+
- Stories created for each epic
|
|
241
|
+
- Template structure followed exactly
|
|
242
|
+
- All FRs covered by stories
|
|
243
|
+
- Stories appropriately sized
|
|
244
|
+
- Acceptance criteria are specific and testable
|
|
245
|
+
- Document is complete and ready for development
|
|
246
|
+
|
|
247
|
+
### ❌ SYSTEM FAILURE:
|
|
248
|
+
|
|
249
|
+
- Deviating from template structure
|
|
250
|
+
- Missing epics or stories
|
|
251
|
+
- Stories too large or unclear
|
|
252
|
+
- Missing acceptance criteria
|
|
253
|
+
- Not following proper formatting
|
|
254
|
+
|
|
255
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-04-final-validation.md
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Step 4: Final Validation
|
|
2
|
+
|
|
3
|
+
## STEP GOAL:
|
|
4
|
+
|
|
5
|
+
To validate complete coverage of all requirements and ensure stories are ready for development.
|
|
6
|
+
|
|
7
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
8
|
+
|
|
9
|
+
### Universal Rules:
|
|
10
|
+
|
|
11
|
+
- 🛑 NEVER generate content without user input
|
|
12
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
13
|
+
- 🔄 CRITICAL: Process validation sequentially without skipping
|
|
14
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
15
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
16
|
+
|
|
17
|
+
### Role Reinforcement:
|
|
18
|
+
|
|
19
|
+
- ✅ You are a product strategist and technical specifications writer
|
|
20
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
21
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
22
|
+
- ✅ You bring validation expertise and quality assurance
|
|
23
|
+
- ✅ User brings their implementation priorities and final review
|
|
24
|
+
|
|
25
|
+
### Step-Specific Rules:
|
|
26
|
+
|
|
27
|
+
- 🎯 Focus ONLY on validating complete requirements coverage
|
|
28
|
+
- 🚫 FORBIDDEN to skip any validation checks
|
|
29
|
+
- 💬 Validate FR coverage, story completeness, and dependencies
|
|
30
|
+
- 🚪 ENSURE all stories are ready for development
|
|
31
|
+
|
|
32
|
+
## EXECUTION PROTOCOLS:
|
|
33
|
+
|
|
34
|
+
- 🎯 Validate every requirement has story coverage
|
|
35
|
+
- 💾 Check story dependencies and flow
|
|
36
|
+
- 📖 Verify architecture compliance
|
|
37
|
+
- 🚫 FORBIDDEN to approve incomplete coverage
|
|
38
|
+
|
|
39
|
+
## CONTEXT BOUNDARIES:
|
|
40
|
+
|
|
41
|
+
- Available context: Complete epic and story breakdown from previous steps
|
|
42
|
+
- Focus: Final validation of requirements coverage and story readiness
|
|
43
|
+
- Limits: Validation only, no new content creation
|
|
44
|
+
- Dependencies: Completed story generation from Step 3
|
|
45
|
+
|
|
46
|
+
## VALIDATION PROCESS:
|
|
47
|
+
|
|
48
|
+
### 1. FR Coverage Validation
|
|
49
|
+
|
|
50
|
+
Review the complete epic and story breakdown to ensure EVERY FR is covered:
|
|
51
|
+
|
|
52
|
+
**CRITICAL CHECK:**
|
|
53
|
+
|
|
54
|
+
- Go through each FR from the Requirements Inventory
|
|
55
|
+
- Verify it appears in at least one story
|
|
56
|
+
- Check that acceptance criteria fully address the FR
|
|
57
|
+
- No FRs should be left uncovered
|
|
58
|
+
|
|
59
|
+
### 2. Architecture Implementation Validation
|
|
60
|
+
|
|
61
|
+
**Check for Starter Template Setup:**
|
|
62
|
+
|
|
63
|
+
- Does Architecture document specify a starter template?
|
|
64
|
+
- If YES: Epic 1 Story 1 must be "Set up initial project from starter template"
|
|
65
|
+
- This includes cloning, installing dependencies, initial configuration
|
|
66
|
+
|
|
67
|
+
**Database/Entity Creation Validation:**
|
|
68
|
+
|
|
69
|
+
- Are database tables/entities created ONLY when needed by stories?
|
|
70
|
+
- ❌ WRONG: Epic 1 creates all tables upfront
|
|
71
|
+
- ✅ RIGHT: Tables created as part of the first story that needs them
|
|
72
|
+
- Each story should create/modify ONLY what it needs
|
|
73
|
+
|
|
74
|
+
### 3. Story Quality Validation
|
|
75
|
+
|
|
76
|
+
**Each story must:**
|
|
77
|
+
|
|
78
|
+
- Be completable by a single dev agent
|
|
79
|
+
- Have clear acceptance criteria
|
|
80
|
+
- Reference specific FRs it implements
|
|
81
|
+
- Include necessary technical details
|
|
82
|
+
- **Not have forward dependencies** (can only depend on PREVIOUS stories)
|
|
83
|
+
- Be implementable without waiting for future stories
|
|
84
|
+
|
|
85
|
+
### 4. Epic Structure Validation
|
|
86
|
+
|
|
87
|
+
**Check that:**
|
|
88
|
+
|
|
89
|
+
- Epics deliver user value, not technical milestones
|
|
90
|
+
- Dependencies flow naturally
|
|
91
|
+
- Foundation stories only setup what's needed
|
|
92
|
+
- No big upfront technical work
|
|
93
|
+
- **File Churn Check:** Do multiple epics repeatedly modify the same core files?
|
|
94
|
+
- Assess whether the overlap pattern suggests unnecessary churn or is incidental
|
|
95
|
+
- If overlap is significant: Validate that splitting provides genuine value (risk mitigation, feedback loops, context size limits)
|
|
96
|
+
- If no justification for the split: Recommend consolidation into fewer epics
|
|
97
|
+
- ❌ WRONG: Multiple epics each modify the same core files with no feedback loop between them
|
|
98
|
+
- ✅ RIGHT: Epics target distinct files/components, OR consolidation was explicitly considered and rejected with rationale
|
|
99
|
+
|
|
100
|
+
### 5. Dependency Validation (CRITICAL)
|
|
101
|
+
|
|
102
|
+
**Epic Independence Check:**
|
|
103
|
+
|
|
104
|
+
- Does each epic deliver COMPLETE functionality for its domain?
|
|
105
|
+
- Can Epic 2 function without Epic 3 being implemented?
|
|
106
|
+
- Can Epic 3 function standalone using Epic 1 & 2 outputs?
|
|
107
|
+
- ❌ WRONG: Epic 2 requires Epic 3 features to work
|
|
108
|
+
- ✅ RIGHT: Each epic is independently valuable
|
|
109
|
+
|
|
110
|
+
**Within-Epic Story Dependency Check:**
|
|
111
|
+
For each epic, review stories in order:
|
|
112
|
+
|
|
113
|
+
- Can Story N.1 be completed without Stories N.2, N.3, etc.?
|
|
114
|
+
- Can Story N.2 be completed using only Story N.1 output?
|
|
115
|
+
- Can Story N.3 be completed using only Stories N.1 & N.2 outputs?
|
|
116
|
+
- ❌ WRONG: "This story depends on a future story"
|
|
117
|
+
- ❌ WRONG: Story references features not yet implemented
|
|
118
|
+
- ✅ RIGHT: Each story builds only on previous stories
|
|
119
|
+
|
|
120
|
+
### 6. Complete and Save
|
|
121
|
+
|
|
122
|
+
If all validations pass:
|
|
123
|
+
|
|
124
|
+
- Update any remaining placeholders in the document
|
|
125
|
+
- Ensure proper formatting
|
|
126
|
+
- Save the final epics.md
|
|
127
|
+
|
|
128
|
+
**Present Final Menu:**
|
|
129
|
+
**All validations complete!** [C] Complete Workflow
|
|
130
|
+
|
|
131
|
+
HALT — wait for user input before proceeding.
|
|
132
|
+
|
|
133
|
+
When C is selected, the workflow is complete and the epics.md is ready for development.
|
|
134
|
+
|
|
135
|
+
Epics and Stories complete. Invoke the `drt-help` skill.
|
|
136
|
+
|
|
137
|
+
Upon Completion of task output: offer to answer any questions about the Epics and Stories.
|
|
138
|
+
|
|
139
|
+
## On Complete
|
|
140
|
+
|
|
141
|
+
Run: `node {project-root}/_drt/scripts/resolve-customization.js --skill {skill-root} --key workflow.on_complete`
|
|
142
|
+
|
|
143
|
+
If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
stepsCompleted: []
|
|
3
|
+
inputDocuments: []
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# {{project_name}} - Epic Breakdown
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
This document provides the complete epic and story breakdown for {{project_name}}, decomposing the requirements from the PRD, UX Design if it exists, and Architecture requirements into implementable stories.
|
|
11
|
+
|
|
12
|
+
## Requirements Inventory
|
|
13
|
+
|
|
14
|
+
### Functional Requirements
|
|
15
|
+
|
|
16
|
+
{{fr_list}}
|
|
17
|
+
|
|
18
|
+
### NonFunctional Requirements
|
|
19
|
+
|
|
20
|
+
{{nfr_list}}
|
|
21
|
+
|
|
22
|
+
### Additional Requirements
|
|
23
|
+
|
|
24
|
+
{{additional_requirements}}
|
|
25
|
+
|
|
26
|
+
### UX Design Requirements
|
|
27
|
+
|
|
28
|
+
{{ux_design_requirements}}
|
|
29
|
+
|
|
30
|
+
### FR Coverage Map
|
|
31
|
+
|
|
32
|
+
{{requirements_coverage_map}}
|
|
33
|
+
|
|
34
|
+
## Epic List
|
|
35
|
+
|
|
36
|
+
{{epics_list}}
|
|
37
|
+
|
|
38
|
+
<!-- Repeat for each epic in epics_list (N = 1, 2, 3...) -->
|
|
39
|
+
|
|
40
|
+
## Epic {{N}}: {{epic_title_N}}
|
|
41
|
+
|
|
42
|
+
{{epic_goal_N}}
|
|
43
|
+
|
|
44
|
+
<!-- Repeat for each story (M = 1, 2, 3...) within epic N -->
|
|
45
|
+
|
|
46
|
+
### Story {{N}}.{{M}}: {{story_title_N_M}}
|
|
47
|
+
|
|
48
|
+
As a {{user_type}},
|
|
49
|
+
I want {{capability}},
|
|
50
|
+
So that {{value_benefit}}.
|
|
51
|
+
|
|
52
|
+
**Acceptance Criteria:**
|
|
53
|
+
|
|
54
|
+
<!-- for each AC on this story -->
|
|
55
|
+
|
|
56
|
+
**Given** {{precondition}}
|
|
57
|
+
**When** {{action}}
|
|
58
|
+
**Then** {{expected_outcome}}
|
|
59
|
+
**And** {{additional_criteria}}
|
|
60
|
+
|
|
61
|
+
<!-- End story repeat -->
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: drt-generate-project-context
|
|
3
|
+
description: 'Create project-context.md with AI rules. Use when the user says "generate project context" or "create project context"'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Generate Project Context Workflow
|
|
7
|
+
|
|
8
|
+
**Goal:** Create a concise, optimized `project-context.md` file containing critical rules, patterns, and guidelines that AI agents must follow when implementing code. This file focuses on unobvious details that LLMs need to be reminded of.
|
|
9
|
+
|
|
10
|
+
**Your Role:** You are a technical facilitator working with a peer to capture the essential implementation rules that will ensure consistent, high-quality code generation across all AI agents working on the project.
|
|
11
|
+
|
|
12
|
+
## Conventions
|
|
13
|
+
|
|
14
|
+
- Bare paths (e.g. `steps/step-01-discover.md`) resolve from the skill root.
|
|
15
|
+
- `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).
|
|
16
|
+
- `{project-root}`-prefixed paths resolve from the project working directory.
|
|
17
|
+
- `{skill-name}` resolves to the skill directory's basename.
|
|
18
|
+
|
|
19
|
+
## WORKFLOW ARCHITECTURE
|
|
20
|
+
|
|
21
|
+
This uses **micro-file architecture** for disciplined execution:
|
|
22
|
+
|
|
23
|
+
- Each step is a self-contained file with embedded rules
|
|
24
|
+
- Sequential progression with user control at each step
|
|
25
|
+
- Document state tracked in frontmatter
|
|
26
|
+
- Focus on lean, LLM-optimized content generation
|
|
27
|
+
- You NEVER proceed to a step file if the current step file indicates the user must approve and indicate continuation.
|
|
28
|
+
|
|
29
|
+
## On Activation
|
|
30
|
+
|
|
31
|
+
### Step 1: Resolve the Workflow Block
|
|
32
|
+
|
|
33
|
+
Run: `node {project-root}/_drt/scripts/resolve-customization.js --skill {skill-root} --key workflow`
|
|
34
|
+
|
|
35
|
+
**If the script fails**, resolve the `workflow` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:
|
|
36
|
+
|
|
37
|
+
1. `{skill-root}/customize.toml` — defaults
|
|
38
|
+
2. `{project-root}/_drt/custom/{skill-name}.toml` — team overrides
|
|
39
|
+
3. `{project-root}/_drt/custom/{skill-name}.user.toml` — personal overrides
|
|
40
|
+
|
|
41
|
+
Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
|
|
42
|
+
|
|
43
|
+
### Step 2: Execute Prepend Steps
|
|
44
|
+
|
|
45
|
+
Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
|
|
46
|
+
|
|
47
|
+
### Step 3: Load Persistent Facts
|
|
48
|
+
|
|
49
|
+
Treat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs under `{project-root}` — load the referenced contents as facts. All other entries are facts verbatim.
|
|
50
|
+
|
|
51
|
+
### Step 4: Load Config
|
|
52
|
+
|
|
53
|
+
Load config from `{project-root}/_drt/drt/config.yaml` and resolve:
|
|
54
|
+
- Use `{user_name}` for greeting
|
|
55
|
+
- Use `{communication_language}` for all communications
|
|
56
|
+
- Use `{document_output_language}` for output documents
|
|
57
|
+
- Use `{planning_artifacts}` for output location and artifact scanning
|
|
58
|
+
- Use `{project_knowledge}` for additional context scanning
|
|
59
|
+
|
|
60
|
+
### Step 5: Greet the User
|
|
61
|
+
|
|
62
|
+
Greet `{user_name}`, speaking in `{communication_language}`.
|
|
63
|
+
|
|
64
|
+
### Step 6: Execute Append Steps
|
|
65
|
+
|
|
66
|
+
Execute each entry in `{workflow.activation_steps_append}` in order.
|
|
67
|
+
|
|
68
|
+
Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
|
|
69
|
+
|
|
70
|
+
## Paths
|
|
71
|
+
|
|
72
|
+
- `output_file` = `{output_folder}/project-context.md`
|
|
73
|
+
|
|
74
|
+
## Execution
|
|
75
|
+
|
|
76
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
77
|
+
- ✅ YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_language}`
|
|
78
|
+
|
|
79
|
+
Load and execute `./steps/step-01-discover.md` to begin the workflow.
|
|
80
|
+
|
|
81
|
+
**Note:** Input document discovery and initialization protocols are handled in step-01-discover.md.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# Workflow customization surface for drt-generate-project-context. Mirrors the
|
|
4
|
+
# agent customization shape under the [workflow] namespace.
|
|
5
|
+
|
|
6
|
+
[workflow]
|
|
7
|
+
|
|
8
|
+
# --- Configurable below. Overrides merge per DRT structural rules: ---
|
|
9
|
+
# scalars: override wins • arrays (persistent_facts, activation_steps_*): append
|
|
10
|
+
# arrays-of-tables with `code`/`id`: replace matching items, append new ones.
|
|
11
|
+
|
|
12
|
+
# Steps to run before the standard activation (config load, greet).
|
|
13
|
+
# Overrides append. Use for pre-flight loads, compliance checks, etc.
|
|
14
|
+
|
|
15
|
+
activation_steps_prepend = []
|
|
16
|
+
|
|
17
|
+
# Steps to run after greet but before the workflow begins.
|
|
18
|
+
# Overrides append. Use for context-heavy setup that should happen
|
|
19
|
+
# once the user has been acknowledged.
|
|
20
|
+
|
|
21
|
+
activation_steps_append = []
|
|
22
|
+
|
|
23
|
+
# Persistent facts the workflow keeps in mind for the whole run
|
|
24
|
+
# (standards, compliance constraints, stylistic guardrails).
|
|
25
|
+
# Distinct from the runtime memory sidecar — these are static context
|
|
26
|
+
# loaded on activation. Overrides append.
|
|
27
|
+
#
|
|
28
|
+
# Each entry is either:
|
|
29
|
+
# - a literal sentence, e.g. "All artifacts must follow org naming conventions."
|
|
30
|
+
# - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
|
|
31
|
+
# (glob patterns are supported; the file's contents are loaded and treated as facts).
|
|
32
|
+
|
|
33
|
+
persistent_facts = [
|
|
34
|
+
"file:{project-root}/**/project-context.md",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
# Scalar: executed when the workflow reaches Step 3 (Context Completion & Finalization),
|
|
38
|
+
# after the project-context.md file is optimized and saved. Override wins.
|
|
39
|
+
# Leave empty for no custom post-completion behavior.
|
|
40
|
+
|
|
41
|
+
on_complete = ""
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
project_name: '{{project_name}}'
|
|
3
|
+
user_name: '{{user_name}}'
|
|
4
|
+
date: '{{date}}'
|
|
5
|
+
sections_completed: ['technology_stack']
|
|
6
|
+
existing_patterns_found: { { number_of_patterns_discovered } }
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Project Context for AI Agents
|
|
10
|
+
|
|
11
|
+
_This file contains critical rules and patterns that AI agents must follow when implementing code in this project. Focus on unobvious details that agents might otherwise miss._
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Technology Stack & Versions
|
|
16
|
+
|
|
17
|
+
_Documented after discovery phase_
|
|
18
|
+
|
|
19
|
+
## Critical Implementation Rules
|
|
20
|
+
|
|
21
|
+
_Documented after discovery phase_
|