← ClaudeAtlas

coverage-gap-auditlisted

Audit Jest test coverage to separate real testing gaps (business logic, security paths) from false negatives (wiring, config, generated code) that shouldn't count against coverage metrics. Use when the user says "audit test coverage", "which files actually need tests", "reduce coverage noise", "why is coverage low", "exclude files from coverage", or asks to review/clean up `collectCoverageFrom`.
Ronnasayd/aipp · ★ 3 · Testing & QA · score 62
Install: claude install-skill Ronnasayd/aipp
# Coverage Gap Audit Classify low/zero-coverage files as real gaps or false negatives, then optionally suppress the false negatives in `jest.config.js`. Coverage % is a symptom, not a verdict — the only signal that matters: does this file contain a decision a test could get wrong? ## Steps | # | Step | Action | Gate | | --- | ---------------------- | --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | | 1 | Read config | Find `jest.config.js`, note existing `!`-prefixed `collectCoverageFrom` excludes | don't re-litigate prior exclusions, build on top | | 2 | Run coverage | `npx jest --coverage --coverageReporters=text` | text table only — gives per-file %+uncovered lines in one pass; avoid `json-summary` alone | | 3 | Triage | Sort mentally: 0% files first, then low%, grouped by directory (table is already folder-grouped)