Skip to main content
ClaudeWave
EN, English
nizos / Tools

tdd-guard

Automated TDD enforcement for Claude Code

  • 2.4k stars
  • 188 forks
  • 20 open issues
  • Language: TypeScript
  • License: MIT
  • updated

Install

Terminal
git clone https://github.com/nizos/tdd-guard
  1. Clone the repository.
  2. Follow the README for installation and usage instructions.

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.

README

Tools overview

README preview not available. Visit the repo on GitHub for full documentation.
Use cases
Topics
agentic-codingautomationclaude-codecode-qualityhooksllm-toolstdd
Frequently asked

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.4k GitHub stars and its last recorded update is dated 2026-10-12.

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 dated 2026-10-12, with 20 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.