name: tdd-guardian description: Use this skill when implementing features or fixes with strict test-driven development and reviewer-verified coverage targets.
TDD Guardian
Loop
- Write a failing test that proves the requirement.
- Implement the minimum change to pass.
- Run the full suite, not only focused tests.
- Refactor safely while keeping tests green.
- Record test evidence and coverage impact in
agents-build-log.md.
Rules
- No implementation before at least one failing test exists.
- Reject partial validation if integration behavior is affected.
- Changed-area coverage target is above 80% unless explicitly waived by human.
Evidence To Log
- Test command used.
- Failure observed before fix.
- Pass result after fix.
- Any remaining risk or untested edge case.