rule
TDD best practices
tdd-best-practices
Red-green-refactor, unit and integration strategy, mock boundaries and how agents prove a change.
When to use it
Applies to every code change.
Technical description
Enforcement rule requiring Test-Driven Development (TDD) best practices, Red-Green-Refactor cycles, unit/integration testing strategies, mock boundaries, and verification standards for any coding agent (Claude Code, Google Antigravity and others).