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.
Files changed (299) hide show
  1. package/AGENTS.md +45 -0
  2. package/GETTING-STARTED.md +269 -0
  3. package/README.md +233 -0
  4. package/drt-method-1.0.0.tgz +0 -0
  5. package/drt-modules.yaml +1 -0
  6. package/package.json +51 -0
  7. package/scripts/install-from-github.ps1 +22 -0
  8. package/scripts/install-from-github.sh +17 -0
  9. package/src/core-skills/drt-advanced-elicitation/SKILL.md +142 -0
  10. package/src/core-skills/drt-advanced-elicitation/methods.csv +72 -0
  11. package/src/core-skills/drt-brainstorming/SKILL.md +80 -0
  12. package/src/core-skills/drt-brainstorming/assets/brain-icons.json +166 -0
  13. package/src/core-skills/drt-brainstorming/assets/brain-methods.csv +109 -0
  14. package/src/core-skills/drt-brainstorming/assets/brain-selector.html +326 -0
  15. package/src/core-skills/drt-brainstorming/customize.toml +84 -0
  16. package/src/core-skills/drt-brainstorming/references/converge.md +24 -0
  17. package/src/core-skills/drt-brainstorming/references/finalize.md +26 -0
  18. package/src/core-skills/drt-brainstorming/references/headless.md +54 -0
  19. package/src/core-skills/drt-brainstorming/references/in-chat-techniques.md +18 -0
  20. package/src/core-skills/drt-brainstorming/references/mode-autonomous.md +10 -0
  21. package/src/core-skills/drt-brainstorming/references/mode-facilitator.md +11 -0
  22. package/src/core-skills/drt-brainstorming/references/mode-partner.md +16 -0
  23. package/src/core-skills/drt-brainstorming/references/resume.md +5 -0
  24. package/src/core-skills/drt-brainstorming/scripts/brain.py +740 -0
  25. package/src/core-skills/drt-customize/SKILL.md +111 -0
  26. package/src/core-skills/drt-customize/scripts/list_customizable_skills.py +231 -0
  27. package/src/core-skills/drt-editorial-review-prose/SKILL.md +86 -0
  28. package/src/core-skills/drt-editorial-review-structure/SKILL.md +179 -0
  29. package/src/core-skills/drt-forge-idea/SKILL.md +107 -0
  30. package/src/core-skills/drt-forge-idea/customize.toml +42 -0
  31. package/src/core-skills/drt-forge-idea/scripts/resolve_personas.py +270 -0
  32. package/src/core-skills/drt-help/SKILL.md +75 -0
  33. package/src/core-skills/drt-index-docs/SKILL.md +66 -0
  34. package/src/core-skills/drt-party-mode/SKILL.md +60 -0
  35. package/src/core-skills/drt-party-mode/customize.toml +211 -0
  36. package/src/core-skills/drt-party-mode/references/create-party.md +70 -0
  37. package/src/core-skills/drt-party-mode/references/mode-agent-team.md +13 -0
  38. package/src/core-skills/drt-party-mode/references/mode-auto.md +13 -0
  39. package/src/core-skills/drt-party-mode/references/mode-subagent.md +31 -0
  40. package/src/core-skills/drt-party-mode/references/party-memory.md +51 -0
  41. package/src/core-skills/drt-party-mode/scripts/resolve_party.py +272 -0
  42. package/src/core-skills/drt-review-adversarial-general/SKILL.md +37 -0
  43. package/src/core-skills/drt-review-edge-case-hunter/SKILL.md +73 -0
  44. package/src/core-skills/drt-review-edge-case-hunter/references/deletion-check.md +14 -0
  45. package/src/core-skills/drt-review-verification-gap/SKILL.md +106 -0
  46. package/src/core-skills/drt-shard-doc/SKILL.md +105 -0
  47. package/src/core-skills/drt-spec/SKILL.md +160 -0
  48. package/src/core-skills/drt-spec/assets/headless-schemas.md +33 -0
  49. package/src/core-skills/drt-spec/assets/spec-template.md +49 -0
  50. package/src/core-skills/drt-spec/assets/stories-schema.md +44 -0
  51. package/src/core-skills/drt-spec/customize.toml +53 -0
  52. package/src/core-skills/module-help.csv +14 -0
  53. package/src/core-skills/module.yaml +33 -0
  54. package/src/drt-skills/1-analysis/drt-agent-analyst/SKILL.md +76 -0
  55. package/src/drt-skills/1-analysis/drt-agent-analyst/customize.toml +90 -0
  56. package/src/drt-skills/1-analysis/drt-agent-tech-writer/SKILL.md +76 -0
  57. package/src/drt-skills/1-analysis/drt-agent-tech-writer/customize.toml +81 -0
  58. package/src/drt-skills/1-analysis/drt-agent-tech-writer/explain-concept.md +20 -0
  59. package/src/drt-skills/1-analysis/drt-agent-tech-writer/mermaid-gen.md +20 -0
  60. package/src/drt-skills/1-analysis/drt-agent-tech-writer/validate-doc.md +19 -0
  61. package/src/drt-skills/1-analysis/drt-agent-tech-writer/write-document.md +20 -0
  62. package/src/drt-skills/1-analysis/drt-document-project/SKILL.md +62 -0
  63. package/src/drt-skills/1-analysis/drt-document-project/checklist.md +245 -0
  64. package/src/drt-skills/1-analysis/drt-document-project/customize.toml +41 -0
  65. package/src/drt-skills/1-analysis/drt-document-project/documentation-requirements.csv +12 -0
  66. package/src/drt-skills/1-analysis/drt-document-project/instructions.md +128 -0
  67. package/src/drt-skills/1-analysis/drt-document-project/templates/deep-dive-template.md +345 -0
  68. package/src/drt-skills/1-analysis/drt-document-project/templates/index-template.md +169 -0
  69. package/src/drt-skills/1-analysis/drt-document-project/templates/project-overview-template.md +103 -0
  70. package/src/drt-skills/1-analysis/drt-document-project/templates/project-scan-report-schema.json +160 -0
  71. package/src/drt-skills/1-analysis/drt-document-project/templates/source-tree-template.md +135 -0
  72. package/src/drt-skills/1-analysis/drt-document-project/workflows/deep-dive-instructions.md +300 -0
  73. package/src/drt-skills/1-analysis/drt-document-project/workflows/deep-dive-workflow.md +34 -0
  74. package/src/drt-skills/1-analysis/drt-document-project/workflows/full-scan-instructions.md +1111 -0
  75. package/src/drt-skills/1-analysis/drt-document-project/workflows/full-scan-workflow.md +34 -0
  76. package/src/drt-skills/1-analysis/drt-prfaq/SKILL.md +135 -0
  77. package/src/drt-skills/1-analysis/drt-prfaq/agents/artifact-analyzer.md +60 -0
  78. package/src/drt-skills/1-analysis/drt-prfaq/agents/web-researcher.md +49 -0
  79. package/src/drt-skills/1-analysis/drt-prfaq/assets/prfaq-template.md +62 -0
  80. package/src/drt-skills/1-analysis/drt-prfaq/bmad-manifest.json +16 -0
  81. package/src/drt-skills/1-analysis/drt-prfaq/customize.toml +41 -0
  82. package/src/drt-skills/1-analysis/drt-prfaq/references/customer-faq.md +55 -0
  83. package/src/drt-skills/1-analysis/drt-prfaq/references/internal-faq.md +51 -0
  84. package/src/drt-skills/1-analysis/drt-prfaq/references/press-release.md +60 -0
  85. package/src/drt-skills/1-analysis/drt-prfaq/references/verdict.md +83 -0
  86. package/src/drt-skills/1-analysis/drt-product-brief/SKILL.md +91 -0
  87. package/src/drt-skills/1-analysis/drt-product-brief/assets/brief-template.md +41 -0
  88. package/src/drt-skills/1-analysis/drt-product-brief/customize.toml +99 -0
  89. package/src/drt-skills/1-analysis/research/drt-domain-research/SKILL.md +96 -0
  90. package/src/drt-skills/1-analysis/research/drt-domain-research/customize.toml +41 -0
  91. package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-01-init.md +137 -0
  92. package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
  93. package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
  94. package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
  95. package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-05-technical-trends.md +234 -0
  96. package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-06-research-synthesis.md +450 -0
  97. package/src/drt-skills/1-analysis/research/drt-domain-research/research.template.md +29 -0
  98. package/src/drt-skills/1-analysis/research/drt-market-research/SKILL.md +96 -0
  99. package/src/drt-skills/1-analysis/research/drt-market-research/customize.toml +41 -0
  100. package/src/drt-skills/1-analysis/research/drt-market-research/research.template.md +29 -0
  101. package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-01-init.md +184 -0
  102. package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-02-customer-behavior.md +239 -0
  103. package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-03-customer-pain-points.md +251 -0
  104. package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-04-customer-decisions.md +261 -0
  105. package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-05-competitive-analysis.md +173 -0
  106. package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-06-research-completion.md +484 -0
  107. package/src/drt-skills/1-analysis/research/drt-technical-research/SKILL.md +96 -0
  108. package/src/drt-skills/1-analysis/research/drt-technical-research/customize.toml +41 -0
  109. package/src/drt-skills/1-analysis/research/drt-technical-research/research.template.md +29 -0
  110. package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-01-init.md +137 -0
  111. package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-02-technical-overview.md +239 -0
  112. package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
  113. package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
  114. package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-05-implementation-research.md +233 -0
  115. package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-06-research-synthesis.md +493 -0
  116. package/src/drt-skills/2-plan-workflows/drt-agent-pm/SKILL.md +76 -0
  117. package/src/drt-skills/2-plan-workflows/drt-agent-pm/customize.toml +75 -0
  118. package/src/drt-skills/2-plan-workflows/drt-agent-ux-designer/SKILL.md +76 -0
  119. package/src/drt-skills/2-plan-workflows/drt-agent-ux-designer/customize.toml +60 -0
  120. package/src/drt-skills/2-plan-workflows/drt-create-prd/SKILL.md +30 -0
  121. package/src/drt-skills/2-plan-workflows/drt-create-prd/customize.toml +41 -0
  122. package/src/drt-skills/2-plan-workflows/drt-edit-prd/SKILL.md +30 -0
  123. package/src/drt-skills/2-plan-workflows/drt-edit-prd/customize.toml +42 -0
  124. package/src/drt-skills/2-plan-workflows/drt-prd/SKILL.md +92 -0
  125. package/src/drt-skills/2-plan-workflows/drt-prd/assets/headless-schemas.md +76 -0
  126. package/src/drt-skills/2-plan-workflows/drt-prd/assets/prd-template.md +165 -0
  127. package/src/drt-skills/2-plan-workflows/drt-prd/assets/prd-validation-checklist.md +135 -0
  128. package/src/drt-skills/2-plan-workflows/drt-prd/assets/validation-report-template.html +325 -0
  129. package/src/drt-skills/2-plan-workflows/drt-prd/customize.toml +147 -0
  130. package/src/drt-skills/2-plan-workflows/drt-prd/references/headless.md +39 -0
  131. package/src/drt-skills/2-plan-workflows/drt-prd/references/validate.md +97 -0
  132. package/src/drt-skills/2-plan-workflows/drt-ux/SKILL.md +90 -0
  133. package/src/drt-skills/2-plan-workflows/drt-ux/assets/color-themes.md +9 -0
  134. package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-directions.md +9 -0
  135. package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-example-editorial.md +158 -0
  136. package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-example-mobile.md +93 -0
  137. package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-example-shadcn.md +109 -0
  138. package/src/drt-skills/2-plan-workflows/drt-ux/assets/excalidraw-wireframe.md +19 -0
  139. package/src/drt-skills/2-plan-workflows/drt-ux/assets/experience-example-mobile.md +112 -0
  140. package/src/drt-skills/2-plan-workflows/drt-ux/assets/experience-example-shadcn.md +133 -0
  141. package/src/drt-skills/2-plan-workflows/drt-ux/assets/headless-schemas.md +84 -0
  142. package/src/drt-skills/2-plan-workflows/drt-ux/assets/key-screens.md +29 -0
  143. package/src/drt-skills/2-plan-workflows/drt-ux/assets/validation-report-template.html +319 -0
  144. package/src/drt-skills/2-plan-workflows/drt-ux/customize.toml +100 -0
  145. package/src/drt-skills/2-plan-workflows/drt-ux/references/creative-tools.md +19 -0
  146. package/src/drt-skills/2-plan-workflows/drt-ux/references/design-md-spec.md +50 -0
  147. package/src/drt-skills/2-plan-workflows/drt-ux/references/headless.md +37 -0
  148. package/src/drt-skills/2-plan-workflows/drt-ux/references/validate.md +115 -0
  149. package/src/drt-skills/2-plan-workflows/drt-validate-prd/SKILL.md +30 -0
  150. package/src/drt-skills/2-plan-workflows/drt-validate-prd/customize.toml +42 -0
  151. package/src/drt-skills/3-solutioning/drt-agent-architect/SKILL.md +76 -0
  152. package/src/drt-skills/3-solutioning/drt-agent-architect/customize.toml +65 -0
  153. package/src/drt-skills/3-solutioning/drt-architecture/SKILL.md +85 -0
  154. package/src/drt-skills/3-solutioning/drt-architecture/assets/spine-template.md +79 -0
  155. package/src/drt-skills/3-solutioning/drt-architecture/customize.toml +100 -0
  156. package/src/drt-skills/3-solutioning/drt-architecture/references/headless.md +26 -0
  157. package/src/drt-skills/3-solutioning/drt-architecture/references/reviewer-gate.md +13 -0
  158. package/src/drt-skills/3-solutioning/drt-architecture/scripts/lint_spine.py +257 -0
  159. package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/SKILL.md +91 -0
  160. package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/customize.toml +41 -0
  161. package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
  162. package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
  163. package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
  164. package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
  165. package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
  166. package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-06-final-assessment.md +132 -0
  167. package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/templates/readiness-report-template.md +4 -0
  168. package/src/drt-skills/3-solutioning/drt-create-architecture/SKILL.md +30 -0
  169. package/src/drt-skills/3-solutioning/drt-create-architecture/customize.toml +41 -0
  170. package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/SKILL.md +93 -0
  171. package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/customize.toml +41 -0
  172. package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-01-validate-prerequisites.md +263 -0
  173. package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-02-design-epics.md +242 -0
  174. package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
  175. package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-04-final-validation.md +143 -0
  176. package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/templates/epics-template.md +61 -0
  177. package/src/drt-skills/3-solutioning/drt-generate-project-context/SKILL.md +81 -0
  178. package/src/drt-skills/3-solutioning/drt-generate-project-context/customize.toml +41 -0
  179. package/src/drt-skills/3-solutioning/drt-generate-project-context/project-context-template.md +21 -0
  180. package/src/drt-skills/3-solutioning/drt-generate-project-context/steps/step-01-discover.md +186 -0
  181. package/src/drt-skills/3-solutioning/drt-generate-project-context/steps/step-02-generate.md +321 -0
  182. package/src/drt-skills/3-solutioning/drt-generate-project-context/steps/step-03-complete.md +284 -0
  183. package/src/drt-skills/4-implementation/drt-agent-dev/SKILL.md +76 -0
  184. package/src/drt-skills/4-implementation/drt-agent-dev/customize.toml +95 -0
  185. package/src/drt-skills/4-implementation/drt-checkpoint-preview/SKILL.md +68 -0
  186. package/src/drt-skills/4-implementation/drt-checkpoint-preview/customize.toml +41 -0
  187. package/src/drt-skills/4-implementation/drt-checkpoint-preview/generate-trail.md +38 -0
  188. package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-01-orientation.md +105 -0
  189. package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-02-walkthrough.md +89 -0
  190. package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-03-detail-pass.md +106 -0
  191. package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-04-testing.md +74 -0
  192. package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-05-wrapup.md +30 -0
  193. package/src/drt-skills/4-implementation/drt-code-review/SKILL.md +90 -0
  194. package/src/drt-skills/4-implementation/drt-code-review/customize.toml +93 -0
  195. package/src/drt-skills/4-implementation/drt-code-review/steps/step-01-gather-context.md +84 -0
  196. package/src/drt-skills/4-implementation/drt-code-review/steps/step-02-review.md +32 -0
  197. package/src/drt-skills/4-implementation/drt-code-review/steps/step-03-triage.md +50 -0
  198. package/src/drt-skills/4-implementation/drt-code-review/steps/step-04-present.md +132 -0
  199. package/src/drt-skills/4-implementation/drt-correct-course/SKILL.md +301 -0
  200. package/src/drt-skills/4-implementation/drt-correct-course/checklist.md +288 -0
  201. package/src/drt-skills/4-implementation/drt-correct-course/customize.toml +41 -0
  202. package/src/drt-skills/4-implementation/drt-create-story/SKILL.md +432 -0
  203. package/src/drt-skills/4-implementation/drt-create-story/checklist.md +357 -0
  204. package/src/drt-skills/4-implementation/drt-create-story/customize.toml +41 -0
  205. package/src/drt-skills/4-implementation/drt-create-story/discover-inputs.md +88 -0
  206. package/src/drt-skills/4-implementation/drt-create-story/template.md +49 -0
  207. package/src/drt-skills/4-implementation/drt-dev-auto/SKILL.md +123 -0
  208. package/src/drt-skills/4-implementation/drt-dev-auto/compile-epic-context.md +62 -0
  209. package/src/drt-skills/4-implementation/drt-dev-auto/customize.toml +108 -0
  210. package/src/drt-skills/4-implementation/drt-dev-auto/spec-template.md +98 -0
  211. package/src/drt-skills/4-implementation/drt-dev-auto/step-01-clarify-and-route.md +84 -0
  212. package/src/drt-skills/4-implementation/drt-dev-auto/step-02-plan.md +31 -0
  213. package/src/drt-skills/4-implementation/drt-dev-auto/step-03-implement.md +42 -0
  214. package/src/drt-skills/4-implementation/drt-dev-auto/step-04-review.md +95 -0
  215. package/src/drt-skills/4-implementation/drt-dev-story/SKILL.md +500 -0
  216. package/src/drt-skills/4-implementation/drt-dev-story/checklist.md +80 -0
  217. package/src/drt-skills/4-implementation/drt-dev-story/customize.toml +41 -0
  218. package/src/drt-skills/4-implementation/drt-implement-task/SKILL.md +101 -0
  219. package/src/drt-skills/4-implementation/drt-implement-task/assets/task-spec-template.md +60 -0
  220. package/src/drt-skills/4-implementation/drt-implement-task/customize.toml +17 -0
  221. package/src/drt-skills/4-implementation/drt-implement-task/steps/step-01-gather-intent.md +42 -0
  222. package/src/drt-skills/4-implementation/drt-implement-task/steps/step-02-plan-and-approve.md +43 -0
  223. package/src/drt-skills/4-implementation/drt-implement-task/steps/step-03-confirm-dependencies.md +38 -0
  224. package/src/drt-skills/4-implementation/drt-implement-task/steps/step-04-implement.md +42 -0
  225. package/src/drt-skills/4-implementation/drt-implement-task/steps/step-05-qc-test.md +31 -0
  226. package/src/drt-skills/4-implementation/drt-implement-task/steps/step-06-quality-review.md +30 -0
  227. package/src/drt-skills/4-implementation/drt-implement-task/steps/step-07-fix-findings.md +33 -0
  228. package/src/drt-skills/4-implementation/drt-implement-task/steps/step-08-complete.md +35 -0
  229. package/src/drt-skills/4-implementation/drt-qa-generate-e2e-tests/SKILL.md +176 -0
  230. package/src/drt-skills/4-implementation/drt-qa-generate-e2e-tests/checklist.md +33 -0
  231. package/src/drt-skills/4-implementation/drt-qa-generate-e2e-tests/customize.toml +41 -0
  232. package/src/drt-skills/4-implementation/drt-quick-dev/SKILL.md +13 -0
  233. package/src/drt-skills/4-implementation/drt-quick-dev/compile-epic-context.md +62 -0
  234. package/src/drt-skills/4-implementation/drt-quick-dev/customize.toml +83 -0
  235. package/src/drt-skills/4-implementation/drt-quick-dev/render.js +206 -0
  236. package/src/drt-skills/4-implementation/drt-quick-dev/spec-template.md +89 -0
  237. package/src/drt-skills/4-implementation/drt-quick-dev/step-01-clarify-and-route.md +103 -0
  238. package/src/drt-skills/4-implementation/drt-quick-dev/step-02-plan.md +47 -0
  239. package/src/drt-skills/4-implementation/drt-quick-dev/step-03-implement.md +45 -0
  240. package/src/drt-skills/4-implementation/drt-quick-dev/step-04-review.md +55 -0
  241. package/src/drt-skills/4-implementation/drt-quick-dev/step-05-present.md +78 -0
  242. package/src/drt-skills/4-implementation/drt-quick-dev/step-oneshot.md +78 -0
  243. package/src/drt-skills/4-implementation/drt-quick-dev/sync-sprint-status.md +19 -0
  244. package/src/drt-skills/4-implementation/drt-quick-dev/workflow.md +85 -0
  245. package/src/drt-skills/4-implementation/drt-retrospective/SKILL.md +1527 -0
  246. package/src/drt-skills/4-implementation/drt-retrospective/customize.toml +41 -0
  247. package/src/drt-skills/4-implementation/drt-sprint-planning/SKILL.md +319 -0
  248. package/src/drt-skills/4-implementation/drt-sprint-planning/checklist.md +34 -0
  249. package/src/drt-skills/4-implementation/drt-sprint-planning/customize.toml +41 -0
  250. package/src/drt-skills/4-implementation/drt-sprint-planning/sprint-status-template.yaml +69 -0
  251. package/src/drt-skills/4-implementation/drt-sprint-status/SKILL.md +311 -0
  252. package/src/drt-skills/4-implementation/drt-sprint-status/customize.toml +41 -0
  253. package/src/drt-skills/module-help.csv +32 -0
  254. package/src/drt-skills/module.yaml +95 -0
  255. package/src/scripts/lib/load-toml.js +43 -0
  256. package/src/scripts/lib/merge-utils.js +89 -0
  257. package/src/scripts/memlog.js +184 -0
  258. package/src/scripts/package.json +7 -0
  259. package/src/scripts/resolve-config.js +56 -0
  260. package/src/scripts/resolve-customization.js +77 -0
  261. package/tools/installer/cli-utils.js +53 -0
  262. package/tools/installer/commands/install.js +149 -0
  263. package/tools/installer/commands/status.js +65 -0
  264. package/tools/installer/commands/uninstall.js +167 -0
  265. package/tools/installer/core/config.js +73 -0
  266. package/tools/installer/core/existing-install.js +121 -0
  267. package/tools/installer/core/install-paths.js +132 -0
  268. package/tools/installer/core/installer.js +1762 -0
  269. package/tools/installer/core/legacy-warnings.js +151 -0
  270. package/tools/installer/core/manifest-generator.js +859 -0
  271. package/tools/installer/core/manifest.js +433 -0
  272. package/tools/installer/core/uv-check.js +97 -0
  273. package/tools/installer/core/wsl-node-check.js +109 -0
  274. package/tools/installer/drt-cli.js +104 -0
  275. package/tools/installer/file-ops.js +204 -0
  276. package/tools/installer/fs-native.js +116 -0
  277. package/tools/installer/ide/_config-driven.js +972 -0
  278. package/tools/installer/ide/manager.js +324 -0
  279. package/tools/installer/ide/platform-codes.js +80 -0
  280. package/tools/installer/ide/platform-codes.yaml +343 -0
  281. package/tools/installer/ide/shared/installed-skills.js +50 -0
  282. package/tools/installer/ide/shared/path-utils.js +217 -0
  283. package/tools/installer/ide/shared/skill-manifest.js +57 -0
  284. package/tools/installer/install-messages.yaml +29 -0
  285. package/tools/installer/list-options.js +210 -0
  286. package/tools/installer/message-loader.js +83 -0
  287. package/tools/installer/modules/channel-plan.js +203 -0
  288. package/tools/installer/modules/channel-resolver.js +241 -0
  289. package/tools/installer/modules/custom-module-manager.js +918 -0
  290. package/tools/installer/modules/external-manager.js +667 -0
  291. package/tools/installer/modules/module-help-schema.js +13 -0
  292. package/tools/installer/modules/official-modules.js +2257 -0
  293. package/tools/installer/modules/plugin-resolver.js +398 -0
  294. package/tools/installer/modules/version-resolver.js +336 -0
  295. package/tools/installer/project-root.js +224 -0
  296. package/tools/installer/prompts.js +852 -0
  297. package/tools/installer/set-overrides.js +330 -0
  298. package/tools/installer/ui.js +2090 -0
  299. package/tools/installer/yaml-format.js +245 -0
