coverage-gaps
星标13
分支1
更新时间2026年4月9日 01:28
Find untested code paths and report coverage gaps in the vlist project
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Find untested code paths and report coverage gaps in the vlist project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Debug a failing test by loading full context — test file, source file, error output
Show all public exports from the vlist package to catch accidental API changes
Generate a changelog entry from recent commits since a given ref or tag
Run the full pre-release checklist — version, changelog, tests, types, build, size
| name | coverage-gaps |
| description | Find untested code paths and report coverage gaps in the vlist project |
| argument-hint | ["file-or-feature"] |
| allowed-tools | Bash(bun test *) Read Glob Grep |
Identify untested code in the vlist project.
Determine scope:
$ARGUMENTS names a feature (e.g., grid, async), run coverage for that feature's tests$ARGUMENTS names a file path, run coverage for tests covering that fileRun coverage:
bun test --coverage test/features/$ARGUMENTS/ 2>&1 or bun test --coverage $ARGUMENTS 2>&1bun test --coverage 2>&1Parse the coverage output and report:
Output format:
## Coverage Gaps
### src/features/async/feature.ts — 87% lines
- `handleLoadError()` (lines 45-62) — no test for error path
- Suggested test: "should handle adapter rejection gracefully"
### src/rendering/renderer.ts — 92% lines
- `recycleElement()` (lines 120-128) — pool-full branch untested
- Suggested test: "should discard element when pool is at capacity"
If everything is at 100%: Full coverage — no gaps found.