coverage
Skill2 starsChanged 5 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".
15 other projects use a version of this.
Adopted by
Most recently taken up by
- kapadias/nonnatheir own version, first seen Oct 1, 2026
- yacb2/aidextheir own version, first seen Sep 30, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Sep 30, 2026
- pydantic/montytheir own version, first seen Sep 4, 2026
- Amplicode/spring-skillstheir own version, first seen Sep 2, 2026
- zyphr-labs/bounty-harnesstheir own version, first seen Aug 26, 2026
Used with
Projects with it also use adr, plan and 4 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.
asterkinSkilladr
Create Architecture Decision Records (ADRs) following project standards. Guides template usage, process, and best practices for documenting architecturally significant decisions.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
OpenAISkillaudit
Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.
Also in 3 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- pydantic/monty★ 8.6ksame name
- Encod3d-Sec/TORCH★ 329same name
- Amplicode/spring-skills★ 126same name
- AsiaOstrich/universal-dev-standards★ 76same name
- drafthq/draft★ 40same name
- Hassaan146/claude-skills★ 18same name
- cirne/agent-skills★ 2same name
- grodowski/undercover-claude★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- yacb2/aidex★ 2same name
5 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 13 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 13 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.

