tdd-workflows — Claude Code plugin: what it does, how to install
Adds test-driven development workflows with red-green-refactor cycles and code review. Helpful when writing tests before feature code in supported IDEs.
/plugin marketplace add wshobson/agents
/plugin install tdd-workflows@claude-code-workflowsWhat tdd-workflows does
The tdd-workflows plugin sets up test-driven development practices for coding agents. It enforces red-green-refactor cycles, requiring tests before writing implementation code.
The workflow also incorporates code review steps to inspect changes before finishing. Without an existing test runner configured in the workspace, the agent cannot verify test failures or passing suites.
What it helps with
- set up a test-driven development workflow
- run red-green-refactor test cycles
- perform code review during test-driven tasks
Example prompts for the agent
- Implement this feature using TDD with a red-green-refactor cycle
- Review the recent changes and add missing unit tests
How to install tdd-workflows
Plugin marketplace
/plugin marketplace add wshobson/agents/plugin install tdd-workflows@claude-code-workflowsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about tdd-workflows
How to install tdd-workflows in Claude Code?
Install it by running /plugin marketplace add wshobson/agents and then /plugin install tdd-workflows@claude-code-workflows.
What does tdd-workflows do?
The plugin enforces test-driven development by guiding agents through red-green-refactor cycles followed by code review.
Which platforms support tdd-workflows?
It works with Claude Code, Codex, and Cursor under the MIT license.
Source text
tdd-workflows · MIT
Test-driven development methodology with red-green-refactor cycles and code review
© Seth Hobson · MIT · wshobson/agents