Mutation Testing
Mutation testing skill that finds weak tests by injecting code mutants via Stryker (TypeScript) and mutmut (Python).
- CCM score
- 60 of 100
- skills.sh installs
- 471
- GitHub stars
- 257
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers Stryker setup for Vitest and Bun's native
bun testrunner, plus mutmut workflows for Python projects - Includes configuration examples (
stryker.config.mjs,stryker.conf.mjs) with score thresholds, per-test coverage analysis, and incremental runs - Explains mutant states (killed, survived) and score targets, with before-and-after examples of strengthening weak assertions
- Designed for teams that want to verify test effectiveness once code coverage is already at 80% or higher
Install
$ npx -y skills add secondsky/claude-skills --skill mutation-testing -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Mutation Testing
Expert knowledge for mutation testing - validating that your tests actually catch bugs by introducing deliberate code mutations.
Core Concept
- Mutants: Small code changes introduced automatically
- Killed: Test fails with mutation (good - test caught the bug)
- Survived: Test passes with mutation (bad - weak test)
- Score: Percentage of mutants killed (aim for 80%+)
TypeScript/JavaScript (Stryker)
Vitest Runner
Installation
# Using Bun
bun add -d @stryker-mutator/core @stryker-mutator/vitest-runner
# Using npm
npm install -D @stryker-mutator/core @stryker-mutator/vitest-runner
Configuration
// stryker.config.mjs
export default {
packageManager: 'bun',
reporters: ['html', 'clear-text', 'progress'],
testRunner: 'vitest',
coverageAnalysis: 'perTest',
mutate: ['src/**/*.ts', '!src/**/*.test.ts'],
thresholds: { high: 80, low: 60, break: 60 },
incremental: true,
}
Bun Native Runner (bun test)
Use when projects use bun test directly (not Vitest).
Requirements
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- Testing & QA, Code Review & Quality, Python
- First seen
- Jun 3, 2026
Questions
What is mutation-testing?
mutation-testing is an agent skill listed on Claude Marketplaces in the Testing & QA category. The listing describes mutation-testing like this: Validate test effectiveness with mutation testing using Stryker (TypeScript/JavaScript with Vitest or bun test via @hughescr/stryker-bun-runner) and mutmut (Python).
How do I install mutation-testing?
Run npx -y skills add secondsky/claude-skills --skill mutation-testing -y in a project to install mutation-testing. After that, the agent can use mutation-testing in that project.
Which category is mutation-testing in?
mutation-testing is in the Testing & QA category on Claude Marketplaces. Other listings in that category next to mutation-testing include tdd, migrate-to-shoehorn and test-driven-development.
Where is the source code of mutation-testing?
The source code of mutation-testing is on GitHub at https://github.com/secondsky/claude-skills. The secondsky account on GitHub publishes mutation-testing.
More from secondsky/claude-skills
All 116- Tanstack Router471
- Internationalization I18n467
- Security Headers Configuration466
- Systematic Debugging466
- Bun Package Manager465
- Interaction Design465
- Seo Optimizer465
- Api Error Handling463
- Sequential Thinking458
- Bun Nextjs452
- Websocket Implementation449
- Mobile App Debugging448
- Root Cause Tracing448
- App Store Deployment447
- Recommendation Engine447
- Seo Keyword Cluster Builder447
- Push Notification Setup446
- Drizzle Orm D1443
- Api Pagination442
- Api Response Optimization442
- Api Filtering Sorting440
- Bun Drizzle Integration440
- Defense In Depth Validation439
- Session Management438
Similar to Mutation Testing
More Testing & QAvitest-testingsecondsky/claude-skills1.3K installsModern Vitest guide for TypeScript and JavaScript tests, covering unit, integration, mocking, and coverage workflows.
test-quality-analysissecondsky/claude-skills480 installsPractical review guide that flags test smells such as overmocking, fragile selectors, flaky async code, and weak assertions.
test-anti-patternsdotnet/skills6.1K installsAudits test suites in any language for anti-patterns, producing a severity-ranked report of false-confidence and maintainability issues.
genotoxictrailofbits/skills4.7K installsMutation testing triage that uses code-graph data to sort survived mutants into false positives, test gaps, and fuzz targets.
skill-testeralirezarezvani/claude-skills628 installsValidates skill structure, script behavior, and quality for new or legacy skills with stdlib-only tools.
test-coverage-improveronewave-ai/claude-skills319 installsAnalyzes coverage gaps and writes missing tests for JavaScript and TypeScript projects using Jest, Vitest, or NYC.