What problem does it solve? Teams often skip writing tests or write them after implementation, leading to fragile code, regressions, and low confidence during refactoring. This Skill enforces a disciplined test-first workflow so every feature, bug fix, or refactor is backed by unit, integration, and E2E tests before production code changes. ## Core Features & Use Cases - RED-GREEN-REFACTOR Gates: Requires a verified failing test (runtime or compile-time RED) before any production code is modified, then validates GREEN before refactoring. - Git Checkpoint Commits: Creates stage-specific commits on the active branch for failing tests, fixes, and refactors, with reachability verification from HEAD. - Multi-Level Test Patterns: Provides ready-to-use Jest/Vitest unit test, API integration test, and Playwright E2E patterns, plus mocking templates for Supabase, Redis, and OpenAI. - Use Case: When adding a new API endpoint, the Skill guides you to write user journeys, generate failing test cases, commit the RED checkpoint, implement the minimal fix, confirm GREEN, refactor, and verify 80%+ coverage. ## Quick Start Ask the AI to implement a new feature or fix a bug using the tdd-workflow skill so tests are written first and coverage is verified.