test-health

Analyze vitest outputs and coverage data to produce prioritized test health reports.

86|20|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/optave/ops-codegraph-tool --skill test-health
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-health
Source: https://github.com/optave/ops-codegraph-tool/tree/main/.claude/skills/test-health
Command: npx skills add https://github.com/optave/ops-codegraph-tool --skill test-health

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit and diagnose test suites by identifying flaky tests, dead tests, and coverage gaps, then produce a prioritized health report with fix suggestions.

Core Features & Use Cases

  • Detect flaky tests across multiple runs and report instability
  • Identify dead or trivial tests and suggest improvements
  • Analyze test coverage and provide remediation guidance for gaps
  • Generate structured health reports suitable for CI or audits

Quick Start

Run a health audit on the current project's test suite to generate a prioritized report.

Frequently Asked Questions about test-health

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

FAQPage Schema
How do I find flaky tests in my vitest suite?

To find flaky tests, this Skill analyzes vitest outputs across multiple runs to detect instability and report inconsistencies. It evaluates your test structure to identify tests that pass and fail intermittently, providing a prioritized health report for targeted fixes.

What is test suite health analysis and why does it matter?

Test suite health analysis is the process of diagnosing tests by identifying flaky behavior, dead tests, and coverage gaps. It matters because it produces a structured report with actionable remediation guidance, ensuring your CI pipelines and local test suites remain reliable over time.

How do I generate a test coverage gap report for CI pipelines?

To generate a coverage gap report for CI pipelines, this Skill analyzes your coverage data and test structure to pinpoint untested code paths. It then produces a structured health report suitable for CI audits, offering actionable recommendations to fix the identified gaps.

Can I use this to identify dead or trivial tests in my project?

Yes, you can use this Skill to identify dead or trivial tests in your project. By analyzing your test suite's structure and outputs, it detects tests that provide no value and suggests specific improvements or removals to streamline your testing process.

Does test-health work with local test suites or only CI environments?

Test-health analysis works with both local test suites and CI pipelines. The Skill is designed to analyze vitest outputs and coverage data across projects regardless of environment, generating structured health reports with fix suggestions for any testing context.

What is the best way to get prioritized fix suggestions for failing tests?

The best way to get prioritized fix suggestions is to run a health audit on your current project. The Skill evaluates flaky tests, dead tests, and coverage gaps to produce a structured health report, applying actionable recommendations to guide your remediation efforts.