mirror of
https://github.com/secondsky/claude-skills.git
synced 2026-09-18 19:54:22 +08:00
292c93845e
- Rewrites AI-sounding text to read human; 8 editing passes + review-only mode - Adapted from jpeggdev/humanize-writing (MIT); npm installer scaffolding dropped - Frontmatter condensed to 238 chars (sync enforces 250 max for single-skill plugins) - Lockstep bump 3.8.0 -> 3.9.0: all 145 plugins, both marketplaces, package.json - CHANGELOG entry for 3.9.0
Mutation Testing Skill
Validate test effectiveness with Stryker (TypeScript) and mutmut (Python).
Overview
Expert guidance for mutation testing - finding weak tests by introducing deliberate code mutations and checking if tests catch them.
Core Concept
- Mutants: Small code changes introduced automatically
- Killed: Test fails with mutation (good)
- Survived: Test passes with mutation (weak test)
- Score: Percentage killed (aim for 80%+)
When to Use
- Validate test effectiveness
- Find weak assertions
- Improve test quality
- After achieving high code coverage
- Before major releases
Tools Supported
- Stryker (TypeScript/JavaScript)
- Vitest runner (
@stryker-mutator/vitest-runner) - Bun native runner (
@hughescr/stryker-bun-runner) — forbun testprojects
- Vitest runner (
- mutmut (Python)
Quick Start
# TypeScript (Stryker)
bunx stryker run
open reports/mutation/html/index.html
# Python (mutmut)
uv run mutmut run
uv run mutmut results
Auto-Trigger Keywords
- mutation testing
- test effectiveness
- weak tests
- stryker
- mutmut
- test validation
- code mutations
- stryker-bun-runner
- bun test mutation
Source
Adapted from laurigates/dotfiles