← ClaudeAtlas

github-pr-reviewlisted

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.
fvadicamo/dev-agent-skills · ★ 63 · Code & Development · score 83
Install: claude install-skill fvadicamo/dev-agent-skills
# GitHub PR review Resolves Pull Request review comments with severity-based prioritization, fix application, and thread replies. ## Current PR !`gh pr view --json number,title,state,milestone -q '"PR #\(.number): \(.title) (\(.state)) | Milestone: \(.milestone.title // "none")"' 2>/dev/null` ## Core workflow ### 1. Fetch, filter, and classify comments ```bash REPO=$(gh repo view --json nameWithOwner -q '.nameWithOwner') PR=$(gh pr view --json number -q '.number') LAST_PUSH=$(git log -1 --format=%cI HEAD) # Inline review comments - filter out replies (keep only originals) gh api repos/$REPO/pulls/$PR/comments?per_page=100 --jq ' [.[] | select(.in_reply_to_id == null) | {id, path, user: .user.login, created_at, body: .body[0:200]}] ' # PR-level reviews with non-empty body (CodeRabbit sections, Gemini, etc.) gh api repos/$REPO/pulls/$PR/reviews?per_page=100 --jq ' [.[] | select(.body | length > 0) | {id, user: .user.login, state, submitted_at, body: .body[0:500]}] ' ``` **Cross-check review-attached comments**: CodeRabbit's review body states "Actionable comments posted: N". If the general `pulls/$PR/comments` endpoint returns fewer than N new originals from that reviewer, some comments are only available via the review-specific endpoint. Fetch them and merge by comment ID: ```bash # $REVIEW_ID from the reviews fetch above; $EXPECTED from parsing "Actionable comments posted: N" gh api repos/$REPO/pulls/$PR/reviews/$REVIEW_ID/comments?per_page=100 --jq ' [.