test-coverage

Generate and parse coverage reports to locate uncovered lines and branches.

42|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/drvoss/everything-copilot-cli --skill test-coverage-drvoss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-coverage
Source: https://github.com/drvoss/everything-copilot-cli/tree/main/skills/testing/test-coverage
Command: npx skills add https://github.com/drvoss/everything-copilot-cli --skill test-coverage-drvoss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many codebases ship with modules or branches that lack tests, causing confidence gaps, regressions, and release risk. This Skill helps teams identify uncovered code paths and systematically add focused unit or integration tests to raise measurable coverage and protect critical logic.

Core Features & Use Cases

  • Generate and interpret coverage reports across common test frameworks to find low-coverage files and branches.
  • Prioritize testing effort by focusing on business logic, error handling, and security-sensitive paths.
  • Write targeted tests that exercise happy paths, edge cases, and error flows to close coverage gaps.
  • Use cases include fixing coverage regressions after merges, bootstrapping tests for new modules, validating refactors, and enforcing CI thresholds before releases.

Quick Start

Run the project's coverage report, identify files below the coverage target, and add focused tests for uncovered branches and error paths.

Frequently Asked Questions about test-coverage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find and close unit test coverage gaps in my codebase?

Find test coverage gaps by generating and parsing coverage reports to locate uncovered lines and branches, then write targeted tests for critical paths and error handling to raise measurable coverage.

What is the best way to fix a coverage regression after a merge?

Fix a coverage regression by running your project's coverage report to identify files below the threshold, prioritizing business logic and security-sensitive paths, and adding focused tests to verify improvements against CI thresholds.

Can I use this to bootstrap tests for new modules across different frameworks?

Yes, you can bootstrap tests for new modules across JavaScript, Python, and Go by applying the workflow to unit and integration testing to write targeted tests exercising happy paths and error flows.

Does this workflow support generating coverage reports for pytest and jest?

Yes, this workflow supports generating and interpreting coverage reports across common test frameworks like pytest and jest to find low-coverage files, uncovered branches, and prioritize testing effort.

How do I write targeted tests for uncovered branches and error paths?

Write targeted tests for uncovered branches by prioritizing business logic and security-sensitive paths, then exercise happy paths, edge cases, and error flows to systematically close the coverage gaps.

When do I need to enforce CI thresholds for test coverage before a release?

You need to enforce CI thresholds before a release when new modules lack tests, coverage drops below defined targets, or refactors require validation to prevent regressions and reduce release risk.