tdd

Automates Test-Driven Development workflows by guiding end-to-end testing and incremental implementation via public interfaces.

2|Updated Oct 12, 2025
One-click install
npx skills add https://github.com/haotool/app --skill tdd-haotool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd
Source: https://github.com/haotool/app/tree/main/.agents/skills/tdd
Command: npx skills add https://github.com/haotool/app --skill tdd-haotool

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Test-driven development workflows guide teams to verify behavior through public interfaces rather than internal implementations, promoting safer refactors and reducing regressions.

Core Features & Use Cases

  • Tracer bullets and vertical slicing to plan minimal, verifiable progress.
  • End-to-end testing through public APIs to ensure behavior matches expectations.
  • Structured workflow guidance for planning, execution, and refactor cycles to maintain code quality.

Quick Start

Write a small end-to-end test for a public interface and implement just enough code to pass.

Frequently Asked Questions about tdd

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

FAQPage Schema
How do I automate test-driven development workflows for feature development?

Automate test-driven development workflows by guiding end-to-end testing and incremental implementation through structured planning, execution, and refactor cycles. Write small tests for public interfaces and implement just enough code to pass.

What is the best way to write tests that verify behavior through public interfaces?

Verify behavior through public interfaces by writing end-to-end tests that target observable behavior rather than internal implementation details. This approach promotes safer refactoring and reduces regressions across your codebase.

How does tracer bullet testing work for planning minimal verifiable progress?

Tracer bullet testing works by using vertical slicing to plan minimal, verifiable progress in your codebase. It guides incremental implementation loops where you write a test and implement exactly enough code to satisfy it.

Can I use test-driven development for bug fixes in codebases with public APIs?

Yes, test-driven development applies to bug fixes across codebases relying on public APIs. It guides you to write end-to-end tests reflecting observable behavior, ensuring the fix matches expectations without coupling to internal details.

When do I need to apply refactor discipline during test-driven development?

Apply refactor discipline during test-driven development after passing the incremental implementation loop. It maintains code quality by ensuring you safely restructure code while end-to-end tests continuously verify that observable behavior remains unchanged.