tdd

Installation
SKILL.md

TDD

Purpose

Use strict red-green-refactor in small, behavior-focused increments. Write a failing test before writing the code that makes it pass.

When To Use

  • Implementing new behaviour.
  • Modifying existing behaviour.
  • Fixing a bug (reproduce the bug with a test before fixing).
  • Anything that could potentially alter publicly observable behaviour.

Do not use for purely declarative changes (configuration, styling, documentation, or static content).

Interaction Contract

  1. Align with the user before the first test in a sequence.
  2. Check in at decision boundaries: interface changes, new behavior branch, test strategy shifts, or non-trivial refactors.
Related skills
Installs
8
First Seen
Apr 18, 2026