Skip to main content
ClaudeWave

Automated TDD enforcement for Claude Code

Tools2.2k stars167 forksTypeScriptMITUpdated 4d ago
Editor's note

TDD Guard is a TypeScript npm package that hooks into Claude Code to enforce Test-Driven Development discipline during agentic coding sessions. It installs as a Claude Code plugin via three slash commands and intercepts the agent's file-writing actions to block two specific violations: writing implementation code before any failing tests exist, and writing more code than current tests require. It also integrates with project linters to enforce the refactor phase of the red-green-refactor cycle. When a violation is detected, the hook blocks the action and returns an explanation of what must happen first rather than silently failing. The tool supports ten test frameworks across multiple languages, including Vitest, Jest, pytest, PHPUnit, Go, Rust, RSpec, and Minitest. Validation can be routed to faster or more capable models depending on project needs, and enforcement can be toggled mid-session. Software developers who want Claude Code to respect TDD workflows rather than skip directly to passing implementations are the primary audience.

ClaudeWave Trust Score
100/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Healthy fork ratio
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 6/11/2026
Get started
Method: Clone
Terminal
git clone https://github.com/nizos/tdd-guard
1. Clone the repository.
2. Follow the README for installation and usage instructions.
Use cases

Tools overview

README preview not available. Visit the repo on GitHub for full documentation.
agentic-codingautomationclaude-codecode-qualityhooksllm-toolstdd

What people ask about tdd-guard

What is nizos/tdd-guard?

+

nizos/tdd-guard is tools for the Claude AI ecosystem. Automated TDD enforcement for Claude Code It has 2.2k GitHub stars and was last updated 4d ago.

How do I install tdd-guard?

+

You can install tdd-guard by cloning the repository (https://github.com/nizos/tdd-guard) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is nizos/tdd-guard safe to use?

+

Our security agent has analyzed nizos/tdd-guard and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains nizos/tdd-guard?

+

nizos/tdd-guard is maintained by nizos. The last recorded GitHub activity is from 4d ago, with 27 open issues.

Are there alternatives to tdd-guard?

+

Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.

Deploy tdd-guard to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: nizos/tdd-guard
[![Featured on ClaudeWave](https://claudewave.com/api/badge/nizos-tdd-guard)](https://claudewave.com/repo/nizos-tdd-guard)
<a href="https://claudewave.com/repo/nizos-tdd-guard"><img src="https://claudewave.com/api/badge/nizos-tdd-guard" alt="Featured on ClaudeWave: nizos/tdd-guard" width="320" height="64" /></a>

More Tools