address-pr-review
Look at the pull request review comments and address any issues raised.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Look at the pull request review comments and address any issues raised.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | address-pr-review |
| description | Look at the pull request review comments and address any issues raised. |
| disable-model-invocation | true |
| context | fork |
| allowed-tools | Bash(bash ~/.claude/skills/address-pr-review/*), Bash(bash .claude/skills/address-pr-review/*) |
First, run git branch --show-current to retrieve the current branch. Do not trust branch/git status information present in the conversation context as it may be stale.
Run both helper scripts located in this skill's directory (the directory containing this SKILL.md):
bash <skill-directory>/get-unresolved-threads.sh
bash <skill-directory>/get-failing-ci.sh
The first returns a JSON array of unresolved threads. Each thread has:
id — thread ID (needed to reply)path — file pathline / startLine — line numbers in the diffisOutdated — whether the diff has changed since the commentcomments.nodes[] — the comment thread (first = original comment, rest = replies), each with author.login, body, and urlThe second checks CI status and outputs failure details if any jobs failed (exit code 1 = failures, 0 = all passed).
If there are no unresolved threads and CI is green, stop here.
If there are many items, create one task per item to keep things organized.
For each unresolved review thread:
For each CI failure:
After addressing all review comments and CI failures, commit your changes and push.
After addressing each comment, reply using the helper script:
bash <skill-directory>/reply-to-thread.sh "<thread_id>" "<body>" [--resolve]
--resolve to mark the thread as resolved.--resolve) so the reviewer can reply if they disagree.