---
name: tdd
description: Drive implementation with a red-green-refactor loop and meaningful behavior tests.
---

# Test-Driven Development

Choose a behavior seam, write a failing test that expresses the requirement, implement the smallest passing change, then refactor without losing coverage. Test failure states, boundaries, permissions, and regression cases—not only the happy path.
