test-driven-development
SolidUse when implementing any feature or bugfix, before writing implementation code
Testing & QA 233 stars
44 forks Updated today MIT
Install
Quality Score: 89/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
<!--
Adapted from obra/superpowers test-driven-development skill (v5.0.7),
MIT-licensed, copyright 2025 Jesse Vincent. Modifications copyright 2026 Joe Amditis. v0.3.0 ports as a consumer category — no research
phase per the v0.2.0 architecture, since TDD is a sub-skill called
within other workflows whose specs/plans already encode the research
conclusions. The artifact handoff carries those conclusions.
See CREDITS.md.
-->
# 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 test fail, you don't know if it tests the right thing.
**Violating the letter of the rules is violating the spirit of the rules.**
## When to Use
**Always:**
- New features
- Bug fixes
- Refactoring
- Behavior changes
**Exceptions (ask your human partner):**
- Throwaway prototypes
- Generated code
- Configuration files
Thinking "skip TDD just this once"? Stop. That's rationalization.
## The Iron Law
```
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
```
Write code before the test? Delete it. Start over.
**No exceptions:**
- Don't keep it as "reference"
- Don't "adapt" it while writing tests
- Don't look at it
- Delete means delete
Implement fresh from tests. Period.
## Red-Green-Refactor
```dot
digraph tdd_cycle {
rankdir=LR;
red [label="RED\nWrite failing test", shape=box, style=filled, fillcolor="#ffcccc"];
verify_red [label="Verify fails\ncorrectly", shape=diamond];
gree...
Details
- Author
- jamditis
- Repository
- jamditis/claude-skills-journalism
- Created
- 5 months ago
- Last Updated
- today
- Language
- HTML
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
Testing & QA Listed
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
0 Updated today
tvna Testing & QA Solid
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
27,681 Updated today
davila7 Testing & QA Solid
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
1,417 Updated today
xintaofei Testing & QA Listed
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
335 Updated today
aiskillstore Testing & QA Listed
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
1 Updated 4 days ago
amarbel-llc