test-driven-development
✓强制执行测试驱动开发 (TDD) 作为代码更改的默认工作流程。使用此技能进行功能实现、错误修复、重构以及任何需要正确性验证的更改。通过适当的测试优先原则指导代理完成红-绿-重构周期。触发“实现功能”、“修复错误”、“重构代码”等请求或任何提及测试、正确性或行为验证的任务。
SKILL.md
This skill enforces TDD as the baseline practice for nearly all code changes. TDD is a programming workflow where tests are written before implementation code, ensuring that every change is verified, intentional, and produces clean, maintainable code.
"Clean code that works" — Ron Jeffries, summarizing TDD's goal
TDD is not about testing. It's about design, confidence, and sustainable pace. The tests guide you toward better interfaces, simpler implementations, and code that's ready for the next change.
强制执行测试驱动开发 (TDD) 作为代码更改的默认工作流程。使用此技能进行功能实现、错误修复、重构以及任何需要正确性验证的更改。通过适当的测试优先原则指导代理完成红-绿-重构周期。触发“实现功能”、“修复错误”、“重构代码”等请求或任何提及测试、正确性或行为验证的任务。 来源:straub/agent-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/straub/agent-skills --skill test-driven-development- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-03
- 更新时间
- 2026-02-18
快速解答
什么是 test-driven-development?
强制执行测试驱动开发 (TDD) 作为代码更改的默认工作流程。使用此技能进行功能实现、错误修复、重构以及任何需要正确性验证的更改。通过适当的测试优先原则指导代理完成红-绿-重构周期。触发“实现功能”、“修复错误”、“重构代码”等请求或任何提及测试、正确性或行为验证的任务。 来源:straub/agent-skills。
如何安装 test-driven-development?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/straub/agent-skills --skill test-driven-development 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/straub/agent-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-03