Mutation Testing
Evaluate test suite quality by injecting code mutations and checking that tests catch them.
- CCM score
- 40 of 100
- skills.sh installs
- 481
- GitHub stars
- 396
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers mutation testing workflow, from introducing mutants to reviewing survived mutants and improving tests
- Includes setup and run guides for Stryker (JavaScript/TypeScript), PITest (Java), mutmut (Python), and mutation report formats
- Enforces a practice of targeting critical business logic and aiming for an 80%+ mutation score on important code
- Designed for teams measuring real test effectiveness beyond line coverage, including Stryker, PITest, and mutmut users
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill mutation-testing -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Mutation Testing
Table of Contents
Overview
Mutation testing assesses test suite quality by introducing small changes (mutations) to source code and verifying that tests fail. If tests don't catch a mutation, it indicates gaps in test coverage or test quality. This technique helps identify weak or ineffective tests.
When to Use
- Evaluating test suite effectiveness
- Finding untested code paths
- Improving test quality metrics
- Validating critical business logic is well-tested
- Identifying redundant or weak tests
- Measuring real test coverage beyond line coverage
- Ensuring tests actually verify behavior
Quick Start
Minimal working example:
# Install Stryker
npm install --save-dev @stryker-mutator/core @stryker-mutator/jest-runner
# Initialize configuration
npx stryker init
# Run mutation testing
npx stryker run
Reference Guides
Detailed implementations in the references/ directory:
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Testing & QA, Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the mutation-testing skill do?
The mutation-testing skill evaluates test suite quality by introducing small code mutations and checking that tests fail against them. Surviving mutants reveal gaps in coverage or weak tests, which goes beyond what line coverage measures.
How do I install the mutation-testing skill?
Run npx -y skills add aj-geddes/useful-ai-prompts --skill mutation-testing -y in your project. Once installed, mutation-testing lets the agent guide you through mutation testing with Stryker, PITest and mutmut.
Where does mutation-testing sit in the Testing & QA category?
mutation-testing is listed in the Testing & QA category alongside tdd, migrate-to-shoehorn, test-driven-development, webapp-testing and break-ui. Its focus on mutants and test effectiveness sets it apart from those skills.
When should I use the mutation-testing skill?
Use mutation-testing to find untested code paths, validate that critical business logic is well tested, and identify redundant or weak tests. It also suits measuring real test coverage in CI for important modules.
Which tools does mutation-testing cover?
mutation-testing covers Stryker for JavaScript and TypeScript, PITest for Java, and mutmut for Python. Its reference guides also include notes on mutation testing reports.
More from aj-geddes/useful-ai-prompts
All 258- Csrf Protection480
- Developer Onboarding480
- Api Changelog Versioning479
- Concurrency Patterns479
- Deployment Automation479
- Django Application479
- Regression Modeling479
- Gcp Cloud Functions477
- Cloud Security Configuration476
- Aws Ec2 Setup475
- Api Versioning Strategy474
- Email Service Integration473
- Infrastructure Monitoring473
- Angular Module Design472
- Pull Request Automation472
- Database Monitoring471
- Session Management470
- Idempotency Handling469
- Network Analysis468
- Query Caching Strategies468
- Risk Assessment468
- Error Tracking467
- Clustering Analysis465
- Code Metrics Analysis465
Similar to Mutation Testing
More Testing & QAperformance-testingSkillaj-geddes/useful-ai-prompts612 installsDesign and execute performance tests that measure latency, throughput, and resource use under load.
penetration-testingSkillaj-geddes/useful-ai-prompts1.1K installsStructured security testing that identifies and documents exploitable application and infrastructure vulnerabilities through simulated attacks.
genotoxicSkilltrailofbits/skills4.9K installsMutation testing triage that uses code-graph data to sort survived mutants into false positives, test gaps, and fuzz targets.
mutation-testerPluginrohitg00/awesome-claude-code-toolkit2.9K starsMutation testing to measure test suite quality
test-anti-patternsSkilldotnet/skills6.3K installsAudits test suites in any language for anti-patterns, producing a severity-ranked report of false-confidence and maintainability issues.
test-gap-analysisSkilldotnet/skills5.3K installsLead: Pseudo-mutation analysis that finds caller-visible behavior changes existing tests would miss across languages.