01
It starts by itself
feature or bugfix task. Runs in Claude Code routine or GitHub Actions.
- ↻ feature or bugfix task
issue labelled feature or bug
Code you can trust.
Install the Test-Driven Development skill and make it a habit: follow https://gethabit.dev/skills/obra/test-driven-development.md
257K installs303K starsMIT licenceSource on GitHub ↗

Test-Driven Development
by Jesse Vincent · 257K installs
The skill
Makes your agent write a failing test first, then the least code to pass.
Only when you ask.
Fewer bugs
Code you can trust. Fewer bugs, since every change starts with a test.
↻ Runs by itselfwhen a feature or bug task starts
When does it start? How does it check its work? What does it remember?
Stops after one behavior per cycle and one task per run.
Write one small test with a clear name for one behavior.
Run it, for example with npm test, and confirm it fails because the feature is missing.
Write the simplest code that makes the test pass and nothing more.
Run the project's test command, such as pytest, npm test or cargo test, and report every failure by name.
Clean up names and duplication while all tests stay green.
For prototypes, generated code or config files, ask your human partner first.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Test-Driven Development skill helps.
Then it tests behavior that already exists. The loop fixes the test before it writes any code.
No. The skill asks for the whole project suite and a report of every red test by name.
The skill says delete it and start again from the test.
Copy the prompt at the top into your agent. It installs the skill from obra/superpowers and sets up the habit. Or run npx skills add obra/superpowers --skill test-driven-development.
Yes. It is published under MIT. Habit is free too.
Install the Test-Driven Development skill and make it a habit: follow https://gethabit.dev/skills/obra/test-driven-development.md
All Jesse Vincent skills →More code skills →
Works in
Made by Jesse Vincent, published under MIT. Habit links to the original and never changes it. Is this your skill?