thc1006

TDD Green — Development skill for Claude Code

Development community

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

How to install TDD Green

Installs to ~/.claude/commands/thc1006-nephoran-intent-operator-tdd-green.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/thc1006/nephoran-intent-operator/HEAD/.claude/commands/tdd-green.md -o ~/.claude/commands/thc1006-nephoran-intent-operator-tdd-green.md

Restart Claude Code, or start a new session, for it to be picked up.

What TDD Green does

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="unit-testing::test-automator" to implement minimal passing code.

Prompt: "Implement MINIMAL code to make these failing tests pass: $ARGUMENTS. Fol

Alternatives in Development

  • Cloud Run Debug — Diagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers 284 ★
  • Build — Implement tasks incrementally using TDD and vertical slices 263 ★
  • Debug User Tx — Replay a user's failing transaction on forked state and map the error to source 105 ★

Full documentation available on GitHub

View Source Repository