tdd-red

Writes a failing test for the next unmarked item in PLAN.md.

Updated Nov 10, 2025
One-click install
npx skills add https://github.com/SwiftyJunnos/Claude-Code-with-TDD --skill tdd-red-swiftyjunnos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-red
Source: https://github.com/SwiftyJunnos/Claude-Code-with-TDD/tree/main/.claude/skills/tdd-red
Command: npx skills add https://github.com/SwiftyJunnos/Claude-Code-with-TDD --skill tdd-red-swiftyjunnos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of writing a new, failing test according to the Test-Driven Development (TDD) methodology, ensuring that development starts with a clear definition of desired behavior.

Core Features & Use Cases

  • Automated Test Writing: Identifies the next task in PLAN.md and generates a corresponding failing test.
  • TDD Workflow Adherence: Enforces the RED phase of the TDD cycle, ensuring tests are written before implementation.
  • Use Case: When starting a new feature, use this Skill to automatically create the first failing test, guiding the subsequent implementation steps.

Quick Start

Use the tdd-red skill to write the next failing test for the current development task.

Frequently Asked Questions about tdd-red

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate writing failing tests for Test-Driven Development?

Automating failing test creation for Test-Driven Development involves scanning your PLAN.md file to identify the next unmarked task and generating a corresponding failing test. This enforces TDD discipline by defining behavior upfront before implementation begins.

What is the RED phase in Test-Driven Development workflow?

The RED phase in Test-Driven Development is the initial step of writing a failing test that defines desired behavior before any implementation. It ensures tests are written first, guiding subsequent development steps to maintain strict TDD discipline.

How do I generate a failing test from a task list in PLAN.md?

Generating a failing test from PLAN.md requires identifying the next unmarked item in the file and automatically writing a test for it. This ensures the test fails initially, confirming the behavior is properly defined before writing the implementation code.

Can I write TDD tests in Korean using an automated workflow?

Yes, automated TDD test generation can enforce writing tests in Korean (ko-KR). This ensures the failing tests for the RED phase are consistently generated in the specified language while maintaining adherence to the development workflow.

Do I need a PLAN.md file to start the TDD RED phase?

Yes, you need a PLAN.md file to start the TDD RED phase because the automation identifies the next unmarked task within it. This file drives the workflow by providing the task context needed to generate the corresponding failing test.

When should I use an automated RED phase tool in a development workflow?

You should use an automated RED phase tool when starting a new feature to ensure a failing test is written before implementation. It maintains TDD discipline by automatically defining behavior upfront and confirming the test fails before proceeding.