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/AGENTS.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# DRT-METHOD
|
|
2
|
+
|
|
3
|
+
Standalone fork of an AI-assisted delivery framework. Install from this repo — not the DRT ecosystem.
|
|
4
|
+
|
|
5
|
+
User guide: [README.md](README.md). Architecture: [ARCHITECTURE.md](ARCHITECTURE.md).
|
|
6
|
+
|
|
7
|
+
## Layout
|
|
8
|
+
|
|
9
|
+
| Path | Role |
|
|
10
|
+
|------|------|
|
|
11
|
+
| `src/drt-skills/` | Main workflow across 4 phases (analysis → planning → solutioning → implementation) |
|
|
12
|
+
| `src/core-skills/` | Shared skills (`drt-help`, `drt-customize`, `drt-party-mode`, …) |
|
|
13
|
+
| `src/scripts/` | Python runtime — copied to `_drt/scripts/` on install |
|
|
14
|
+
| `tools/installer/` | CLI entry: `drt` / `drt-cli.js` |
|
|
15
|
+
| `removals.txt` | Legacy skill IDs to remove on upgrade |
|
|
16
|
+
| `drt-modules.yaml` | External module registry (currently empty) |
|
|
17
|
+
|
|
18
|
+
After install in a project: `.agents/skills/` (Cursor), `_drt/` (config + scripts).
|
|
19
|
+
|
|
20
|
+
## Conventions
|
|
21
|
+
|
|
22
|
+
- Skill prefix: `drt-*`
|
|
23
|
+
- Install folder in target project: `_drt/`
|
|
24
|
+
- Module code: `drt`
|
|
25
|
+
- **Do not change workflow step logic** unless the user explicitly asks
|
|
26
|
+
- Keep agent personas: DRT001, DRT002, DRT003, DRT004, DRT005, DRT006
|
|
27
|
+
- Commits: Conventional Commits — only commit when the user requests it
|
|
28
|
+
|
|
29
|
+
## Editing code
|
|
30
|
+
|
|
31
|
+
- Minimal diffs; match existing conventions
|
|
32
|
+
- No comments in code
|
|
33
|
+
- Do not add new `.md` files unless the user asks
|
|
34
|
+
- After installer or skill changes, smoke-test install:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
node tools/installer/drt-cli.js install --directory /tmp/drt-test --modules drt --tools cursor --yes
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Quick install
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm ci
|
|
44
|
+
node tools/installer/drt-cli.js install --directory <project> --modules drt --tools cursor --yes
|
|
45
|
+
```
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
# DRT Method — Getting Started
|
|
2
|
+
|
|
3
|
+
This project has **DRT Method** installed — a system of AI agents and workflows that takes a product idea from analysis → planning → design → code in a structured way.
|
|
4
|
+
|
|
5
|
+
You use DRT directly in **Cursor chat**: describe what you want in natural language, or invoke a skill with `@drt-<skill-name>`. Agents show a menu of workflow codes when you talk to them.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Where to Start
|
|
10
|
+
|
|
11
|
+
### Step 0 — Not sure what to do next?
|
|
12
|
+
|
|
13
|
+
Type in Cursor chat:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
drt help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Or invoke `@drt-help`, or describe your situation:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
drt help — I want to build a camera monitoring dashboard, where do I start?
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
`drt-help` will:
|
|
26
|
+
|
|
27
|
+
- Read artifacts already in `_drt-output/`
|
|
28
|
+
- Determine which phase you are in
|
|
29
|
+
- Recommend the next step (required or optional)
|
|
30
|
+
|
|
31
|
+
This is the safest starting point for newcomers.
|
|
32
|
+
|
|
33
|
+
### Step 1 — Pick your path
|
|
34
|
+
|
|
35
|
+
| Situation | Start with |
|
|
36
|
+
|-----------|------------|
|
|
37
|
+
| Idea still fuzzy | `drt help` → Phase 1 (analysis) |
|
|
38
|
+
| You know exactly what to build | Talk to **DRT003** (PM) → create a PRD |
|
|
39
|
+
| Project already has code | `generate project context` → then `drt help` |
|
|
40
|
+
| Small bug fix or feature | `quick dev` or **IT** (Implement Task) |
|
|
41
|
+
| Ready to code with gates | `@drt-implement-task` or menu code **IT** |
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## The 4 DRT Method Phases
|
|
46
|
+
|
|
47
|
+
DRT splits the process into 4 phases. Each phase produces **artifacts** (documents) that feed the next phase.
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
Idea → [1. Analysis] → [2. Planning] → [3. Solutioning] → [4. Implementation] → Code
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Phase 1 — Analysis (optional)
|
|
54
|
+
|
|
55
|
+
**Goal:** Clarify the problem before committing to build.
|
|
56
|
+
|
|
57
|
+
| Chat / skill | Output |
|
|
58
|
+
|--------------|--------|
|
|
59
|
+
| `@drt-brainstorming` / `brainstorm project` | Ideas, directions |
|
|
60
|
+
| `@drt-market-research` / `market research` | Market analysis |
|
|
61
|
+
| `@drt-domain-research` / `domain research` | Deep industry understanding |
|
|
62
|
+
| `@drt-technical-research` / `technical research` | Technical feasibility |
|
|
63
|
+
| `@drt-product-brief` / `create brief` | Short product brief |
|
|
64
|
+
| `@drt-prfaq` / `PRFAQ challenge` | Stress-test the idea (Amazon-style) |
|
|
65
|
+
|
|
66
|
+
**Suggested agent:** **DRT001** (Business Analyst)
|
|
67
|
+
|
|
68
|
+
**When to skip:** You are already certain about what to build.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
### Phase 2 — Planning
|
|
73
|
+
|
|
74
|
+
**Goal:** Answer *what to build, for whom, and why* — no code yet.
|
|
75
|
+
|
|
76
|
+
| Chat / skill | Output | Required? |
|
|
77
|
+
|--------------|--------|-----------|
|
|
78
|
+
| `@drt-prd` / `create PRD` | PRD document | Yes |
|
|
79
|
+
| `@drt-ux` / `create UX` | UX spec, wireframes | Recommended if UI-heavy |
|
|
80
|
+
|
|
81
|
+
**Suggested agents:** **DRT003** (Product Manager), **DRT004** (UX Designer)
|
|
82
|
+
|
|
83
|
+
**Saved to:** `_drt-output/planning-artifacts/`
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
### Phase 3 — Solutioning
|
|
88
|
+
|
|
89
|
+
**Goal:** Move from **WHAT** (what to build) to **HOW** (how to build it).
|
|
90
|
+
|
|
91
|
+
| Chat / skill | Output | Required? |
|
|
92
|
+
|--------------|--------|-----------|
|
|
93
|
+
| `@drt-architecture` / `create architecture` | Architecture spine | Yes |
|
|
94
|
+
| `@drt-create-epics-and-stories` | Epics + user stories | Yes |
|
|
95
|
+
| `@drt-check-implementation-readiness` | Alignment report | Yes |
|
|
96
|
+
|
|
97
|
+
**Suggested agents:** **DRT005** (Architect), **DRT003** (PM)
|
|
98
|
+
|
|
99
|
+
**Saved to:** `_drt-output/planning-artifacts/`
|
|
100
|
+
|
|
101
|
+
**Implementation Readiness** should pass before you start coding at scale.
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
### Phase 4 — Implementation
|
|
106
|
+
|
|
107
|
+
**Goal:** Code story by story, review, repeat.
|
|
108
|
+
|
|
109
|
+
**Kickoff:**
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
run sprint planning
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**Story cycle:**
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
Create Story → Validate Story → Dev Story → Code Review
|
|
119
|
+
↑ |
|
|
120
|
+
└── fixes ───┘
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
| Chat / skill | What it does |
|
|
124
|
+
|--------------|--------------|
|
|
125
|
+
| `create the next story` (**CS**) | Prepare full context for a story |
|
|
126
|
+
| `dev this story` (**DS**) | DRT006 implements code + tests |
|
|
127
|
+
| `run code review` (**CR**) | Quality review |
|
|
128
|
+
| `check sprint status` (**SS**) | Sprint progress |
|
|
129
|
+
| `run a retrospective` (**ER**) | Lessons learned (end of epic) |
|
|
130
|
+
|
|
131
|
+
**Coding shortcuts:**
|
|
132
|
+
|
|
133
|
+
| Skill | Code | When |
|
|
134
|
+
|-------|------|------|
|
|
135
|
+
| `drt-implement-task` | **IT** | Full flow: plan → approve → implement → QC → review |
|
|
136
|
+
| `drt-quick-dev` | **QQ** | Fast path or resume a quick-dev spec |
|
|
137
|
+
| `drt-dev-story` | **DS** | Story file already in sprint plan |
|
|
138
|
+
|
|
139
|
+
**Suggested agent:** **DRT006** (Senior Developer)
|
|
140
|
+
|
|
141
|
+
**Saved to:** `_drt-output/implementation-artifacts/`
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Specialized Agents
|
|
146
|
+
|
|
147
|
+
Invoke an agent by ID or role in chat:
|
|
148
|
+
|
|
149
|
+
| Agent | Invoke | Specialty |
|
|
150
|
+
|-------|--------|-----------|
|
|
151
|
+
| DRT001 | `hey DRT001`, `business analyst` | Research, analysis, brief |
|
|
152
|
+
| DRT002 | `hey DRT002`, `tech writer` | Technical documentation |
|
|
153
|
+
| DRT003 | `hey DRT003`, `product manager` | PRD, epics, stories |
|
|
154
|
+
| DRT004 | `hey DRT004`, `UX designer` | UX/UI design |
|
|
155
|
+
| DRT005 | `hey DRT005`, `architect` | System architecture |
|
|
156
|
+
| DRT006 | `hey DRT006`, `developer` | Code, implementation |
|
|
157
|
+
|
|
158
|
+
Each agent greets you, shows a **menu** of workflow codes, and dispatches the matching skill when you choose.
|
|
159
|
+
|
|
160
|
+
**Multiple agents at once:**
|
|
161
|
+
|
|
162
|
+
```
|
|
163
|
+
party mode — [question that needs multiple perspectives]
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## Two Ways to Work
|
|
169
|
+
|
|
170
|
+
### Option 1 — Through an agent (guided)
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
hey DRT003 → choose PRD → DRT003 walks you through each step
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Best when you are new or unfamiliar with the workflows.
|
|
177
|
+
|
|
178
|
+
### Option 2 — Direct workflow (fast)
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
@drt-prd
|
|
182
|
+
@drt-architecture
|
|
183
|
+
dev this story
|
|
184
|
+
quick dev
|
|
185
|
+
@drt-implement-task
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
Best when you already know what you need.
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## Shortcuts
|
|
193
|
+
|
|
194
|
+
| Situation | Command |
|
|
195
|
+
|-----------|---------|
|
|
196
|
+
| Unsure of next step | `drt help` / `@drt-help` |
|
|
197
|
+
| Brownfield project (existing code) | `generate project context` / **GPC** |
|
|
198
|
+
| Small feature, skip full flow | `quick dev` / **QQ** |
|
|
199
|
+
| Full coding task with review gates | **IT** / `@drt-implement-task` |
|
|
200
|
+
| Major scope change mid-sprint | `correct course` / **CC** |
|
|
201
|
+
| Customize agent or workflow | `customize drt` / `@drt-customize` |
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## Example: camera-monitoring-dashboard
|
|
206
|
+
|
|
207
|
+
### Full path (greenfield)
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
1. drt help
|
|
211
|
+
2. hey DRT003 → PRD for GIS camera monitoring dashboard
|
|
212
|
+
3. hey DRT004 → UX design
|
|
213
|
+
4. hey DRT005 → architecture
|
|
214
|
+
5. hey DRT003 → epics and stories
|
|
215
|
+
6. check implementation readiness
|
|
216
|
+
7. run sprint planning
|
|
217
|
+
8. hey DRT006 → dev story 1, 2, 3...
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Fast path (clear idea already)
|
|
221
|
+
|
|
222
|
+
```
|
|
223
|
+
hey DRT003, create a PRD for the camera monitoring dashboard
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
After the PRD, type `drt help` for the next step.
|
|
227
|
+
|
|
228
|
+
### Express path (small feature)
|
|
229
|
+
|
|
230
|
+
```
|
|
231
|
+
quick dev — add a filter for offline camera status
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Or with full gates:
|
|
235
|
+
|
|
236
|
+
```
|
|
237
|
+
@drt-implement-task — add offline camera filter to the dashboard
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## Important Tips
|
|
243
|
+
|
|
244
|
+
1. **Open a new chat for each major workflow** — cleaner context, better results.
|
|
245
|
+
2. **`drt help` is your best friend** — use it whenever you are unsure what comes next.
|
|
246
|
+
3. **Artifacts are the source of truth** — PRD, architecture, and story files in `_drt-output/` drive what agents build.
|
|
247
|
+
4. **You do not need to memorize everything** — agents have menus; `_drt/_config/drt-help.csv` defines workflow order and phases.
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## Reference
|
|
252
|
+
|
|
253
|
+
| Topic | Where |
|
|
254
|
+
|-------|--------|
|
|
255
|
+
| Install & update | [README.md](README.md) in the DRT Method repo |
|
|
256
|
+
| Workflow catalog | `_drt/_config/drt-help.csv` |
|
|
257
|
+
| Customize overrides | `_drt/custom/` and `@drt-customize` |
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## Newcomer Checklist
|
|
262
|
+
|
|
263
|
+
- [ ] Run `drt help` and describe your project goal
|
|
264
|
+
- [ ] Choose a path: full flow, quick dev (**QQ**), or implement task (**IT**)
|
|
265
|
+
- [ ] Complete the PRD (Phase 2 — required)
|
|
266
|
+
- [ ] Complete Architecture + Epics (Phase 3 — required)
|
|
267
|
+
- [ ] Pass Implementation Readiness
|
|
268
|
+
- [ ] Sprint planning → dev the first story
|
|
269
|
+
- [ ] When lost: run `drt help` again
|
package/README.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
# DRT Method
|
|
2
|
+
|
|
3
|
+
Traditional AI tools do the thinking for you, producing average results. DRT agents and facilitated workflows act as expert collaborators who guide you through a structured process to bring out your best thinking in partnership with the AI.
|
|
4
|
+
|
|
5
|
+
## Why DRT
|
|
6
|
+
|
|
7
|
+
- **AI Intelligent Help** — Invoke `drt-help` anytime for guidance on what's next. It reads your phase, artifacts on disk, and the skill catalog to recommend the right step.
|
|
8
|
+
- **Scale-Adaptive Delivery** — Fast path for small changes (`drt-quick-dev`), coaching path for full PRDs, optional UX when UI matters, rigor that scales from hobby builds to launch-ready products.
|
|
9
|
+
- **Structured Workflows** — Agile best practices across four phases. Each workflow runs step-by-step with HALT points so you stay in control.
|
|
10
|
+
- **Specialized Agents** — Six domain experts (DRT001–DRT006): Analyst, Tech Writer, PM, UX, Architect, Developer. Each has a menu that dispatches to the right workflow.
|
|
11
|
+
- **Party Mode** — Bring multiple agent personas into one session to collaborate, debate, and stress-test ideas.
|
|
12
|
+
- **Adversarial Code Review** — Multi-layer review with structured triage, patch handling, and sprint status sync.
|
|
13
|
+
- **Complete Lifecycle** — Brainstorming → brief → PRD → architecture → epics → sprint → dev → review → retrospective.
|
|
14
|
+
- **Project-Local Customization** — Override personas, menus, and paths in `_drt/custom/` without forking the framework.
|
|
15
|
+
|
|
16
|
+
## Install
|
|
17
|
+
|
|
18
|
+
**Requires:** [Node.js](https://nodejs.org) 20.12+
|
|
19
|
+
|
|
20
|
+
Once `drt-method` is published to npm, open a terminal in your project folder and run:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx drt-method install
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
`npx` downloads the installer, runs setup, and exits — no global install needed. The installer copies skills into the matching folder for each selected tool/IDE (for example `.claude/skills/` for Claude Code, `.agents/skills/` for Cursor or GitHub Copilot) and creates `_drt/` (config, scripts, manifest).
|
|
27
|
+
|
|
28
|
+
> **Package not on npm yet?** Use [Install from GitHub](#install-from-github-before-drt-method-is-on-npm) below.
|
|
29
|
+
|
|
30
|
+
After install, open the project in your AI IDE and invoke **`drt-help`** to see what to do next.
|
|
31
|
+
|
|
32
|
+
**New to DRT?** Read [GETTING-STARTED.md](GETTING-STARTED.md) for phases, agents, chat commands, and examples.
|
|
33
|
+
|
|
34
|
+
### Non-interactive (CI / scripted)
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npx drt-method install --directory /path/to/your-project --modules drt --tools claude-code|cursor|github-copilot --yes
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Use `--tools` with one or more supported IDs such as `claude-code`, `cursor`, `github-copilot`, `codex`, `windsurf`, or `cline`. The installer accepts a comma-separated list, so you can target multiple IDEs or agent tools in one run. Run `npx drt-method install --list-tools` to see all supported IDs.
|
|
41
|
+
|
|
42
|
+
Override module config (repeatable):
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npx drt-method install --yes --modules drt --tools claude-code|cursor|github-copilot --set drt.project_knowledge=docs
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Update an existing install
|
|
49
|
+
|
|
50
|
+
From the project that already has `_drt/`:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npx drt-method install
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Choose update when prompted, or use `--action quick-update` to refresh skills while keeping your config.
|
|
57
|
+
|
|
58
|
+
### Prerelease channel
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
npx drt-method@next install
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Install from GitHub (before `drt-method` is on npm)
|
|
65
|
+
|
|
66
|
+
Use one of these until `npx drt-method install` works from the npm registry.
|
|
67
|
+
|
|
68
|
+
**Option A — `npx` from GitHub** (no clone, one command):
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npx --yes github:<your-org>/drt-method install --directory . --modules drt --tools claude-code|cursor|github-copilot --yes
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Or with a full git URL:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
npx --yes git+https://github.com/<your-org>/drt-method.git install --directory . --modules drt --tools claude-code|cursor|github-copilot --yes
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Option B — helper scripts** (clone + install in one step):
|
|
81
|
+
|
|
82
|
+
Requires [Git](https://git-scm.com). Clone this repo (or copy the scripts), then run from the repo root:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# macOS / Linux
|
|
86
|
+
./scripts/install-from-github.sh /path/to/your-project
|
|
87
|
+
|
|
88
|
+
# Windows (PowerShell)
|
|
89
|
+
.\scripts\install-from-github.ps1 C:\path\to\your-project
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Default repo is `https://github.com/your-org/drt-method.git`. Point at your fork:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# bash
|
|
96
|
+
DRT_REPO=https://github.com/<your-org>/drt-method.git ./scripts/install-from-github.sh .
|
|
97
|
+
|
|
98
|
+
# PowerShell
|
|
99
|
+
$env:DRT_REPO = "https://github.com/<your-org>/drt-method.git"
|
|
100
|
+
.\scripts\install-from-github.ps1 .
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
The script clones DRT into a temp folder, runs `npm ci`, installs into your project, then deletes the temp folder.
|
|
104
|
+
|
|
105
|
+
**Option C — manual clone** (contributors or full control):
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
git clone https://github.com/<your-org>/drt-method.git
|
|
109
|
+
cd drt-method && npm ci
|
|
110
|
+
node tools/installer/drt-cli.js install --directory /path/to/your-project --modules drt --tools claude-code|cursor|github-copilot --yes
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Or link locally after clone: `npm link` in the repo, then `npx drt-method install` from your target project.
|
|
114
|
+
|
|
115
|
+
### Contributors (working on this repo)
|
|
116
|
+
|
|
117
|
+
Same as **Option C** above. Run `npm ci && npm run quality` before pushing changes to this repository.
|
|
118
|
+
|
|
119
|
+
## Publish to npm (maintainers)
|
|
120
|
+
|
|
121
|
+
The package name is **`drt-method`** (`package.json` → `bin.drt` / `bin.drt-method`). Users install with `npx drt-method install` after it is on the registry.
|
|
122
|
+
|
|
123
|
+
### One-time setup
|
|
124
|
+
|
|
125
|
+
1. Create an [npm](https://www.npmjs.com/signup) account.
|
|
126
|
+
2. Log in locally:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
npm login
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
3. Confirm the name is free (or use a scoped name like `@your-org/drt-method` and set `"publishConfig": { "access": "public" }`):
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
npm view drt-method version
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
4. Update `repository.url` in `package.json` to your real GitHub URL before the first publish.
|
|
139
|
+
|
|
140
|
+
### Dry run (check tarball contents)
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
npm ci
|
|
144
|
+
npm pack --dry-run
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
The tarball must include `tools/installer/`, `src/core-skills/`, `src/drt-skills/`, and `src/scripts/`. `.npmignore` excludes dev-only paths (tests, docs site, etc.).
|
|
148
|
+
|
|
149
|
+
### Publish manually
|
|
150
|
+
|
|
151
|
+
1. Bump `version` in `package.json` (semver).
|
|
152
|
+
2. From a clean checkout:
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
npm ci
|
|
156
|
+
npm publish --access public
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
First stable release uses the default `latest` tag. Prereleases (e.g. `6.11.0-next.0`) can be published with:
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
npm publish --tag next
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Users then run `npx drt-method@next install`.
|
|
166
|
+
|
|
167
|
+
### Publish via GitHub Actions (optional)
|
|
168
|
+
|
|
169
|
+
Add repo secret **`NPM_TOKEN`** (npm → Access Tokens → **Automation** or **Publish**).
|
|
170
|
+
|
|
171
|
+
On tag push or release, a workflow can run:
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
npm ci
|
|
175
|
+
npm publish --provenance --access public
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Use `--tag next` for prerelease builds and `--tag latest` for stable. After publish, verify:
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
npm view drt-method version
|
|
182
|
+
npx drt-method@latest install --help
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### After publish
|
|
186
|
+
|
|
187
|
+
Update this README if the GitHub org or default `--modules` / `--tools` change. Users only need:
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
npx drt-method install
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
## How it works
|
|
194
|
+
|
|
195
|
+
The installer copies skills into `.agents/skills/` (Cursor) and creates `_drt/` (config, scripts, manifest).
|
|
196
|
+
|
|
197
|
+
Invoke **`drt-help`** to see your current phase and the recommended next skill.
|
|
198
|
+
|
|
199
|
+
### Four phases
|
|
200
|
+
|
|
201
|
+
| Phase | Goal | Example skills |
|
|
202
|
+
|-------|------|----------------|
|
|
203
|
+
| 1 — Analysis | Ideas, research, brief | `drt-brainstorming`, `drt-product-brief`, `drt-prfaq` |
|
|
204
|
+
| 2 — Planning | PRD, UX | `drt-prd`, `drt-ux` |
|
|
205
|
+
| 3 — Solutioning | Architecture, epics, readiness | `drt-architecture`, `drt-create-epics-and-stories` |
|
|
206
|
+
| 4 — Implementation | Sprint, dev, review | `drt-implement-task`, `drt-sprint-planning`, `drt-dev-story`, `drt-code-review` |
|
|
207
|
+
|
|
208
|
+
Full path: Analysis → PRD → (UX if UI-heavy) → Architecture → Epics/Stories → Sprint → Dev/Review.
|
|
209
|
+
|
|
210
|
+
### Coding entry points
|
|
211
|
+
|
|
212
|
+
| Skill | Code | When to use |
|
|
213
|
+
|-------|------|-------------|
|
|
214
|
+
| `drt-implement-task` | IT | Full flow: intent → plan (approve) → confirm libs → implement → QC → review → fix loop |
|
|
215
|
+
| `drt-quick-dev` | QQ | Shortcut or resume an existing quick-dev spec |
|
|
216
|
+
| `drt-dev-story` | DS | Story file already prepared in sprint plan |
|
|
217
|
+
|
|
218
|
+
Invoke `@drt-implement-task` or talk to DRT006 and choose **IT**.
|
|
219
|
+
|
|
220
|
+
### Agents
|
|
221
|
+
|
|
222
|
+
| Name | Role |
|
|
223
|
+
|------|------|
|
|
224
|
+
| DRT001 | Business Analyst |
|
|
225
|
+
| DRT002 | Technical Writer |
|
|
226
|
+
| DRT003 | Product Manager |
|
|
227
|
+
| DRT004 | UX Designer |
|
|
228
|
+
| DRT005 | System Architect |
|
|
229
|
+
| DRT006 | Senior Developer |
|
|
230
|
+
|
|
231
|
+
### Customize
|
|
232
|
+
|
|
233
|
+
Overrides live in `_drt/custom/`. Use the `drt-customize` skill to author them.
|
|
Binary file
|
package/drt-modules.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
modules: {}
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
+
"name": "drt-method",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "DRT Method — structured AI-assisted agile development",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"agile",
|
|
8
|
+
"ai",
|
|
9
|
+
"orchestrator",
|
|
10
|
+
"development",
|
|
11
|
+
"methodology",
|
|
12
|
+
"agents",
|
|
13
|
+
"drt"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/drt-method/DRT-METHOD.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"main": "tools/installer/drt-cli.js",
|
|
21
|
+
"bin": {
|
|
22
|
+
"drt": "tools/installer/drt-cli.js",
|
|
23
|
+
"drt-method": "tools/installer/drt-cli.js"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"drt:install": "node tools/installer/drt-cli.js install",
|
|
27
|
+
"drt:uninstall": "node tools/installer/drt-cli.js uninstall",
|
|
28
|
+
"install:drt": "node tools/installer/drt-cli.js install"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@clack/core": "^1.3.1",
|
|
32
|
+
"@clack/prompts": "^1.4.0",
|
|
33
|
+
"@kayvan/markdown-tree-parser": "^1.6.1",
|
|
34
|
+
"chalk": "^4.1.2",
|
|
35
|
+
"commander": "^14.0.0",
|
|
36
|
+
"csv-parse": "^6.1.0",
|
|
37
|
+
"glob": "^11.0.3",
|
|
38
|
+
"ignore": "^7.0.5",
|
|
39
|
+
"js-yaml": "^4.1.0",
|
|
40
|
+
"picocolors": "^1.1.1",
|
|
41
|
+
"semver": "^7.6.3",
|
|
42
|
+
"xml2js": "^0.6.2",
|
|
43
|
+
"yaml": "^2.7.0"
|
|
44
|
+
},
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=20.12.0"
|
|
47
|
+
},
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"access": "public"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
param(
|
|
2
|
+
[string]$Target = (Get-Location).Path,
|
|
3
|
+
[string]$Repo = $env:DRT_REPO
|
|
4
|
+
)
|
|
5
|
+
|
|
6
|
+
if (-not $Repo) {
|
|
7
|
+
$Repo = "https://github.com/your-org/drt-method.git"
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
$Tmp = Join-Path $env:TEMP ("drt-install-" + [guid]::NewGuid().ToString())
|
|
11
|
+
New-Item -ItemType Directory -Path $Tmp | Out-Null
|
|
12
|
+
|
|
13
|
+
try {
|
|
14
|
+
git clone --depth 1 $Repo (Join-Path $Tmp "drt-method")
|
|
15
|
+
Set-Location (Join-Path $Tmp "drt-method")
|
|
16
|
+
npm ci --omit=dev
|
|
17
|
+
node tools/installer/drt-cli.js install --directory $Target --modules drt --tools cursor --yes
|
|
18
|
+
Write-Host "DRT Method installed into $Target"
|
|
19
|
+
}
|
|
20
|
+
finally {
|
|
21
|
+
Remove-Item -Recurse -Force $Tmp -ErrorAction SilentlyContinue
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
REPO="${DRT_REPO:-https://github.com/your-org/drt-method.git}"
|
|
5
|
+
TARGET="${1:-.}"
|
|
6
|
+
TARGET="$(cd "$TARGET" && pwd)"
|
|
7
|
+
TMP="$(mktemp -d)"
|
|
8
|
+
|
|
9
|
+
cleanup() { rm -rf "$TMP"; }
|
|
10
|
+
trap cleanup EXIT
|
|
11
|
+
|
|
12
|
+
git clone --depth 1 "$REPO" "$TMP/drt-method"
|
|
13
|
+
cd "$TMP/drt-method"
|
|
14
|
+
npm ci --omit=dev
|
|
15
|
+
node tools/installer/drt-cli.js install --directory "$TARGET" --modules drt --tools cursor --yes
|
|
16
|
+
|
|
17
|
+
echo "DRT Method installed into $TARGET"
|