GitHub PR review

Review a GitHub pull request locally through diffing.

diffing can mirror a GitHub PR into a local review session (mode: gh-pr) so you get the same UI/TUI ergonomics without leaving the machine for reads.

Open a PR session

diffing --gh-pr 123
diffing --gh-pr owner/repo#123
diffing --gh-pr https://github.com/owner/repo/pull/123
# equivalent:
diffing "gh pr 123"

Requires gh auth (or token) with access to the repository.

CLI reads

diffing gh status
diffing gh overview
diffing gh threads
diffing gh reviews
diffing inspect summary
diffing inspect files

MCP

ToolUse
gh_overviewPR metadata + summary
gh_list_threadsConversation threads
gh_list_reviewsSubmitted reviews
gh_list_draft_commentsLocal drafts
gh_create_draft_commentStage a draft locally
gh_refreshRe-fetch after force-push / new activity
gh_submit_reviewPublish — requires explicit user authorization

Prefer bounded diff_summarydiff_filesdiff_hunksdiff_slice over dumping the full patch.

Authorization rule

Read freely in a PR session. Mutate GitHub (submit review, publish replies) only when the user explicitly authorizes. Tool descriptions mark remote publication accordingly.

Local vs remote plan tools

Plan review tools need a web local session. Do not tear down a PR/TUI session just to submit a plan — start or select a compatible web session (diffing --web --no-open or sessions use).