Agent skill

Review And Fix PR

by pnpm in pnpm/pnpm

Review and fix an existing pnpm pull request, rebase it, commit and push fixes, then follow CI and review to completion.

MITAuto-check passedDevelopment

Install Review And Fix PR

skills CLI
$ npx skills add pnpm/pnpm --skill review-and-fix-pr -a claude-code

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

GitHub CLI
$ gh skill install pnpm/pnpm review-and-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/pnpm/pnpm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/review-and-fix-pr .claude/skills/review-and-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
review-and-fix-pr
GitHub stars
37k
Token cost
~796 tokens
SKILL.md length
430 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Review and fix an existing pnpm pull request, rebase it, commit and push fixes, then follow CI and review to completion.

  • Works in 5 steps: Use gh to read the PR description, full… → Rebase onto the latest base branch with → Use the review-code skill to review the… → …
  • Asked to review and fix a PR
  • SKILL.md covers Review and fix and Finish the existing PR
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Review And Fix PR is an agent skill from pnpm/pnpm. Review and fix an existing pnpm pull request, rebase it, commit and push fixes, then follow CI and review to completion. Use when asked to review and fix a PR or launched by the git-wt PR hook.

Its SKILL.md is about 800 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 Git workflow. It works with pnpm and Git. The repository describes itself as: Fast, disk space efficient package manager. The licence is MIT.

When your agent uses it

  • Asked to review and fix a PR
  • Launched by the git-wt PR hook

Example prompts

  • “/review-and-fix-pr”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Use gh to read the PR description, full diff, issue comments, review bodies,
  2. Rebase onto the latest base branch with
  3. Use the review-code skill to review the full
  4. Use the testing-changes skill to select and
  5. Ensure the repository's git hooks are installed as required by AGENTS.md.

What it can do on your machine

Read from SKILL.md and the folder at commit 27be1a9. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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

Review And Fix PR loads about 796 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 430 words of instructions outside code blocks.

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

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 pnpm/pnpm at commit 27be1a9, republished under its MIT licence (© pnpm). 430 words, ~796 tokens.

