mutation-testing

Introduce code mutations and measure test suite kill rates.

2|2|Updated Aug 23, 2025
One-click install
npx skills add https://github.com/summarybotng/summarybot-ng --skill mutation-testing-summarybotng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mutation-testing
Source: https://github.com/summarybotng/summarybot-ng/tree/main/.claude/skills/mutation-testing
Command: npx skills add https://github.com/summarybotng/summarybot-ng --skill mutation-testing-summarybotng

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill ensures your test suites are effective by identifying weak tests that fail to catch actual code mutations, thereby proving your tests actually catch bugs.

Core Features & Use Cases

  • Mutation Score Calculation: Quantifies test suite effectiveness.
  • Surviving Mutant Analysis: Pinpoints specific tests that need improvement.
  • Test Strengthening: Provides actionable recommendations to kill surviving mutants.
  • Use Case: After implementing new features and tests, use this Skill to run mutation testing and confirm that your tests would indeed fail if a critical bug (a code mutation) were introduced.

Quick Start

Use the mutation-testing skill to analyze the test suite for the 'src/payment.ts' file and generate missing tests.

Frequently Asked Questions about mutation-testing

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

FAQPage Schema
Why does high code coverage not guarantee effective tests?

Mutation testing addresses this by introducing code mutations and measuring the test suite's kill rate, proving tests actually catch bugs rather than just executing code.

How do I measure test suite effectiveness using mutation testing?

Mutation testing calculates a mutation score by automatically introducing code mutations and verifying if your test suite fails, quantifying overall test suite effectiveness and identifying weak tests.

How do I identify and fix weak assertions in my test suite?

Surviving mutant analysis pinpoints specific tests failing to catch code mutations, while test strengthening provides actionable recommendations to improve assertions and kill surviving mutants.

Can I use Stryker to validate test quality for new features?

After implementing new features and tests, you can use this Skill to run mutation testing with Stryker, confirming tests would indeed fail if a critical bug or code mutation were introduced.

What is a surviving mutant in mutation testing?

A surviving mutant is an introduced code mutation that your test suite failed to catch. Analyzing surviving mutants pinpoints weak tests needing improvement to ensure robust quality assurance.