From sd0x-dev-flow
Assesses unit, integration, and E2E test coverage for features from docs, identifies gaps in source files by severity (critical to nice-to-have), and recommends new tests with structured report.
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flowThis skill is limited to using the following tools:
- Keywords: check coverage, test coverage, coverage analysis, coverage gaps, check-coverage
Analyzes test coverage reports (lcov, cobertura, istanbul) to identify gaps in lines/branches/functions, map to requirements, recommend tests, and track trends.
Reviews test coverage and sufficiency via Codex MCP, identifies gaps, audits quality across 5 dimensions. Supports git diff auto-detection, file targeting, and AC traceability from request docs.
Analyzes code-level test coverage for lines, branches, functions, and statements using npm test tools, identifies gaps, prioritizes by risk, and recommends specific tests to add. Useful post-test run for JS projects.
Share bugs, ideas, or general feedback.
/codex-test-review)/codex-test-gen)/verify)See @skills/test-review/SKILL.md for Codex-based test review workflow.
Agent({
description: "Assess three-layer test coverage and identify gaps",
subagent_type: "coverage-analyst",
prompt: `Assess Unit / Integration / E2E test coverage for the feature docs at: $ARGUMENTS
Follow the steps defined in this skill.`
})
Read specified feature docs. Extract:
Search related source code based on feature documentation. Build source code inventory.
Check whether each source file has corresponding tests (unit, integration, e2e).
For each source file:
| Severity | Description |
|---|---|
| ๐ด Critical | Core logic, data writes, amount calculations |
| ๐ Major | Important branches, error handling |
| ๐ก Minor | Edge cases, utility functions |
| โช Nice-to-have | Logging, formatting |
# Test Coverage Analysis Report
## Feature Overview
- Feature name: <from documentation>
- Documentation path: $ARGUMENTS
- Related modules: <list>
## Current Coverage
| Module | Source Path | Test Path | Coverage Status |
|--------|------------|-----------|----------------|
## Coverage Gaps
### ๐ด Critical
### ๐ Major
### ๐ก Minor
## Recommended New Tests
| Priority | Test Type | Test Case | Target File |
|----------|-----------|-----------|-------------|
## Coverage Summary
| Metric | Status |
|--------|--------|
| Feature coverage | X/Y (Z%) |
| Happy path | โ
/โ |
| Error path | โ
/โ |
| Edge cases | โ
/โ |