What problem does it solve?
Reviewing whether a pull request has sufficient test coverage is time-consuming and inconsistent across reviewers. This Skill automates that judgment for the Positron repository by analyzing a PR's diff, classifying changed files, checking existing test coverage, and producing a single graded verdict with concrete, file-specific suggestions.
Core Features & Use Cases
- Coverage grading: Evaluates new tests in the PR against changed source code and issues one of four verdicts (Adequate, Adequate via existing coverage, Insufficient, Not applicable) with evidence-based justification.
- Runner-aware analysis: Matches changes to the right test type across Positron's four runners (Vitest, Core Mocha, extension-host Mocha, Playwright e2e) and recommends the cheapest test level that covers the behavior.
- Deployment surface checks: Detects Windows and web coverage gaps by checking for
@:win / @:web e2e tags and browser/ vs electron-sandbox/ parallel implementations.
- Use Case: A maintainer comments
/pete on a PR that adds a new command palette feature; the Skill inspects the diff, finds no test exercising the new command, and posts an Insufficient verdict naming the exact Vitest or e2e test file to add.
Quick Start
Ask the assistant to evaluate whether the current pull request has adequate test coverage and suggest any missing tests.