with one click
address-pr-comments
Fetch and address all inline review comments on a GitHub PR
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Fetch and address all inline review comments on a GitHub PR
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | address-pr-comments |
| description | Fetch and address all inline review comments on a GitHub PR |
| disable-model-invocation | true |
| argument-hint | [pr-number or empty for current branch PR] |
| allowed-tools | Bash(gh *), Read, Edit, Grep, Glob |
Fetch all unresolved inline review comments on a pull request and fix them.
$ARGUMENTS is provided, use that as the PR number.gh pr view --json number --jq '.number'
gh api repos/Shironex/gitchorus/pulls/{number}/comments
Parse each comment and extract:
| Field | Use |
|---|---|
body | The reviewer's feedback — look for Suggested fix code blocks |
path | File that needs changing |
line / original_line | Approximate location in the file |
diff_hunk | Surrounding diff context to locate the code |
Print a short summary for the user before making changes:
Found N review comments on PR #X:
1. [severity] file.tsx:L42 — one-line description
2. ...
Severity comes from the comment body (look for [Critical], [Minor], [Nit] prefixes the reviewer uses).
For each comment:
path field).diff_hunk + line as guide.Run the project checks to make sure nothing broke:
pnpm --filter @gitchorus/web test -- --run # frontend tests
pnpm lint # linting
pnpm format # formatting
If desktop code was changed, also run:
pnpm --filter @gitchorus/desktop test # backend tests
Stage only the files that were changed to address comments, then commit:
fix: address PR review comments
<one-line summary per comment addressed>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Push to the existing branch — it will update the open PR automatically.