
Description
tdd is an agent skill from Cursor's plugins collection for fixing a bug by first writing a test that exposes it. The skill applies only when the user explicitly asks for test-driven development, a failing test or a regression test, or when the bug has an obvious, cheap local test target. When it applies, the goal is a focused regression test that fails before the fix and passes after it, so the broken behaviour is executable before any production code changes. The skill also says when not to force a test: if the only available test would need broad harness setup, brittle mocks, slow end-to-end infrastructure, production-only state, vague reproduction steps or large unrelated fixture changes, the agent should skip adding a new test and use the closest useful verification instead. The workflow starts by understanding the bug, identifying the intended behaviour, the current behaviour, the affected path and the smallest observable reproduction. It then chooses the narrowest test that can show the failure, and runs it to confirm it fails for the right reason before touching the fix. The skill suits developers who want a regression test left behind with every bug fix, provided it is practical to write one. It is listed on skills.sh, where the page shows install counts and GitHub stars for the Cursor plugins repository. Install it with npx skills add https://github.com/cursor/plugins --skill tdd.…
Highlights
- Regression test before the fix
- Only when a cheap test target exists
- Skips impractical tests
- Narrowest test that shows the failure
- Confirms failure for the right reason
- Installs from skills.sh
Ratings & Reviews
No ratings yet
Be the first to rate tdd.
People also visit
tdd FAQ
When is this skill used?
When the user asks for TDD, a failing test or a regression test, or when the bug has a cheap local test target.
Does it always write a test?
No. It skips the test when it would need heavy harnesses, brittle mocks or production-only state.
What must the test do?
Fail before the fix and pass after it.
How do I install it?
Run npx skills add https://github.com/cursor/plugins --skill tdd.
How popular is it?
The skill is listed in the cursor/plugins repository, which has 11.4K GitHub stars.
What are the best tdd alternatives?
Popular alternatives to tdd include test-master, captain-obvious and tdd-workflow. See all tdd alternatives


















