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,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,4 @@
1
+ # Implementation Readiness Assessment Report
2
+
3
+ **Date:** {{date}}
4
+ **Project:** {{project_name}}
@@ -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 = ""