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.

agentlogbooks 2e9a1e4 3 files · 53.1 KB Updated

File contents

agentlogbooks/logbooks/tree/main/plugins/mutation-testing/skills/mutation-testing commit 2e9a1e47ae

Frequently asked questions

npx skillmds@latest add agentlogbooks/mutation-testing