/core:coverage-gaps --input coverage.json --limit Nfrom core
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.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
coverage json # after `coverage run -m pytest`
pytest --cov=PKG --cov-branch --cov-report=json # or in one shot, with branches
python3 "${CLAUDE_SKILL_DIR}/scripts/analyze_coverage.py" --input coverage.json --limit 20
The JSON carries total_percent_covered, files_with_gaps, and a ranked gaps
list with missing_count, percent_covered, missing_branches (populated only
with branch coverage), largest_run and missing_runs (inclusive line ranges).
Open the source at each missing_runs range before recommending, because a long
run can be a generated block, a __repr__ or an if TYPE_CHECKING: island;
rank by what the code does, not by line count. Then report:
missing_branches.raise or logging lines) that can wait
or take # pragma: no cover.Covered means executed, not asserted, so treat this ranking as the floor.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nuncaeslupus/claude-arsenal --plugin coreOther plugins' skills for the same job
23 skills in this plugin
/arsenal-initRuns the claude-arsenal installer (the init skill) under a name that does not collide with Claude Code's built-in /init. Use when the user types /arsenal-init. Not for writing a CLAUDE.md./bugreportReads Android bugreports (dumpstate .txt or .zip) through a byte-offset index — device summary, ranked checkup, section lookup, merged timeline, redacted copies, report diffs. Use when the user has a bugreport to read or diagnose. Not for live-device adb sessions or logcat-only files./dep-upgradeUpgrades a uv project's dependencies behind pip-audit and tests. Use when the user wants dependencies upgraded or vuln-checked. Not for adding one (uv add).