tdd
Test-driven development workflow with philosophy guide - plan → write tests → implement → validate
npx skills add parcadei/Continuous-Claude-v3 --skill tdd --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# /tdd - Test-Driven Development Workflow Strict TDD workflow: tests first, then implementation. ## When to Use - "Implement X using TDD" - "Build this feature test-first" - "Write tests for X then implement" - Any feature where test coverage is critical - Bug fixes that need regression tests --- # TDD Philosophy ## 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.** ## 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 ### RED - Write Failing Test Write one minimal test showing what should happen. **Good:** ```typescript test('retries failed operations 3 times', async () => { let attempts = 0; const operation = () => { attempts++; if (attempts < 3) throw new Error('fail'); return 'success'; }; const result = await retryOperation(operat
- When to Use
- Overview
- The Iron Law
- Red-Green-Refactor
- RED - Write Failing Test
- Verify RED - Watch It Fail
- GREEN - Minimal Code
- Verify GREEN - Watch It Pass
- REFACTOR - Clean Up
- Common Rationalizations
- Red Flags - STOP and Start Over
- Verification Checklist
- When Stuck
- Workflow Overview
npm test path/to/test.test.ts or pytest path/to/test_file.py
What does the tdd skill do?
Test-driven development workflow with philosophy guide - plan → write tests → implement → validate
How do I install it?
Run `npx skills add parcadei/Continuous-Claude-v3 --skill tdd --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From parcadei/Continuous-Claude-v3, a repository with 3,879 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
