This skill provides guidance for using the gh-pr-review GitHub CLI extension to view and manage inline PR review comments from the terminal. Use this skill when working with pull request reviews, viewing inline code review threads, replying to comments, starting/submitting reviews, resolving threads, or when needing structured JSON output for PR review workflows. Triggers on requests like "show PR review comments", "reply to this thread", "start a review", "resolve threads", "view unresolved comments", or any PR code review task.
Uses the gh-pr-review CLI extension to manage inline PR review comments in the terminal. Triggers on requests to view, reply to, or submit PR reviews, and when working with review threads or structured JSON output for code review workflows.
/plugin marketplace add qtnx/qtnx-claude-plugin/plugin install qtnx-plugin@qtnx-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/agents.mdreferences/commands.mdreferences/schemas.mdThe gh-pr-review extension brings inline PR review comments to the terminal. GitHub's built-in gh tool does not show inline comments or review threads - this extension fills that gap.
Ensure the extension is installed:
gh extension install agynio/gh-pr-review
# Update existing installation
gh extension upgrade agynio/gh-pr-review
To view all reviews and inline comments for a PR:
gh pr-review review view -R owner/repo --pr <number>
Common filters:
--reviewer <login> - Filter by reviewer--states APPROVED,CHANGES_REQUESTED,COMMENTED,DISMISSED - Filter by state--unresolved - Show only unresolved threads--not_outdated - Exclude outdated threads--tail <n> - Keep only last n replies per thread--include-comment-node-id - Include GraphQL comment IDsExample - View unresolved threads from a specific reviewer:
gh pr-review review view -R owner/repo --pr 42 --reviewer alice --unresolved
To start a new pending review and get the review ID:
gh pr-review review --start -R owner/repo <pr-number>
Output includes "id": "PRR_..." - save this for adding comments.
To add comments to a pending review (requires PRR_... review ID):
gh pr-review review --add-comment \
--review-id PRR_kwDOAAABbcdEFG12 \
--path path/to/file.go \
--line 42 \
--body "Your comment here" \
-R owner/repo <pr-number>
To reply to an existing review thread:
gh pr-review comments reply \
--thread-id PRRT_kwDOAAABbcdEFG12 \
--body "Your reply" \
-R owner/repo <pr-number>
To reply from a pending review, add --review-id:
gh pr-review comments reply \
--thread-id PRRT_kwDOAAABbcdEFG12 \
--review-id PRR_kwDOAAABbcdEFG12 \
--body "Reply from pending review" \
-R owner/repo <pr-number>
To finalize and submit a pending review:
gh pr-review review --submit \
--review-id PRR_kwDOAAABbcdEFG12 \
--event APPROVE|COMMENT|REQUEST_CHANGES \
--body "Review summary" \
-R owner/repo <pr-number>
List threads:
gh pr-review threads list -R owner/repo <pr-number>
gh pr-review threads list --unresolved --mine -R owner/repo <pr-number>
Resolve/unresolve threads:
gh pr-review threads resolve --thread-id PRRT_... -R owner/repo <pr-number>
gh pr-review threads unresolve --thread-id PRRT_... -R owner/repo <pr-number>
gh pr-review review --start ... -> save PRR_... IDgh pr-review review --add-comment --review-id PRR_... ...gh pr-review review view ...gh pr-review review --submit --review-id PRR_... --event REQUEST_CHANGES ...gh pr-review threads resolve --thread-id PRRT_... ...| ID Prefix | Type | Usage |
|---|---|---|
PRR_... | Review ID | For --review-id in add-comment, submit, reply |
PRRT_... | Thread ID | For --thread-id in reply, resolve, unresolve |
PRRC_... | Comment ID | Returned with --include-comment-node-id |
All commands output structured JSON. For detailed schemas, see references/schemas.md.
commands.md - Complete command reference with all flags and examplesschemas.md - JSON output schemas for each commandagents.md - Agent-focused workflows and best practicesCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.