pr-review-comment
Installation
SKILL.md
PR Review Comment
Outcome Contract
- Outcome: material, code-supported findings attached to the correct diff side and commit, with a review body only when it helps the author act.
- Source order: user scope, target repo instructions, complete PR metadata and diff, existing review threads, code/callers/tests, candidate reviewer output, tone references.
- Authorization: collecting and drafting are read-only. Posting, replying, requesting changes, approving, or dismissing reviews are separate external mutations and require the user's explicit approval for that action.
- Done: posted review is read back from the target host and its URL, frozen head SHA, event, and accepted comment count match the approved payload.
Workflow
1. Identify And Freeze The Target
Resolve host, owner, repo, PR number, and repo-local instructions. Take the host from the user's request or the repository's origin remote. For a GitHub Enterprise host, prefix every gh call with GH_HOST=<host>.
Collect at least: