tdd

Installation
SKILL.md

Test-Driven Development

Enforce strict RED-GREEN-REFACTOR discipline. One test at a time. Tests describe WHAT the system does, never HOW.


Input

Check $ARGUMENTS for the feature or behavior description.

  • If $ARGUMENTS contains a feature description, use it directly.
  • If $ARGUMENTS contains "after" (e.g., /tdd after), run in Test-After Mode — write tests for existing code. See rules/test-after.md.
  • If $ARGUMENTS is empty, ask the user what behavior they want to implement or test.

Step 0: Discover Project Test Setup

Before writing any tests:

Related skills
Installs
11
First Seen
Apr 23, 2026