tdd-green

Implement minimal code to make failing tests pass in TDD green phase:

Content Preview
---
model: claude-sonnet-4-0
---

Implement minimal code to make failing tests pass in TDD green phase:

[Extended thinking: This tool uses the test-automator agent to implement the minimal code necessary to make tests pass. It focuses on simplicity, avoiding over-engineering while ensuring all tests become green.]

## Implementation Process

Use Task tool with subagent_type="test-automator" to implement minimal passing code.

Prompt: "Implement MINIMAL code to make these failing tests pass: $AR
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/tdd-green.md \
  https://raw.githubusercontent.com/wshobson/commands/main/tools/tdd-green.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/wshobson/commands

Then reference at tools/tdd-green.md

Related Skills