Dt dev archive
只执行归档。提炼本次开发经验写入项目规范,记录进展,归档任务目录。 适用于开发和 Review 完成后,单独执行经验沉淀。From its SKILL.md
npx -y skills add Daotin/dt-workflow --skill dt-dev-archiveAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 22 days oldThe repository was created 22 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, 623 tokens by cl100k_base, as published. Nobody here has run it
归档
前置检查
检查项目根目录是否存在 .dt/ 目录。不存在则拒绝执行,提示用户先运行 dt-dev 完成初始化。
流程
- 定位任务目录:
.dt/tasks/(done/之外)只有一个就用它,多个列出让用户选;读取其中的design.md、task.md和review.md。 - 判断本次是否形成了新的、跨任务有效的内容,对应写入
.dt/spec.md的节:- 架构决策 → 「架构和技术决策」
- 开发规范 → 「开发规范」
- 可复用模式 → 「已验证的复用模式」
- 踩坑或禁止方案 → 「踩坑和禁止方案」
- 业务规则 → 「业务规则」
- Review 检查项 → 「Review 必查项」
- 写入前先读
.dt/spec.md对应节:已有条目覆盖的不写;与已有规则冲突的指出冲突,让用户决定留哪条;目标节里有已过时或可合并的旧条目时,一并列出合并 / 删除提议,随新增条目一起确认。 - 把打算写入的条目列给用户确认,确认后再写入。只保存跨任务有效的结论,写具体可执行的描述,不写流水账、不复制聊天记录或整份技术方案;当前需求特有的信息留在任务目录里。
- 在
.dt/progress.md追加一段:
## <YYYY-MM-DD> <任务名>
- 一句话总结
- 关键改动:<要点列表>
- commit:<hash>(如已提交)
- 把 task.md 的状态改为
done,任务目录整体移入.dt/tasks/done/。
任务中止
用户明确不做了的任务不走上面的流程:task.md 状态改为 abandoned 并加一行中止原因,目录整体移入 done/,在 progress.md 追加一行中止记录;确有值得沉淀的教训时才执行第 2-4 步。
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.