“Fix PR Comments”

— description from SKILL.md by deadlock-mod-manager
GPL-3.0Auto-check passedDevelopment

Install Fix PR

skills CLI
$ npx skills add deadlock-mod-manager/deadlock-mod-manager --skill fix-pr -a claude-code

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

GitHub CLI
$ gh skill install deadlock-mod-manager/deadlock-mod-manager fix-pr --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/deadlock-mod-manager/deadlock-mod-manager.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/fix-pr .claude/skills/fix-pr && 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
fix-pr
GitHub stars
473
Token cost
~902 tokens
SKILL.md length
329 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
GPL-3.0

At a glance

  • Works in 5 steps: Gather Branch and PR Context → Rank Comments by Relevance → Prompt for Confirmation on Ambiguous… → …
  • SKILL.md covers Instructions, Key Points and Example Usage
  • Calls gh, pnpm and git

About this skill

Fix PR is a skill in deadlock-mod-manager/deadlock-mod-manager (473 stars). Its SKILL.md is about 902 tokens. Licence: GPL-3.0.

Workflow steps

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

  1. Gather Branch and PR Context
  2. Rank Comments by Relevance
  3. Prompt for Confirmation on Ambiguous Comments
  4. Apply Fixes
  5. Summarize

What it can do on your machine

Read from SKILL.md and the folder at commit 8bb56d1. 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
    • pnpm
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use gh, pnpm and git, 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

Fix PR loads about 902 tokens when it runs. Until then it costs about 6 tokens; SKILL.md has 329 words of instructions outside code blocks.

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

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 deadlock-mod-manager/deadlock-mod-manager at commit 8bb56d1, republished under its GPL-3.0 licence (© deadlock-mod-manager). 329 words, ~902 tokens.

