claudeers.
// Automation & Workflows

tdd-guard

Automated TDD enforcement for Claude Code

// Automation & Workflows[ cli ][ api ][ claude ]#claude#agentic-coding#automation#claude-code#code-quality#hooks#llm-tools#tddMIT$open-sourceupdated about 2 months ago
Actively maintained
100/100
last commit 7 days ago
last release 2 months ago
releases 80
open issues 11
// star history+11 this week (+0.5%)

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up tdd-guard (claude-plugin project) into my current project.
Found on https://claudeers.com/tdd-guard
Repo: https://github.com/nizos/tdd-guard
Homepage/docs: —
Detected install method: claude-plugin → /plugin install tdd-guard@nizos/tdd-guard
Category: automation. Platforms: cli, api.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or install directly (claude-plugin)
/plugin marketplace add nizos/tdd-guard
/plugin install tdd-guard@nizos/tdd-guard
// or clone
git clone https://github.com/nizos/tdd-guard

// compatibility

Platformscli, api
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageTypeScript

TDD Guard

Automated Test-Driven Development enforcement for Claude Code.

TDD Guard blocking TDD violations

TDD Guard ensures Claude Code follows Test-Driven Development principles. When your agent tries to skip tests or over-implement, TDD Guard blocks the action and explains what needs to happen instead.

Probity is where new development now happens. It validates using session activity for more reliable results, and works with more agents, languages, and test runners. TDD Guard remains maintained for projects that rely on it.

Features

  • Test-First Enforcement - Blocks implementation without failing tests
  • Minimal Implementation - Prevents code beyond current test requirements
  • Lint Integration - Enforces refactoring using your linting rules
  • Customizable Rules - Adjust validation rules to match your TDD style
  • Flexible Validation - Choose faster or more capable models for your needs
  • Session Control - Toggle on and off mid-session

Getting Started

Requirements

  • Node.js 22+
  • A supported test framework (Vitest, Jest, Storybook, pytest, PHPUnit, Go, Rust, RSpec, Minitest)

Installation

Open Claude Code in your project and run:

  1. /plugin marketplace add nizos/tdd-guard
  2. /plugin install tdd-guard@tdd-guard
  3. /tdd-guard:setup

This adds the marketplace, installs the plugin, and configures the test reporter for your project. You may need to restart your terminal session or IDE extension for the setup skill to appear. For manual installation and configuration, see the installation guide.

Configuration

Security

TDD Guard hooks run with your user permissions. We maintain automated security scanning, dependency audits, and welcome source code review. See Claude Code's security considerations for more on hook safety.

Development

Contributing

Contributions are welcome! See the contributing guidelines to get started.

Contributors:

Support

  • Discussions - Ask questions and share ideas
  • Issues - Report bugs and request features

License

MIT

// faq

What is tdd-guard?

Automated TDD enforcement for Claude Code. It is open-source on GitHub.

Is tdd-guard free to use?

tdd-guard is open-source under the MIT license, so it is free to use.

What category does tdd-guard belong to?

tdd-guard is listed under automation in the Claudeers registry of Claude-compatible tools.

0 views
2,311 stars
unclaimed
updated about 2 months ago

// embed badge

tdd-guard on Claudeers
[![Claudeers](https://claudeers.com/api/badge/tdd-guard.svg)](https://claudeers.com/tdd-guard)

// retro hit counter

tdd-guard hit counter
[![Hits](https://claudeers.com/api/counter/tdd-guard.svg)](https://claudeers.com/tdd-guard)

// reviews

// guestbook

0/500

// related in Automation & Workflows

🔓

The agent that grows with you

// automationNousResearch/Python230,654MIT[ claude ]
🔓

The API to search, scrape, and interact with the web at scale. 🔥

// automationfirecrawl/TypeScript167,815AGPL-3.0[ claude ]
🔓

🌐 Make websites accessible for AI agents. Automate tasks online with ease.

// automationbrowser-use/Python110,149MIT[ claude ]
🔓

An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message…

// automationbytedance/Python80,016MIT[ claude ]

// built by

→ see how tdd-guard connects across the ecosystem