什麼是 tdd?
通用的測試驅動開發方法和測試設計流程。 撰寫以行為為中心的測驗、模擬策略的背景知識, 垂直切片和曳光彈執行。編寫測試時自動加載 在實施、審查回饋或獨立測試創作期間。 觸發因素:編寫測試、測試設計、模擬策略、測試品質、 行為測試、整合測試、測試優先、紅綠重構。 來源:inkeep/team-skills。
通用的測試驅動開發方法和測試設計流程。 撰寫以行為為中心的測驗、模擬策略的背景知識, 垂直切片和曳光彈執行。編寫測試時自動加載 在實施、審查回饋或獨立測試創作期間。 觸發因素:編寫測試、測試設計、模擬策略、測試品質、 行為測試、整合測試、測試優先、紅綠重構。
透過命令列快速安裝 tdd AI 技能到你的開發環境
來源:inkeep/team-skills。
Universal principles for writing good tests. These apply regardless of framework, language, or repo — discover and follow your repo's specific testing tools, commands, and conventions from its project configuration, contributor guides, existing test files, CI/CD config, and any repo-level AI skills or rules.
Tests verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't break unless behavior changed.
Good tests exercise real code paths through public APIs. They describe what the system does, not how. A good test reads like a specification — "user can checkout with valid cart" tells you exactly what capability exists. These tests survive refactors because they don't care about internal structure.
通用的測試驅動開發方法和測試設計流程。 撰寫以行為為中心的測驗、模擬策略的背景知識, 垂直切片和曳光彈執行。編寫測試時自動加載 在實施、審查回饋或獨立測試創作期間。 觸發因素:編寫測試、測試設計、模擬策略、測試品質、 行為測試、整合測試、測試優先、紅綠重構。 來源:inkeep/team-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/inkeep/team-skills --skill tdd通用的測試驅動開發方法和測試設計流程。 撰寫以行為為中心的測驗、模擬策略的背景知識, 垂直切片和曳光彈執行。編寫測試時自動加載 在實施、審查回饋或獨立測試創作期間。 觸發因素:編寫測試、測試設計、模擬策略、測試品質、 行為測試、整合測試、測試優先、紅綠重構。 來源:inkeep/team-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/inkeep/team-skills --skill tdd 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/inkeep/team-skills