swingerman

Kill Mutants — Testing skill for Claude Code

Testing community

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

Terminal
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

  1. 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 Repository