Documentation
README
TDD Workflow
Strict Red-Green-Refactor discipline for every code change. Tests come first โ no exceptions.
Overview
This skill enforces TDD as a non-negotiable workflow:
- RED โ Write a failing test that describes the desired behavior
- GREEN โ Write the minimum code to make it pass
- REFACTOR โ Clean up with all tests green
Never write implementation before a test exists for the happy path.
When to Use
- Implementing any new feature or function
- Fixing a bug (write the regression test first)
- Refactoring existing code (ensure tests exist first)
- Adding edge case handling
RED Phase: Write the Failing Test
This is the opening of the README. Read the full README on GitHub.