mutation-testing plugin
Validates test quality beyond coverage: uses Claude subagents to generate intelligent mutations for source code, executes them via the project's native test runner, extracts survived mutants, generates mutation-todos.md with rationale, and persists run history to a SQLite logbook.
How to install the mutation-testing plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add agentlogbooks/logbooks
/plugin install mutation-testing@logbooksWhat's inside mutation-testing
1 part read from the plugin's own files.
Skills 1
Claude loads it when the task matches- mutation-testing
Validates test quality beyond coverage: uses Claude subagents to generate intelligent mutations for source code, runs them via the project's native test runner (pytest, jest, vitest, mocha, go test), prints a structured summary, generates mutation-todos.md with per-mutant rationale, persists every run to a per-project SQLite ledger and JSONL trace under ./.logbooks/mutation-testing/, and warns when the mutation score falls below 70%. Invoke for: "run mutation tests", "check mutation score", "mutation testing", "are our tests actually testing anything?", "which tests are weak?", "test quality check". Do not invoke for plain unit test runs, coverage reports, linting, or type checking.
Using mutation-testing in Claude Code
Skills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update mutation-testing@logbooks
- Refresh the marketplace
- /plugin marketplace update logbooks
- Turn it off for now
- /plugin disable mutation-testing@logbooks
- Remove it
- /plugin uninstall mutation-testing@logbooks
Skills in mutation-testing
- mutation-testingagentlogbooks/logbooks
Validates test quality beyond coverage: uses Claude subagents to generate intelligent mutations for source code, runs them via the project's native test runner (pytest, jest, vitest, mocha, go test), prints a structured summary, generates mutation-todos.md with per-mutant rationale, persists every run to a per-project SQLite ledger and JSONL trace under ./.logbooks/mutation-testing/, and warns when the mutation score falls below 70%. Invoke for: "run mutation tests", "check mutation score", "mutation testing", "are our tests actually testing anything?", "which tests are weak?", "test quality check". Do not invoke for plain unit test runs, coverage reports, linting, or type checking.
3 files8stars
mutation-testing plugin questions
How do I install the mutation-testing plugin?
In Claude Code run /plugin marketplace add agentlogbooks/logbooks, then /plugin install mutation-testing@logbooks.
What does the mutation-testing plugin include?
mutation-testing bundles 1 skill.
How do I update or remove the mutation-testing plugin?
Update it with claude plugin update mutation-testing@logbooks in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall mutation-testing@logbooks.