Repository navigation
Add a skill for drafting pending PR reviews - #1428
Merged
Merged
Conversation
Reviewers who gather findings with an agent currently copy and paste them into GitHub by hand, which loses formatting and line anchors. The skill turns those findings into a pending review: inline comments on diff lines plus a summary, each starting with a short AI-drafted note. Only the reviewer can see a pending review, and they edit and submit it themselves. A read-only script checks the payload before it is sent. Signed-off-by: Clemens Volk <[email protected]>
Developer skills in the library don't carry an evaluations.md; only the user-facing skills do. Signed-off-by: Clemens Volk <[email protected]>
GitHub allows one pending review per user, so a second POST fails when the reviewer has already started one. Document adding threads to it with GraphQL addPullRequestReviewThread, and editing pending comments with updatePullRequestReviewComment: the REST single-comment endpoints return 404 for them. The validator now accepts a payload without a review body for comments meant for an existing review. Signed-off-by: Clemens Volk <[email protected]>
Comments that refer to code by name and file:line can be checked without searching. Signed-off-by: Clemens Volk <[email protected]>
One point per paragraph (current behavior, why it matters, suggestion) makes longer review comments easier to read. Signed-off-by: Clemens Volk <[email protected]>
Signed-off-by: Clemens Volk <[email protected]>
cvolkcvolk
marked this pull request as ready for review
October 19, 2026 14:46
cvolkcvolk
requested review from
alexmillane,
peterd-NV,
qianl-nv,
viiik-inside,
xyao-nv and
zhx06
as code owners
October 19, 2026 14:46
Signed-off-by: Clemens Volk <[email protected]>
Contributor
[Medium impact] Adds a new skill for drafting pending code reviews. The PR appears safe to merge, with non-blocking fixes needed for attribution, pagination, and unusual diff content. FindingsSummaryAdds a developer skill for creating and updating pending GitHub reviews, plus a read-only payload validator and discovery alias.
Reviews (1) · Last reviewed commit: "Fix pending review validation and edit g..." · Reviewed by Greptile |
Signed-off-by: Clemens Volk <[email protected]>
cvolkcvolk
commented
Oct 19, 2026
Signed-off-by: Clemens Volk <[email protected]>
…ew.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
xyao-nv
approved these changes
Oct 19, 2026
cvolkcvolk
enabled auto-merge (squash)
October 20, 2026 17:16
cvolkcvolk
added a commit
that referenced
this pull request
Oct 22, 2026
Merges these main pull requests: - #1486 Call build_env_cfg in the seeding tests - #1409 Add Newton gear insertion env with DROID teleoperation - #1428 Add a skill for drafting pending PR reviews - #1488 Disable CI GR00T E2E on Blackwell wo CUDA12.8 - #1457 Add observational predicate event tracking - #1485 Clarify "normalize" and "plumbing" wording and add AGENTS.md guidance - #1494 Remove RandomAroundSolution The merge had no conflicts. Signed-off-by: Clemens Volk <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a
draft-pr-reviewskill to turn review findings into a pending GitHub review, with comments attached to the relevant lines. The reviewer approves the text before it is added to GitHub and submits the review themselves.Why this change?
Findings from a review done in chat together with an agent have to be copied into GitHub by hand. This can lose Markdown formatting, and line numbers can become outdated when the author pushes changes.
The review is still guided by a human. The skill makes it easier to transfer the findings and their context from the review session to GitHub, where the author and their agent can use them to address the feedback.
What changes?
The skill covers creating a pending review, adding comments to one already started, and editing its comments. It requires showing the exact summary and comments locally for approval before writing to GitHub.
Every summary and comment starts with
_AI-drafted (<agent name>), reviewed by me._so readers can see how it was drafted. The reviewer reads and edits the text before submitting it.A Python script checks that comments refer to the current PR version and valid lines in the diff, include the attribution, and do not request immediate publication. The skill also explains how to preserve edits made in GitHub and avoid duplicating comments when retrying a failed request.
How to use it
Review the PR as you normally would, using your agent to investigate questions and discuss possible issues. Once you’ve decided which findings are worth raising, say: “Turn these findings into a pending review on PR #1234.” You can also invoke
$draft-pr-reviewexplicitly.The agent shows you the proposed comments for approval, then adds them to GitHub as a pending review. Open the PR, make any final edits, and submit the review yourself. The skill transfers findings you’ve already discussed; it doesn’t perform the code review for you.
Validation