Gate Diff Only Test Coverage On Changed Lines Before Merging With Diff Cover
Compare coverage reports against a git diff so an agent can flag newly changed lines that still lack tests before merge.
npx skills add agentskillexchange/skills --skill gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover
diff-cover is a focused review-gate skill for checking whether newly changed lines are covered by tests, rather than judging whole-repository coverage. An agent should invoke it when a pull request needs a fast diff-only coverage decision before merge, especially in CI or review workflows where full coverage percentages hide risk on changed code.
What this skill actually does
Use this instead of a general coverage dashboard when the real question is, ‘Did the lines we just changed get covered?’ The boundary is precise: compare git diff output against Cobertura, Clover, JaCoCo, or LCov coverage reports and emit a patch-scoped result. It is not a general testing framework or product listing.