Test Coverage Improvement Expert

Analyze coverage reports and generate tests for uncovered paths.

Updated Dec 9, 2025
One-click install
npx skills add https://github.com/teliha/dev-workflows --skill test-coverage-improvement-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Test Coverage Improvement Expert
Source: https://github.com/teliha/dev-workflows/tree/main/skills/improve-coverage
Command: npx skills add https://github.com/teliha/dev-workflows --skill test-coverage-improvement-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes test coverage and adds new test cases to improve coverage without modifying implementation code.

Core Features & Use Cases

  • Coverage Analysis: Runs and parses coverage reports
  • Gap Identification: Finds uncovered code paths
  • Smart Prioritization: Focuses on critical paths first
  • Pattern Matching: Aligns with existing test conventions
  • Safety Guarantee: Never modifies production code

Quick Start

Run the skill with a request to add tests for uncovered areas; it will generate new tests following project conventions and verify that tests pass and coverage increases.

Frequently Asked Questions about Test Coverage Improvement Expert

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

FAQPage Schema
How do I identify and fix gaps in test coverage?

Test coverage gaps are uncovered code paths revealed by coverage reports. This Skill analyzes your coverage data, identifies which lines or branches lack tests, prioritizes critical and security-sensitive areas, then generates new tests that follow your project's existing patterns—without touching production code.

Can I improve test coverage in Jest and Vitest projects?

Yes. This Skill works with Jest and Vitest projects by parsing their coverage reports, identifying untested paths, and generating tests aligned with your project's conventions. It also supports Foundry and Solidity smart contract testing.

How do I add tests without modifying my production code?

This Skill generates new test cases that target coverage gaps while preserving all production behavior. It adds only tests, verifies they pass, confirms coverage increases, and leaves your implementation code untouched.

What's the best way to prioritize which code paths to test first?

Prioritize critical paths and security-sensitive code. This Skill analyzes coverage reports to focus testing effort on high-impact areas first, ensuring your testing effort protects the most important functionality before expanding to lower-risk paths.

How do I ensure new tests follow my project's existing patterns?

This Skill pattern-matches against your existing test suite, studying conventions like naming, structure, and assertion style, then generates new tests that blend seamlessly with your current test codebase.

Will the Skill verify that coverage actually improves?

Yes. After generating tests, the Skill runs coverage reports again to validate that coverage increased and all new tests pass, confirming the improvements are real and no regressions occurred.

Related Skills