Enforces test-driven development practices to ensure high-quality code with a minimum of 80% test coverage across unit, integration, and E2E tests.
The TDD Workflow skill transforms Claude into a test-first development partner, ensuring that every new feature, bug fix, or refactor begins with a robust testing strategy. It guides the agent through the complete Red-Green-Refactor cycle, from defining user journeys and writing failing tests to implementing minimal code and verifying coverage thresholds. By integrating standardized patterns for Playwright, Vitest, and API testing, this skill helps maintain a reliable codebase with a mandatory 80% coverage floor, preventing regressions and technical debt.
Key Features
01Integrates coverage verification via CLI tools
02Automates mocking for services like Supabase, Redis, and OpenAI
030 GitHub stars
04Enforces strict Red-Green-Refactor TDD cycles
05Standardizes Unit, Integration, and Playwright E2E patterns
06Maintains a minimum 80% code coverage threshold
Use Cases
01Fixing complex bugs while preventing future regressions
02Refactoring legacy code with a comprehensive safety net
03Building new features using a test-first methodology