verify-pr-comments
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Context
Repository: !gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo "unknown"
Default branch: !git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@refs/remotes/origin/@@' || echo main
Current branch: !git branch --show-current 2>/dev/null
Instructions
Verify every substantive review comment on a GitHub PR against the current codebase (not whether the PR should merge, that is /verify-pr). Execute immediately without asking.
Process
- Fetch comments from all three endpoints (
$ARGUMENTSis a PR number like3841or a full PR URL; PR reviews are fragmented):gh api repos/<owner>/<repo>/pulls/<num>/reviews --paginate: top-level reviews (long summary bodies fromclaude[bot],cubic-dev-ai[bot], human reviewers). Each hascommit_id.gh api repos/<owner>/<repo>/pulls/<num>/comments --paginate: inline comments on a file/line. Each haspath,line,commit_id,body.gh api repos/<owner>/<repo>/issues/<num>/comments --paginate: issue-level PR comments (wherechangeset-bot,vercel,greptile-appspost status).gh pr view <num> --comments: human-readable mix but lackscommit_idfor staleness detection; fallback only.