test-coverage

Analyzes JSON coverage reports and generates missing tests for files under 80% coverage.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/ihj04982/my-cursor-settings --skill test-coverage-ihj04982
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-coverage
Source: https://github.com/ihj04982/my-cursor-settings/tree/main/skills/test-coverage
Command: npx skills add https://github.com/ihj04982/my-cursor-settings --skill test-coverage-ihj04982

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of ensuring adequate test coverage for software projects, identifying gaps, and generating missing tests to improve code quality and reliability.

Core Features & Use Cases

  • Coverage Analysis: Analyzes test coverage reports to pinpoint under-tested code.
  • Test Generation: Creates unit, integration, and E2E tests for uncovered code paths.
  • Use Case: Improve the reliability of a critical API endpoint by ensuring all its potential input scenarios and error conditions are covered by automated tests.

Quick Start

Analyze the test coverage report and generate missing tests for files below 80% coverage.

Frequently Asked Questions about test-coverage

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

FAQPage Schema
How do I generate missing tests for under-covered files to reach 80% overall test coverage?

To generate missing tests for under-covered files, the Skill analyzes code test coverage summary JSON files and automatically creates unit, integration, and E2E tests to achieve a minimum of 80% overall coverage.

What is code test coverage analysis and how does it identify gaps in unit, integration, and E2E test suites?

Code test coverage analysis examines coverage summary JSON files from test executions to pinpoint under-tested code paths and identify gaps across unit, integration, and E2E test suites.

Do I need to execute tests with coverage flags before analyzing gaps in my test suite?

Yes, you must execute tests with coverage flags to produce the coverage summary JSON files required for the Skill to analyze test gaps and generate missing tests for under-covered files.

Can I use this approach to improve code quality for critical API endpoints with uncovered error conditions?

Yes, you can improve code quality for critical API endpoints by generating unit, integration, and E2E tests that cover potential input scenarios and error conditions identified in the coverage analysis.

What's the best way to target untested code paths across different types of automated tests?

The best way to target untested code paths is to parse coverage summary JSON files, identify the specific gaps in unit, integration, and E2e tests, and automatically generate the missing test cases.