What problem does it solve? Teams often ship code without adequate tests, leading to regressions, brittle refactors, and production bugs. This Skill enforces a strict test-first workflow so every feature, bug fix, or refactor is backed by unit, integration, and E2E tests before implementation begins. ## Core Features & Use Cases - RED-GREEN-Refactor Workflow: Guides writing failing tests first, implementing minimal code to pass, then refactoring with tests green. - Test Runner Detection: Resolves the correct package manager and test runner (npm, pnpm, yarn, Bun, Jest, Vitest, bun:test) before running any test command. - Coverage Gates: Enforces a minimum 80% coverage threshold across branches, functions, lines, and statements. - Use Case: When adding a new API endpoint, the Skill walks you through writing user journeys, generating Jest/Vitest integration tests, mocking Supabase or Redis dependencies, and verifying coverage before marking the task done. ## Quick Start Ask the AI to use the tdd-workflow skill to implement your next feature with tests written before any production code.