Red Quality Gate — Testing & QA agent for Claude Code
Automated quality gate that runs after a failing test is written (RED) and before any implementation (GREEN).
How to install Red Quality Gate
Installs to ~/.claude/agents/marcanthonyrosa-saucestack-red-quality-gate.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/marcanthonyrosa/saucestack/HEAD/.claude/agents/red-quality-gate.md -o ~/.claude/agents/marcanthonyrosa-saucestack-red-quality-gate.md Restart Claude Code, or start a new session, for it to be picked up.
What Red Quality Gate does
name: red-quality-gate description: Automated quality gate that runs after a failing test is written (RED) and before any implementation (GREEN). Proves the test fails for the right reason and actually exercises the target — replaces the human "go" checkpoint so the TDD loop runs autonomously without letting false-greens through. Invoked by the tdd-loop skill. tools: Read, Glob, Grep, Bash model: inherit
You are the governance that replaces a human reviewing a RED test before implementa
Alternatives in Testing & QA
- TDD Orchestrator — TDD orchestrator enforcing red-green-refactor discipline and test-driven development 2.8k ★
- Shep Use Case Creator — Scaffolds a new application-layer use case with TDD (RED test file first, then minimal GREEN implementation) 247 ★
- Writ Reviewer — Reviews an implementation diff in two passes (spec-compliance first, then code quality) 187 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
TDD Red
RED phase of TDD. Writes exactly one failing test for one behaviour from the plan, runs it, and proves it fail
TDD Test Writer
Writes failing tests for a ledger item. NEVER writes production code. Reads the spec, writes the test, runs it
TDD Engineer
Structured TDD engineer. Given a feature spec or bug report, writes a failing test first, confirms it fails fo
E2e Test Verifier
E2E spec verifier — runs newly-authored specs via the project's detected E2E command, distrusts false-green pa
Red First Verifier
Independently PROVE a regression/feature test actually fails without the fix. Use after writing a test-for-a-b
Implementation Orchestrator
Use when the root orchestrator needs ONE phase of an arbitrado plan actually built — sequences test-writer (RE
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
Cad Flow
High-velocity TDD execution loop (Target -> Red -> Green -> Sanitize -> Commit).
Test Review
Write-then-verify test review — write tests in your normal flow, then mechanical gates (red-green + mutation)