Skip to main content

coverage-gaps

Find the untested code paths that actually matter, not just the coverage percentage. Use after adding tests.

来源信息

仓库
Archive228/loopkit
最近来源活动
2026年6月29日 21:52
检测到的 SKILL.md 语言
英语
星标
757
Forks
124

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
coverage-gaps
description
Find the untested code paths that actually matter, not just the coverage percentage. Use after adding tests.
# Coverage Gaps Coverage % is a vanity metric. Hunt the gaps that bite: - **Error paths** — the 500, the timeout, the empty/null input, the malformed payload. Almost always untested. - **Boundaries** — 0, 1, max, off-by-one, empty collection. - **Branches** — every `if/else` and `catch` exercised, not just the happy line. - **Concurrency / order** — anything stateful tested in isolation AND in sequence. Skip tests that assert a constructor sets a property — worthless. Test behavior, not implementation. Output: the 3-5 highest-risk untested paths, ranked by blast radius, with the test to add.
在 GitHub 查看