Skill metadata: version "1.0"; license MIT; tags [tests, coverage, ci, review, quality]; compatibility ">=3.2"; recommended tools [codebase, runCommands, githubRepo].
Review the current project's test coverage posture and recommend what to test next, what coverage tooling is missing, and which CI workflows would add the most value.
-
Discover the test stack - Detect test runners and coverage tooling from config files, manifests, and CI workflows.
-
Ask for coverage output when available - If a coverage command is configured, ask the user to run it and paste the output. Copilot cannot run the command on the user's machine in chat.
-
Fall back to static analysis when needed - If no coverage tooling exists, scan the repository for source files, test files, and obvious gaps.
-
Identify coverage gaps - Classify gaps into:
- Zero coverage - no corresponding tests or 0% coverage
- Low coverage - weak or partial coverage, especially under 50%
- Missing test types - no integration, edge-case, or error-path coverage
-
Recommend local tests - For each important gap, specify:
- file or module
- test type: unit, integration, end-to-end, property-based, or snapshot
- priority: critical, high, medium, or low
- a brief description of the behavior or edge case to cover
-
Recommend CI workflows - Suggest copy-ready GitHub Actions improvements when they are justified by the stack, such as:
- coverage gate
- coverage diff comments
- nightly full suite
- runtime matrix
- mutation testing
- contract or API tests
-
Present the report - Use this structure:
## Test Coverage Review - <project>
### Current coverage snapshot
- framework and runner
- overall coverage if known
- test file count and obvious untested areas
### Well-covered
- files or modules that appear healthy
### Partially covered
- files or modules with notable gaps
### Untested or near-zero
- highest-priority missing coverage
### Recommended local tests
- file | type | priority | what to cover
### Recommended CI workflows
- workflow name and why it helps
- ready-to-copy YAML when appropriate
### Notes
- missing tooling
- assumptions
- risk areas
-
Wait - Do not write test files, workflow files, or coverage config until the user explicitly asks.