@@ -0,0 +1,311 @@
1
+ ---
2
+ name: drt-sprint-status
3
+ description: 'Summarize sprint status and surface risks. Use when the user says "check sprint status" or "show sprint status"'
4
+ ---
5
+
6
+ # Sprint Status Workflow
7
+
8
+ **Goal:** Summarize sprint status, surface risks, and recommend the next workflow action.
9
+
10
+ **Your Role:** You are a Developer providing clear, actionable sprint visibility. No time estimates — focus on status, risks, and next steps.
11
+
12
+ ## Conventions
13
+
14
+ - Bare paths (e.g. `checklist.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
+ ## On Activation
20
+
21
+ ### Step 1: Resolve the Workflow Block
22
+
23
+ Run: `node {project-root}/_drt/scripts/resolve-customization.js --skill {skill-root} --key workflow`
24
+
25
+ **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:
26
+
27
+ 1. `{skill-root}/customize.toml` — defaults
28
+ 2. `{project-root}/_drt/custom/{skill-name}.toml` — team overrides
29
+ 3. `{project-root}/_drt/custom/{skill-name}.user.toml` — personal overrides
30
+
31
+ 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.
32
+
33
+ ### Step 2: Execute Prepend Steps
34
+
35
+ Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
36
+
37
+ ### Step 3: Load Persistent Facts
38
+
39
+ 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.
40
+
41
+ ### Step 4: Load Config
42
+
43
+ Load config from `{project-root}/_drt/drt/config.yaml` and resolve:
44
+
45
+ - `project_name`, `user_name`
46
+ - `communication_language`, `document_output_language`
47
+ - `implementation_artifacts`
48
+ - `date` as system-generated current datetime
49
+ - `project_context` = `**/project-context.md` (load if exists)
50
+ - YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
51
+
52
+ ### Step 5: Greet the User
53
+
54
+ Greet `{user_name}`, speaking in `{communication_language}`.
55
+
56
+ ### Step 6: Execute Append Steps
57
+
58
+ Execute each entry in `{workflow.activation_steps_append}` in order.
59
+
60
+ 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.
61
+
62
+ ## Paths
63
+
64
+ - `sprint_status_file` = `{implementation_artifacts}/sprint-status.yaml`
65
+
66
+ ## Input Files
67
+
68
+ | Input | Path | Load Strategy |
69
+ |-------|------|---------------|
70
+ | Sprint status | `{sprint_status_file}` | FULL_LOAD |
71
+
72
+ ## Execution
73
+
74
+ <workflow>
75
+
76
+ <step n="0" goal="Determine execution mode">
77
+ <action>Set mode = {{mode}} if provided by caller; otherwise mode = "interactive"</action>
78
+
79
+ <check if="mode == data">
80
+ <action>Jump to Step 20</action>
81
+ </check>
82
+
83
+ <check if="mode == validate">
84
+ <action>Jump to Step 30</action>
85
+ </check>
86
+
87
+ <check if="mode == interactive">
88
+ <action>Continue to Step 1</action>
89
+ </check>
90
+ </step>
91
+
92
+ <step n="1" goal="Locate sprint status file">
93
+ <action>Load {project_context} for project-wide patterns and conventions (if exists)</action>
94
+ <action>Try {sprint_status_file}</action>
95
+ <check if="file not found">
96
+ <output>sprint-status.yaml not found.
97
+ Run `/drt:drt:workflows:sprint-planning` to generate it, then rerun sprint-status.</output>
98
+ <action>Exit workflow</action>
99
+ </check>
100
+ <action>Continue to Step 2</action>
101
+ </step>
102
+
103
+ <step n="2" goal="Read and parse sprint-status.yaml">
104
+ <action>Read the FULL file: {sprint_status_file}</action>
105
+ <action>Parse fields: generated, last_updated, project, project_key, tracking_system, story_location</action>
106
+ <action>Parse development_status map. Classify keys:</action>
107
+ - Epics: keys starting with "epic-" (and not ending with "-retrospective")
108
+ - Retrospectives: keys ending with "-retrospective"
109
+ - Stories: everything else (e.g., 1-2-login-form)
110
+ <action>Map legacy story status "drafted" → "ready-for-dev"</action>
111
+ <action>Count story statuses: backlog, ready-for-dev, in-progress, review, done</action>
112
+ <action>Map legacy epic status "contexted" → "in-progress"</action>
113
+ <action>Count epic statuses: backlog, in-progress, done</action>
114
+ <action>Count retrospective statuses: optional, done</action>
115
+ <action>Parse action_items list if present. Set open_action_items = entries with status "open" or "in-progress"</action>
116
+
117
+ <action>Validate all statuses against known values:</action>
118
+
119
+ - Valid story statuses: backlog, ready-for-dev, in-progress, review, done, drafted (legacy)
120
+ - Valid epic statuses: backlog, in-progress, done, contexted (legacy)
121
+ - Valid retrospective statuses: optional, done
122
+ - Valid action item statuses: open, in-progress, done
123
+
124
+ <check if="any status is unrecognized">
125
+ <output>
126
+ **Unknown status detected:**
127
+ {{#each invalid_entries}}
128
+
129
+ - `{{key}}`: "{{status}}" (not recognized)
130
+ {{/each}}
131
+
132
+ **Valid statuses:**
133
+
134
+ - Stories: backlog, ready-for-dev, in-progress, review, done
135
+ - Epics: backlog, in-progress, done
136
+ - Retrospectives: optional, done
137
+ - Action items: open, in-progress, done
138
+ </output>
139
+ <ask>How should these be corrected?
140
+ {{#each invalid_entries}}
141
+ {{@index}}. {{key}}: "{{status}}" → [select valid status]
142
+ {{/each}}
143
+
144
+ Enter corrections (e.g., "1=in-progress, 2=backlog") or "skip" to continue without fixing:</ask>
145
+ <check if="user provided corrections">
146
+ <action>Update sprint-status.yaml with corrected values</action>
147
+ <action>Re-parse the file with corrected statuses</action>
148
+ </check>
149
+ </check>
150
+
151
+ <action>Detect risks:</action>
152
+
153
+ - IF any story has status "review": suggest `/drt:drt:workflows:code-review`
154
+ - IF any story has status "in-progress" AND no stories have status "ready-for-dev": recommend staying focused on active story
155
+ - IF all epics have status "backlog" AND no stories have status "ready-for-dev": prompt `/drt:drt:workflows:create-story`
156
+ - IF `last_updated` timestamp is more than 7 days old (or `last_updated` is missing, fall back to `generated`): warn "sprint-status.yaml may be stale"
157
+ - IF any story key doesn't match an epic pattern (e.g., story "5-1-..." but no "epic-5"): warn "orphaned story detected"
158
+ - IF any epic has status in-progress but has no associated stories: warn "in-progress epic has no stories"
159
+ </step>
160
+
161
+ <step n="3" goal="Select next action recommendation">
162
+ <action>Pick the next recommended workflow using priority:</action>
163
+ <note>When selecting "first" story: sort by epic number, then story number (e.g., 1-1 before 1-2 before 2-1)</note>
164
+ 1. If any story status == in-progress → recommend `dev-story` for the first in-progress story
165
+ 2. Else if any story status == review → recommend `code-review` for the first review story
166
+ 3. Else if any story status == ready-for-dev → recommend `dev-story`
167
+ 4. Else if any story status == backlog → recommend `create-story`
168
+ 5. Else if any retrospective status == optional → recommend `retrospective`
169
+ 6. Else → All implementation items done; congratulate the user - you both did amazing work together!
170
+ <action>Store selected recommendation as: next_story_id, next_workflow_id, next_agent (DEV)</action>
171
+ </step>
172
+
173
+ <step n="4" goal="Display summary">
174
+ <output>
175
+ ## Sprint Status
176
+
177
+ - Project: {{project}} ({{project_key}})
178
+ - Tracking: {{tracking_system}}
179
+ - Status file: {sprint_status_file}
180
+
181
+ **Stories:** backlog {{count_backlog}}, ready-for-dev {{count_ready}}, in-progress {{count_in_progress}}, review {{count_review}}, done {{count_done}}
182
+
183
+ **Epics:** backlog {{epic_backlog}}, in-progress {{epic_in_progress}}, done {{epic_done}}
184
+
185
+ **Next Recommendation:** /drt:drt:workflows:{{next_workflow_id}} ({{next_story_id}})
186
+
187
+ {{#if open_action_items}}
188
+ **Open Action Items:**
189
+ {{#each open_action_items}}
190
+
191
+ - {{action}} — {{status}} (epic {{epic}}, owner: {{owner}})
192
+ {{/each}}
193
+ {{/if}}
194
+
195
+ {{#if risks}}
196
+ **Risks:**
197
+ {{#each risks}}
198
+
199
+ - {{this}}
200
+ {{/each}}
201
+ {{/if}}
202
+
203
+ </output>
204
+ </step>
205
+
206
+ <step n="5" goal="Offer actions">
207
+ <ask>Pick an option:
208
+ 1) Run recommended workflow now
209
+ 2) Show all stories grouped by status
210
+ 3) Show raw sprint-status.yaml
211
+ 4) Exit
212
+ Choice:</ask>
213
+
214
+ <check if="choice == 1">
215
+ <output>Run `/drt:drt:workflows:{{next_workflow_id}}`.
216
+ If the command targets a story, set `story_key={{next_story_id}}` when prompted.</output>
217
+ </check>
218
+
219
+ <check if="choice == 2">
220
+ <output>
221
+ ### Stories by Status
222
+ - In Progress: {{stories_in_progress}}
223
+ - Review: {{stories_in_review}}
224
+ - Ready for Dev: {{stories_ready_for_dev}}
225
+ - Backlog: {{stories_backlog}}
226
+ - Done: {{stories_done}}
227
+ </output>
228
+ </check>
229
+
230
+ <check if="choice == 3">
231
+ <action>Display the full contents of {sprint_status_file}</action>
232
+ </check>
233
+
234
+ <check if="choice == 4">
235
+ <action>Run: `node {project-root}/_drt/scripts/resolve-customization.js --skill {skill-root} --key workflow.on_complete` — if the resolved value is non-empty, follow it as the final terminal instruction before exiting.</action>
236
+ <action>Exit workflow</action>
237
+ </check>
238
+ </step>
239
+
240
+ <!-- ========================= -->
241
+ <!-- Data mode for other flows -->
242
+ <!-- ========================= -->
243
+
244
+ <step n="20" goal="Data mode output">
245
+ <action>Load and parse {sprint_status_file} same as Step 2</action>
246
+ <action>Compute recommendation same as Step 3</action>
247
+ <template-output>next_workflow_id = {{next_workflow_id}}</template-output>
248
+ <template-output>next_story_id = {{next_story_id}}</template-output>
249
+ <template-output>count_backlog = {{count_backlog}}</template-output>
250
+ <template-output>count_ready = {{count_ready}}</template-output>
251
+ <template-output>count_in_progress = {{count_in_progress}}</template-output>
252
+ <template-output>count_review = {{count_review}}</template-output>
253
+ <template-output>count_done = {{count_done}}</template-output>
254
+ <template-output>epic_backlog = {{epic_backlog}}</template-output>
255
+ <template-output>epic_in_progress = {{epic_in_progress}}</template-output>
256
+ <template-output>epic_done = {{epic_done}}</template-output>
257
+ <template-output>open_action_items = {{open_action_items}}</template-output>
258
+ <template-output>risks = {{risks}}</template-output>
259
+ <action>Return to caller</action>
260
+ </step>
261
+
262
+ <!-- ========================= -->
263
+ <!-- Validate mode -->
264
+ <!-- ========================= -->
265
+
266
+ <step n="30" goal="Validate sprint-status file">
267
+ <action>Check that {sprint_status_file} exists</action>
268
+ <check if="missing">
269
+ <template-output>is_valid = false</template-output>
270
+ <template-output>error = "sprint-status.yaml missing"</template-output>
271
+ <template-output>suggestion = "Run sprint-planning to create it"</template-output>
272
+ <action>Return</action>
273
+ </check>
274
+
275
+ <action>Read and parse {sprint_status_file}</action>
276
+
277
+ <action>Validate required metadata fields exist: generated, project, project_key, tracking_system, story_location (last_updated is optional for backward compatibility)</action>
278
+ <check if="any required field missing">
279
+ <template-output>is_valid = false</template-output>
280
+ <template-output>error = "Missing required field(s): {{missing_fields}}"</template-output>
281
+ <template-output>suggestion = "Re-run sprint-planning or add missing fields manually"</template-output>
282
+ <action>Return</action>
283
+ </check>
284
+
285
+ <action>Verify development_status section exists with at least one entry</action>
286
+ <check if="development_status missing or empty">
287
+ <template-output>is_valid = false</template-output>
288
+ <template-output>error = "development_status missing or empty"</template-output>
289
+ <template-output>suggestion = "Re-run sprint-planning or repair the file manually"</template-output>
290
+ <action>Return</action>
291
+ </check>
292
+
293
+ <action>Validate all status values against known valid statuses:</action>
294
+
295
+ - Stories: backlog, ready-for-dev, in-progress, review, done (legacy: drafted)
296
+ - Epics: backlog, in-progress, done (legacy: contexted)
297
+ - Retrospectives: optional, done
298
+ - Action items (if present): open, in-progress, done
299
+ <check if="any invalid status found">
300
+ <template-output>is_valid = false</template-output>
301
+ <template-output>error = "Invalid status values: {{invalid_entries}}"</template-output>
302
+ <template-output>suggestion = "Fix invalid statuses in sprint-status.yaml"</template-output>
303
+ <action>Return</action>
304
+ </check>
305
+
306
+ <template-output>is_valid = true</template-output>
307
+ <template-output>message = "sprint-status.yaml valid: metadata complete, all statuses recognized"</template-output>
308
+ <action>Run: `node {project-root}/_drt/scripts/resolve-customization.js --skill {skill-root} --key workflow.on_complete` — if the resolved value is non-empty, follow it as the final terminal instruction before exiting.</action>
309
+ </step>
310
+
311
+ </workflow>
@@ -0,0 +1,41 @@
1
+ # DO NOT EDIT -- overwritten on every update.
2
+ #
3
+ # Workflow customization surface for drt-sprint-status. 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 stories must include testable acceptance criteria."
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 its final step,
38
+ # after sprint status is summarized and risks are surfaced. Override wins.
39
+ # Leave empty for no custom post-completion behavior.
40
+
41
+ on_complete = ""
@@ -0,0 +1,32 @@
1
+ module,skill,display-name,menu-code,description,action,args,phase,preceded-by,followed-by,required,output-location,outputs
2
+ DRT Method,_meta,,,,,,,,,false,https://docs.drt-method.org/llms.txt,
3
+ DRT Method,drt-document-project,Document Project,DP,Analyze an existing project to produce useful documentation.,,,anytime,,,false,project-knowledge,*
4
+ DRT Method,drt-generate-project-context,Generate Project Context,GPC,Scan existing codebase to generate a lean LLM-optimized project-context.md. Essential for brownfield projects.,,,anytime,,,false,output_folder,project context
5
+ DRT Method,drt-quick-dev,Quick Dev,QQ,Unified intent-in code-out workflow: clarify plan implement review and present.,,,anytime,,,false,implementation_artifacts,spec and project implementation
6
+ DRT Method,drt-implement-task,Implement Task,IT,"Full coding task flow: clarify intent, approve plan, confirm dependencies, implement, QC, code review, fix loop. Use when user says implement this task or start coding.",,,anytime,,drt-code-review,false,implementation_artifacts,task spec
7
+ DRT Method,drt-correct-course,Correct Course,CC,Navigate significant changes. May recommend start over update PRD redo architecture sprint planning or correct epics and stories.,,,anytime,,,false,planning_artifacts,change proposal
8
+ DRT Method,drt-agent-tech-writer,Write Document,WD,"Describe in detail what you want, and the agent will follow documentation best practices. Multi-turn conversation with subprocess for research/review.",write,,anytime,,,false,project-knowledge,document
9
+ DRT Method,drt-agent-tech-writer,Update Standards,US,Update agent memory documentation-standards.md with your specific preferences if you discover missing document conventions.,update-standards,,anytime,,,false,_drt/_memory/tech-writer-sidecar,standards
10
+ DRT Method,drt-agent-tech-writer,Mermaid Generate,MG,Create a Mermaid diagram based on user description. Will suggest diagram types if not specified.,mermaid,,anytime,,,false,planning_artifacts,mermaid diagram
11
+ DRT Method,drt-agent-tech-writer,Validate Document,VD,Review the specified document against documentation standards and best practices. Returns specific actionable improvement suggestions organized by priority.,validate,[path],anytime,,,false,planning_artifacts,validation report
12
+ DRT Method,drt-agent-tech-writer,Explain Concept,EC,Create clear technical explanations with examples and diagrams for complex concepts.,explain,[topic],anytime,,,false,project_knowledge,explanation
13
+ DRT Method,drt-brainstorming,Brainstorm Project,BP,Expert guided facilitation through a single or multiple techniques.,,,1-analysis,,,false,planning_artifacts,brainstorming session
14
+ DRT Method,drt-market-research,Market Research,MR,Market analysis competitive landscape customer needs and trends.,,,1-analysis,,,false,planning_artifacts|project-knowledge,research documents
15
+ DRT Method,drt-domain-research,Domain Research,DR,Industry domain deep dive subject matter expertise and terminology.,,,1-analysis,,,false,planning_artifacts|project_knowledge,research documents
16
+ DRT Method,drt-technical-research,Technical Research,TR,Technical feasibility architecture options and implementation approaches.,,,1-analysis,,,false,planning_artifacts|project_knowledge,research documents
17
+ DRT Method,drt-product-brief,Create Brief,CB,An expert guided experience to nail down your product idea in a brief. a gentler approach than PRFAQ when you are already sure of your concept and nothing will sway you.,,-A,1-analysis,,,false,planning_artifacts,product brief
18
+ DRT Method,drt-prfaq,PRFAQ Challenge,WB,Working Backwards guided experience to forge and stress-test your product concept to ensure you have a great product that users will love and need through the PRFAQ gauntlet to determine feasibility and alignment with user needs. alternative to product brief.,,-H,1-analysis,,,false,planning_artifacts,prfaq document
19
+ DRT Method,drt-prd,Create Edit and Review PRD,PRD,"Facilitated PRD workflow — create a new PRD via coached discovery, update an existing one against a change signal, or validate a finished PRD against a checklist with an HTML findings report.",,,2-planning,drt-product-brief,,true,planning_artifacts,prd
20
+ DRT Method,drt-ux,Create UX,CU,"Guidance through realizing the plan for your UX, strongly recommended if a UI is a primary piece of the proposed project.",,,2-planning,drt-prd,,false,planning_artifacts,ux design
21
+ DRT Method,drt-architecture,Architecture,CA,Offer once requirements exist (a PRD or spec; plus UX if present) and the user is ready to move from what to how. Also offer any time independently-built parts risk diverging. Produces the architecture spine: the invariants that keep features epics and stories consistent. Comes before epics and stories and scales from a quick spine to a full architecture (brownfield: ratifies the existing codebase).,,,3-solutioning,,,true,planning_artifacts,architecture
22
+ DRT Method,drt-create-epics-and-stories,Create Epics and Stories,CE,,,,3-solutioning,drt-architecture,,true,planning_artifacts,epics and stories
23
+ DRT Method,drt-check-implementation-readiness,Check Implementation Readiness,IR,Ensure PRD UX Architecture and Epics Stories are aligned.,,,3-solutioning,drt-create-epics-and-stories,,true,planning_artifacts,readiness report
24
+ DRT Method,drt-sprint-planning,Sprint Planning,SP,Kicks off implementation by producing a plan the implementation agents will follow in sequence for every story.,,,4-implementation,,,true,implementation_artifacts,sprint status
25
+ DRT Method,drt-sprint-status,Sprint Status,SS,Anytime: Summarize sprint status and route to next workflow.,,,4-implementation,drt-sprint-planning,,false,,
26
+ DRT Method,drt-create-story,Create Story,CS,Story cycle start: Prepare first found story in the sprint plan that is next or a specific epic/story designation.,create,,4-implementation,drt-sprint-planning,drt-create-story:validate,true,implementation_artifacts,story
27
+ DRT Method,drt-create-story,Validate Story,VS,Validates story readiness and completeness before development work begins.,validate,,4-implementation,drt-create-story:create,drt-dev-story,false,implementation_artifacts,story validation report
28
+ DRT Method,drt-dev-story,Dev Story,DS,Story cycle: Execute story implementation tasks and tests then CR then back to DS if fixes needed.,,,4-implementation,drt-create-story:validate,,true,,
29
+ DRT Method,drt-code-review,Code Review,CR,Story cycle: If issues back to DS if approved then next CS or ER if epic complete.,,,4-implementation,drt-dev-story,,false,,
30
+ DRT Method,drt-checkpoint-preview,Checkpoint,CK,Guided walkthrough of a change from purpose and context into details. Use for human review of commits branches or PRs.,,,4-implementation,,,false,,
31
+ DRT Method,drt-qa-generate-e2e-tests,QA Automation Test,QA,Generate automated API and E2E tests for implemented code. NOT for code review or story validation — use CR for that.,,,4-implementation,drt-dev-story,,false,implementation_artifacts,test suite
32
+ DRT Method,drt-retrospective,Retrospective,ER,Optional at epic end: Review completed work lessons learned and next epic or if major issues consider CC.,,,4-implementation,drt-code-review,,false,implementation_artifacts,retrospective
@@ -0,0 +1,95 @@
1
+ code: drt
2
+ name: "DRT Method"
3
+ description: "Full-lifecycle AI agile development: analysis, planning, architecture, implementation"
4
+ default_selected: true # This module will be selected by default for new installations
5
+
6
+ # Variables from Core Config inserted:
7
+ ## user_name
8
+ ## project_name
9
+ ## communication_language
10
+ ## document_output_language
11
+ ## output_folder
12
+
13
+ user_skill_level:
14
+ prompt:
15
+ - "What is your development experience level?"
16
+ - "This affects how agents explain concepts in chat."
17
+ scope: user
18
+ default: "intermediate"
19
+ result: "{value}"
20
+ single-select:
21
+ - value: "beginner"
22
+ label: "Beginner - Explain things clearly"
23
+ - value: "intermediate"
24
+ label: "Intermediate - Balance detail with speed"
25
+ - value: "expert"
26
+ label: "Expert - Be direct and technical"
27
+
28
+ planning_artifacts: # Phase 1-3 artifacts
29
+ prompt: "Where should planning artifacts be stored? (Brainstorming, Briefs, PRDs, UX Designs, Architecture, Epics)"
30
+ default: "{output_folder}/planning-artifacts"
31
+ result: "{project-root}/{value}"
32
+
33
+ implementation_artifacts: # Phase 4 artifacts and quick-dev flow output
34
+ prompt: "Where should implementation artifacts be stored? (Sprint status, stories, reviews, retrospectives, Quick Flow output)"
35
+ default: "{output_folder}/implementation-artifacts"
36
+ result: "{project-root}/{value}"
37
+
38
+ project_knowledge: # Artifacts from research, document-project output, other long lived accurate knowledge
39
+ prompt: "Where should long-term project knowledge be stored? (docs, research, references)"
40
+ default: "docs"
41
+ result: "{project-root}/{value}"
42
+
43
+ # Directories to create during installation (declarative, no code execution)
44
+ directories:
45
+ - "{planning_artifacts}"
46
+ - "{implementation_artifacts}"
47
+ - "{project_knowledge}"
48
+
49
+ # Agent roster — essence only. External skills (party-mode, retrospective,
50
+ # advanced-elicitation, help catalog) read these descriptors to route, display,
51
+ # and embody agents. Full persona and behavior live in each agent's
52
+ # customize.toml. `team` defaults to the module code when omitted; users can
53
+ # add their own agents (real or fictional) via _drt/custom/config.toml or _drt/custom/config.user.toml.
54
+ agents:
55
+ - code: drt-agent-analyst
56
+ name: DRT001
57
+ title: Business Analyst
58
+ icon: "📊"
59
+ team: software-development
60
+ description: "Structured business analysis grounded in evidence. Asks targeted questions before proposing solutions."
61
+
62
+ - code: drt-agent-tech-writer
63
+ name: DRT002
64
+ title: Technical Writer
65
+ icon: "📚"
66
+ team: software-development
67
+ description: "Turns complex technical content into clear documentation. Favors structure, diagrams, and concrete examples."
68
+
69
+ - code: drt-agent-pm
70
+ name: DRT003
71
+ title: Product Manager
72
+ icon: "📋"
73
+ team: software-development
74
+ description: "Focuses on user value and testable assumptions. Asks why repeatedly and favors small shippable scope."
75
+
76
+ - code: drt-agent-ux-designer
77
+ name: DRT004
78
+ title: UX Designer
79
+ icon: "🎨"
80
+ team: software-development
81
+ description: "Designs from real user needs. Balances empathy with edge cases; ties decisions to specific outcomes."
82
+
83
+ - code: drt-agent-architect
84
+ name: DRT005
85
+ title: System Architect
86
+ icon: "🏗️"
87
+ team: software-development
88
+ description: "Favors stable, maintainable architecture at the right scale. Presents trade-offs before locking decisions."
89
+
90
+ - code: drt-agent-dev
91
+ name: DRT006
92
+ title: Senior Software Engineer
93
+ icon: "💻"
94
+ team: software-development
95
+ description: "Test-first discipline, clear code, small commits. Communicates with file paths, AC IDs, and repro steps."
@@ -0,0 +1,43 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+
4
+ function resolveTomlParser() {
5
+ const candidates = [
6
+ path.join(__dirname, '..', 'node_modules', '@iarna', 'toml'),
7
+ path.join(__dirname, '..', '..', 'node_modules', '@iarna', 'toml'),
8
+ ];
9
+ for (const candidate of candidates) {
10
+ try {
11
+ return require(candidate);
12
+ } catch {
13
+ // try next
14
+ }
15
+ }
16
+ throw new Error('@iarna/toml not found. Re-run DRT install to set up _drt/scripts dependencies.');
17
+ }
18
+
19
+ const TOML = resolveTomlParser();
20
+
21
+ function loadToml(filePath, { required = false } = {}) {
22
+ if (!fs.existsSync(filePath)) {
23
+ if (required) {
24
+ process.stderr.write(`error: required config file not found: ${filePath}\n`);
25
+ process.exit(1);
26
+ }
27
+ return {};
28
+ }
29
+ try {
30
+ const content = fs.readFileSync(filePath, 'utf8');
31
+ const parsed = TOML.parse(content);
32
+ return parsed && typeof parsed === 'object' ? parsed : {};
33
+ } catch (error) {
34
+ const level = required ? 'error' : 'warning';
35
+ process.stderr.write(`${level}: failed to parse ${filePath}: ${error.message}\n`);
36
+ if (required) {
37
+ process.exit(1);
38
+ }
39
+ return {};
40
+ }
41
+ }
42
+
43
+ module.exports = { loadToml };
@@ -0,0 +1,89 @@
1
+ const KEYED_MERGE_FIELDS = ['code', 'id'];
2
+
3
+ function detectKeyedMergeField(items) {
4
+ if (!items?.length || !items.every((item) => item && typeof item === 'object' && !Array.isArray(item))) {
5
+ return null;
6
+ }
7
+ for (const candidate of KEYED_MERGE_FIELDS) {
8
+ if (items.every((item) => item[candidate] != null)) {
9
+ return candidate;
10
+ }
11
+ }
12
+ return null;
13
+ }
14
+
15
+ function mergeByKey(base, override, keyName) {
16
+ const result = [];
17
+ const indexByKey = {};
18
+
19
+ for (const item of base) {
20
+ if (!item || typeof item !== 'object' || Array.isArray(item)) {
21
+ continue;
22
+ }
23
+ if (item[keyName] != null) {
24
+ indexByKey[item[keyName]] = result.length;
25
+ }
26
+ result.push({ ...item });
27
+ }
28
+
29
+ for (const item of override) {
30
+ if (!item || typeof item !== 'object' || Array.isArray(item)) {
31
+ result.push(item);
32
+ continue;
33
+ }
34
+ const key = item[keyName];
35
+ if (key != null && key in indexByKey) {
36
+ result[indexByKey[key]] = { ...item };
37
+ } else {
38
+ if (key != null) {
39
+ indexByKey[key] = result.length;
40
+ }
41
+ result.push({ ...item });
42
+ }
43
+ }
44
+
45
+ return result;
46
+ }
47
+
48
+ function mergeArrays(base, override) {
49
+ const baseArr = Array.isArray(base) ? base : [];
50
+ const overrideArr = Array.isArray(override) ? override : [];
51
+ const keyedField = detectKeyedMergeField([...baseArr, ...overrideArr]);
52
+ if (keyedField) {
53
+ return mergeByKey(baseArr, overrideArr, keyedField);
54
+ }
55
+ return [...baseArr, ...overrideArr];
56
+ }
57
+
58
+ function deepMerge(base, override) {
59
+ if (base && typeof base === 'object' && !Array.isArray(base) && override && typeof override === 'object' && !Array.isArray(override)) {
60
+ const result = { ...base };
61
+ for (const [key, overVal] of Object.entries(override)) {
62
+ if (key in result) {
63
+ result[key] = deepMerge(result[key], overVal);
64
+ } else {
65
+ result[key] = overVal;
66
+ }
67
+ }
68
+ return result;
69
+ }
70
+ if (Array.isArray(base) && Array.isArray(override)) {
71
+ return mergeArrays(base, override);
72
+ }
73
+ return override;
74
+ }
75
+
76
+ function extractKey(data, dottedKey) {
77
+ const parts = dottedKey.split('.');
78
+ let current = data;
79
+ for (const part of parts) {
80
+ if (current && typeof current === 'object' && !Array.isArray(current) && part in current) {
81
+ current = current[part];
82
+ } else {
83
+ return undefined;
84
+ }
85
+ }
86
+ return current;
87
+ }
88
+
89
+ module.exports = { deepMerge, extractKey };