coverage-gaps
Ranks the most valuable missing tests from coverage.py's coverage.json. Use when the user asks which tests are missing. Not for non-Python code.
Target: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- coverage-gaps
- When to load
- Step 1 — Ensure a JSON report exists
- Step 2 — Rank the gaps
- Step 3 — Propose tests
Turns an existing coverage.py report into a ranked list of the tests worth writing next. CANARY: coverage-gaps-loaded-2026-06-04-ea39c2b5-b32fe2b1b5ae5e96 Load when the question is which coverage gaps to fill first. This is the cheap, line-level pass; once line coverage is healthy and the question is whether tests assert behaviour, use the mutmut-report skill. The script reads coverage.py's JSON export, not the .coverage database, and exits 2 without it. Regenerate it after a refactor, since old line numbers drift from the source. The JSON carries totalpercentcovered, fileswithgaps, and a ranked gaps list with missingcount, percentcovered, missingbranches (populated only with branch coverage), largestrun and missingruns (inclusive line ranges). Open the source at each missingruns range before recommending, because a long run can be a generated block, a repr or an if TYPECHECKING: island; rank by what the code does, not by line count. Then report: 1. The 2–3 tests worth writing now: which function, which input, which branch. 2. Branch gaps in otherwise well-covered files, from missingbranches. 3. Low-value gaps (scattered defensive raise or logging lines) that can wait or take # pra
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- nuncaeslupus/claude-arsenal
- Source file
- plugins/core/skills/coverage-gaps/SKILL.md
- Fixed revision
- 92c679944241546ba24d51f55611c979fc0cd804
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: nuncaeslupus/claude-arsenal · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T12:01:36.746Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.