Skip to content
Skill

Review PR comments

Triages PR review comments, then implements, replies to and resolves them

Review PR comments is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
7
Last commit
License
MIT
Listing updated

Similar skills

About Review PR comments

This skill reads review comments left on a GitHub pull request, judges each one as accept, push back or compromise, and reasons about the verdict against the actual diff and surrounding code. Where the user asks for it, it carries the verdicts through: it checks out the PR branch, makes the accepted changes, runs the repo's verification on the touched files, commits and pushes without force, then posts a reply to each thread.

The workflow relies on the GitHub CLI (gh) for fetching PR metadata, diffs and review comments, posting replies and resolving threads through GraphQL. It can escalate to a broader PR review skill for cross-file or architectural comments. When the PR was opened by an agent, it can also record a general lesson from accepted comments for later reuse.

It expects a GitHub PR comment link or PR URL, an authenticated gh session, and a local checkout of the repository. Replies follow a voice profile bundled in the skill folder, which the user is expected to replace with their own.

When your agent uses it

Triage PR review comments, then act on the verdicts without waiting. Given comment links from a GitHub PR, decides accept or push back on each, implements the accepted ones, verifies, commits and pushes, posts the replies and resolves the threads it addressed. Uses a personal voice profile for replies; swap the voice profile in the shared folder for your own. Use when the user shares PR comment links, asks "should I accept this feedback", or wants to respond to PR review comments.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (10 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/review-pr-comments to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/review-pr-comments &&
cp -R "$tmp/skills/review-pr-comments" ~/.claude/skills/review-pr-comments &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/review-pr-comments inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/review-pr-comments to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/review-pr-comments &&
cp -R "$tmp/skills/review-pr-comments" ~/.agents/skills/review-pr-comments &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/review-pr-comments inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/review-pr-comments to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/review-pr-comments &&
cp -R "$tmp/skills/review-pr-comments" ~/.cursor/skills/review-pr-comments &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/review-pr-comments inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/tonyghiani/ai-essentials.git --path skills/review-pr-comments

Or copy the folder to ~/.gemini/skills/review-pr-comments yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/review-pr-comments:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/review-pr-comments &&
cp -R "$tmp/skills/review-pr-comments" ~/.copilot/skills/review-pr-comments &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/review-pr-comments inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git

Then copy ai-essentials/skills/review-pr-comments into your agent's skills folder as review-pr-comments. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Comment verdict triage
Classifies each reviewer comment as accept, push back or compromise, with reasoning tied to the code.
Diff-grounded analysis
Pulls the PR diff, surrounding file context and git history before judging a comment.
Implement and verify
Applies accepted fixes on the PR branch and runs the repo's checks on the files touched.
Commit, reply and resolve
Pushes per-comment commits, posts replies on root comments and resolves addressed threads.
Lesson recording
Logs general rules from accepted comments on agent-authored PRs for later distillation.

Good for

  • Triage the review comments on my open pull request
  • Accept the valid feedback, fix it and reply to each reviewer
  • Decide whether I should push back on this review comment
  • Give me a report of verdicts for these PR comment links without changing anything

Review PR comments FAQ

What does the skill need to run?

It needs the GitHub CLI (gh) for fetching PR data, posting replies and resolving threads, and a local checkout of the PR's head branch for implementing fixes.

Does Review PR comments act on comments without asking?

After triage it implements, commits, pushes, replies and resolves in the same turn, unless the branch is a default branch, a force push is needed, the working tree has unrelated changes, or a compromise needs a design decision.

Can I get only a triage report?

Yes. If the user asks for a report only, the skill stops after the verdicts and does not change code, reply or resolve anything.

Whose voice are the replies written in?

Replies follow a bundled personal voice profile. The skill notes that you should swap in your own voice profile in the shared folder.

How do I install Review PR comments in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/review-pr-comments to use it in all your projects, or to .claude/skills/review-pr-comments in one project.

Does Review PR comments run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Review PR comments?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Review PR comments?

The closest alternatives to Review PR comments are Git PR feedback, Review PR, PR address feedback, Code review and Fix PR.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from tonyghiani/ai-essentials

  1. Lets an agent read your GitHub queue at day's end and draft a morning triage report

    • Open source
    • 7 GitHub stars
    • Developer tools
  2. Finds untranslated UI strings and i18n patterns that break translation in code

    • Open source
    • 7 GitHub stars
    • Developer tools
  3. Writes pull request descriptions from a fixed summary, screenshots and testing template

    • Open source
    • 7 GitHub stars
    • Developer tools
  4. Guides an agent through resolving merge conflicts by intent, then verifying and pushing

    • Open source
    • 7 GitHub stars
    • Developer tools
  5. Guides the agent through a test-first loop: failing test, then minimal implementation

    • Open source
    • 7 GitHub stars
    • Developer tools
  6. Audits UI code for accessibility defects that block keyboard and screen-reader users

    • Open source
    • 7 GitHub stars
    • Developer tools