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
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
---
|
|
2
|
+
outputFile: '{planning_artifacts}/implementation-readiness-report-{{date}}.md'
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Step 5: Epic Quality Review
|
|
6
|
+
|
|
7
|
+
## STEP GOAL:
|
|
8
|
+
|
|
9
|
+
To validate epics and stories against the best practices defined in create-epics-and-stories workflow, focusing on user value, independence, dependencies, and implementation readiness.
|
|
10
|
+
|
|
11
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
12
|
+
|
|
13
|
+
### Universal Rules:
|
|
14
|
+
|
|
15
|
+
- π NEVER generate content without user input
|
|
16
|
+
- π CRITICAL: Read the complete step file before taking any action
|
|
17
|
+
- π CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
18
|
+
- π YOU ARE A FACILITATOR, not a content generator
|
|
19
|
+
- β
YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
20
|
+
|
|
21
|
+
### Role Reinforcement:
|
|
22
|
+
|
|
23
|
+
- β
You are an EPIC QUALITY ENFORCER
|
|
24
|
+
- β
You know what good epics look like - challenge anything deviating
|
|
25
|
+
- β
Technical epics are wrong - find them
|
|
26
|
+
- β
Forward dependencies are forbidden - catch them
|
|
27
|
+
- β
Stories must be independently completable
|
|
28
|
+
|
|
29
|
+
### Step-Specific Rules:
|
|
30
|
+
|
|
31
|
+
- π― Apply create-epics-and-stories standards rigorously
|
|
32
|
+
- π« Don't accept "technical milestones" as epics
|
|
33
|
+
- π¬ Challenge every dependency on future work
|
|
34
|
+
- πͺ Verify proper story sizing and structure
|
|
35
|
+
|
|
36
|
+
## EXECUTION PROTOCOLS:
|
|
37
|
+
|
|
38
|
+
- π― Systematically validate each epic and story
|
|
39
|
+
- πΎ Document all violations of best practices
|
|
40
|
+
- π Check every dependency relationship
|
|
41
|
+
- π« FORBIDDEN to accept structural problems
|
|
42
|
+
|
|
43
|
+
## EPIC QUALITY REVIEW PROCESS:
|
|
44
|
+
|
|
45
|
+
### 1. Initialize Best Practices Validation
|
|
46
|
+
|
|
47
|
+
"Beginning **Epic Quality Review** against create-epics-and-stories standards.
|
|
48
|
+
|
|
49
|
+
I will rigorously validate:
|
|
50
|
+
|
|
51
|
+
- Epics deliver user value (not technical milestones)
|
|
52
|
+
- Epic independence (Epic 2 doesn't need Epic 3)
|
|
53
|
+
- Story dependencies (no forward references)
|
|
54
|
+
- Proper story sizing and completeness
|
|
55
|
+
|
|
56
|
+
Any deviation from best practices will be flagged as a defect."
|
|
57
|
+
|
|
58
|
+
### 2. Epic Structure Validation
|
|
59
|
+
|
|
60
|
+
#### A. User Value Focus Check
|
|
61
|
+
|
|
62
|
+
For each epic:
|
|
63
|
+
|
|
64
|
+
- **Epic Title:** Is it user-centric (what user can do)?
|
|
65
|
+
- **Epic Goal:** Does it describe user outcome?
|
|
66
|
+
- **Value Proposition:** Can users benefit from this epic alone?
|
|
67
|
+
|
|
68
|
+
**Red flags (violations):**
|
|
69
|
+
|
|
70
|
+
- "Setup Database" or "Create Models" - no user value
|
|
71
|
+
- "API Development" - technical milestone
|
|
72
|
+
- "Infrastructure Setup" - not user-facing
|
|
73
|
+
- "Authentication System" - borderline (is it user value?)
|
|
74
|
+
|
|
75
|
+
#### B. Epic Independence Validation
|
|
76
|
+
|
|
77
|
+
Test epic independence:
|
|
78
|
+
|
|
79
|
+
- **Epic 1:** Must stand alone completely
|
|
80
|
+
- **Epic 2:** Can function using only Epic 1 output
|
|
81
|
+
- **Epic 3:** Can function using Epic 1 & 2 outputs
|
|
82
|
+
- **Rule:** Epic N cannot require Epic N+1 to work
|
|
83
|
+
|
|
84
|
+
**Document failures:**
|
|
85
|
+
|
|
86
|
+
- "Epic 2 requires Epic 3 features to function"
|
|
87
|
+
- Stories in Epic 2 referencing Epic 3 components
|
|
88
|
+
- Circular dependencies between epics
|
|
89
|
+
|
|
90
|
+
### 3. Story Quality Assessment
|
|
91
|
+
|
|
92
|
+
#### A. Story Sizing Validation
|
|
93
|
+
|
|
94
|
+
Check each story:
|
|
95
|
+
|
|
96
|
+
- **Clear User Value:** Does the story deliver something meaningful?
|
|
97
|
+
- **Independent:** Can it be completed without future stories?
|
|
98
|
+
|
|
99
|
+
**Common violations:**
|
|
100
|
+
|
|
101
|
+
- "Setup all models" - not a USER story
|
|
102
|
+
- "Create login UI (depends on Story 1.3)" - forward dependency
|
|
103
|
+
|
|
104
|
+
#### B. Acceptance Criteria Review
|
|
105
|
+
|
|
106
|
+
For each story's ACs:
|
|
107
|
+
|
|
108
|
+
- **Given/When/Then Format:** Proper BDD structure?
|
|
109
|
+
- **Testable:** Each AC can be verified independently?
|
|
110
|
+
- **Complete:** Covers all scenarios including errors?
|
|
111
|
+
- **Specific:** Clear expected outcomes?
|
|
112
|
+
|
|
113
|
+
**Issues to find:**
|
|
114
|
+
|
|
115
|
+
- Vague criteria like "user can login"
|
|
116
|
+
- Missing error conditions
|
|
117
|
+
- Incomplete happy path
|
|
118
|
+
- Non-measurable outcomes
|
|
119
|
+
|
|
120
|
+
### 4. Dependency Analysis
|
|
121
|
+
|
|
122
|
+
#### A. Within-Epic Dependencies
|
|
123
|
+
|
|
124
|
+
Map story dependencies within each epic:
|
|
125
|
+
|
|
126
|
+
- Story 1.1 must be completable alone
|
|
127
|
+
- Story 1.2 can use Story 1.1 output
|
|
128
|
+
- Story 1.3 can use Story 1.1 & 1.2 outputs
|
|
129
|
+
|
|
130
|
+
**Critical violations:**
|
|
131
|
+
|
|
132
|
+
- "This story depends on Story 1.4"
|
|
133
|
+
- "Wait for future story to work"
|
|
134
|
+
- Stories referencing features not yet implemented
|
|
135
|
+
|
|
136
|
+
#### B. Database/Entity Creation Timing
|
|
137
|
+
|
|
138
|
+
Validate database creation approach:
|
|
139
|
+
|
|
140
|
+
- **Wrong:** Epic 1 Story 1 creates all tables upfront
|
|
141
|
+
- **Right:** Each story creates tables it needs
|
|
142
|
+
- **Check:** Are tables created only when first needed?
|
|
143
|
+
|
|
144
|
+
### 5. Special Implementation Checks
|
|
145
|
+
|
|
146
|
+
#### A. Starter Template Requirement
|
|
147
|
+
|
|
148
|
+
Check if Architecture specifies starter template:
|
|
149
|
+
|
|
150
|
+
- If YES: Epic 1 Story 1 must be "Set up initial project from starter template"
|
|
151
|
+
- Verify story includes cloning, dependencies, initial configuration
|
|
152
|
+
|
|
153
|
+
#### B. Greenfield vs Brownfield Indicators
|
|
154
|
+
|
|
155
|
+
Greenfield projects should have:
|
|
156
|
+
|
|
157
|
+
- Initial project setup story
|
|
158
|
+
- Development environment configuration
|
|
159
|
+
- CI/CD pipeline setup early
|
|
160
|
+
|
|
161
|
+
Brownfield projects should have:
|
|
162
|
+
|
|
163
|
+
- Integration points with existing systems
|
|
164
|
+
- Migration or compatibility stories
|
|
165
|
+
|
|
166
|
+
### 6. Best Practices Compliance Checklist
|
|
167
|
+
|
|
168
|
+
For each epic, verify:
|
|
169
|
+
|
|
170
|
+
- [ ] Epic delivers user value
|
|
171
|
+
- [ ] Epic can function independently
|
|
172
|
+
- [ ] Stories appropriately sized
|
|
173
|
+
- [ ] No forward dependencies
|
|
174
|
+
- [ ] Database tables created when needed
|
|
175
|
+
- [ ] Clear acceptance criteria
|
|
176
|
+
- [ ] Traceability to FRs maintained
|
|
177
|
+
|
|
178
|
+
### 7. Quality Assessment Documentation
|
|
179
|
+
|
|
180
|
+
Document all findings by severity:
|
|
181
|
+
|
|
182
|
+
#### π΄ Critical Violations
|
|
183
|
+
|
|
184
|
+
- Technical epics with no user value
|
|
185
|
+
- Forward dependencies breaking independence
|
|
186
|
+
- Epic-sized stories that cannot be completed
|
|
187
|
+
|
|
188
|
+
#### π Major Issues
|
|
189
|
+
|
|
190
|
+
- Vague acceptance criteria
|
|
191
|
+
- Stories requiring future stories
|
|
192
|
+
- Database creation violations
|
|
193
|
+
|
|
194
|
+
#### π‘ Minor Concerns
|
|
195
|
+
|
|
196
|
+
- Formatting inconsistencies
|
|
197
|
+
- Minor structure deviations
|
|
198
|
+
- Documentation gaps
|
|
199
|
+
|
|
200
|
+
### 8. Autonomous Review Execution
|
|
201
|
+
|
|
202
|
+
This review runs autonomously to maintain standards:
|
|
203
|
+
|
|
204
|
+
- Apply best practices without compromise
|
|
205
|
+
- Document every violation with specific examples
|
|
206
|
+
- Provide clear remediation guidance
|
|
207
|
+
- Prepare recommendations for each issue
|
|
208
|
+
|
|
209
|
+
## REVIEW COMPLETION:
|
|
210
|
+
|
|
211
|
+
After completing epic quality review:
|
|
212
|
+
|
|
213
|
+
- Update {outputFile} with all quality findings
|
|
214
|
+
- Document specific best practices violations
|
|
215
|
+
- Provide actionable recommendations
|
|
216
|
+
- Load ./step-06-final-assessment.md for final readiness assessment
|
|
217
|
+
|
|
218
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
219
|
+
|
|
220
|
+
This step executes autonomously. Load ./step-06-final-assessment.md only after complete epic quality review is documented.
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## π¨ SYSTEM SUCCESS/FAILURE METRICS
|
|
225
|
+
|
|
226
|
+
### β
SUCCESS:
|
|
227
|
+
|
|
228
|
+
- All epics validated against best practices
|
|
229
|
+
- Every dependency checked and verified
|
|
230
|
+
- Quality violations documented with examples
|
|
231
|
+
- Clear remediation guidance provided
|
|
232
|
+
- No compromise on standards enforcement
|
|
233
|
+
|
|
234
|
+
### β SYSTEM FAILURE:
|
|
235
|
+
|
|
236
|
+
- Accepting technical epics as valid
|
|
237
|
+
- Ignoring forward dependencies
|
|
238
|
+
- Not verifying story sizing
|
|
239
|
+
- Overlooking obvious violations
|
|
240
|
+
|
|
241
|
+
**Master Rule:** Enforce best practices rigorously. Find all violations.
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
ο»Ώ---
|
|
2
|
+
outputFile: '{planning_artifacts}/implementation-readiness-report-{{date}}.md'
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Step 6: Final Assessment
|
|
6
|
+
|
|
7
|
+
## STEP GOAL:
|
|
8
|
+
|
|
9
|
+
To provide a comprehensive summary of all findings and give the report a final polish, ensuring clear recommendations and overall readiness status.
|
|
10
|
+
|
|
11
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
12
|
+
|
|
13
|
+
### Universal Rules:
|
|
14
|
+
|
|
15
|
+
- π NEVER generate content without user input
|
|
16
|
+
- π CRITICAL: Read the complete step file before taking any action
|
|
17
|
+
- π You are at the final step - complete the assessment
|
|
18
|
+
- π YOU ARE A FACILITATOR, not a content generator
|
|
19
|
+
- β
YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
20
|
+
|
|
21
|
+
### Role Reinforcement:
|
|
22
|
+
|
|
23
|
+
- β
You are delivering the FINAL ASSESSMENT
|
|
24
|
+
- β
Your findings are objective and backed by evidence
|
|
25
|
+
- β
Provide clear, actionable recommendations
|
|
26
|
+
- β
Success is measured by value of findings
|
|
27
|
+
|
|
28
|
+
### Step-Specific Rules:
|
|
29
|
+
|
|
30
|
+
- π― Compile and summarize all findings
|
|
31
|
+
- π« Don't soften the message - be direct
|
|
32
|
+
- π¬ Provide specific examples for problems
|
|
33
|
+
- πͺ Add final section to the report
|
|
34
|
+
|
|
35
|
+
## EXECUTION PROTOCOLS:
|
|
36
|
+
|
|
37
|
+
- π― Review all findings from previous steps
|
|
38
|
+
- πΎ Add summary and recommendations
|
|
39
|
+
- π Determine overall readiness status
|
|
40
|
+
- π« Complete and present final report
|
|
41
|
+
|
|
42
|
+
## FINAL ASSESSMENT PROCESS:
|
|
43
|
+
|
|
44
|
+
### 1. Initialize Final Assessment
|
|
45
|
+
|
|
46
|
+
"Completing **Final Assessment**.
|
|
47
|
+
|
|
48
|
+
I will now:
|
|
49
|
+
|
|
50
|
+
1. Review all findings from previous steps
|
|
51
|
+
2. Provide a comprehensive summary
|
|
52
|
+
3. Add specific recommendations
|
|
53
|
+
4. Determine overall readiness status"
|
|
54
|
+
|
|
55
|
+
### 2. Review Previous Findings
|
|
56
|
+
|
|
57
|
+
Check the {outputFile} for sections added by previous steps:
|
|
58
|
+
|
|
59
|
+
- File and FR Validation findings
|
|
60
|
+
- UX Alignment issues
|
|
61
|
+
- Epic Quality violations
|
|
62
|
+
|
|
63
|
+
### 3. Add Final Assessment Section
|
|
64
|
+
|
|
65
|
+
Append to {outputFile}:
|
|
66
|
+
|
|
67
|
+
```markdown
|
|
68
|
+
## Summary and Recommendations
|
|
69
|
+
|
|
70
|
+
### Overall Readiness Status
|
|
71
|
+
|
|
72
|
+
[READY/NEEDS WORK/NOT READY]
|
|
73
|
+
|
|
74
|
+
### Critical Issues Requiring Immediate Action
|
|
75
|
+
|
|
76
|
+
[List most critical issues that must be addressed]
|
|
77
|
+
|
|
78
|
+
### Recommended Next Steps
|
|
79
|
+
|
|
80
|
+
1. [Specific action item 1]
|
|
81
|
+
2. [Specific action item 2]
|
|
82
|
+
3. [Specific action item 3]
|
|
83
|
+
|
|
84
|
+
### Final Note
|
|
85
|
+
|
|
86
|
+
This assessment identified [X] issues across [Y] categories. Address the critical issues before proceeding to implementation. These findings can be used to improve the artifacts or you may choose to proceed as-is.
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### 4. Complete the Report
|
|
90
|
+
|
|
91
|
+
- Ensure all findings are clearly documented
|
|
92
|
+
- Verify recommendations are actionable
|
|
93
|
+
- Add date and assessor information
|
|
94
|
+
- Save the final report
|
|
95
|
+
|
|
96
|
+
### 5. Present Completion
|
|
97
|
+
|
|
98
|
+
Display:
|
|
99
|
+
"**Implementation Readiness Assessment Complete**
|
|
100
|
+
|
|
101
|
+
Report generated: {outputFile}
|
|
102
|
+
|
|
103
|
+
The assessment found [number] issues requiring attention. Review the detailed report for specific findings and recommendations."
|
|
104
|
+
|
|
105
|
+
## WORKFLOW COMPLETE
|
|
106
|
+
|
|
107
|
+
The implementation readiness workflow is now complete. The report contains all findings and recommendations for the user to consider.
|
|
108
|
+
|
|
109
|
+
Implementation Readiness complete. Invoke the `drt-help` skill.
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## π¨ SYSTEM SUCCESS/FAILURE METRICS
|
|
114
|
+
|
|
115
|
+
### β
SUCCESS:
|
|
116
|
+
|
|
117
|
+
- All findings compiled and summarized
|
|
118
|
+
- Clear recommendations provided
|
|
119
|
+
- Readiness status determined
|
|
120
|
+
- Final report saved
|
|
121
|
+
|
|
122
|
+
### β SYSTEM FAILURE:
|
|
123
|
+
|
|
124
|
+
- Not reviewing previous findings
|
|
125
|
+
- Incomplete summary
|
|
126
|
+
- No clear recommendations
|
|
127
|
+
|
|
128
|
+
## On Complete
|
|
129
|
+
|
|
130
|
+
Run: `node {project-root}/_drt/scripts/resolve-customization.js --skill {skill-root} --key workflow.on_complete`
|
|
131
|
+
|
|
132
|
+
If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
ο»Ώ---
|
|
2
|
+
name: drt-create-architecture
|
|
3
|
+
description: 'DEPRECATED β consolidated into drt-architecture create intent - this skill will be removed in v7 in favor of `drt-architecture`.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DEPRECATED β forwards to drt-architecture (create intent)
|
|
7
|
+
|
|
8
|
+
This skill was consolidated into `drt-architecture`. It is retained as a thin compatibility shim so existing invocations by name and `_drt/custom/drt-create-architecture.toml` override files keep working. New work should invoke `drt-architecture` directly β it detects create / update / validate intent from the conversation.
|
|
9
|
+
|
|
10
|
+
## On Activation
|
|
11
|
+
|
|
12
|
+
1. Resolve customization: `node {project-root}/_drt/scripts/resolve-customization.js --skill {skill-root} --key workflow`. This picks up any `{project-root}/_drt/custom/drt-create-architecture.toml` and `drt-create-architecture.user.toml` overrides for the legacy fields (`activation_steps_prepend`, `activation_steps_append`, `persistent_facts`, `on_complete`).
|
|
13
|
+
|
|
14
|
+
2. Load `{project-root}/_drt/drt/config.yaml` (and `config.user.yaml` if present) to resolve `{user_name}` and `{communication_language}`.
|
|
15
|
+
|
|
16
|
+
3. Emit a deprecation notice to the user in `{communication_language}`:
|
|
17
|
+
|
|
18
|
+
> Notice: `drt-create-architecture` is deprecated and will be removed in a future release. It now forwards to `drt-architecture` with create intent. To silence this notice and access the full new customization surface (`spine_template`, `spine_output_path`, `run_folder_pattern`, `doc_standards`, `external_sources`, `external_handoffs`, `finalize_reviewers`), migrate `_drt/custom/drt-create-architecture.toml` to `_drt/custom/drt-architecture.toml` and invoke `drt-architecture` directly next time. Customization fields that were in this version still remain in the new version and will be respected if present in `_drt/custom/drt-architecture.toml`, but the new version also supports additional fields that you can take advantage of by migrating.
|
|
19
|
+
|
|
20
|
+
4. Invoke `drt-architecture` with the following context. Pass these as the activating context so `drt-architecture` honors them instead of resolving its own customization from scratch:
|
|
21
|
+
|
|
22
|
+
- **Intent:** `create` β skip `drt-architecture`'s usual intent detection step.
|
|
23
|
+
- **Pre-resolved legacy customization** β use these in place of resolving from `drt-architecture`'s own `customize.toml` for the four legacy fields. For everything else (`spine_template`, `spine_output_path`, `run_folder_pattern`, `doc_standards`, `external_sources`, `external_handoffs`, `finalize_reviewers`), use `drt-architecture`'s own defaults and overrides as normal:
|
|
24
|
+
- `activation_steps_prepend` = the resolved value from step 1
|
|
25
|
+
- `activation_steps_append` = the resolved value from step 1
|
|
26
|
+
- `persistent_facts` = the resolved value from step 1
|
|
27
|
+
- `on_complete` = the resolved value from step 1
|
|
28
|
+
- **Original user input:** forward whatever the user said when invoking this skill verbatim.
|
|
29
|
+
|
|
30
|
+
`drt-architecture` takes the workflow from here. Do not execute any further steps in this shim.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# Workflow customization surface for drt-create-architecture. 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. "Our org is AWS-only -- do not propose GCP or Azure."
|
|
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 8 (Architecture Completion & Handoff),
|
|
38
|
+
# after the architecture document frontmatter is updated and next-steps guidance is given.
|
|
39
|
+
# Override wins. Leave empty for no custom post-completion behavior.
|
|
40
|
+
|
|
41
|
+
on_complete = ""
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
ο»Ώ---
|
|
2
|
+
name: drt-create-epics-and-stories
|
|
3
|
+
description: 'Break requirements into epics and user stories. Use when the user says "create the epics and stories list"'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Create Epics and Stories
|
|
7
|
+
|
|
8
|
+
**Goal:** Transform PRD requirements and Architecture decisions into comprehensive stories organized by user value, creating detailed, actionable stories with complete acceptance criteria for the Developer agent.
|
|
9
|
+
|
|
10
|
+
**Your Role:** In addition to your name, communication_style, and persona, you are also a product strategist and technical specifications writer collaborating with a product owner. This is a partnership, not a client-vendor relationship. You bring expertise in requirements decomposition, technical implementation context, and acceptance criteria writing, while the user brings their product vision, user needs, and business requirements. Work together as equals.
|
|
11
|
+
|
|
12
|
+
## Conventions
|
|
13
|
+
|
|
14
|
+
- Bare paths (e.g. `steps/step-01-validate-prerequisites.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 **step-file architecture** for disciplined execution:
|
|
22
|
+
|
|
23
|
+
### Core Principles
|
|
24
|
+
|
|
25
|
+
- **Micro-file Design**: Each step toward the overall goal is a self-contained instruction file; adhere to one file at a time, as directed
|
|
26
|
+
- **Just-In-Time Loading**: Only 1 current step file will be loaded and followed to completion - never load future step files until told to do so
|
|
27
|
+
- **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
|
|
28
|
+
- **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array when a workflow produces a document
|
|
29
|
+
- **Append-Only Building**: Build documents by appending content as directed to the output file
|
|
30
|
+
|
|
31
|
+
### Step Processing Rules
|
|
32
|
+
|
|
33
|
+
1. **READ COMPLETELY**: Always read the entire step file before taking any action
|
|
34
|
+
2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
|
|
35
|
+
3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
|
|
36
|
+
4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
|
|
37
|
+
5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
|
|
38
|
+
6. **LOAD NEXT**: When directed, read fully and follow the next step file
|
|
39
|
+
|
|
40
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
41
|
+
|
|
42
|
+
- π **NEVER** load multiple step files simultaneously
|
|
43
|
+
- π **ALWAYS** read entire step file before execution
|
|
44
|
+
- π« **NEVER** skip steps or optimize the sequence
|
|
45
|
+
- πΎ **ALWAYS** update frontmatter of output files when writing the final output for a specific step
|
|
46
|
+
- π― **ALWAYS** follow the exact instructions in the step file
|
|
47
|
+
- βΈοΈ **ALWAYS** halt at menus and wait for user input
|
|
48
|
+
- π **NEVER** create mental todo lists from future steps
|
|
49
|
+
|
|
50
|
+
## On Activation
|
|
51
|
+
|
|
52
|
+
### Step 1: Resolve the Workflow Block
|
|
53
|
+
|
|
54
|
+
Run: `node {project-root}/_drt/scripts/resolve-customization.js --skill {skill-root} --key workflow`
|
|
55
|
+
|
|
56
|
+
**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:
|
|
57
|
+
|
|
58
|
+
1. `{skill-root}/customize.toml` β defaults
|
|
59
|
+
2. `{project-root}/_drt/custom/{skill-name}.toml` β team overrides
|
|
60
|
+
3. `{project-root}/_drt/custom/{skill-name}.user.toml` β personal overrides
|
|
61
|
+
|
|
62
|
+
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.
|
|
63
|
+
|
|
64
|
+
### Step 2: Execute Prepend Steps
|
|
65
|
+
|
|
66
|
+
Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
|
|
67
|
+
|
|
68
|
+
### Step 3: Load Persistent Facts
|
|
69
|
+
|
|
70
|
+
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.
|
|
71
|
+
|
|
72
|
+
### Step 4: Load Config
|
|
73
|
+
|
|
74
|
+
Load config from `{project-root}/_drt/drt/config.yaml` and resolve:
|
|
75
|
+
- Use `{user_name}` for greeting
|
|
76
|
+
- Use `{communication_language}` for all communications
|
|
77
|
+
- Use `{document_output_language}` for output documents
|
|
78
|
+
- Use `{planning_artifacts}` for output location and artifact scanning
|
|
79
|
+
- Use `{project_knowledge}` for additional context scanning
|
|
80
|
+
|
|
81
|
+
### Step 5: Greet the User
|
|
82
|
+
|
|
83
|
+
Greet `{user_name}`, speaking in `{communication_language}`.
|
|
84
|
+
|
|
85
|
+
### Step 6: Execute Append Steps
|
|
86
|
+
|
|
87
|
+
Execute each entry in `{workflow.activation_steps_append}` in order.
|
|
88
|
+
|
|
89
|
+
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.
|
|
90
|
+
|
|
91
|
+
## Execution
|
|
92
|
+
|
|
93
|
+
Read fully and follow: `./steps/step-01-validate-prerequisites.md` to begin the workflow.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# Workflow customization surface for drt-create-epics-and-stories. 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 epics must deliver complete end-to-end user value."
|
|
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 4 (Final Validation) and the
|
|
38
|
+
# user confirms [C] Complete β after the epics.md is saved and drt-help is invoked.
|
|
39
|
+
# Override wins. Leave empty for no custom post-completion behavior.
|
|
40
|
+
|
|
41
|
+
on_complete = ""
|