Test-Driven Development (Superpowers)
293,248 starsTurns TDD into a hard process rule: a failing test must exist before any feature or bugfix implementation — red, green, refactor — with no implementing first and backfilling tests later.
- First published:2025-10-09
- data as of:
- 2026-09-30
- Licence:
- MIT
When to use it
When implementing features or fixing bugs and you want tests written before code.
Caution
Feels rigid for exploratory spikes or prototypes; the skill is a discipline constraint and only pays off if you actually want TDD.
Install prompt
請幫我安裝「Test-Driven Development (Superpowers)」技能:從 https://github.com/obra/superpowers/tree/main/skills/test-driven-development(技能路徑:skills/test-driven-development/) 取得完整的技能目錄,放進我的 Agent 的技能目錄(例如專案內的 skills/ 資料夾,或該 Agent 文件指明的全域技能位置),確認裡面的 SKILL.md 存在、frontmatter 的 name 與 description 完整,然後列出這個技能宣告的腳本、外部工具與 API 需求,先不要執行任何腳本。Paste this to your agent. It deliberately contains no tool subcommands — check the tool's official docs for commands.
Compatible with
Related patterns