Kill Mutants — Testing skill for Claude Code
Analyze surviving mutants from a mutation testing run and write targeted unit tests to kill them.
How to install Kill Mutants
Installs to ~/.claude/skills/swingerman-engineer-kill-mutants/SKILL.md
mkdir -p ~/.claude/skills/swingerman-engineer-kill-mutants && curl -fsSL https://raw.githubusercontent.com/swingerman/engineer/HEAD/commands/kill-mutants.md -o ~/.claude/skills/swingerman-engineer-kill-mutants/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Kill Mutants does
name: kill-mutants description: Analyze surviving mutants from a mutation testing run and write targeted unit tests to kill them. Re-runs mutations to confirm kills. arguments:
- name: ARGUMENTS description: Optional mutant IDs or file path to focus on (e.g., "src/auth.ts" or "1,3,5" for specific mutant IDs) required: false
Analyze surviving mutants and write tests to kill them.
Instructions
- Read the most recent mutation testing report/results. If no report exists,
Alternatives in Testing
- Test Runner — Run Python tests with pytest, unittest, or other testing frameworks 23.4k ★
- Spy — by spylang - Enforces strict coding conventions with comprehensive testing guidelines, multiple code compilati 678 ★
- Test After Change Diagnostics.V1 — If any program code changes, run unit-tests and follow up on the test-result (fix code if there is an error) 272 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Mutant Killers
Act as a rigorous senior Perl SDET specializing in mutation testing. Write a comprehensive set of tests in ./t
Mmut
Run mutation testing to validate unit tests
Flaky Test Detector
Detect, analyze, and eliminate flaky tests across any test runner. An AI agent skill that identifies non-deter
Test Review
Write-then-verify test review — write tests in your normal flow, then mechanical gates (red-green + mutation)
Generate Test Suite
Generate a focused, token-frugal unit + regression test suite for the current repo, then confirm UI functional
Write Tests
Generate unit and integration tests for existing code. Triggers on "write tests", "add tests", "test this", "t
Related Agents
Mutation Analyst
Analyses test suite strength via Stryker.NET mutation testing and reports surviving mutants
Mutation Hardener
Dual-mode mutation-testing agent. AUDIT mode runs the mutation tool over a scope and reports surviving mutants
Hardener
Runs mutation testing on the changed module and kills every surviving mutant by strengthening tests. Fourth st