mutation-testing

Apply mutation testing to evaluate test suite quality and reveal defects.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/seankao31/dotfiles --skill mutation-testing-seankao31
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mutation-testing
Source: https://github.com/seankao31/dotfiles/tree/main/agent-config/skills/mutation-testing
Command: npx skills add https://github.com/seankao31/dotfiles --skill mutation-testing-seankao31

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic mutation testing to verify test suite quality and reveal gaps where bugs could slip past tests.

Core Features & Use Cases

  • Planning Phase: identify target code locations to mutate and outline a mutation strategy.
  • Execution Phase: apply single, minimal mutations, run tests, and classify outcomes (KILLED, SURVIVED, EQUIVALENT).
  • Use Case: validate test robustness for critical logic, perform test-gap analysis, and assess regression risk.

Quick Start

Provide an initial mutation plan and run it against your codebase to surface untested behavior.

Frequently Asked Questions about mutation-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is mutation testing and how does it verify test suite quality?

Mutation testing verifies test suite quality by applying minimal code mutations to expose hidden defects, evaluating whether existing tests catch real bugs. It classifies outcomes as KILLED, SURVIVED, or EQUIVALENT to reveal untested behavior.

How do I identify gaps where bugs could slip past my existing tests?

To identify test gaps, execute a mutation strategy that applies single, minimal mutations to target code locations and runs your tests. Comparing outcomes reveals surviving mutations, highlighting exact regression risks and untested logic paths.

Can I use mutation testing across different programming languages and test frameworks?

Yes, mutation testing applies to software projects with existing test suites across languages and test frameworks. It requires tooling to generate targeted mutations, run tests, compare outcomes, and report results for gap analysis.

What's the best way to start a mutation testing audit for critical logic?

Start a mutation testing audit by planning a mutation strategy that identifies target code locations to mutate. Execute this initial plan against your codebase to validate test robustness and surface untested behavior in critical logic.

Why does my mutation testing strategy report surviving mutations?

Surviving mutations occur when applied code mutations alter behavior, but the existing test suite fails to detect the change. This indicates a test gap, revealing a regression risk where real bugs could slip past tests.