AI Card Bao BINZHOU.AICARDBAO.COM
Home / open source / TDD Guard
AI TOOL / #12888

TDD Guard

An automated guardian tool that enforces Test-Driven Development (TDD) for Claude Code, ensuring that tests are written before the implementation code is developed.

Introduction

[!IMPORTANT] TDD Guard grew into Probity: the same TDD enforcement, now for Claude Code, Codex, and GitHub Copilot CLI, with more reliable validation and no test reporters to set up. New projects should start there. TDD Guard remains maintained for the projects that rely on it.

Automated Test-Driven Development enforcement for Claude Code.

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.

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

License

MIT

Visits:39 Updated:2026-12-04 AI tools

Related

Spiritual Realm Matrix The Lingjing Matrix is an agent platform launched by Baidu, which is based on the Wenxin Large Model. Similar to GPTs developed by ChatGPT, users can develop customized versions of these large models according to their own industry fields and application scenarios. Moreover, the development process is extremely simple—even if you… toast TusiArt is a domestic community and online platform for sharing and exchanging SD painting AI models, similar to Civitai. Here, you can find numerous high-quality modeling tools. If you are new to this field and don’t know much about how to deploy SD models, TusiArt allows you to directly use these models online. Tencent Translate Tencent Translate is a multifunctional AI-powered translation software developed by Tencent. It is completely free and ad-free. It supports voice translation, photo translation, image translation, as well as simultaneous interpretation. It enables translation between multiple languages, including Chinese, English, Japanese, French, and Korean. Regarding simultaneous interpretation, I would like to focus on the functionality available on the mobile app version. Thumbtack AI 4.0 Thumbtack AI 4.0 is a generative AI intelligent platform based on ChatGPT and Midjourney. An intelligent platform that integrates many popular generative AIs such as AI question and answer, AI painting, AI writing, and AI mind mapping. The large language models used are all world-class AI pseudo-original After GPT became popular, writing changed from boring to simple and interesting! With the advancement of technology, there are new solutions for rewriting and polishing articles, especially large-length/large-volume articles, such as papers, new media manuscripts, SEO manuscripts, etc.! AI pseudo-original, using technology to make writing easier! Focus on it! Yandex Yandex is a search engine originating from the battle-hardened nation of Russia. Its homepage is very user-friendly, and after using it, I found that this search engine is extremely suitable for finding film and television resources as well as high-definition image materials. The search results contain no advertisements at all. If you search for a particular film or TV-related term, you won’t find any results from certain specific databases in the search results…