slash command · Testing & QA
Tdd Green
by wshobson
Implement minimal code to make failing tests pass in TDD green phase
- Claude Code
- Codex
- ★ 43k on GitHub
- Updated 2026-11-18
- MIT
Calyban is a free desktop app. It checks Tdd Green for red flags before installing, lets you choose the agent and folder, and undoes it in one click.
Install Tdd Green manually
Prefer the terminal? This does the same thing as Calyban's install.
Claude Code
mkdir -p ~/.claude/commands
curl -fsSL https://raw.githubusercontent.com/wshobson/agents/42203085cfc5736204bf0f6d436dff7e1da0bf3f/plugins/tdd-workflows/commands/tdd-green.md -o ~/.claude/commands/tdd-green.mdCodex
mkdir -p ~/.codex/prompts
curl -fsSL https://raw.githubusercontent.com/wshobson/agents/42203085cfc5736204bf0f6d436dff7e1da0bf3f/plugins/tdd-workflows/commands/tdd-green.md -o ~/.codex/prompts/tdd-green.mdStart a new Claude Code & Codex session afterwards so it picks up the change.
Similar slash commands
Ui Canvasaffaan-mPreview a UI component mockup in the browser UI Canvas where the user hand-edits it (move, resize, text, delete, restyle), tests it across viewports, chats with you, and clicks Save and Finish; you then build the…Cpp Testaffaan-mEnforce TDD workflow for C++. Write GoogleTest tests first, then implement. Verify coverage with gcov/lcov.E2eaffaan-mLegacy slash-entry shim for the e2e-testing skill. Prefer the skill directly.Flutter Testaffaan-mRun Flutter/Dart tests, report failures, and incrementally fix test issues. Covers unit, widget, golden, and integration tests.Go Testaffaan-mEnforce TDD workflow for Go. Write table-driven tests first, then implement. Verify 80%+ coverage with go test -cover.Kotlin Testaffaan-mEnforce TDD workflow for Kotlin. Write Kotest tests first, then implement. Verify 80%+ coverage with Kover.
Guides
Listed in the public Calyban catalog. Tdd Green is made by wshobson, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.