/polymath-qa:coverage-gapfrom polymath-qa
Review a diff for missing test coverage; pairs every changed behavior with an existing test or a flagged gap plus a recommended layer; finds gaps, not authoring (unit-tests).
Ships in polymath-qa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read a code diff plus the existing test files and report which changed behaviors are unprotected. Pair-mode for
code-reviewin workflows.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
reviewPR invokes this as a fanout sibling).feature-dev to verify the TDD loop actually covered everything.git diff or PR diff).Coverage gaps for <branch>:
Covered:
- <file>:<line> <symbol> → tests/<path>:<line>
MISSING (unit):
- <file>:<line> rate_limit_burst_threshold has no test for the boundary case (6th request within 60s).
MISSING (integration):
- <file>:<line> /healthz response shape is asserted nowhere.
WEAK:
- <file>:<line> refund_amount: only return type asserted; behavior un-checked.
Test scaffolding (suggested):
- tests/test_rate_limit.py::test_blocks_sixth_request_in_window
- tests/test_healthz.py::test_returns_status_ok_with_version
What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/assertion-qualityReview test assertions — assert behavior not implementation; kill snapshot/tautological checks; one reason-to-fail per test; improves existing tests, not authoring them (unit-tests)./integration-contractDesign integration/contract tests for a service boundary — consumer-driven contracts, stub-vs-hit, fixtures, failure modes. Boundary tests, not unit tests (unit-tests) or the plan (test-strategy)./test-smellDetect test smells/anti-patterns — over-mocking, fragile assertions, slow setup, flaky timing; flag each with its layer and a refactor. Reviews existing tests, not authoring them (unit-tests)./test-strategyDesign a layered test strategy (pyramid) for a feature or repo; recommends unit/integration/e2e split and the cheapest set that covers the acceptance criteria. Plans layers; doesn't write tests./unit-testsAuthor unit tests using the repo's existing framework; one test per behavior, no mocking of internal collaborators. Writes tests; not gap analysis (coverage-gap) or strategy (test-strategy).Other plugins' skills for the same job
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-qa