什麼是 test-driven-development?
在實現任何邏輯、修復任何錯誤或更改任何行為時使用。當您需要證明代碼有效、收到錯誤報告或要修改現有功能時使用。 來源:addyosmani/agent-skills。
在實現任何邏輯、修復任何錯誤或更改任何行為時使用。當您需要證明代碼有效、收到錯誤報告或要修改現有功能時使用。
透過命令列快速安裝 test-driven-development AI 技能到你的開發環境
來源:addyosmani/agent-skills。
Write a failing test before writing the code that makes it pass. For bug fixes, reproduce the bug with a test before attempting a fix. Tests are proof — "seems right" is not done. A codebase with good tests is an AI agent's superpower; a codebase without tests is a liability.
When NOT to use: Pure configuration changes, documentation updates, or static content changes that have no behavioral impact.
Write the test first. It must fail. A test that passes immediately proves nothing.
在實現任何邏輯、修復任何錯誤或更改任何行為時使用。當您需要證明代碼有效、收到錯誤報告或要修改現有功能時使用。 來源:addyosmani/agent-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/addyosmani/agent-skills --skill test-driven-development在實現任何邏輯、修復任何錯誤或更改任何行為時使用。當您需要證明代碼有效、收到錯誤報告或要修改現有功能時使用。 來源:addyosmani/agent-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/addyosmani/agent-skills --skill test-driven-development 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/addyosmani/agent-skills