You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
receiving-code-review skill: add explicit guidance to fetch all three GitHub PR comment types #701
When using the receiving-code-review skill against a GitHub PR, the skill's step 1 ("READ: Complete feedback without reacting") doesn't specify how to fetch all feedback. In practice, an agent using gh CLI may only fetch inline review comments and miss other comment types that often contain the most significant feedback.
A PR on GitHub has three distinct comment locations:
Type
API endpoint
gh command
Inline review comments (line-specific)
GET /repos/{owner}/{repo}/pulls/{pr}/comments
gh api repos/{owner}/{repo}/pulls/{pr}/comments
Review bodies (summary + nitpicks posted with review)
GET /repos/{owner}/{repo}/pulls/{pr}/reviews
gh api repos/{owner}/{repo}/pulls/{pr}/reviews
Direct PR comments (top-level conversation)
GET /repos/{owner}/{repo}/issues/{pr}/comments
gh api repos/{owner}/{repo}/issues/{pr}/comments
Real-world impact
In a PR reviewed by both CodeRabbit and Claude bot:
Direct PR comments contained the Claude bot's comprehensive security analysis with the most critical findings
Fetching only inline comments would have missed ~75% of the feedback.
Suggested fix
Add a "Fetching GitHub PR Feedback" section to the skill (before or within the Source-Specific Handling section) with the three commands and a note that all three must be checked before beginning evaluation.
# 1. Inline review comments (line-specific annotations)
gh api repos/{owner}/{repo}/pulls/{pr}/comments
# 2. Review bodies (summary text + nitpick sections posted with each review)
gh api repos/{owner}/{repo}/pulls/{pr}/reviews
# 3. Direct PR comments (top-level conversation, often bots post here)
gh api repos/{owner}/{repo}/issues/{pr}/comments
The issues/{pr}/comments endpoint using the PR number works because GitHub PRs are a superset of issues.
Context
Observed during real usage with PR #22 on a private repo, where the Claude bot's security review (posted as a direct PR comment) and CodeRabbit's nitpick summary (posted in the review body) were both at risk of being missed if the skill had prescribed only gh pr view or the inline comments endpoint.
On PR #1729 the maintainer asked for evals showing agents actually miss PR feedback without this change, so I ran them. Result: the claimed failure did not reproduce — 4/4 baseline runs found all three comment types using only the current skill.
Method: fixture PR (rasibintang#1) with one small code change and exactly one distinct actionable item planted in each GitHub feedback channel — an inline review comment (off-by-one bug), a review body (rename request), and a top-level issue comment (README request). Fresh-context agents received the current receiving-code-review SKILL.md verbatim plus: "We got code review feedback on PR — please address it," with instructions to enumerate the actionable items found before implementing. gh was authenticated; runs were read-only.
Results:
Run
Model
Items found
1
Claude Sonnet 5
3/3
2
Claude Sonnet 5
3/3
3
Claude Haiku 4.5
3/3
4
Claude Haiku 4.5
3/3
All four runs spontaneously queried the separate endpoints (pulls/N/comments, pulls/N/reviews, issues/N/comments or equivalent) with no fetching guidance in the skill — including the smaller model.
Caveats: n=4, one scenario, Claude models only, gh pre-authenticated. This issue dates to March 2026, so the miss may have been real on earlier models — but on current ones the baseline doesn't fail, which means added skill text would be pure token overhead per the project's own eval bar. If anyone can reproduce a miss with a current model/harness, that transcript is the evidence PR #1729 needs; absent that, this looks closable.
Thanks for the detailed writeup. Baseline evals posted on this thread show current models already query all three feedback channels with the unmodified skill (4/4 runs across two model tiers), so the added guidance wouldn't change behavior and would only add per-invocation token cost. If you can reproduce a missed feedback channel with a current model and harness, please reopen with the transcript — that's the evidence a change here would need.
Activity
fix(receiving-code-review): add guidance to fetch all three GitHub PR…
rasibintang commentedon Jul 11, 2026
On PR #1729 the maintainer asked for evals showing agents actually miss PR feedback without this change, so I ran them. Result: the claimed failure did not reproduce — 4/4 baseline runs found all three comment types using only the current skill.
Method: fixture PR (rasibintang#1) with one small code change and exactly one distinct actionable item planted in each GitHub feedback channel — an inline review comment (off-by-one bug), a review body (rename request), and a top-level issue comment (README request). Fresh-context agents received the current
receiving-code-reviewSKILL.md verbatim plus: "We got code review feedback on PR — please address it," with instructions to enumerate the actionable items found before implementing.ghwas authenticated; runs were read-only.Results:
All four runs spontaneously queried the separate endpoints (
pulls/N/comments,pulls/N/reviews,issues/N/commentsor equivalent) with no fetching guidance in the skill — including the smaller model.Caveats: n=4, one scenario, Claude models only,
ghpre-authenticated. This issue dates to March 2026, so the miss may have been real on earlier models — but on current ones the baseline doesn't fail, which means added skill text would be pure token overhead per the project's own eval bar. If anyone can reproduce a miss with a current model/harness, that transcript is the evidence PR #1729 needs; absent that, this looks closable.arittr commentedon Aug 19, 2026
Thanks for the detailed writeup. Baseline evals posted on this thread show current models already query all three feedback channels with the unmodified skill (4/4 runs across two model tiers), so the added guidance wouldn't change behavior and would only add per-invocation token cost. If you can reproduce a missed feedback channel with a current model and harness, please reopen with the transcript — that's the evidence a change here would need.