coverage-debt-tracker
Installation
SKILL.md
coverage-debt-tracker
Overview
Aggregate coverage hides per-file decay. A repo can sit at 82% overall while the payment module silently drops from 95% to 60% across 30 PRs - none of which individually crossed a gate threshold.
This skill builds a debt ledger from a rolling window of historical coverage data, scoring each file on three axes:
| Axis | Signal |
|---|---|
| Falling | line% (or branch%) dropped >M pp over the last N runs. |
| Stale | Coverage flat while churn (commits / week) is high. |
| Orphan | Lost its last covering test (every covering test was deleted). |
Output is a stack-ranked backlog: 5 - 20 items that, when fixed, would restore the coverage health of the highest-risk modules.