coverage
Skill2 starsChanged 4 months agoMITView on GitHub
Run the test suite with coverage and report the least-covered files and functions, with concrete suggestions for the next tests to write. Use when the user says "check test coverage", "what's not tested", "run coverage", "where are the coverage gaps", "how covered is this", or "what should I test next".
28 other projects use a version of this.
Adopted by
Most recently taken up by
- wboayue/rust-ibapitheir own version, first seen Nov 9, 2026
- KadirHarmanc/nazar-skilltheir own version, first seen Nov 8, 2026
- LeanMeanCleanApps/CleanModelContextProtocoltheir own version, first seen Nov 8, 2026
- AsiaOstrich/EngramGraphtheir own version, first seen Nov 8, 2026
- grodowski/undercover-claudetheir own version, first seen Nov 7, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use scan, lint and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
rajnavakotiSkillscan
Run the AI dashboard scanner and generate the HTML report.
Also in 4 projects that use this
Microsoft AzureSkilllint
Run all linting and spell checking for TypeScript and Rust code. Run this before committing to catch style issues, clippy warnings, and misspellings.
Also in 4 projects that use this
asterkinSkilladr
Create Architecture Decision Records (ADRs) following project standards. Guides template usage, process, and best practices for documenting architecturally significant decisions.
Also in 4 projects that use this
anombyte93Skilldiscover
Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.
Also in 3 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 3 projects that use this
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 3 projects that use this
Other versions28 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 28
- FalkorDB/FalkorDB★ 10ksame name
- pydantic/monty★ 8.9ksame name
- LiberatedPixelCup/Universal-LPC-Spritesheet-Character-Generator★ 1.9ksame name
- firedancer-io/firedancer★ 1.6ksame name
- hegeldev/hegel-rust★ 400same name
- wboayue/rust-ibapi★ 400same name
- nockawa/Typhon★ 253same name
- Amplicode/spring-skills★ 126same name
- AsiaOstrich/universal-dev-standards★ 84same name
- hass-energy/haeo★ 77same name
18 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository68 other files it gives its agents.
- a11ySkill
- api-docsSkill
- audit-logSkill
- benchmarkSkill
- bisectSkill
- cacheSkill
- changelogSkill
- cherry-pickSkill
- ci-setupSkill
- codeownersSkill
- commit-messageSkill
- connection-poolSkill
- contributingSkill
- db-migrateSkill
- dead-codeSkill
- debugSkill
- depsSkill
- diagramSkill
- dockerizeSkill
- docstringSkill
- e2eSkill
- env-exampleSkill
- error-handlingSkill
- explainSkill
- feature-flagSkill
- flaky-testSkill
- gitignoreSkill
- graceful-shutdownSkill
- graphqlSkill
- healthcheckSkill
- i18nSkill
- idempotencySkill
- licenseSkill
- lint-fixSkill
- loggingSkill
- migrateSkill
- mockSkill
- onboardSkill
- optimizeSkill
- paginationSkill
- pr-descriptionSkill
- pre-commitSkill
- profileSkill
- prune-branchesSkill
- rate-limitSkill
- readmeSkill
- rebaseSkill
- refactorSkill
- regexSkill
- releaseSkill
- resolve-conflictsSkill
- retrySkill
- review-diffSkill
- scaffoldSkill
- secrets-scanSkill
- security-headersSkill
- seedSkill
- soft-deleteSkill
- sqlSkill
- squashSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 25 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
If the coverage tool isn't installed, say so and give the one-line install/setup instead of guessing numbers.
- Distinctive: line 40
If tests fail or error out, surface that first: coverage from a broken suite is meaningless.
- Very specific: line 42
Don't write or modify tests here.
- Distinctive: line 43
If coverage is already strong, say so and note the few remaining gaps rather than manufacturing busywork.
“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test tooling signals
!ls package.json pyproject.toml pytest.ini setup.cfg Cargo.toml go.mod jest.config.* vitest.config.* .nycrc* 2>/dev/null
!sed -n 's/.*"scripts".*//p;/"test"\|"coverage"/p' package.json 2>/dev/null | head -20
Instructions
Measure test coverage for this project and report where it's weakest (scoped to $ARGUMENTS if a path was named). Detect the test runner from the signals above and use its native coverage tooling.
Method
- Pick the right coverage command for the stack, preferring an existing
coverage/test:coveragescript when one exists:- JS/TS:
jest --coverage,vitest run --coverage, ornyc <test cmd> - Python:
pytest --cov=<pkg> --cov-report=term-missing(orcoverage run -m pytest && coverage report -m) - Rust:
cargo llvm-cov/cargo tarpaulin - Go:
go test ./... -coverprofile=cover.out && go tool cover -func=cover.out - If the coverage tool isn't installed, say so and give the one-line install/setup instead of guessing numbers.
- JS/TS:
- Run it (read-only — running tests is fine; don't modify source). Capture the per-file/per-function percentages and the uncovered line ranges.
- Rank the gaps by risk, not just by percentage. A 60%-covered auth/payment/parsing module matters more than a 0%-covered constants file. Weight by how much logic and how much blast radius each uncovered area has. Ignore generated code, vendored deps, and trivial getters.
- For the top gaps, name the specific untested behavior — the branch, error path, or edge case that has no test — by reading the uncovered lines, not just citing a number.
Output
- Overall coverage (line/branch %) and how it compares to any configured threshold.
- Top under-covered areas, ranked by risk:
file:line-range, current %, and the specific untested behavior. - A short "test these next" list — concrete cases worth writing, most valuable first. Hand off to the
test-genskill to actually write them if the user wants.
Rules
- Report real numbers from a coverage run — never estimate coverage by eyeballing the source.
- If tests fail or error out, surface that first: coverage from a broken suite is meaningless.
- Prioritize by risk and logic density, not raw percentage — call out when a high-percentage file still misses its critical path.
- Don't write or modify tests here; this skill measures and prioritizes. Point to
test-genfor the writing. - If coverage is already strong, say so and note the few remaining gaps rather than manufacturing busywork.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

