fetch-pr-comments

Solid

Fetch and summarize unresolved GitHub PR review comments without making changes. Use when the user asks to "fetch PR comments", "show PR comments", "check PR for unresolved comments", "list review comments", "what comments are on the PR", "show unresolved threads", or "summarize PR feedback".

Code & Development 314 stars 25 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Fetch PR Comments Fetch unresolved review comments and top-level review body comments from a GitHub PR and present them in a readable summary. This is a read-only skill -- it does not evaluate, fix, or reply to any comments. ## Step 1: Fetch Comments Fetch review threads and top-level review body comments from the PR: ```bash gh api graphql -f query=' query($owner: String!, $repo: String!, $pr: Int!) { repository(owner: $owner, name: $repo) { pullRequest(number: $pr) { title url reviewThreads(first: 100) { nodes { id isResolved isOutdated comments(first: 50) { nodes { author { login } body path line originalLine diffHunk } } } } reviews(first: 50) { nodes { author { login } body state } } } } }' -f owner='{owner}' -f repo='{repo}' -F pr={pr_number} ``` Auto-detect owner, repo, and PR number from current branch if not provided. Filter review threads to unresolved only. Filter reviews to those with a non-empty body, excluding `PENDING` state (unsubmitted drafts). ## Step 2: Present Results Display a summary header followed by comments grouped by file. **Summary header:** - PR title and link - Branch: `head` -> `base` - Total threads / unresolved threads **Top-level review comments (if any):** Show reviews with non-empty body before the file-grouped threads: ``` ## Review Comments ### @reviewer (CHANGES_REQUESTED) > Review body te...

Details

Author
tobihagemann
Repository
tobihagemann/turbo
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

fetch-pr-feedback

Fetch unresolved review comments from a PR and evaluate with receive-feedback skill

61 Updated today
existential-birds
AI & Automation Solid

resolve-pr-comments

Evaluate, fix, answer, and reply to GitHub pull request review comments. Handles both change requests (fix or skip) and reviewer questions (explain using reasoning recalled from past Claude Code transcripts). Use when the user asks to "resolve PR comments", "fix review comments", "address PR feedback", "handle review comments", "address review feedback", "respond to PR comments", "answer review questions", or "address code review".

314 Updated today
tobihagemann
Code & Development Listed

github-pr-review

Handles PR review comments and feedback resolution. Use when user wants to resolve PR comments, handle review feedback, fix review comments, address PR review, check review status, respond to reviewer, verify PR readiness, review PR comments, analyze review feedback, evaluate PR comments, assess review suggestions, or triage PR comments. Fetches comments via GitHub CLI, classifies by severity, applies fixes with user confirmation, commits with proper format, replies to threads.

63 Updated 2 weeks ago
fvadicamo
Code & Development Solid

review-pr

Review a pull request by fetching PR comments and running a comprehensive code review with evaluation. Use when the user asks to "review PR", "review pull request", "review this PR", "check PR before merging", or "full PR review".

314 Updated today
tobihagemann
Code & Development Listed

pr-comments

Review and triage PR comments interactively

0 Updated 5 days ago
YoniChechik