What problem does it solve?
This Skill solves the problem of shipping unverified code by enforcing test-first development so behavior is specified, validated, and protected against regressions.
Core Features & Use Cases
- Test-first discipline (RED-GREEN-REFACTOR): Write a minimal failing test, verify it fails, implement the smallest change to pass, then refactor safely.
- Verification as a requirement: Mandates re-running the specific test to confirm the failure and the pass, followed by the full suite to catch regressions.
- Common anti-pattern detection: Helps you avoid testing mocks instead of real behavior, relying on happy-path only, and writing brittle tests that break on refactors.
- When to apply TDD: New features, bug fixes, refactors, and behavior changes—while prompting exceptions only for user-approved cases like throwaway prototypes.
- Delegate and systematic debugging integration: Guides subagent task instructions and converts found bugs into failing tests that prove the fix.
Quick Start
Ask the assistant to help you write the first failing pytest for the behavior you want, then guide you through the exact next steps to make it fail for the right reason and pass with the minimal code change.