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