Automated TDD enforcement for Claude Code
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.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Mature repo (>1y old)
git clone https://github.com/nizos/tdd-guardResumen de Tools
Lo que la gente pregunta sobre tdd-guard
¿Qué es nizos/tdd-guard?
+
nizos/tdd-guard es tools para el ecosistema de Claude AI. Automated TDD enforcement for Claude Code Tiene 2.3k estrellas en GitHub y su última actualización registrada es del 2026-09-07.
¿Cómo se instala tdd-guard?
+
Puedes instalar tdd-guard clonando el repositorio (https://github.com/nizos/tdd-guard) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar nizos/tdd-guard?
+
Nuestro agente de seguridad ha analizado nizos/tdd-guard y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene nizos/tdd-guard?
+
nizos/tdd-guard es mantenido por nizos. La última actividad registrada en GitHub es del 2026-09-07, con 20 issues abiertos.
¿Hay alternativas a tdd-guard?
+
Sí. En ClaudeWave puedes explorar tools similares en /categories/tools, ordenados por popularidad o actividad reciente.
Despliega tdd-guard en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](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>Más Tools
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Use Claude Code, Codex, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)