tdd
Installation
SKILL.md
TDD Bug Fix
Read the host adapter once per session before following this skill. It maps upstream Cursor-specific tool, model, path, and permission instructions to your host and sets authority limits.
When fixing a bug with a clear, cheap test path, make the broken behavior executable before changing production code. The goal is a focused regression test that fails before the fix and passes after it.
Do not force a test when it would be impractical. If the available test would require broad harness setup, brittle mocks, slow end-to-end infrastructure, production-only state, vague reproduction steps, or large unrelated fixture churn, skip adding a new test and use the closest useful verification instead.