test-coverage

Analyze coverage reports and generate targeted tests for untested branches.

9|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Montimage/skills --skill test-coverage-montimage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-coverage
Source: https://github.com/Montimage/skills/tree/main/skills/test-coverage
Command: npx skills add https://github.com/Montimage/skills --skill test-coverage-montimage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the identification of untested branches and edge cases to expand a project's unit test coverage, saving time and reducing risk from untested code paths.

Core Features & Use Cases

  • Analyze existing coverage reports to locate gaps across code paths.
  • Generate targeted tests for untested branches, error paths, and boundary values.
  • Verify coverage improvements by reporting before/after metrics and integrating with your CI workflow.

Quick Start

Run a coverage analysis to identify gaps and automatically generate tests for untested paths.

Frequently Asked Questions about test-coverage

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

FAQPage Schema
How do I identify untested branches and edge cases in my code?

To find untested branches, analyze existing coverage reports to locate gaps across code paths. This process highlights specific untested boundaries and error paths that require targeted test generation.

Can I automatically generate unit tests for untested code paths?

Yes, you can automatically generate unit tests for untested code paths. The system analyzes coverage gaps and writes targeted tests for untested branches, error paths, and boundary values following project conventions.

Does this test coverage gap analysis work with Jest, Vitest, and pytest?

Yes, test coverage gap analysis works with projects using common testing frameworks like Jest, Vitest, and pytest. It reads existing coverage reports from these environments to plan and generate targeted test additions.

How do I verify unit test coverage improvements after adding new tests?

You verify unit test coverage improvements by reporting before and after metrics. Running a coverage analysis before and after generating targeted tests quantifies the exact coverage changes for newly addressed code paths.

What is the best way to expand unit test coverage for edge cases?

The best way to expand unit test coverage for edge cases is to automate the identification of gaps. By analyzing existing test suites, you can generate targeted tests specifically for boundary values and error paths automatically.