AcademyResourcesDevelopment

TDD Guard

Development teams that want Claude Code to follow a test-first workflow consistently.

  • Recommendedour rating
  • 2,360gitHub stars
  • MITlicence
  • 6 days agolast update
git clone https://github.com/nizos/tdd-guard.git
README.md

Loading the file...

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

  1. 01Block implementation code written before a failing test
  2. 02Stop over-implementation beyond the current test
  3. 03Keep an agent's changes in small test-driven steps

Questions about
TDD Guard.

What is TDD Guard used for?

Development teams that want Claude Code to follow a test-first workflow consistently. 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.

How do I install TDD Guard?

Run this in your terminal: git clone https://github.com/nizos/tdd-guard.git

Is TDD Guard open source?

Yes. The code is on GitHub (nizos/tdd-guard) under the MIT licence.

Is TDD Guard safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.