review-pr-comments
SolidFetch PR review comments via gh CLI, classify them (valid & fix / valid & skip / invalid), fix the valid ones, reply and resolve the threads, and fix any CI failures. Invoke only when the user types /review-pr-comments — never auto-trigger.
AI & Automation 10 stars
1 forks Updated 2 days ago MIT
Install
Quality Score: 79/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# /review-pr-comments — evaluate PR feedback and fix valid issues
User-invoked only. `$ARGUMENTS` is an optional PR number; if empty, auto-detect from the current branch.
All GitHub interaction goes through `gh` CLI — never the GitHub MCP server. The MCP server is incomplete (missing endpoints for review-thread resolution, partial coverage of comment surfaces).
## 1. Identify the PR
If `$ARGUMENTS` has a number, use it.
Otherwise:
```bash
BRANCH=$(git branch --show-current)
gh pr list --head "$BRANCH" --json number,title,url --jq '.[0]'
```
If no open PR for the branch, stop and tell the user.
Capture `OWNER`, `REPO`, `PR` for the rest of the run:
```bash
gh repo view --json owner,name --jq '"\(.owner.login) \(.name)"'
```
## 2. Fetch comments — THREE separate surfaces
GitHub exposes PR feedback in three places. Missing any one means you'll miss real comments. **Always check all three.**
### 2a. Inline review comments (line-anchored)
These are the most common — Gemini/Claude/Copilot bots, human reviewers' line-level comments.
```bash
gh api "repos/$OWNER/$REPO/pulls/$PR/comments" --paginate \
--jq '.[] | {id, path, line, body, user: .user.login, in_reply_to_id, html_url}'
```
Fields you need: `id` (REST numeric, used for reply), `path`, `line`, `body`, `user.login`, `in_reply_to_id` (non-null = follow-up reply, ignore the duplicates).
### 2b. Inline review threads (for resolution)
To resolve a thread you need its **GraphQL node ID**. Fetch in one query and ...
Details
- Author
- IBazylchuk
- Repository
- IBazylchuk/paparats-mcp
- Created
- 5 months ago
- Last Updated
- 2 days ago
- Language
- TypeScript
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Listed
pr-comments
Review and triage PR comments interactively
0 Updated yesterday
YoniChechik AI & Automation Featured
github-pr-review-fix
Review and resolve PR comments from GitHub. Validates each comment, fixes legitimate issues.
3,680 Updated today
IvanMurzak AI & Automation Listed
address-pr-comments
Fetch all review comments on the current branch's open PR, challenge each one critically, implement sensible ones using TDD, commit touched files, and print a summary. Trigger with /address-pr-comments.
0 Updated yesterday
ypxing