
Description
The TDD plugin brings test-driven development to Claude Code. It commands the agent to write a test first, watch it fail, and then write the minimum code that makes it pass, which is the red-green-refactor cycle from Kent Beck's Test-Driven Development: By Example. The plugin includes anti-pattern detection that flags common testing mistakes such as mock abuse and test-only methods, and it uses specialized subagents to write test coverage in parallel for complex changes. Its write-tests command adds test coverage for all local code changes after implementation, when a feature was built without tests. The plugin says test-first work prevents regressions, shows design problems early because code that is hard to test is often badly designed, and gives confidence that a test really checks something, since the test has been seen failing. It is for developers who want their coding agent to follow a test-first process, or who need tests added to code that already exists. It is installed from the context-engineering-kit marketplace on GitHub, and its commands are available inside Claude Code.…
Highlights
- Red-green-refactor cycle enforced
- Detects mock abuse and test-only methods
- Parallel test writing with subagents
- write-tests command for existing changes
Ratings & Reviews
No ratings yet
Be the first to rate tdd.
People also visit
tdd FAQ
What is the TDD plugin?
A Claude Code plugin that follows test-driven development: tests are written first, seen to fail, and then the code is written to make them pass.
What does /write-tests do?
It adds test coverage for all local code changes after implementation, using specialized review and development subagents.
What anti-patterns does it catch?
Common testing mistakes such as mock abuse and test-only methods.
How do I install it?
Add the context-engineering-kit marketplace from GitHub, then install the tdd plugin in Claude Code.
Where is the source?
In the NeoLabHQ context-engineering-kit repository on GitHub, under plugins/tdd.
What are the best tdd alternatives?
Popular alternatives to tdd include test-master, tdd-workflow and spartan-ai-toolkit. See all tdd alternatives

















