tdd

Automate Red-Green-Refactor TDD cycles with subagent isolation across JavaScript, TypeScript, Python, Go, and Java.

1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/anshul-garg27/claude-enhancement-suite --skill tdd-anshul-garg27
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd
Source: https://github.com/anshul-garg27/claude-enhancement-suite/tree/main/.claude/skills/tdd
Command: npx skills add https://github.com/anshul-garg27/claude-enhancement-suite --skill tdd-anshul-garg27

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TDD discipline is hard to enforce consistently across teams and repositories, especially when multiple subagents are involved; this Skill provides a deterministic Red-Green-Refactor workflow with automatic isolation to prevent cross-contamination of tests and hypotheses.

Core Features & Use Cases

  • Enforces Red-Green-Refactor workflow with subagent isolation to keep test ideas decoupled from implementation.
  • Guides test writing, framework discovery, and phase progression from RED through REFACTOR.
  • Supports a structured, phase-driven workflow ideal for teams adopting strict testing discipline.

Quick Start

Translate a user-provided feature description into a failing test to kick off RED phase, then iteratively drive implementation with subagent isolation.

Frequently Asked Questions about tdd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce a strict red-green-refactor TDD cycle when working with multiple subagents?

You can enforce a strict red-green-refactor TDD cycle using automated subagent isolation, which keeps test generation decoupled from implementation to prevent cross-contamination of hypotheses across JavaScript, TypeScript, Python, Go, and Java projects.

How do I automatically detect test frameworks and generate failing tests for TDD?

Automated test framework detection scans your project to identify the testing libraries in use, then translates a feature description into a failing test file to kick off the RED phase of the TDD workflow.

Can I use subagent isolation for Python and Go test-driven development workflows?

Yes, subagent isolation supports test-driven development workflows across Python and Go, along with JavaScript, TypeScript, and Java, by automatically detecting the specific project test frameworks and orchestrating the phases accordingly.

What is the best way to structure a phase-driven TDD workflow for team environments?

The best way to structure a phase-driven TDD workflow for teams is to apply automatic subagent isolation across the RED, GREEN, and REFACTOR phases, ensuring strict testing discipline and deterministic progression.

Why does my TDD implementation get contaminated when running multiple test hypotheses?

TDD implementation gets contaminated when test hypotheses cross-pollinate without isolation; applying strict subagent isolation during the red-green-refactor cycle prevents this cross-contamination by decoupling the test generation process from the implementation phase.