tdd-coach

Guide red-green-refactor TDD cycles for feature development.

12|2|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/haomingz/kimi-skills --skill tdd-coach
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-coach
Source: https://github.com/haomingz/kimi-skills/tree/main/skills/tdd-coach
Command: npx skills add https://github.com/haomingz/kimi-skills --skill tdd-coach

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides structured guidance to learn and apply test-driven development, emphasizing the red-green-refactor cycle to produce focused tests and minimal implementations, helping developers build confidence in incremental design and maintainable code.

Core Features & Use Cases

  • Guided red-green-refactor workflow that prompts users to write a failing test, implement the minimal code to pass, and refactor for clarity.
  • Emphasis on behavior-focused testing, validating external behavior through public interfaces rather than internal implementation details.
  • Ideal for learning sessions, code kata practice, and team onboarding to instill discipline around test-first development and incremental improvement.
  • Scenario-driven prompts adapt to real-world feature requests, reinforcing the practice across common software engineering tasks.

Quick Start

Begin a guided TDD session by selecting a feature, writing a failing test for its behavior, implementing the minimal code to pass, and refactoring for clarity.

Frequently Asked Questions about tdd-coach

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

FAQPage Schema
How do I practice test-driven development using the red-green-refactor cycle?

Test-driven development validates external behavior through public interfaces rather than internal implementation details. This approach ensures your tests remain focused on observable outcomes and are less brittle during refactoring.

What is the best way to learn TDD for software engineering onboarding?

You can use structured TDD coaching during code kata practice to build confidence in incremental design. It provides step-by-step guidance through the red-green-refactor workflow, helping you internalize test-first development.

Does test-driven development work for both unit testing and integration testing?

Test-driven development applies to both unit testing and integration testing by emphasizing behavior-driven development. You validate observable behavior through public interfaces, ensuring tests remain reliable across different testing scopes.

When should I not use test-driven development for refactoring?

You should avoid test-driven development when refactoring if your existing tests validate internal implementation details rather than observable behavior. Focusing on public interfaces prevents brittle tests and ensures reliable refactoring outcomes.