What problem does it solve?
This skill solves the costly problem of shipping buggy, untested code that requires extensive late-cycle debugging and fixes, by enforcing a test-first workflow that catches issues before they are embedded in production code.
Core Features & Use Cases
- Strict RED-GREEN-REFACTOR Cycle Enforcement: Mandates writing a failing test first, implementing minimal code to pass it, then refactoring without breaking existing tests.
- Guardrails Against Common Rationalizations: Includes red flags, common excuse rebuttals, and a verification checklist to prevent skipping TDD steps.
- VIGIL Tool Integration: Provides ready-to-use commands for running tests via the terminal tool and dispatching TDD-compliant subagent tasks.
- Use Case: A developer adding a new retry feature for failed API calls will use this skill to first write a test verifying the operation retries 3 times, confirm the test fails, implement the minimal retry logic, then refactor for readability while keeping all tests passing.
Quick Start
Ask the AI to implement the new user password validation feature using strict test-driven development, writing a failing test for the minimum 8-character length requirement first before writing any production code.