Download SKILL.mdSave it as .claude/skills/fix-pr/SKILL.md (or your agent's skills folder).
name
fix-pr
description
Fix PR Comments
disable-model-invocation
true

Fix PR Comments

Review all open comments on the current branch's pull request, rank them by relevance, prompt for confirmation where ambiguous, then apply fixes.

Instructions

1. Gather Branch and PR Context
bash
echo "=== BRANCH ===" && git rev-parse --abbrev-ref HEAD && echo "=== PR INFO ===" && gh pr view --json number,title,url,state,headRefName,baseRefName && echo "=== PR COMMENTS ===" && gh pr view --json comments --jq '.comments[] | {author: .author.login, body: .body, createdAt: .createdAt}' && echo "=== PR REVIEW COMMENTS ===" && gh pr view --json reviews --jq '.reviews[] | {author: .author.login, body: .body, state: .state, submittedAt: .submittedAt}' && echo "=== PR DIFF COMMENTS ===" && gh api "repos/{owner}/{repo}/pulls/$(gh pr view --json number --jq '.number')/comments" --jq '.[] | {author: .user.login, body: .body, path: .path, line: .line, diff_hunk: .diff_hunk, created_at: .created_at}'
2. Rank Comments by Relevance

Analyze all gathered comments and categorize them:

Priority tiers:

  • P1 - Must fix: Bug reports, broken functionality, security issues, failing tests, incorrect logic
  • P2 - Should fix: Code style violations against project conventions, missing error handling, performance concerns, unclear naming
  • P3 - Consider: Nitpicks, optional suggestions, cosmetic preferences, subjective style opinions

Display a ranked list grouped by priority:

P1 (Must Fix):
  [1] <file>:<line> — <author>: "<comment body>"
  ...

P2 (Should Fix):
  [2] <file>:<line> — <author>: "<comment body>"
  ...

P3 (Consider):
  [3] <file>:<line> — <author>: "<comment body>"
  ...
3. Prompt for Confirmation on Ambiguous Comments

For each P2 and P3 comment, ask the user:

Comment [N] — <author> on <file>:<line>: "<comment body>"

Fix this? (yes / no / skip all remaining)

  • P1 comments are fixed automatically without prompting.
  • P2/P3 comments require explicit user confirmation.
  • If the user says "skip all remaining", skip the rest of the prompts and only apply already-confirmed fixes.

Wait for all user responses before proceeding to the fix step.

4. Apply Fixes

For each confirmed comment (all P1s + user-confirmed P2/P3s):

  • Read the relevant file(s)
  • Understand the context from the diff hunk
  • Apply the minimal, focused fix that addresses the comment
  • Follow all project coding conventions from 030-coding-style
  • Do not make unrelated changes

After all fixes are applied:

bash
pnpm lint:fix
pnpm format:fix
5. Summarize

Show a concise summary:

Fixed:
  [1] <file>:<line> — <brief description of fix>
  ...

Skipped:
  [N] <file>:<line> — <reason or "user skipped">
  ...

Then suggest staging and committing with the /commit command.

Key Points

  • Use gh CLI for all GitHub interactions
  • Never modify files not related to a specific comment being addressed
  • If a comment is unclear, err on the side of asking rather than guessing
  • Respect all rules in .cursor/rules/ when applying fixes
  • Do not create a changeset unless a fix qualifies per 090-changesets

Example Usage

User: "fix pr", "review pr comments", or /fix-pr

Response:

  1. Fetch branch, PR metadata, and all comment types
  2. Rank and display comments by priority
  3. Prompt user for P2/P3 confirmations
  4. Apply all approved fixes
  5. Run lint and format
  6. Show summary and suggest commit

© deadlock-mod-manager, GPL-3.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 .agents/skills/fix-pr of deadlock-mod-manager/deadlock-mod-manager.

Open the folder on GitHubat commit 8bb56d1

Compare with similar skills

Fix PR 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.

Fix PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fix PR this skilldeadlock-mod-manager/deadlock-mod-manager473—~902Automated safety check: PassGPL-3.0
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k24 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Greplooponyx-dot-app/onyx32k4 repos~3.3kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 24 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Guidelines

    akash-network/node

    Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.

    1.1k GitHub starsUsed in 22 repos~577 tokens
    DevelopmentAuto-check passed

More from deadlock-mod-manager/deadlock-mod-manager

All 23 skills in this repo
  • Skill Creator

    deadlock-mod-manager/deadlock-mod-manager

    Create new agent skills following the Agent Skills specification.

    473 GitHub starsUsed in 1 repo~2.9k tokens
    Auto-check passed
  • Create Auth Skill

    deadlock-mod-manager/deadlock-mod-manager

    Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth.

    473 GitHub starsUsed in 4 repos~3.4k tokens
    Auto-check passed
  • Opensrc

    deadlock-mod-manager/deadlock-mod-manager

    Fetch source code for npm, PyPI, or crates.io packages and GitHub/GitLab repos to provide AI agents with implementation context beyond types and docs.

    473 GitHub stars~910 tokensUpdated yesterday
    Auto-check passed
  • Security Review

    deadlock-mod-manager/deadlock-mod-manager

    Security code review for Tauri/Rust/TypeScript desktop apps and Hono/oRPC APIs.

    473 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Babysit

    deadlock-mod-manager/deadlock-mod-manager

    Stay on one pull request until it is merge-ready, fixing the highest-priority blocker and waiting when nothing is actionable.

    473 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Changeset

    deadlock-mod-manager/deadlock-mod-manager

    Generate a changeset file describing the current PR's changes.

    473 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Fix PR

How do I install Fix PR in Claude Code?

Run `npx skills add deadlock-mod-manager/deadlock-mod-manager --skill fix-pr -a claude-code`. Or copy the skill folder (.agents/skills/fix-pr in deadlock-mod-manager/deadlock-mod-manager) into .claude/skills/fix-pr in your project. Claude Code loads it when a task matches its description.

How do I install Fix PR in Codex?

Run `npx skills add deadlock-mod-manager/deadlock-mod-manager --skill fix-pr -a codex`. Or copy the skill folder (.agents/skills/fix-pr in deadlock-mod-manager/deadlock-mod-manager) into .agents/skills/fix-pr in your project. Codex loads it when a task matches its description.

Can I use Fix PR 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 deadlock-mod-manager/deadlock-mod-manager --skill fix-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fix-pr, .gemini/skills/fix-pr, .github/skills/fix-pr and .opencode/skills/fix-pr in your project.

What does Fix PR need to run?

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

Does Fix PR access the network?

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

Is Fix PR 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 Fix PR use?

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

How many tokens does Fix PR use?

About 902 tokens (SKILL.md is roughly 3.6k 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 Fix PR?

Skills that share tags, products or a category with Fix PR: Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fix PR?

deadlock-mod-manager (a GitHub organization) maintains it in deadlock-mod-manager/deadlock-mod-manager, which has 473 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 6, 2026.

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