mutation-test

Run mutation testing to identify weak tests and zombie tests with refactoring guidance.

2|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/citadelgrad/scott-cc --skill mutation-test-citadelgrad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mutation-test
Source: https://github.com/citadelgrad/scott-cc/tree/main/plugins/mutation-testing/skills/mutation-test
Command: npx skills add https://github.com/citadelgrad/scott-cc --skill mutation-test-citadelgrad

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mutation testing reveals gaps in test suites by introducing small, controlled changes to code and measuring if tests catch them, exposing weak or redundant tests.

Core Features & Use Cases

  • Mutations: generate and run semantic code mutations to assess test coverage beyond traditional metrics.
  • Zombie-test detection: identify tests that pass despite misbehavior, enabling targeted refactoring.
  • Refactoring guidance: propose concrete test-suite simplifications and improvements with measurable outcomes.

Quick Start

/mutation-test stripe_handler.py # Standard mode (15 mutations) /mutation-test --quick api/payments/ # Quick mode (5 mutations) /mutation-test --deep billing/ # Deep mode (30+ mutations) /mutation-test # Smart mode (auto-detects target)

Frequently Asked Questions about mutation-test

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

FAQPage Schema
What is mutation testing and how does it find weak tests?

Mutation testing identifies weak tests by introducing small, controlled code changes and measuring if the test suite catches them. It exposes redundant or zombie tests that pass despite misbehavior, generating a mutation score and refactoring guidance.

How do I run mutation testing on a specific file or directory?

You can run mutation testing by specifying a target file or directory. Use Quick mode for 5 mutations, Standard for 15, or Deep for 30+ mutations. Smart mode auto-detects the target if none is provided.

Can I use mutation testing for pre-release validation on critical code paths?

Yes, mutation testing applies to codebases with test suites and focuses on core modules, critical paths, and pre-release validation to improve reliability. It generates semantic mutations to assess test coverage beyond traditional metrics.

What is the best way to detect zombie tests that pass despite code misbehavior?

The best way to detect zombie tests is running mutation testing, which introduces controlled code changes to identify tests that pass despite misbehavior. It then provides targeted refactoring guidance to fix these weak tests.

How does mutation testing execute mutations in parallel without disrupting my git repository?

Mutation testing executes mutations in parallel using isolated git worktrees. This isolates each mutation run from your main repository, preventing disruption while assessing test quality across multiple code changes simultaneously.