From principled-quality
Assess whether a pull request's review comments address the generated checklist items. Reads the checklist from PR comments and local files, maps review comments to checklist items, and reports coverage.
How this skill is triggered — by the user, by Claude, or both
Slash command
/principled-quality:review-coverageThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Assess whether a PR's review comments and checklist state address all generated checklist items. Reports coverage percentage and identifies uncovered items.
Assess whether a PR's review comments and checklist state address all generated checklist items. Reports coverage percentage and identifies uncovered items.
/review-coverage <pr-number>
| Argument | Required | Description |
|---|---|---|
<pr-number> | Yes | The GitHub PR number to assess coverage for. |
gh CLI must be installed and authenticated/review-checklist)Verify prerequisites. Check that gh is available and authenticated:
bash scripts/check-gh-cli.sh
Locate the checklist. Find the review checklist using the dual storage model (ADR-012):
Primary: Search PR comments for the marker <!-- principled-review-checklist: PR-<number> -->
gh pr view <pr-number> --json comments --jq '.comments[].body'
Fallback: Check for .review/<pr-number>-checklist.md locally
If no checklist is found, report the absence and suggest running /review-checklist first.
Parse checklist state. From the located checklist, extract all items and their checked/unchecked state:
- [x] = checked (addressed)- [ ] = unchecked (not addressed)Retrieve review comments. Get all review comments on the PR:
gh pr view <pr-number> --json reviews,comments
Also fetch inline review comments (file-level comments):
gh api repos/{owner}/{repo}/pulls/<pr-number>/comments
Map comments to checklist items. For each unchecked checklist item, search review comments for relevant discussion:
Calculate coverage. Compute coverage metrics:
[x]Report results. Output a structured coverage report:
Review Coverage for PR #42:
Overall: 10/14 items addressed (71%)
Checked: 8/14 (57%)
Discussed but unchecked: 2/14 (14%)
By section:
Acceptance Criteria: 4/5 addressed (80%)
- [ ] Widget renders correctly with default props ← NOT ADDRESSED
ADR Compliance: 3/3 addressed (100%)
General Quality: 3/6 addressed (50%)
- [ ] Documentation updated if public API changed ← NOT ADDRESSED
- [ ] No TODO/FIXME comments without linked issues ← NOT ADDRESSED
- [ ] Error handling for external calls ← NOT ADDRESSED
Recommendation: 4 items remain unaddressed. Consider reviewing
before approving.
/review-coverage is read-only. It does not modify the checklist, the PR, or any plan documents.scripts/check-gh-cli.sh --- Verify gh CLI availability and auth status (copy from principled-github canonical)npx claudepluginhub alexnodeland/principled --plugin principled-qualityReviews GitHub pull requests end-to-end using the gh CLI. Covers diff analysis, commit history, CI checks, and severity-leveled feedback submission.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.