test-gap-analysis

Detects test gaps by applying pseudo-mutations to production code and verifying survivors against the test suite.

Updated Sep 22, 2026
One-click install
npx skills add https://github.com/bytecakelake/Nurse-Scheduler --skill test-gap-analysis-bytecakelake
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test-gap-analysis
Source: https://github.com/bytecakelake/Nurse-Scheduler/tree/main/.agents/plugins/dotnet-test/skills/test-gap-analysis
Command: npx skills add https://github.com/bytecakelake/Nurse-Scheduler --skill test-gap-analysis-bytecakelake

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code coverage shows which lines ran during tests but not whether tests would fail if the code were wrong. This Skill finds blind spots where tests pass yet would keep passing even if the production code were broken, and confirms each gap empirically before reporting it. ## Core Features & Use Cases - Pseudo-Mutation Catalog: Systematically identifies mutation points across boundaries, boolean logic, return values, exceptions, arithmetic, and null checks in any supported language. - Empirical Verification: Applies each candidate survivor as a real edit, re-runs the covering tests, and reverts immediately, so reported gaps are proven rather than guessed. - Gap Closure: Writes focused tests that kill verified survived mutations, following the existing suite's framework and naming conventions. - Use Case: Ask "would my tests catch a bug in the payment calculation logic?" and receive a mutation score report with prioritized, verified test gaps and concrete recommended assertions. ## Quick Start Analyze the tests for my OrderService class and tell me which mutations would survive undetected.

Frequently Asked Questions about test-gap-analysis

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

FAQPage Schema
How do I find weak tests that code coverage misses?▼

Use pseudo-mutation analysis to ask whether any test would fail if a line of production code were changed. The Skill identifies mutation points, reasons about covering tests, then applies each candidate mutation and re-runs the tests to confirm genuine gaps.

What is the difference between code coverage and mutation testing?▼

Line and branch coverage measure which code executed during tests, not whether assertions verify behavior. Mutation testing measures whether tests detect code changes, making it the gold standard for test effectiveness.

Does pseudo-mutation analysis work with Python, Go, or Rust?▼

Yes, the mutation catalog is language-neutral and maps to language-specific idioms like None vs nil, raise vs panic, and Rust's ? operator. A language extension file guides test file discovery and framework-specific assertion patterns.

When should I use a real mutation testing tool instead?▼

Use an actual mutation framework like Stryker, mutmut, PIT, go-mutesting, or cargo-mutants when you want exhaustive automated mutation runs. This Skill suits fast, reasoning-driven analysis and targeted gap closure without tool setup.

Why might a reported test gap be a false alarm?▼

Static reasoning alone can mislabel mutations as survived when tests actually catch them. The Skill prevents this by applying each candidate mutation, re-running the covering tests, and reverting, labeling findings unverified only when the suite cannot run.