TDD Guard
github.com · Open source · Active
Enforces test-driven development for Claude Code agents through hooks
- Developer tools
- Open source
- TypeScript
- Day-7 check
- Day-30 check
- tdd
- claude code
- testing
- agentic coding
- automation
- code quality
- hooks
- llm tools
- test driven development
- agent hooks
- Stars
- 2.4k
- Forks
- 196
- Open issues
- 13
- Last commit
- Releases
- 80
- Found
- 17 months ago
GitHub figures as of . They are context, not a ranking.
TDD Guard enforces test-driven development for Claude Code by blocking agent actions that break TDD principles. It runs as Claude Code hooks and suits developers who want an agent to keep a test-first discipline during coding sessions.
Repository description on GitHub: “Automated TDD enforcement for Claude Code”
What it does
- Blocks agent actions that violate TDD principles
- Runs as hooks inside Claude Code
- Available as an npm package
Good for
- Keep an agent writing a failing test before implementation code
- Stop Claude Code from skipping the red-green step of TDD
Suits: Developers who want Claude Code to follow test-driven development.
Worth knowing: The readme says new projects should use Probity, its successor, and TDD Guard is maintained for existing users.
What you can try
Install the tdd-guard npm package and add it as a Claude Code hook, following the README.
Install
npx tdd-guardConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw TDD Guard on , when nizos created its repository on GitHub. The oldest published release on GitHub is v0.1.0, dated . Its first tagged release came 4 days after it was found. 80 releases have been published in total; the latest is v1.7.0 ().
Day-7 and day-30 updates
Day 7 5 releases shipped
- 5 releases in the first 7 days: v0.1.0 (11 Jul 2025), v0.1.1 (11 Jul 2025), v0.1.2 (11 Jul 2025), v0.1.3 (11 Jul 2025), v0.1.4 (12 Jul 2025)
Checked , later than day 7 because tracking began after.
Day 30 31 releases shipped
- 31 releases in the first 30 days: phpunit-v0.1.0 (30 Jul 2025), v0.8.0 (30 Jul 2025), vitest-v0.1.2 (30 Jul 2025), v0.8.1 (3 Aug 2025), jest-v0.1.0 (3 Aug 2025), vitest-v0.1.3 (3 Aug 2025), phpunit-v0.1.1 (3 Aug 2025), jest-v0.1.1 (3 Aug 2025) and earlier ones
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: nizos/tdd-guard
- Found: nizos created its repository on GitHub. GitHub
- Release v0.1.0
- Release v1.6.6
- Release v1.6.7
- Release v1.6.8
- Release minitest-v0.2.0
- Release v1.6.9
- Release v1.7.0
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 80 releases. All releases on GitHub
Quick answers
- When was TDD Guard released?
- Its first tagged release on GitHub is dated 11 Jul 2025. Kip found it on GitHub on 7 Jul 2025.
- Is TDD Guard open source?
- Its source is public on GitHub at nizos/tdd-guard under the MIT licence.
- What does TDD Guard run on?
- Command line.
- Is TDD Guard free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is TDD Guard still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| GitHub | listing official API record | |
| GitHub repository | nizos/tdd-guard REST API record | |
| GitHub Releases | release list REST API record |
Stable ID github-1015280784. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.