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.

agentskillexchange Updated 28 repo stars

File contents

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

Basic usage or getting-started notes:

Documentation

Source

agentskillexchange/skills/tree/main/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard commit 6da6ba5ad7

Frequently asked questions

npx skillmds@latest add agentskillexchange/enforce-red-green-refactor-discipline-in-claude-code-session