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.
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.
Installation
Method 1, Agent Skill Exchange
- Install from the marketplace listing: https://agentskillexchange.com/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard/
Method 2, Git clone
git clone https://github.com/agentskillexchange/skills.git && cd skills/skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard
Method 3, Download ZIP
- Download the repository ZIP and extract
skills/enforce-red-green-refactor-discipline-in-claude-code-with-tdd-guard.
Method 4, Manual copy
- Copy this skill folder into your local skills directory, then reload your agent tooling.
Method 5, Fork and sync
- Fork the repository if you want to maintain local edits while syncing upstream changes.