From pr-comments
Review and address PR review comments (CodeRabbitAI, human reviewers, or all) on a pull request
How this skill is triggered — by the user, by Claude, or both
Slash command
/pr-comments:pr-commentsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fetch and address review comments on a pull request — from CodeRabbitAI, human reviewers, or both.
Fetch and address review comments on a pull request — from CodeRabbitAI, human reviewers, or both.
Determine the PR number and repository using the argument $ARGUMENTS.pr:
gh pr view --json number,url --jq '{number: .number, url: .url}'
123): Use it directly:
gh pr view 123 --json number,url --jq '{number: .number, url: .url}'
https://github.com/org/repo/pull/123): Parse and use:
gh pr view <URL> --json number,url --jq '{number: .number, url: .url}'
Extract {owner}/{repo} via gh repo view --json nameWithOwner --jq '.nameWithOwner' or from the URL.
Fetch comments from all reviewers (bots and humans):
gh api repos/{owner}/{repo}/pulls/{pr_number}/comments --jq '.[] | {path: .path, line: .line, body: .body, id: .id, author: .user.login}'
gh api repos/{owner}/{repo}/pulls/{pr_number}/reviews --jq '.[] | {state: .state, body: .body, author: .user.login}'
Group comments by reviewer so the user can see who said what.
Present comments grouped by reviewer (e.g. "coderabbitai[bot]", "alice", "bob"). For each actionable comment:
Show the comment details:
Ask the user what to do:
Only make changes the user has approved.
Report what was addressed and what was skipped with reasoning. Include:
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub knoxio/claude-plugins --plugin pr-comments