← Back to all skills
PremiumExclusiveFeaturedv1.0.0$9

Test-Driven Development

obra/superpowers

View on GitHub

RED-GREEN-REFACTOR with iron laws: write the test first, watch it fail, then write the minimal code to pass. Turns your agent into a disciplined TDD practitioner that never ships untested code.

Works withClaude CodeCodexCursorCopilotGemini CLI
Try it

/test-driven-development Add cursor-based pagination to the orders API

What you get

  • The RED-GREEN-REFACTOR loop with iron laws your agent must not skip
  • A guide to writing tests that actually catch regressions
  • A rationalization-rejection table ("I'll test it later" is not a plan)

Good fit

  • New features and bugfixes in any codebase
  • Projects where untested code keeps regressing

Not for

  • Throwaway spikes and prototypes
  • Debugging existing failures (use systematic-debugging)
Repository
obra/superpowers
Stars
0
Category
Coding
Skills inside
1

Exclusive content

Hosted on SkillStack — full markdown, yours after purchase.

--- name: test-driven-development description: Use when implementing any feature or bugfix, before writing implementation code ---

Test-Driven Development (TDD)

Overview

Write the test first. Watch it fail. Write minimal code to pass.

Core principle: If you didn't watch the t…

Unlock the full content

Buy it once and keep it forever, or subscribe for access to everything.

Premium subscribers get this included.

Download & install

v1.0.0Updated 10/1/2026 · 8.8 KB · 4 files · 0 downloads

What's new: Initial SkillStack curated release: original MIT-licensed content repackaged as an install-ready ZIP with attribution.

Sign in to download

Free for signed-in users.

1. Download the ZIP

Use the button above to download the packaged skill. It contains the SKILL.md plus all supporting files.

2. Unzip into your agent's skills folder

Extract the archive so that SKILL.md sits directly inside a folder named after the skill:

unzip test-driven-development-v1.0.0.zip -d ~/.claude/skills/test-driven-development/
Skills folder per agent
Claude Code
~/.claude/skills
Cursor
~/.cursor/skills
Codex
~/.codex/skills
GitHub Copilot
~/.copilot/skills

3. Restart your agent

Your agent picks up the new skill automatically on next launch. Ask it what it can do.

Reviews

No reviews yet — be the first to rate this skill.

Related skills