tdd

Enforce the RED-GREEN-REFACTOR cycle with failing tests and coverage verification.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/taewook486/real-estate-mcp --skill tdd-taewook486
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tdd
Source: https://github.com/taewook486/real-estate-mcp/tree/main/.claude/skills/tdd
Command: npx skills add https://github.com/taewook486/real-estate-mcp --skill tdd-taewook486

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces a rigorous Test-Driven Development (TDD) workflow, ensuring all code changes are driven by failing tests and leading to more robust and maintainable software.

Core Features & Use Cases

  • Enforces RED-GREEN-REFACTOR Cycle: Guides developers through the essential TDD steps.
  • Coverage Verification: Mandates and explains how to verify 100% test coverage.
  • Use Case: When developing a new feature, use this Skill to ensure you write a failing test first, then the minimum code to pass, and finally refactor for clarity, all while maintaining high test coverage.

Quick Start

Follow the RED-GREEN-REFACTOR cycle for all code changes.

Frequently Asked Questions about tdd

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

FAQPage Schema
How do I implement Test-Driven Development for new features and bug fixes?▼

Test-Driven Development requires following the RED-GREEN-REFACTOR cycle. You write a failing test first, implement the minimum code to pass that test, then refactor for clarity and improvements. This workflow ensures all code changes are driven by failing tests.

What is the RED-GREEN-REFACTOR cycle in development workflow?▼

The RED-GREEN-REFACTOR cycle is a development workflow where you write a failing test first (RED), implement minimal code to pass the test (GREEN), and then refactor the code for improvements (REFACTOR). This methodology leads to robust software.

How do I verify 100% test coverage when using TDD?▼

To verify 100% test coverage during Test-Driven Development, you must run coverage verification tools after implementing code changes. This Skill mandates strict coverage verification to ensure every code modification is fully backed by passing tests.

Does Test-Driven Development require conventional commit messages and pull requests?▼

Yes, Test-Driven Development enforces adherence to conventional commit messages and pull request requirements. Following these standards ensures that all code modifications, including refactoring, are properly documented and reviewed.

When should I use Test-Driven Development for refactoring existing code?▼

Test-Driven Development should be used for refactoring when you need to improve code quality and maintainability. By writing failing tests before modifying the code, you ensure the refactoring process does not break existing functionality and maintains high coverage.

What is the best way to maintain code quality during software development?▼

The best way to maintain code quality is enforcing a Test-Driven Development workflow. By driving all code modifications through failing tests and verifying 100% coverage, you achieve more robust and maintainable software.