什麼是 tdd?
當使用者想要使用測試驅動開發來實現功能或修復錯誤時,應該使用此技能。透過垂直切片、測試編寫和實作之間的上下文隔離、人工檢查點和自動測試回饋循環來強制實施紅-綠-重構循環。將多代理程式編排與任務工具結合使用,以在架構上強制實施上下文隔離。支援 Jest、Vitest、pytest、Go 測試、cargo 測試、PHPUnit 和 RSpec。 來源:glebis/claude-skills。
當使用者想要使用測試驅動開發來實現功能或修復錯誤時,應該使用此技能。透過垂直切片、測試編寫和實作之間的上下文隔離、人工檢查點和自動測試回饋循環來強制實施紅-綠-重構循環。將多代理程式編排與任務工具結合使用,以在架構上強制實施上下文隔離。支援 Jest、Vitest、pytest、Go 測試、cargo 測試、PHPUnit 和 RSpec。
透過命令列快速安裝 tdd AI 技能到你的開發環境
來源:glebis/claude-skills。
Enforce disciplined RED-GREEN-REFACTOR cycles using separate subagents for test writing and implementation. The core innovation: the Test Writer never sees implementation code, and the Implementer never sees the specification. This prevents the LLM from leaking implementation intent into test design.
| /tdd | Interactive mode — pause for approval at slices and each RED checkpoint | | /tdd --auto | Autonomous mode — run all slices without pausing; stop ONLY on unrecoverable errors | | /tdd --resume | Resume from .tdd-state.json in project root |
| /tdd --dry-run | Validation mode — runs Phase 0 + Phase 1 fully, renders all prompts, but skips Task() calls. No code is written. |
當使用者想要使用測試驅動開發來實現功能或修復錯誤時,應該使用此技能。透過垂直切片、測試編寫和實作之間的上下文隔離、人工檢查點和自動測試回饋循環來強制實施紅-綠-重構循環。將多代理程式編排與任務工具結合使用,以在架構上強制實施上下文隔離。支援 Jest、Vitest、pytest、Go 測試、cargo 測試、PHPUnit 和 RSpec。 來源:glebis/claude-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/glebis/claude-skills --skill tdd當使用者想要使用測試驅動開發來實現功能或修復錯誤時,應該使用此技能。透過垂直切片、測試編寫和實作之間的上下文隔離、人工檢查點和自動測試回饋循環來強制實施紅-綠-重構循環。將多代理程式編排與任務工具結合使用,以在架構上強制實施上下文隔離。支援 Jest、Vitest、pytest、Go 測試、cargo 測試、PHPUnit 和 RSpec。 來源:glebis/claude-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/glebis/claude-skills --skill tdd 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/glebis/claude-skills