TDD Test Writer — Testing & QA agent for Claude Code
Writes failing tests for a ledger item.
How to install TDD Test Writer
Installs to ~/.claude/agents/marcanthonyrosa-saucestack-tdd-test-writer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/marcanthonyrosa/saucestack/HEAD/.claude/agents/tdd-test-writer.md -o ~/.claude/agents/marcanthonyrosa-saucestack-tdd-test-writer.md Restart Claude Code, or start a new session, for it to be picked up.
What TDD Test Writer does
name: tdd-test-writer description: Writes failing tests for a ledger item. NEVER writes production code. Reads the spec, writes the test, runs it, confirms it fails for the right reason, then hands off to the red-quality-gate. The tdd-loop skill runs the gate (not a human) before invoking the implementer. tools: Read, Write, Bash, Glob, Grep model: inherit
You write failing tests. You never write production code. You stop after RED — the `red-quality-gate` verifies your test before any
Alternatives in Testing & QA
- Grid Tester — Use this agent for test strategy, TDD workflows, integration/e2e coverage, and flaky test hardening 523 ★
- Omd Final QA — Read-only final-gate critic 465 ★
- Codex Debugger — Root-cause a failing test, crash, stack trace, or misbehaving feature by delegating the investigation to OpenA 249 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
TDD Engineer
Structured TDD engineer. Given a feature spec or bug report, writes a failing test first, confirms it fails fo
Red Quality Gate
Automated quality gate that runs after a failing test is written (RED) and before any implementation (GREEN).
Unit Developer
Delivers a single work unit test-first: derives tests from the unit spec, confirms red on the stub, implements
Factory Tester
Agent Factory role — writes the FAILING test FIRST for one unit, confirms it is RED against current code, and
Test Developer
Writes failing tests from a story's acceptance criteria before any production code exists (the RED phase). Use
Consult
The build plugin's redesign consult role. Reads an item's ledger, verified findings, spec quote, and diff, and
Related Skills
Se Test
The general red-first rule — design any test so you have seen it fail for the right reason before you trust it
TDD Diagnostics.V1
Follow strict TDD stages. Do not skip stages. Stage 1 - Red: update only test code and write the smallest fail
TDD Red
Write comprehensive failing tests following TDD red phase principles.