用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/sebaslogen/resaca --skill kover-gate-report命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | kover-gate-report |
| description | Run KoverGate coverage gate and fix coverage gaps after writing or modifying tests |
After writing or modifying tests in a module, check coverage gaps and close them.
Run the coverage gate task for the module you changed:
./gradlew :<module-name>:koverGateReport
Replace <module-name> with the Gradle module path (e.g., :app, :core:data).
Read the JSON gap report:
<module-name>/build/reports/kover/gap-report.json
Interpret results:
"passed": true — coverage requirements are met. Done."passed": false — examine the files array. Each entry lists:
uncoveredLines: line numbers with no coverage (mi > 0)missedBranchLines: line numbers with partial branch coverage (mb > 0)Write targeted tests to cover the identified lines and branches. Focus on:
uncoveredLinesmissedBranchLinesRe-run the task to confirm gaps are closed:
./gradlew :<module-name>:koverGateReport
Repeat until "passed": true.
build.gradle.kts via the koverGate {} block if 100% is not the right target for a specific metric.disabledMetrics.set(setOf(CoverageMetric.BRANCH)).build/reports/kover/gap-report.json.