What problem does it solve? Code written without tests is fragile, hard to refactor, and prone to regressions reaching production. This Skill enforces a disciplined test-driven development workflow so every feature, bug fix, and refactor is backed by unit, integration, and E2E tests with at least 80% coverage. ## Core Features & Use Cases - Structured TDD Cycle: Guides the full red-green-refactor loop, from writing user journeys and failing tests to implementing code and verifying coverage thresholds. - Three Test Layers: Provides concrete patterns for unit tests (Jest/Vitest with Testing Library), API integration tests (Next.js route handlers), and E2E tests (Playwright browser automation). - Mocking and Coverage Standards: Includes ready-made mocks for Supabase, Redis, and OpenAI, plus Jest coverage threshold configuration enforcing 80% on branches, functions, lines, and statements. - Use Case: When adding a new API endpoint, the Skill walks you through writing failing integration tests first, implementing the minimal route handler, then validating coverage and edge cases before committing. ## Quick Start Ask the AI to apply the tdd-workflow skill to write tests first and then implement your new feature with at least 80% coverage.