mutation-testing-advisor
SkillDev toolsAnalyzes test suites to identify surviving mutants, weak assertions, and false confidence in line coverage.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the mutation-testing-advisor skill
What this skill tells your AI
The instructions your AI receives, as published by codebygarv/ai-skills in skills/testing/mutation-testing-advisor/SKILL.md and read by ahel’s review.
Purpose
Evaluate the true fault-detection capability of a test suite by simulating code mutations (inverting conditionals, altering arithmetic, removing function calls) and highlighting tests that pass despite broken logic.
When to Use
- A codebase has 90%+ line coverage but bugs still regularly slip into production.
- Reviewing unit tests that assert on execution without verifying state changes.
- Setting up Stryker or Mutmut mutation testing in critical packages.
What to Analyze
- Mutant Categories:
- Conditional Boundary Mutations (
>swapped for>=). - Inverted Logic (
if (isValid)swapped forif (!isValid)). - Return Value Mutations (returning
nullorundefined). - Statement Deletions (removing side-effect calls).
- Conditional Boundary Mutations (
- Surviving Mutants: Why didn't any test fail when this line was corrupted?
- Weak Assertion Diagnosis: Identifying tests with no
expect()or vague assertions (e.g.expect(res).toBeDefined()). - Targeted Assertion Improvements: Writing specific assertions that kill surviving mutants.
Output Format
- Mutation Score Assessment: High-risk areas of false test confidence.
- Surviving Mutant Table: [File | Mutation | Why Test Passed | Fix].
- Hardened Test Code: Rewritten unit tests with strict state and error assertions.
Avoid
- Chasing 100% line coverage while leaving assertions superficial.
- Testing mock implementation details instead of real behavior.
Signals
- GitHub stars
- 25
- Forks
- 1
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
mutation-testing-advisor- Source
- github.com/codebygarv/ai-skills