SKILL261.4K installs305.7K

Test Driven Development

Use when implementing any feature or bugfix, before writing implementation code

Type
Skill
Author
obra
Category
Testing
GitHub stars
305.7K
Installs
261.4K
Last updated
October 29, 2026

Install

npx skills add https://github.com/obra/superpowers --skill test-driven-development

Use cases


Frequently Asked Questions

When should this skill be used?

When implementing any feature or bugfix, before writing implementation code.

Does it apply to bug fixes as well as new features?

Yes, it enforces the test-first loop for both new features and bug fixes.

What workflow does it encourage?

A red-green-refactor rhythm instead of writing code and adding tests afterward.


About this skill

Enforces a test-first loop: write the failing test before any implementation code, for both new features and bug fixes. It's for developers who want the agent to stay in a red-green-refactor rhythm instead of writing code and bolting tests on afterward. Part of the obra/superpowers set of workflow skills.

Summary written with AI assistance from the project's public description.


Categories


More from obra


Similar Skills