Skip to content
Back to skills

Enforce Red Green Refactor Discipline In Claude Code With Tdd Guard

ASecurity

Block implementation-first agent behavior and keep Claude Code anchored to failing-tests-first TDD loops.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythonrustgophpnodegitsecuritydocumentation

Works with

  • claude code

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Enforce Red Green Refactor Discipline In Claude Code With Tdd Guard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Enforce Red Green Refactor Discipline In Claude Code With Tdd Guard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-enforce-red-green-refactor-discipline-in-claude-co/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-enforce-red-green-refactor-discipline-in-claude-co)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Enforce red-green-refactor discipline in Claude Code sessions with TDD Guard"
slug: "enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard"
description: "Block implementation-first agent behavior and keep Claude Code anchored to failing-tests-first TDD loops."
github_stars: 1997
verification: "security_reviewed"
source: "https://github.com/nizos/tdd-guard"
author: "nizos"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "nizos/tdd-guard"
  github_stars: 1997
  npm_package: "tdd-guard"
  npm_weekly_downloads: 35484
---

# Enforce red-green-refactor discipline in Claude Code sessions with TDD Guard

Block implementation-first agent behavior and keep Claude Code anchored to failing-tests-first TDD loops.

## Prerequisites

Claude Code, Node.js 22+, supported test framework

## Installation

Requirements and caveats from upstream:
- Node.js 22+
- Python/pytest support: [@Durafen](https://github.com/Durafen)

Basic usage or getting-started notes:
- A supported test framework (Vitest, Jest, Storybook, pytest, PHPUnit, Go, Rust, RSpec, Minitest)
- Open Claude Code in your project and run:
- /plugin marketplace add nizos/tdd-guard

- Source: https://github.com/nizos/tdd-guard
- Extracted from upstream docs: https://raw.githubusercontent.com/nizos/tdd-guard/HEAD/README.md

## Documentation

- https://github.com/nizos/tdd-guard#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.