{"id":"9a10d316-9ae8-465c-a712-011f3667eab4","shortId":"k8P2Ue","kind":"skill","title":"Gate Diff Only Test Coverage On Changed Lines Before Merging With Diff Cover","tagline":"Compare coverage reports against a git diff so an agent can flag newly changed lines that still lack tests before merge.","description":"# Gate Diff Only Test Coverage On Changed Lines Before Merging With Diff Cover\n\nCompare coverage reports against a git diff so an agent can flag newly changed lines that still lack tests before merge.\n\n## Prerequisites\n\nGit, supported XML or LCov coverage report, Python 3, pip\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- pip install diff-cover\n- git clone https://github.com/Bachmann1234/diff-cover.git\n- make a pull request from your fork.\n- pip install poetry\n\nRequirements and caveats from upstream:\n- Currently, diff-cover requires that:\n- coverage.py__ (Python)\n- poetry manages a python virtual environment and organizes dependencies. It also\n\nBasic usage or getting-started notes:\n- ------------\n- To install the latest release:\n- .. code:: bash\n\n- Source: https://github.com/Bachmann1234/diff_cover\n- Extracted from upstream docs: https://raw.githubusercontent.com/Bachmann1234/diff_cover/HEAD/README.rst\n\n## Documentation\n\n- https://github.com/Bachmann1234/diff_cover\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover/)","tags":["gate","diff","only","test","coverage","changed","lines","before","merging","with","cover","skills"],"capabilities":["skill","source-agentskillexchange","skill-gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,177 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:10:31.760Z","embedding":null,"createdAt":"2026-05-18T13:16:38.250Z","updatedAt":"2026-05-18T19:10:31.760Z","lastSeenAt":"2026-05-18T19:10:31.760Z","tsv":"'/bachmann1234/diff-cover.git':101 '/bachmann1234/diff_cover':153,164 '/bachmann1234/diff_cover/head/readme.rst':160 '/skills/gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover/)':171 '3':78 'agent':23,57,166 'agentskillexchange.com':170 'agentskillexchange.com/skills/gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover/)':169 'also':135 'bash':149 'basic':136 'caveat':114 'chang':7,27,41,61 'clone':98 'code':148 'compar':14,48 'cover':13,47,96,120 'coverag':5,15,39,49,75 'coverage.py':123 'current':117 'depend':133 'diff':2,12,20,36,46,54,95,119 'diff-cov':94,118 'doc':157 'document':161 'environ':91,130 'exchang':168 'extract':154 'flag':25,59 'fork':108 'gate':1,35 'get':140 'getting-start':139 'git':19,53,70,97 'github.com':100,152,163 'github.com/bachmann1234/diff-cover.git':99 'github.com/bachmann1234/diff_cover':151,162 'instal':80,84,93,110,144 'lack':31,65 'latest':146 'lcov':74 'line':8,28,42,62 'make':102 'manag':126 'match':89 'merg':10,34,44,68 'newli':26,60 'note':142 'organ':132 'path':87 'pip':79,92,109 'poetri':111,125 'prerequisit':69 'pull':104 'python':77,124,128 'raw.githubusercontent.com':159 'raw.githubusercontent.com/bachmann1234/diff_cover/head/readme.rst':158 'releas':147 'report':16,50,76 'request':105 'requir':112,121 'setup':86 'skill':167 'skill-gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover' 'sourc':150,165 'source-agentskillexchange' 'start':141 'still':30,64 'support':71 'test':4,32,38,66 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'upstream':83,116,156 'usag':137 'use':81 'virtual':129 'xml':72","prices":[{"id":"24b28938-1b23-47c3-999a-2a64ca9d0dbf","listingId":"9a10d316-9ae8-465c-a712-011f3667eab4","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:16:38.250Z"}],"sources":[{"listingId":"9a10d316-9ae8-465c-a712-011f3667eab4","source":"github","sourceId":"agentskillexchange/skills/gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover","isPrimary":false,"firstSeenAt":"2026-05-18T13:16:38.250Z","lastSeenAt":"2026-05-18T19:10:31.760Z"}],"details":{"listingId":"9a10d316-9ae8-465c-a712-011f3667eab4","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"eb6d88a75041bfd763b6775a7520649040cfb031","skill_md_path":"skills/gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Gate Diff Only Test Coverage On Changed Lines Before Merging With Diff Cover","description":"Compare coverage reports against a git diff so an agent can flag newly changed lines that still lack tests before merge."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover"},"updatedAt":"2026-05-18T19:10:31.760Z"}}