github-pr-comments
What it does
This skill fetches the inline review comments on a pull request, with their code context. It then applies each requested change, one at a time. It is for developers who need to address review feedback quickly.
When to use it
- ✓When a reviewer has left several inline comments on your pull request.
- ✓When a comment includes a suggested change you want to apply exactly.
- ✓When you want to make sure no review comment is missed.
Skill link
https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/github-pr-comments/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you go through the review comments on my pull request and make the changes they ask for?”
5 new skills a week. 1 minute to read.
How it works
The agent runs a script that lists every inline comment with its code. It creates a task for each one, applies the change, and then runs the project's checks.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Resolve Code Review Comments
1. Fetch all comments
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 message
2. Create a todo item per comment
Add one todo for each comment before touching any code. This ensures nothing is missed even when comments span many files.
3. Apply each comment
Work through todos one at a time. There are two comment types:
Suggestion block
Body starts with ```suggestion. Apply the suggested text verbatim as a
replacement for the highlighted lines in the diff hunk.
Free-form feedback
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.
4. Verify
After all comments are addressed, run:
cargo check && cargo nextest run
Fix any errors before marking the task complete.
FAQ
What if a comment is unclear?
The agent makes the change that best fits the project and states its assumption.
Does it need a specific tool?
It uses the GitHub command line tool and the project's own check commands.
Can it handle comments in many files?
Yes. The task list is built from every comment, even when they span many files.
Details
Original description by the author
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.
repo: tailcallhq/forgecode
Popularity
- GitHub stars
- 7.6k
- Ranking position
- #13112
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
create-agent
7.6kTeaches your agent to create or change custom agents for the Forge coding app, stored as markdown files with settings at the top.
create-command
7.6kTeaches your agent to create reusable commands for the Forge coding app, written as markdown steps that run in order.
create-github-issue
7.6kHelps your agent file a GitHub issue that follows the repository's own issue template, with the right fields and labels.
create-plan
7.6kHelps your agent write a detailed implementation plan for a complex task, with steps, risks and alternatives, before any code changes.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.