Story 3 TDD Red — Testing skill for Claude Code
Write failing tests that encode the case's numbered criteria, stop at Gate 2, then commit them as the test baseline.
How to install Story 3 TDD Red
Installs to ~/.claude/skills/nlarralde535-sde-agentic-workflow-story-3-tdd-red/SKILL.md
mkdir -p ~/.claude/skills/nlarralde535-sde-agentic-workflow-story-3-tdd-red && curl -fsSL https://raw.githubusercontent.com/nlarralde535/sde-agentic-workflow/HEAD/commands/story-3-tdd-red.md -o ~/.claude/skills/nlarralde535-sde-agentic-workflow-story-3-tdd-red/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Story 3 TDD Red does
description: Write failing tests that encode the case's numbered criteria, stop at Gate 2, then commit them as the test baseline argument-hint: "[case-id]"
/story-3-tdd-red
Step 3 of the `/story-*` loop. Turns the numbered acceptance criteria into failing tests, stops at **Gate 2**, and — only after approval — commits them as the build's **test baseline**. No product code is written here.
Argument (optional): `$ARGUMENTS` — a case ID or its short name. Omitted, it resolves to the mo
Alternatives in Testing
- TDD Diagnostics.V1 — Follow strict TDD stages 272 ★
- Test Driven Development.SKILL — Enforces TDD discipline with RED-GREEN-REFACTOR cycle 262 ★
- Green — Execute TDD Green Phase - write minimal implementation to pass the failing test 168 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Story Followup 2 Plan
Plan a follow-up against its parent's shape — scope, numbered criteria, the test-change list, then Gate 1
Root Cause Fix
Root-cause-first TDD loop for any bug or data fix. Forces a failing reproduction test BEFORE touching producti
Story 2 Plan
Write the plan, stop at Gate 1, then on approval draw the shape and the manual-test procedures
TDD With Refactoring Diagnostics.V1
Follow strict TDD stages. Do not skip stages. Stage 1 - Red: update only test code and write the smallest fail
TDD With Refactoring.V1
Follow strict TDD stages. Do not skip stages. Stage 1 - Red: update only test code and write the smallest fail
Red
Execute TDD Red Phase - write ONE failing test
Related Agents
Ctdd Red
TDD RED phase test writer. Reads a spec and writes failing tests that encode every rule/invariant/prohibition.
TDD Verifier
Checks a finished test-first change against its written plan from a fresh context, by its own commands: the fa
Agent TDD
Test-first worker. Extracts acceptance criteria from spec/docs/plan, writes failing unit/integration tests tra