/gh-pr-tools:pr_statusfrom gh-pr-tools
Show a quick summary of PR review thread statuses on GitHub. Use when the user wants to check PR status, see remaining comments, review thread summary, or triage before resolving.
Ships in gh-pr-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Show a quick read-only summary of review thread statuses on a GitHub pull request. No files are modified — this is purely informational.
/pr-status <PR-number-or-URL>
No flags — this is a lightweight status check.
gh CLI must be installed and authenticated (gh auth status)Accept any of these formats:
123 or #123https://github.com/{owner}/{repo}/pull/{number}gh pr view --json number --jq '.number'Fetch PR metadata and review threads in parallel:
PR metadata (REST):
gh pr view <number> --json title,author,state,baseRefName,headRefName,reviewDecision,reviews
Review threads (GraphQL):
gh api graphql -f query='
query($owner:String!, $repo:String!, $pr:Int!) {
repository(owner:$owner, name:$repo) {
pullRequest(number:$pr) {
reviewThreads(first:100) {
nodes {
isResolved
isOutdated
comments(first:10) {
nodes {
body
author { login }
path
line
}
}
}
}
}
}
}' -f owner='{owner}' -f repo='{repo}' -F pr='{number}'
Use gh repo view --json owner,name --jq '.owner.login + " " + .name' to get owner and repo dynamically.
For each review thread, determine its status:
| Status | Meaning |
|---|---|
Unresolved (isResolved == false) | Needs attention |
Resolved (isResolved == true) | Addressed |
Outdated (isOutdated == true) | Code has changed since comment |
Also categorize by whether the thread has file context (path is set) or is a general PR-level comment.
Bot detection: Filter out threads where the comment author login ends with [bot] (e.g., dependabot, github-actions, codeql, codecov, renovate).
## PR #<number> - <title>
**Source:** <headRefName> → **Target:** <baseRefName>
**State:** <state> | **Author:** <author> | **Review decision:** <reviewDecision>
### Review Threads
| Status | Count |
|--------|-------|
| Unresolved | <n> |
| Resolved | <n> |
| Outdated | <n> |
| Total | <n> |
### Reviews
| Reviewer | State |
|----------|-------|
| <login> | APPROVED / CHANGES_REQUESTED / COMMENTED |
### Unresolved Threads (<count>)
| File | Line | Reviewer | Comment |
|------|------|----------|---------|
| <path> | <line> | <author> | <first 80 chars of comment> |
### General Comments (<count>)
- <comment text>
If there are no unresolved threads, say: "All review threads are resolved."
If there are unresolved threads, suggest: "Run /resolve-pr <number> to address these comments."
gh not authenticated: Suggest running gh auth login.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shouenlee/ghcp-dev-plugin --plugin gh-pr-tools4 skills in this plugin
/pr_createCreate a GitHub pull request from the current branch with auto-generated title and description. Use when the user wants to create a PR, open a pull request, or submit changes for review./pr_reviewReview a GitHub PR or self-review local changes. Fetches PR data via gh CLI, analyzes code quality, verifies tests, checks best practices, and posts inline review comments. Use when asked to review a PR, check a pull request, or self-review before creating a PR./resolve_prFetch active PR review threads from GitHub and resolve them by making code changes. Use when the user wants to address, fix, or resolve PR review comments automatically.Other plugins' skills for the same job