Skip to main content
plugin

test-writer-fixer — Claude Code plugin: auto-tests after every change

test-writer-fixer — a Claude Code plugin that runs unit tests after code changes, writes missing ones, and fixes failing tests. Triggers automatically after refactoring, new features, or bug fixes.

no license ★ 2,003 updated 2026-07-26

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add composio-community/awesome-claude-plugins
/plugin install test-writer-fixer@awesome-claude-plugins
Open on GitHub

What test-writer-fixer does

The plugin runs after code changes: module refactoring, bug fixes, or new features. It reads existing tests, finds failures, analyzes the root cause, and fixes them. If tests for the modified code are missing, it writes new ones, including edge cases and error handling.

It works through a sub-agent: Claude Code passes the task, the agent runs the test suite, compares results with expected outcomes, and patches test code or production code if there is a regression in logic. Works for modules without coverage: the plugin creates tests for critical sections like payment logic or data synchronization.

Without a test framework in the project, the plugin will not run. Supports standard runners: pytest, Jest, JUnit — the choice depends on the project language.

What it helps with

  • run tests after refactoring and fix failures
  • write unit tests for a new module or function
  • verify a bug fix did not break existing functionality
  • add tests for a critical section without coverage
  • automatically run tests after an API change

Example prompts for the agent

  • I fixed the OAuth authentication logic — run tests and fix what failed
  • Refactored the payment module to async/await, check the tests
  • The data sync module has no tests — write them

How to install test-writer-fixer

Plugin marketplace

/plugin marketplace add composio-community/awesome-claude-plugins
/plugin install test-writer-fixer@awesome-claude-plugins

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about test-writer-fixer

How to install test-writer-fixer in Claude Code?

First run /plugin marketplace add composio-community/awesome-claude-plugins, then /plugin install test-writer-fixer@awesome-claude-plugins.

What does test-writer-fixer do?

The plugin runs unit tests after code changes, writes new tests for uncovered sections, and fixes failing ones while maintaining test suite integrity.

Which test frameworks does test-writer-fixer support?

The plugin works with standard runners: pytest for Python, Jest for JavaScript, JUnit for Java. The choice depends on the project language and the configured framework.

Similar plugins

All plugins for Testing and QA →

From the same set68

The whole set →

Project sponsors

Companies that keep this analytics open