dsh-tdd
其他 活跃维护

dsh-tdd

satan9394/dsh-tdd

提供测试驱动开发全流程能力,内置红绿重构循环与Prove-It修复模式,可快速落地TDD开发规范,降低测试用例编写与缺陷修复成本,提升代码迭代稳定性

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
5 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:satan9394/dsh-tdd
git clone https://github.com/satan9394/dsh-tdd.git
git clone git@github.com:satan9394/dsh-tdd.git
README.md main

dsh-tdd

测试驱动开发:先写失败测试再写实现(红-绿-重构);修 bug 用 Prove-It 模式
(先复现再修)。测试是证明——"看起来对"不算完成。

受 addyosmani/agent-skills
(88k★ MIT)的 test-driven-development 技能启发,改编为 DSH
中文原创精简版。

安装

dsh plugin --profile web add dsh-tdd
# 或本地开发:dsh plugin --profile web add link:E:\DeepSeek_Harness\workspace\2026_08_15\plugins\dsh-tdd
# 重启 dsh web 生效

使用

对 agent 说"TDD 方式实现 / 修 bug(先写复现测试)",
tdd 技能按红-绿-重构循环 + Prove-It 模式执行。

结构

dsh-tdd/
├── index.js           # 注册 skills/ 到 ctx.skills
├── cordis.patch.yml   # bundle patch 层
├── package.json       # dsh.bundle manifest
└── skills/tdd/SKILL.md

License

MIT。原创精简改编,灵感来自 addyosmani/agent-skills(MIT)。