Test driven development

From aaronnat23/disp8ch · View interactive version

Test driven development is an AI agent skill from the GitHub repository aaronnat23/disp8ch. Use tests to define the target behavior before changing implementation.

How to use this skill

Skill file

Test-Driven Development

Use tests to define the target behavior before changing implementation.

Use when

Workflow

  1. Write or identify the smallest failing test that captures the requirement.
  2. Keep the first test narrow so the failure is easy to interpret.
  3. Make the minimal code change needed to turn the test green.
  4. Run adjacent tests that cover the same boundary, not just the single happy path.
  5. Refactor only after behavior is locked by passing tests.

Deliverable

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.