test-coverage

Analyze test coverage for a codebase and report untested areas.

1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/hafidzlvm/opencode --skill test-coverage-hafidzlvm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test-coverage
Source: https://github.com/hafidzlvm/opencode/tree/main/.dsh/skills/test-coverage
Command: npx skills add https://github.com/hafidzlvm/opencode --skill test-coverage-hafidzlvm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers often lack visibility into which parts of their codebase are exercised by tests, making it hard to prioritize testing efforts and catch risky untested code before release. ## Core Features & Use Cases - Coverage Analysis: Examines the project to determine how much of the code is covered by existing tests. - Gap Identification: Highlights files, functions, or branches that lack test coverage so teams know where to add tests. - Use Case: Before a release, run this Skill on your repository to identify modules with low or no test coverage and decide which critical paths need additional tests. ## Quick Start Ask the AI to analyze the test coverage of the current project and list the files or functions that are not covered by tests.

Frequently Asked Questions about test-coverage

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

FAQPage Schema
How do I check test coverage for my codebase?▼

Invoke this Skill on your project and it will analyze which parts of the code are exercised by existing tests. It reports uncovered files, functions, or branches so you can prioritize where to add tests.

How to find untested code before a release?▼

Run a test coverage analysis over the repository to surface modules and critical paths lacking tests. The results help you focus testing effort on the riskiest untested areas before shipping.

Does test coverage analysis work with any programming language?▼

The analysis is driven by the project contents available in context, so it can reason about tests in many languages. However, precise line or branch coverage percentages may require running a language-specific coverage tool separately.

What are the limitations of test coverage analysis?▼

High coverage does not guarantee test quality, since tests may execute code without meaningful assertions. Coverage analysis identifies what is untested but cannot judge whether existing tests actually validate correct behavior.