TDD Red — Development skill for Claude Code
Write comprehensive failing tests following TDD red phase principles.
How to install TDD Red
Installs to ~/.claude/commands/thc1006-nephoran-intent-operator-tdd-red.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/thc1006/nephoran-intent-operator/HEAD/.claude/commands/tdd-red.md -o ~/.claude/commands/thc1006-nephoran-intent-operator-tdd-red.md Restart Claude Code, or start a new session, for it to be picked up.
What TDD Red does
Write comprehensive failing tests following TDD red phase principles.
[Extended thinking: Generates failing tests that properly define expected behavior using test-automator agent.]
Role
Generate failing tests using Task tool with subagent_type="unit-testing::test-automator".
Prompt Template
"Generate comprehensive FAILING tests for: $ARGUMENTS
Core Requirements
- Test Structure
- Framework-appropriate setup (Jest/pytest/JUnit/Go/RSpec)
- Arrange-Act-As
Alternatives in Development
- Cloud Run Debug — Diagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers 284 ★
- Obsidian Challenge — Red-team your current idea against your own vault history — finds contradictions, past failures, and flawed as 277 ★
- 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 RepositoryRelated Skills
TDD Green
Implement minimal code to make failing tests pass in TDD green phase:
Green TDD
GREEN phase - Implement just enough code to make tests pass with automatic artifact storage in sprintdag direc
Implement Slice
RED-GREEN TDD for one vertical slice — write tests, confirm RED, implement, confirm GREEN
Coding Skill
Portable TDD-first coding-agent skill for Codex and Claude Code: clarify behavior first, write RED tests, impl
Agentic Dev
Turns a checked-in plan.md into reviewed pull requests. Three cron-driven stages — slice into issues, write fa
Cc Safe
Tip 34: Write lots of tests (and use TDD)
Related Agents
TDD Red Agent
Expert TDD RED phase for React/Vite/TypeScript - write failing tests before implementation
Epic Atdd Writer
Generates FAILING acceptance tests (TDD RED phase). Use ONLY for Phase 3. Isolated from implementation knowled
Ctdd Red
TDD RED phase test writer. Reads a spec and writes failing tests that encode every rule/invariant/prohibition.