Agent skill

GitHub PR Review Fix

by IvanMurzak in IvanMurzak/Unity-MCP

Review and resolve PR comments from GitHub. An agent skill from IvanMurzak/Unity-MCP.

Apache-2.0Auto-check passedDevelopment

Install GitHub PR Review Fix

skills CLI
$ npx skills add IvanMurzak/Unity-MCP --skill github-pr-review-fix -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install IvanMurzak/Unity-MCP github-pr-review-fix --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/IvanMurzak/Unity-MCP.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/github-pr-review-fix .claude/skills/github-pr-review-fix && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
github-pr-review-fix
GitHub stars
4.4k
Token cost
~1.9k tokens
SKILL.md length
439 words
Files
1
Skills in repo
80
Repo updated
First seen
Licence
Apache-2.0

At a glance

Review and resolve PR comments from GitHub. An agent skill from IvanMurzak/Unity-MCP.

  • Works in 5 steps: Identify the Pull Request → Fetch All Unresolved Review Comments → Validate and Fix Comments in Parallel… → …
  • Tasks that involve Pull requests
  • SKILL.md covers Step 1 — Identify the Pull…, Step 2 — Fetch All Unresolved…, Step 3 — Validate and Fix… and Step 4 — Resolve Fixed…, plus 1 more section
  • Calls gh

What it does

GitHub PR Review Fix is an agent skill from IvanMurzak/Unity-MCP. Review and resolve PR comments from GitHub. Validates each comment, fixes legitimate issues.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests and Subagents. It works with GitHub. The repository describes itself as: AI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C method may be turned into a… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Pull requests
  • Tasks that involve Subagents

Example prompts

  • “/github-pr-review-fix”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Identify the Pull Request
  2. Fetch All Unresolved Review Comments
  3. Validate and Fix Comments in Parallel (Sub-agents)
  4. Resolve Fixed Comments on GitHub
  5. Report Results

What it can do on your machine

Read from SKILL.md and the folder at commit 4c8056f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

GitHub PR Review Fix loads about 1.9k tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 439 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from IvanMurzak/Unity-MCP at commit 4c8056f, republished under its Apache-2.0 licence (© IvanMurzak). 439 words, ~1,914 tokens.

