Decide · coding-agent SKILL.md
obra/superpowers test-driven-development skill (Iron Law)
WhenUse when implementation is about to start without a failing test.
StopIron Law: no production code without a failing test. Never skip red-green-refactor.
Steps
- [ ] Every new function/method has a test
- [ ] Watched each test fail before implementing
- [ ] Each test failed for expected reason (feature missing, not typo)
- [ ] Wrote minimal code to pass each test
- [ ] All tests pass
- [ ] Output pristine (no errors, warnings)
- [ ] Tests use real code (mocks only if unavoidable)
- [ ] Edge cases and errors covered
Loadobra/superpowers TDD SKILL.md. Test runner.
--- name: obra/superpowers test-driven-development skill (Iron Law) description: Use when implementation is about to start without a failing test. --- # obra/superpowers test-driven-development skill (Iron Law) When: Use when implementation is about to start without a failing test. Stop: Iron Law: no production code without a failing test. Never skip red-green-refactor. 1. [ ] Every new function/method has a test 2. [ ] Watched each test fail before implementing 3. [ ] Each test failed for expected reason (feature missing, not typo) 4. [ ] Wrote minimal code to pass each test 5. [ ] All tests pass 6. [ ] Output pristine (no errors, warnings) 7. [ ] Tests use real code (mocks only if unavoidable) 8. [ ] Edge cases and errors covered Load: obra/superpowers TDD SKILL.md. Test runner.
