Resolve inline code review comments on a GitHub PR. Use when asked to "resolve review comments", "address PR feedback", "fix PR comments", or "work through review comments". Fetches every inline comment with its surrounding code context, then applies each change systematically.
80
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Run the bundled script to get every inline comment with its diff hunk:
bash .forge/skills/resolve-code/scripts/pr-comments.sh [PR_NUMBER]Omit PR_NUMBER to use the current branch's PR.
Each block in the output contains:
File : — file path and line number-- code context -- — the diff hunk showing surrounding lines-- comment -- — the reviewer's messageAdd one todo for each comment before touching any code. This ensures nothing is missed even when comments span many files.
Work through todos one at a time. There are two comment types:
Body starts with ```suggestion. Apply the suggested text verbatim as a
replacement for the highlighted lines in the diff hunk.
Read the comment in the context of the diff hunk, infer the required change, and implement it. When the intent is ambiguous, make the change that best matches the project's conventions and state the assumption clearly.
After all comments are addressed, run:
cargo check && cargo nextest runFix any errors before marking the task complete.
1ca089a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.