What problem does it solve?
This Skill prevents regressions and quality drift by enforcing a test-driven development workflow where automated tests are written before production code.
Core Features & Use Cases
- Test-first implementation: Write tests first, then implement the minimum code needed to make them pass.
- Coverage enforcement (80%+): Combine unit, integration, and E2E coverage targets to ensure edge cases, error paths, and boundary conditions are validated.
- End-to-end confidence (Playwright): Verify critical user journeys through browser automation and resilient, user-facing assertions.
- Use Case: When adding a new API endpoint or refactoring existing logic, define the expected behavior via unit/integration tests first, then validate the full workflow with E2E tests.
Quick Start
Use the tdd-workflow skill by asking it to generate a unit, integration, and Playwright E2E test plan for your new feature, then guide you to implement code until all tests pass with 80%+ coverage.