Download SKILL.mdSave it as .claude/skills/review-and-fix-pr/SKILL.md (or your agent's skills folder).
name
review-and-fix-pr
description
Review and fix an existing pnpm pull request, rebase it, commit and push fixes, then follow CI and review to completion. Use when asked to review and fix a PR or launched by the git-wt PR hook.

Review and fix an existing PR

The supplied PR already exists. Work on its branch, commit and push the fixes, and follow it until checks are green and the applicable review is complete. Do not pause for the user's review of local fixes.

Read the pull-requests skill and use its workflow from "After every push" onward, including its guidance for failing checks, conflicts, PR descriptions, and review replies. Skip PR creation and draft management; preserve the existing PR's draft or ready status. This workflow does not authorize merging the PR.

Review and fix

  1. Use gh to read the PR description, full diff, issue comments, review bodies, and inline review threads. Understand the change's intent and verify each finding before acting on it.
  2. Rebase onto the latest base branch with ./.agents/skills/pull-requests/scripts/resolve-pr-conflicts.sh <pr>. Run this even if GitHub reports no conflicts. The script force-fetches the base and pushes the rebased branch. If it reports MANUAL_RESOLUTION_NEEDED, resolve and stage the listed files, then run ./.agents/skills/pull-requests/scripts/resolve-pr-conflicts.sh <pr> --continue. Re-read the diff after rebasing. A git-wt checkout may be named pr-<pr>; the script can switch it to the PR's actual head branch.
  3. Use the review-code skill to review the full change and verify existing review findings. Fix the actionable issues it identifies.
  4. Use the testing-changes skill to select and run the checks covering your fixes. Investigate and fix failures.
  5. Ensure the repository's git hooks are installed as required by AGENTS.md. Commit your fixes with a Conventional Commit message and push to the PR's head branch. Preserve any unrelated local changes.
Show full SKILL.md (170 more words)Show less

Finish the existing PR

Every push, including the rebase script's push, starts another CI and review round. Follow the pull-requests skill's loop, verify new findings, commit and push corrections, and reply to and resolve review threads after the fixes are on the remote branch. Keep the PR title and description accurate and sign agent-authored GitHub content as required by that skill.

For ready PRs, finish only when the checks are green and the reviewers have reported on the current head with nothing left to act on. For draft PRs, preserve draft status and finish when checks are green and your own review is complete. Before finishing, post a signed GitHub PR comment describing the actual external review status and explaining that draft status was preserved without starting a new automated review round. List any remaining work, or confirm that none remains within the requested scope. If an external prerequisite prevents completion, report it concretely. Summarize the fixes, conflicts resolved, findings declined and why, validation, and final CI and review status.

© pnpm, MIT. 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/review-and-fix-pr of pnpm/pnpm.

Open the folder on GitHubat commit 27be1a9

Compare with similar skills

Review And 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.

Review And Fix PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review And Fix PR this skillpnpm/pnpm37k—~796Automated safety check: PassMIT
ZCF Release AutomationUfoMiao/zcf6.1k—~3.4kAutomated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Git Branch Namingmakeplane/plane61k—~594Automated safety check: PassAGPL-3.0

Similar skills

  • Automates a version release with changesets: analyzes code changes, writes a bilingual CHANGELOG, bumps the version and commits through a release branch and pull request.

    6.1k GitHub stars~3.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • 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.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Git Branch Naming

    makeplane/plane

    Names a new Git branch with a type prefix, the lowercased work item ID and a short kebab-case description, so the ID can be extracted later from the branch name.

    61k GitHub stars~594 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.

    61k GitHub stars~824 tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from pnpm/pnpm

  • Pull Requests

    pnpm/pnpm

    Take a change through a pull request in the pnpm repository — opening it, then staying with it after every push until CI is green and the review round is quiet.

    37k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Release Notes

    pnpm/pnpm

    Curate a pending release page - merging entries that describe one change, dropping notes for defects that never shipped, ordering by importance, and checking the version the intents ask for.

    37k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Run the tests that cover a change in the pnpm repository, in the Rust workspace (pnpm/, pnpr/) or the TypeScript CLI (pnpm11/), and recognize the cases where a scoped run passes without testing…

    37k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Review Code

    pnpm/pnpm

    Review a pnpm diff or pull request against the repository review guide and product conventions, verify findings, and report actionable issues.

    37k GitHub stars~648 tokensUpdated today
    Auto-check passed
  • Implement a pnpm feature, bug fix, or refactor by checking existing capabilities, prioritizing code reuse and deduplication, assessing architecture impact, and validating the final change.

    37k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Triage

    pnpm/pnpm

    Triage an incoming GitHub issue against the pnpm codebase and related open issues, then apply exactly one implementation-readiness label using pnpm's state: taxonomy.

    37k GitHub stars~2.9k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Review And Fix PR

What does Review And Fix PR do?

Review and fix an existing pnpm pull request, rebase it, commit and push fixes, then follow CI and review to completion. Review And Fix PR is an agent skill from pnpm/pnpm. Review and fix an existing pnpm pull request, rebase it, commit and push fixes, then follow CI and review to completion.

When should I use Review And Fix PR?

Review And Fix PR fits situations like: asked to review and fix a PR; launched by the git-wt PR hook.

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

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

How do I install Review And Fix PR in Codex?

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

Can I use Review And 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 pnpm/pnpm --skill review-and-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/review-and-fix-pr, .gemini/skills/review-and-fix-pr, .github/skills/review-and-fix-pr and .opencode/skills/review-and-fix-pr in your project.

What does Review And Fix PR need to run?

SKILL.md names no scripts, command-line tools or credentials: Review And Fix PR is instructions for the agent only.

Does Review And Fix PR access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

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

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

How many tokens does Review And Fix PR use?

About 796 tokens (SKILL.md is roughly 3.2k 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 Review And Fix PR?

Skills that share tags, products or a category with Review And Fix PR: ZCF Release Automation (UfoMiao/zcf, 6.1k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review And Fix PR?

pnpm (a GitHub organization) maintains it in pnpm/pnpm, which has 36,778 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 11, 2026.

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