tdd

Plan tests before coding and run Red-Green-Refactor cycles.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ebijun1007/vibe-coding --skill tdd-ebijun1007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd
Source: https://github.com/ebijun1007/vibe-coding/tree/main/.claude/skills/tdd
Command: npx skills add https://github.com/ebijun1007/vibe-coding --skill tdd-ebijun1007

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers adopt a disciplined test-first workflow to reduce late-stage debugging and improve code reliability.

Core Features & Use Cases

  • Test-list driven planning: start with a prioritized list of tests before coding.
  • Red-Green-Refactor cycles: execute cycles to progressively implement functionality while ensuring tests pass.
  • T-Wada guidelines: apply the t-wada style methods for structured, incremental development.
  • Documentation & progress tracking: maintain a running record of test coverage and refactor decisions.

Quick Start

Draft a test list for the feature, then start the Red-Green-Refactor cycle following the t-wada rules.

Frequently Asked Questions about tdd

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

FAQPage Schema
What is test-driven development and how does the red-green-refactor cycle work?

Test-driven development is a test-first workflow where you write a failing test, implement code to make it pass, and then refactor. This cycle, known as red-green-refactor, progressively builds functionality while ensuring tests pass at each step.

How do I start implementing a new feature using a test-first workflow?

To start test-driven development, draft a prioritized test list for the feature before coding. Then, execute red-green-refactor cycles to incrementally implement the functionality while maintaining test coverage and documenting your decisions.

Can I use this test-driven development workflow for bug fixes in large codebases?

Yes, test-driven development applies to both new feature work and bug fixes in large codebases. It helps implement disciplined testing incrementally, reducing late-stage debugging and improving code reliability across small to large projects.

What is the t-wada approach to test-driven development?

The t-wada approach is a structured, incremental test-driven development method. It enforces creating a comprehensive test list before coding and following strict red-green-refactor cycles to ensure code reliability and systematic progress.

Why should I create a test list before writing code?

Creating a test list before writing code enforces test-list driven planning, ensuring you define prioritized test cases upfront. This structured approach prevents scope creep and guides the red-green-refactor cycles for reliable feature implementation.