thc1006

TDD Red — Development skill for Claude Code

Development community

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

Terminal
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

  1. 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 Repository