Red — Testing skill for Claude Code
Execute TDD Red Phase - write ONE failing test.
How to install Red
Installs to ~/.claude/commands/christopher-buss-bedrock-red.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/christopher-buss/bedrock/HEAD/.claude/commands/red.md -o ~/.claude/commands/christopher-buss-bedrock-red.md Restart Claude Code, or start a new session, for it to be picked up.
What Red does
description: Execute TDD Red Phase - write ONE failing test argument-hint: [optional additional info]
RED PHASE! Apply the below to the info given by user input here: $ARGUMENTS
(If there was no info above, fallback to the context of the conversation)
TDD Fundamentals
The TDD Cycle
The foundation of TDD is the Red-Green-Refactor cycle:
- Red Phase: Write ONE failing test that describes desired behavior
- The test must fail for the RIGHT reason (not syntax/import err
Alternatives in Testing
- Deliver — Delivery phase - Review, validate, and test with multi-AI quality assurance 2.8k ★
- Add Scaffold — 按 14-phase 工作流为指定 app 编写清理 scaffold(含需求采集、实测勘测、TOML、safety test、UI 集成) 1.3k ★
- Test Fixing — Detect failing tests and propose patches or fixes 475 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Green
Execute TDD Green Phase - write minimal implementation to pass the failing test
TDD 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 Diagnostics.V1
Follow strict TDD stages. Do not skip stages. Stage 1 - Red: update only test code and write the smallest fail
Red TDD
RED phase - Write comprehensive, high-quality tests with automatic artifact storage in sprintdag directory. Fo
TDD Cycle
Execute a comprehensive Test-Driven Development (TDD) workflow with strict red-green-refactor discipline:
Pharn Dev Build
Execute ONE approved PLAN.md increment. Verify the spec content-hash still matches, write each Capability WITH
Related Agents
TDD Red Agent
Expert TDD RED phase for React/Vite/TypeScript - write failing tests before implementation
Ctdd Red
TDD RED phase test writer. Reads a spec and writes failing tests that encode every rule/invariant/prohibition.
Langertha Test Writer
Write Langertha tests (Test2::Bundle::More) — regression tests, TDD red phase, coverage for a new engine/role/