Address PR Feedback
Steps
- Determine the current PR number (from the current branch via
gh pr view --json number -q .number, or ask the user if ambiguous). - Fetch review feedback using the
pr-commentsshell helper (already on$PATH):
This returns a list of comments in the context of the source code they were made on, plus top-level comments on the PR.pr-comments <PR_NUMBER> - Read through the feedback and propose a concrete plan for what to change to incorporate the review. For feedback that is not actionable (out of scope, disagreement, etc.), include it in your plan with brief justification for not addressing it.
- Wait for user confirmation of the feedback plan before making changes.
- After confirmation, make the required changes and push them.
- Mark addressed comments as resolved using the
resolve-commenthelper (already on$PATH):
Seeresolve-comment <full URL or discussion_rID> <reply body>resolve-comment --helpfor usage details.
Reply style
Keep reply comments VERY short. Examples:
fixed in <commit hash>.addressed by changing A to B.not addressing, out of scope because <reason>.
Source: skylarmb/nixie — distributed by TomeVault.