What it does
TDD Guard uses Claude Code hooks to watch file operations as they happen and block changes that break test-driven development rules. It stops the agent from writing implementation without a failing test or going beyond what the current test needs, and explains what to do instead. The project now points new users to its successor, Probity.
Use cases
- 01Block implementation code written before a failing test
- 02Stop over-implementation beyond the current test
- 03Keep an agent's changes in small test-driven steps