Agent skill

Handle PR

by gittower in gittower/git-flow-next

Review an incoming PR end-to-end — strict local review, drafted GitHub review, post after confirmation

Custom licenceAuto-check: notesDevelopment

Install Handle PR

skills CLI
$ npx skills add gittower/git-flow-next --skill handle-pr -a claude-code

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

GitHub CLI
$ gh skill install gittower/git-flow-next handle-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/gittower/git-flow-next.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/handle-pr .claude/skills/handle-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
handle-pr
GitHub stars
458
Token cost
~829 tokens
SKILL.md length
404 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
Custom licence

At a glance

Review an incoming PR end-to-end — strict local review, drafted GitHub review, post after confirmation

  • Works in 6 steps: Pre-Checks → Local Review → Draft the GitHub Review → …
  • Tasks that involve Pull requests
  • SKILL.md covers Arguments and Workflow
  • Calls gh

What it does

Handle PR is an agent skill from gittower/git-flow-next. Review an incoming PR end-to-end — strict local review, drafted GitHub review, post after confirmation

Its SKILL.md is about 830 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. It works with GitHub. The repository describes itself as: A modern reimplementation of git-flow in Go that offers greater flexibility while maintaining backward compatibility with the original git-flow and git-flow-avh.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/handle-pr”

Requirements

  • Pre-approved tools (allowed-tools): Task, Bash, Read, Glob, Grep, Write, mcp__github__get_pull_request, mcp__github__get_pull_request_files, mcp__github__create_pull_request_review

Workflow steps

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

  1. Pre-Checks
  2. Local Review
  3. Draft the GitHub Review
  4. Confirmation Gate
  5. Post
  6. Report

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Task
    • Bash
    • Read
    • Glob
    • Grep
    • Write
    • mcp__github__get_pull_request
    • mcp__github__get_pull_request_files
    • mcp__github__create_pull_request_review

    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

Handle PR loads about 829 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 404 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
~829

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Task, Bash, Read, Glob, Grep, Write, mcp__github__get_pull_request, mcp__github__get_pull_request_fi

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 404 words (~829 tokens).

“Review an incoming pull request end-to-end: a strict local review against REVIEW_CRITERIA.md (including scope and spec satisfaction), distilled into a GitHub review draft, posted only after user confirmation. Internal and external PRs are treated the same.”

— opening of SKILL.md by gittower, Custom licence
name
handle-pr
allowed-tools
Task, Bash, Read, Glob, Grep, Write, mcp__github__get_pull_request, mcp__github__get_pull_request_files, mcp__github__create_pull_request_review
argument-hint
<pr-number>

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/handle-pr of gittower/git-flow-next.

Open the folder on GitHubat commit 00d1b4b

Compare with similar skills

Handle 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.

Handle PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Handle PR this skillgittower/git-flow-next458—~829Automated safety check: NotesCustom licence
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated 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
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • 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
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k 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
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • 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

More from gittower/git-flow-next

All 25 skills in this repo
  • GitHub Issue Analysis

    gittower/git-flow-next

    Analyzes a GitHub issue for the git-flow-next project and writes an analysis document under .ai/ that covers the affected code and proposes TODO comments.

    458 GitHub starsUsed in 1 repo~694 tokens
    Auto-check: notes
  • PR Review Feedback Handler

    gittower/git-flow-next

    Fetches review comments on a pull request, judges each one, writes the evaluation to a plan file and implements accepted changes, waiting for approval before anything public.

    458 GitHub stars~2.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • Stale PR Review Check

    gittower/git-flow-next

    Scans open pull requests against the project's review response window and reports which ones need action, read-only unless you approve a reminder.

    458 GitHub stars~549 tokensUpdated 1 mo ago
    Auto-check: notes
  • Local Code Review

    gittower/git-flow-next

    Reviews local commits, branch diffs or pull requests against project guidelines and writes the result to local files, never posting it to GitHub.

    458 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • Commit with Project Guidelines

    gittower/git-flow-next

    Creates a commit that follows the project's COMMIT_GUIDELINES.md, choosing the type by what the change does and verifying the result.

    458 GitHub stars~818 tokensUpdated 1 mo ago
    Auto-check: notes
  • Test-First Implementation Plan

    gittower/git-flow-next

    Builds a two-phase implementation plan from a spec issue, analysis or concept, writing a detailed test plan first and the implementation outline second.

    458 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check: notes

Works with

Categories

Questions about Handle PR

What does Handle PR do?

Review an incoming PR end-to-end — strict local review, drafted GitHub review, post after confirmation. Handle PR is an agent skill from gittower/git-flow-next.

When should I use Handle PR?

Handle PR fits situations like: tasks that involve Pull requests.

How do I install Handle PR in Claude Code?

Run `npx skills add gittower/git-flow-next --skill handle-pr -a claude-code`. Or copy the skill folder (.claude/skills/handle-pr in gittower/git-flow-next) into .claude/skills/handle-pr in your project. Claude Code loads it when a task matches its description.

How do I install Handle PR in Codex?

Run `npx skills add gittower/git-flow-next --skill handle-pr -a codex`. Or copy the skill folder (.claude/skills/handle-pr in gittower/git-flow-next) into .agents/skills/handle-pr in your project. Codex loads it when a task matches its description.

Can I use Handle 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 gittower/git-flow-next --skill handle-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/handle-pr, .gemini/skills/handle-pr, .github/skills/handle-pr and .opencode/skills/handle-pr in your project.

What does Handle PR need to run?

Going by SKILL.md and its folder, Handle PR needs the command-line tools its instructions call (gh). Its frontmatter pre-approves these tools: Task, Bash, Read, Glob, Grep, Write, mcp__github__get_pull_request, mcp__github__get_pull_request_files, mcp__github__create_pull_request_review.

Does Handle PR 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 Handle PR safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Handle PR use?

Handle PR has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Handle PR use?

About 829 tokens (SKILL.md is roughly 3.3k 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 Handle PR?

Skills that share tags, products or a category with Handle PR: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k 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 Handle PR?

gittower (a GitHub organization) maintains it in gittower/git-flow-next, which has 458 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on September 8, 2026.

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