What problem does it solve?
The tdd-workflow skill solves unreliable code changes by enforcing a strict test-first, evidence-backed development loop with strong coverage expectations.
Core Features & Use Cases
- Test-first implementation: Require a RED gate before any production code changes, then re-run the same relevant tests to reach GREEN.
- Coverage and test-type discipline: Enforce a minimum 80%+ coverage goal across unit, integration, and E2E (including Playwright) tests, with edge cases and error paths covered.
- Evidence-focused Git checkpoints: Create checkpoint commits after RED, GREEN, and optional refactors (on the current active branch) with commit messages that capture the exact stage outcomes.
Use cases include developing new features, fixing bugs, refactoring safely, adding API endpoints, and building new components with confidence that regressions are caught.
Quick Start
Activate tdd-workflow by telling your AI coding agent: "Use TDD to implement this change, ensure the targeted tests fail first (RED), implement the minimal fix, rerun tests to get GREEN, and then verify 80%+ coverage."