Download SKILL.mdSave it as .claude/skills/github-pr-review-fix/SKILL.md (or your agent's skills folder).
name
github-pr-review-fix
description
Review and resolve PR comments from GitHub. Validates each comment, fixes legitimate issues.
disable-model-invocation
true
argument-hint
[optional: PR number, defaults to current branch's PR]

Review PR Comments

Review unresolved comments on the GitHub pull request associated with the current branch. Validate each comment, then fix legitimate issues.

Step 1 — Identify the Pull Request

  1. If $ARGUMENTS contains a PR number, use it.
  2. Otherwise, detect the current git branch and find its open PR:
    bash
    gh pr view --json number,url,headRefName,baseRefName
  3. If no PR is found, stop and tell the user.

Step 2 — Fetch All Unresolved Review Comments

Fetch PR review comments (not issue-level comments) using the GitHub CLI:

bash
gh api repos/{owner}/{repo}/pulls/{number}/comments --paginate

Filter to comments where the thread is not resolved. Group comments by thread (same in_reply_to_id or same path + line/original_line). For each thread, treat the first comment as the review request and subsequent comments as discussion.

Also fetch general PR comments (issue-level):

bash
gh api repos/{owner}/{repo}/issues/{number}/comments --paginate

If there are zero unresolved comments, report that and stop.

Step 3 — Validate and Fix Comments in Parallel (Sub-agents)

For each unresolved comment or comment thread, spawn a sub-agent in parallel. Use model: "sonnet" for cost efficiency. Each agent validates the comment and, if legitimate, fixes it immediately in place.

Conflict avoidance: If multiple comments target the same file, run those agents sequentially (not in parallel) to avoid edit conflicts. Comments on different files run in parallel.

Sub-agent Prompt Template
You are a code review comment validator and fixer. Your job is to determine whether a PR review comment identifies a real issue, and if so, fix it immediately.

## Comment Details
- **Author**: {comment_author}
- **File**: {file_path}
- **Line(s)**: {line_range}
- **Comment**: {comment_body}
- **Thread context** (if any): {thread_replies}
- **Comment ID**: {comment_id}

## Phase 1 — Validate

1. Read the file referenced in the comment. Focus on the specific lines mentioned.
2. Read surrounding context (50 lines above and below) to understand the code fully.
3. Analyze whether the comment identifies a legitimate issue:
   - Is the described problem actually present in the code?
   - Is the suggestion an improvement or just a style preference?
   - Does the comment apply to the current state of the code (it may already be fixed)?
   - Is this a nitpick / optional suggestion vs. a real bug, logic error, or missing handling?

4. Decide: FIX or IGNORE.
   - If IGNORE, skip to the report below.
   - If FIX, proceed to Phase 2.

## Phase 2 — Fix (only if verdict is FIX)

1. Apply the minimal fix that addresses the comment. Do not refactor unrelated code.
2. Ensure the fix:
   - Does not break surrounding logic
   - Follows the existing code style and conventions
   - Preserves all existing functionality
3. If the fix requires changes in multiple locations within the same file, make all changes.
4. If you are unsure whether a fix is safe, do NOT apply it — set verdict to NEEDS_MANUAL_REVIEW instead.

HARD CONSTRAINTS:
- Only modify the file(s) specified. Do not touch other files.
- Do not add comments explaining the fix in the code.
- Do not refactor or "improve" code beyond what the comment asks for.
- Keep changes minimal and surgical.

## Report

Return your result in this exact format:

VERDICT: FIX | IGNORE | NEEDS_MANUAL_REVIEW
CONFIDENCE: HIGH | MEDIUM | LOW
REASON: <1-2 sentence explanation>
SUMMARY: <1 sentence describing what was changed, only if VERDICT is FIX>
FILE: {file_path}
LINES: {line_range}
COMMENT_ID: {comment_id}
FIXED: YES | NO

Step 4 — Resolve Fixed Comments on GitHub

After a fix sub-agent successfully fixes an issue, resolve the corresponding review thread on GitHub using the GraphQL API.

  1. First, find the thread ID for the comment. Use the node_id from the comment (fetched in Step 2) to query the thread:

    bash
    gh api graphql -f query='
      query {
        node(id: "{comment_node_id}") {
          ... on PullRequestReviewComment {
            pullRequestReview {
              id
            }
            id
            isMinimized
          }
        }
      }
    '
  2. Resolve the review thread using the resolveReviewThread mutation. The thread ID can be obtained from the pull request's review threads:

    bash
    gh api graphql -f query='
      query {
        repository(owner: "{owner}", name: "{repo}") {
          pullRequest(number: {number}) {
            reviewThreads(first: 100) {
              nodes {
                id
                isResolved
                comments(first: 1) {
                  nodes {
                    id
                    body
                    path
                    line
                  }
                }
              }
            }
          }
        }
      }
    '

    Match the thread by comparing path and line (or body) to the fixed comment, then resolve it:

    bash
    gh api graphql -f query='
      mutation {
        resolveReviewThread(input: {threadId: "{thread_id}"}) {
          thread {
            id
            isResolved
          }
        }
      }
    '
  3. For every successfully fixed comment, reply to the thread before resolving it:

    bash
    gh api repos/{owner}/{repo}/pulls/{number}/comments/{comment_id}/replies \
      -f body="## Agentic reply (github-pr-review-fix)
Show full SKILL.md (105 more words)Show less

Fixed. {summary}

If you disagree with the fix, please reopen this thread."

Then resolve the thread. If the resolve call fails, note it in the report but do not block on it.

4. For **IGNORE** verdicts, reply to the comment thread with an explanation of why it was ignored, then resolve the thread:
```bash
gh api repos/{owner}/{repo}/pulls/{number}/comments/{comment_id}/replies \
  -f body="## Agentic reply (github-pr-review-fix)

This comment was reviewed and determined to not require a code change.

**Reason**: {reason}

_If you disagree, please reopen this thread._"

Then resolve the thread using the same resolveReviewThread mutation as above.

  1. For NEEDS_MANUAL_REVIEW verdicts, reply to the thread but do not resolve it:
    bash
    gh api repos/{owner}/{repo}/pulls/{number}/comments/{comment_id}/replies \
      -f body="## Agentic reply (github-pr-review-fix)

This comment requires manual review — the agent could not safely apply an automated fix.

Reason: {reason}

Leaving this thread unresolved for human attention."


## Step 5 — Report Results

After all agents complete, provide a summary table:
#FileCommentVerdictReasonResolved
1path/to/file.cs:42"Missing null check"FIXAdded null guardYes
2path/to/other.cs:10"Consider renaming"IGNOREStyle preference, no bugYes (replied)
3path/to/util.cs:77"Race condition"NEEDS_MANUAL_REVIEWUnsafe to auto-fix, needs human judgment—

For **IGNORE** verdicts, the reason is posted as a reply in the thread and the thread is resolved. The user can reopen if they disagree.

For **NEEDS_MANUAL_REVIEW** verdicts, explain why the agent couldn't safely apply a fix. These threads are left **unresolved** for human attention.

End with a count: `X comments fixed and resolved, Y ignored and resolved, Z need manual review.`

© IvanMurzak, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/github-pr-review-fix of IvanMurzak/Unity-MCP.

Open the folder on GitHubat commit 4c8056f

Compare with similar skills

GitHub PR Review Fix next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GitHub PR Review Fix compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GitHub PR Review Fix this skillIvanMurzak/Unity-MCP4.4k—~1.9kAutomated safety check: PassApache-2.0
GitHub Review Iterationprisma/orm48k—~2.2kAutomated safety check: PassApache-2.0
Cherry Studio PR ReviewCherryHQ/cherry-studio52k—~3.9kAutomated safety check: PassAGPL-3.0
PR Cyclejaemk/cached2.1k—~4.8kAutomated safety check: NotesMIT
PR Reviewjaemk/self_update961—~1.5kAutomated safety check: NotesMIT
PR Reviewjaemk/cached2.1k—~2.5kAutomated safety check: NotesMIT

Similar skills

  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Cherry Studio PR Review

    CherryHQ/cherry-studio

    Reviews Cherry Studio branches, pull requests, commits, files and docs against the project's own architecture, naming, API-boundary and UI rules, report-only by default.

    52k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed
  • PR Cycle

    jaemk/cached

    PR review-and-update cycle — the orchestrator that takes a PR from review to resolved.

    2.1k GitHub stars~4.8k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes
  • PR Review

    jaemk/self_update

    Targeted, read-only review of a PR or checked-out branch. An agent skill from jaemk/self_update.

    961 GitHub stars~1.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes
  • PR Review

    jaemk/cached

    Targeted, read-only review of a PR or checked-out branch. An agent skill from jaemk/cached.

    2.1k GitHub stars~2.5k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes

More from IvanMurzak/Unity-MCP

All 80 skills in this repo
  • Assets Shader List All

    IvanMurzak/Unity-MCP

    List all shaders available in the project assets and packages, sorted by name.

    4.4k GitHub starsUsed in 1 repo~435 tokens
    Auto-check passed
  • Package Add

    IvanMurzak/Unity-MCP

    Install a Unity package from the registry, a Git URL, or a local path.

    4.4k GitHub starsUsed in 1 repo~665 tokens
    Auto-check passed
  • Package Remove

    IvanMurzak/Unity-MCP

    Uninstall a UPM package from the Unity project. An agent skill from IvanMurzak/Unity-MCP.

    4.4k GitHub starsUsed in 1 repo~602 tokens
    Auto-check passed
  • Gameobject Component List All

    IvanMurzak/Unity-MCP

    List the fully-qualified C type names of every concrete UnityEngine.Component subclass available in the project.

    4.4k GitHub stars~846 tokensUpdated 4 days ago
    Auto-check passed
  • Assets Copy

    IvanMurzak/Unity-MCP

    Copy assets at given paths and store them at new paths. An agent skill from IvanMurzak/Unity-MCP.

    4.4k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Unity Version Split

    IvanMurzak/Unity-MCP

    Split a C file into Unity 6.5+ and pre-Unity 6.5 variants. An agent skill from IvanMurzak/Unity-MCP.

    4.4k GitHub stars~1.1k tokensUpdated 4 days ago
    Auto-check passed

Works with

Categories

Questions about GitHub PR Review Fix

What does GitHub PR Review Fix do?

Review and resolve PR comments from GitHub. An agent skill from IvanMurzak/Unity-MCP. GitHub PR Review Fix is an agent skill from IvanMurzak/Unity-MCP. Review and resolve PR comments from GitHub.

When should I use GitHub PR Review Fix?

GitHub PR Review Fix fits situations like: tasks that involve Pull requests; tasks that involve Subagents.

How do I install GitHub PR Review Fix in Claude Code?

Run `npx skills add IvanMurzak/Unity-MCP --skill github-pr-review-fix -a claude-code`. Or copy the skill folder (.claude/skills/github-pr-review-fix in IvanMurzak/Unity-MCP) into .claude/skills/github-pr-review-fix in your project. Claude Code loads it when a task matches its description.

How do I install GitHub PR Review Fix in Codex?

Run `npx skills add IvanMurzak/Unity-MCP --skill github-pr-review-fix -a codex`. Or copy the skill folder (.claude/skills/github-pr-review-fix in IvanMurzak/Unity-MCP) into .agents/skills/github-pr-review-fix in your project. Codex loads it when a task matches its description.

Can I use GitHub PR Review Fix in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add IvanMurzak/Unity-MCP --skill github-pr-review-fix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/github-pr-review-fix, .gemini/skills/github-pr-review-fix, .github/skills/github-pr-review-fix and .opencode/skills/github-pr-review-fix in your project.

What does GitHub PR Review Fix need to run?

Going by SKILL.md and its folder, GitHub PR Review Fix needs the command-line tools its instructions call (gh).

Does GitHub PR Review Fix access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is GitHub PR Review Fix safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does GitHub PR Review Fix use?

GitHub PR Review Fix is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GitHub PR Review Fix use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to GitHub PR Review Fix?

Skills that share tags, products or a category with GitHub PR Review Fix: GitHub Review Iteration (prisma/orm, 48k stars), Cherry Studio PR Review (CherryHQ/cherry-studio, 52k stars), PR Cycle (jaemk/cached, 2.1k stars) and PR Review (jaemk/self_update, 961 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GitHub PR Review Fix?

IvanMurzak (a GitHub user) maintains it in IvanMurzak/Unity-MCP, which has 4,398 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on October 4, 2026.

Source: IvanMurzak/Unity-MCP on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.