tdd-process
Installation
SKILL.md
TDD Process
Apply the execution contract before this procedure.
Process Steps
Step 1: Red Phase
- Write a failing test for the target behavior
- Run the test suite on that specific file
- Gate: Failure must demonstrate missing behavior (an assertion or missing API), not a syntax or configuration error
- Checkpoint: Present the test code and failure output before proceeding to implementation
Step 2: Green Phase
- Write the minimal code required to pass the test — nothing more
- Run the test file
- Checkpoint: Present the minimal implementation once tests pass