tdd

Guide red-green-refactor cycles for test-driven development workflows.

1|Updated May 20, 2025
One-click install
npx skills add https://github.com/vessux/dotfiles --skill tdd-vessux
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd
Source: https://github.com/vessux/dotfiles/tree/main/umbel/skills/pocock/tdd
Command: npx skills add https://github.com/vessux/dotfiles --skill tdd-vessux

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TDD guides teams to build software through clear behavioral specifications, reducing regression risk by focusing on public interfaces rather than internal details.

Core Features & Use Cases

  • Planning and tracer bullets map tests to small increments and drive implementation.
  • Incremental red-green-refactor loops provide fast feedback and disciplined refactoring.
  • Emphasis on public-interface testing ensures resilient behavior across changes and tech stacks.

Quick Start

Run one tracer bullet cycle to validate a new feature end-to-end using the TDD workflow.

Frequently Asked Questions about tdd

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

FAQPage Schema
How do I start test-driven development for a new feature?

Start test-driven development by running a tracer bullet cycle to validate the new feature end-to-end, mapping tests to small increments before writing implementation code.

What is the red-green-refactor cycle in software testing?

The red-green-refactor cycle in software testing is an incremental loop where you write a failing test, write code to pass it, then safely refactor to improve design while maintaining fast feedback.

How do I enforce resilient public-interface testing across tech stacks?

Enforce public-interface testing by focusing test assertions on external behavior rather than internal implementation details, ensuring resilient software behavior across changes and different tech stacks.

Does test-driven development work for bug fixes and learning environments?

Test-driven development works for bug fixes and learning environments by guiding users through structured cycles that reduce regression risk and provide fast, safe feedback loops across software projects.

When should I use tracer bullets in incremental software development?

Use tracer bullets in incremental software development when you need to validate a new feature end-to-end quickly, mapping tests to small increments to drive implementation and confirm architectural assumptions.

What is the best way to refactor code safely during TDD workflows?

The best way to refactor code safely during TDD workflows is to apply incremental loops after tests pass, ensuring disciplined refactoring that maintains clear behavioral specifications without introducing regressions.