coverage
Skill0 starsChanged 2 months agoMITView on GitHub
Report line and branch coverage; spotlight survival-critical surface gaps; fail if below the project floor. Extracted from /test for focused coverage work.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- 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
- Encod3d-Sec/TORCHtheir own version, first seen Aug 12, 2026
Used with
Projects with it also use worktree and refactor.
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.
MicrosoftSkillworktree
Create, reuse or clean up a dedicated git worktree for working on a pull request or a private branch. Use from any PR-scoped workflow that needs an isolated checkout to keep current code and build output untouched.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
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
- Pradnyeshp/Claude-Skills★ 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 repository29 other files it gives its agents.
- hosts/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adrSkill
- api-designSkill
- auditSkill
- code-reviewSkill
- concurrency-performanceSkill
- debuggingSkill
- debugSkill
- fast-laneSkill
- fixSkill
- implementSkill
- intakeSkill
- leanSkill
- migration-safetySkill
- nonnaSkill
- observabilitySkill
- planSkill
- refactoringSkill
- releaseSkill
- reviewSkill
- rollbackSkill
- security-reviewSkill
- shipSkill
- supply-chainSkill
- syncSkill
- tddSkill
- tdd-workflowSkill
- testSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
1
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
- Very specific: line 30
Do not mutate any files. This command observes and reports.
- Distinctive: line 31
Never report a number you did not observe from actual tool output.
“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
!ls package.json pyproject.toml go.mod Cargo.toml Makefile 2>/dev/null
Coverage report for: $ARGUMENTS (if empty, the whole project).
Steps
- Detect the toolchain from the manifest files listed above and run coverage with the appropriate command:
- JS/TS:
npm test -- --coverageorvitest run --coverage - Python:
pytest --cov --cov-branch --cov-report=term-missing $ARGUMENTS - Go:
go test ./... -coverprofile=coverage.out && go tool cover -func=coverage.out - Rust:
cargo tarpaulin --out Stdout(orcargo llvm-cov) - Or
make coverage/ the repo's documented command.
- JS/TS:
- Report the numbers. Line coverage % and branch coverage % for the scope requested. Compare against the project's declared floor (check
pyproject.toml,jest.config.*,.nycrc,Makefile, or CI config). Fail loudly if below the floor — do not soften the number. - Spotlight the survival-critical surface. Scan for any code touching money, auth, data integrity, persistence, or irreversible/outward-facing actions (see
.claude/rules/testing.md). For each such file or module, report:- Current line % and branch %
- Whether a golden test (exact oracle) exists
- Whether a property test (invariant over generated inputs) exists
- Gap: what behavior is uncovered
- List the top gaps. Rank uncovered lines/branches by blast radius — survival-critical surface first, then the rest. Give file paths and line ranges, not just percentages.
Guardrails
- Do not mutate any files. This command observes and reports; it does not fix. To add tests, run
/tdd. - Never report a number you did not observe from actual tool output.
Output
Overall line % and branch % vs. floor (pass/fail). Survival-critical surface table (file, line %, branch %, golden?, property?). Top-N uncovered spans by blast radius. Next action: either green (no gaps on critical surface, above floor) or a prioritized list for /tdd.
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.

