fetch-pr-comments

Solid

Fetch and summarize review feedback and conversation from a GitHub PR (unresolved review threads, review bodies, and PR conversation 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 377 stars 29 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
86
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, top-level review body comments, and PR conversation 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 Auto-detect owner, repo, and PR number from current branch if not provided. Then run `scripts/fetch-pr-data.sh`, which handles full pagination (review threads, inner comment pages for long threads, reviews, issue comments) and emits a single merged JSON document: ```bash bash <skill-dir>/scripts/fetch-pr-data.sh <owner> <repo> <pr_number> ``` Output shape: ```jsonc { "meta": { "title", "url", "headRefName", "baseRefName" }, "reviewThreads": [ { "id", "isResolved", "isOutdated", "comments": { "nodes": [ { "author", "body", "path", "line", "originalLine", "diffHunk" } ] } } ], "reviews": [ { "author", "body", "state" } ], "issueComments": [ { "author", "body", "createdAt", "url" } ] } ``` Filter review threads to unresolved only. Filter reviews to those with a non-empty body, excluding `PENDING` state (unsubmitted drafts). Filter issue comments to those with a non-empty body. ## 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 thread...

Details

Author
tobihagemann
Repository
tobihagemann/turbo
Created
4 months ago
Last Updated
today
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category