Skip to content

Structured workflow for fetching, classifying, and resolving GitHub PR review comments with user-confirmed fixes and thread replies.

CCM score
60 of 100
skills.sh installs
581
GitHub stars
72
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers fetching inline and review-level comments via GitHub CLI, filtering to new comments since the last push, and merging CodeRabbit review-attached comments
  • Classifies comments into CRITICAL, HIGH, MEDIUM, and LOW severity using badges, emoji, and keyword fallbacks, then shows a summary table
  • Applies each fix only after user confirmation, with separate commits for functional changes and a batched style commit for cosmetic ones
  • Replies to inline threads through the API and posts general PR comments for non-inline CodeRabbit findings, referencing the commit that resolved each

Install

$ npx -y skills add fvadicamo/dev-agent-skills --skill github-pr-review -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

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]}]
'

Details

Repository
github.com/fvadicamo/dev-agent-skills
Categories
Code Review & Quality, Git & Releases
First seen
Jun 3, 2026

More from fvadicamo/dev-agent-skills

All 5

Similar to Github Pr Review

More Code Review & Quality