Skill
Test-Driven Development
Forces the red-green-refactor loop before any implementation code is written.
Install
/plugin install superpowers@claude-plugins-official
Triggers on
Kicks in before implementation code is written for a feature or a bugfix — the failing test always comes first.
- Author
- Jesse Vincent (obra)
- License
- MIT
Repositoryhttps://github.com/obra/superpowers
This skill holds the agent to a strict test-first order: write a test that fails, confirm it fails for the expected reason, then add the smallest amount of code that makes it pass. Refactoring is only allowed once the suite is green and stays green. If production code appears before its test exists, the answer is not to keep it but to discard it and restart the cycle properly.

Comments(0)
Sign in to comment