Agent skill

Takeover PR

by gittower in gittower/git-flow-next

Take over a stale PR — supersede it with requested changes applied, crediting the original author

Custom licenceAuto-check: notesDevelopment

Install Takeover PR

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

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

GitHub CLI
$ gh skill install gittower/git-flow-next takeover-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/takeover-pr .claude/skills/takeover-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
takeover-pr
GitHub stars
457
Token cost
~1.3k tokens
SKILL.md length
598 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
Custom licence

At a glance

Take over a stale PR — supersede it with requested changes applied, crediting the original author

  • Works in 8 steps: Verify Eligibility — Strictly → Preserve the Contributor's Work → Apply the Requested Changes → …
  • Development work in your project
  • SKILL.md covers Arguments and Instructions
  • Calls git, go and gh

What it does

Takeover PR is an agent skill from gittower/git-flow-next. Take over a stale PR — supersede it with requested changes applied, crediting the original author

Its SKILL.md is about 1.3k 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. It works with Git. 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

  • Development work in your project

Example prompts

  • “/takeover-pr”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, Write, Edit, Grep, Glob, mcp__github__get_pull_request, mcp__github__get_pull_request_reviews, mcp__github__get_pull_request_comments, mcp__github__create_pull_request, mcp__github__add_issue_comment, mcp__github__update_issue

Workflow steps

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

  1. Verify Eligibility — Strictly
  2. Preserve the Contributor's Work
  3. Apply the Requested Changes
  4. Local Review
  5. Draft the Public Actions
  6. Confirmation Gate
  7. Execute
  8. 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:

    • Bash
    • Read
    • Write
    • Edit
    • Grep
    • Glob
    • mcp__github__get_pull_request
    • mcp__github__get_pull_request_reviews
    • mcp__github__get_pull_request_comments
    • mcp__github__create_pull_request

    …and 2 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • go
    • gh

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

  • Network

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

Takeover PR loads about 1.3k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 598 words of instructions outside code blocks.

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

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: Bash, Read, Write, Edit, Grep, Glob, mcp__github__get_pull_request, mcp__github__get_pull_request_re

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 598 words (~1,266 tokens).

“Execute the review response window policy from CONTRIBUTING.md: when a contributor has not responded to requested changes within 7 days, close their PR and land a successor PR based on their work with the requested changes applied on top —…”

— opening of SKILL.md by gittower, Custom licence
name
takeover-pr
allowed-tools
Bash, Read, Write, Edit, Grep, Glob, mcp__github__get_pull_request, mcp__github__get_pull_request_reviews, mcp__github__get_pull_request_comments, mcp__github__create_pull_request, mcp__github__add_issue_comment, mcp__github__update_issue
argument-hint
<pr-number>

Read the full SKILL.md on GitHub

Files

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

Open the folder on GitHubat commit 00d1b4b

Compare with similar skills

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

Takeover PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Takeover PR this skillgittower/git-flow-next457—~1.3kAutomated safety check: NotesCustom licence
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Finishing A Development Branchfarm-fe/farm5.6k34 repos~1.8kAutomated 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.

    297k GitHub starsUsed in 5 repos~1.9k 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
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k 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
  • A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…

    5.6k GitHub starsUsed in 34 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.

    56k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed

More from gittower/git-flow-next

All 25 skills in this repo
  • 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.

    457 GitHub stars~2.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • 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.

    457 GitHub stars~694 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.

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

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

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

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

Works with

Categories

Questions about Takeover PR

What does Takeover PR do?

Take over a stale PR — supersede it with requested changes applied, crediting the original author. Takeover PR is an agent skill from gittower/git-flow-next.

When should I use Takeover PR?

Takeover PR fits situations like: development work in your project.

How do I install Takeover PR in Claude Code?

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

How do I install Takeover PR in Codex?

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

Can I use Takeover 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 takeover-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/takeover-pr, .gemini/skills/takeover-pr, .github/skills/takeover-pr and .opencode/skills/takeover-pr in your project.

What does Takeover PR need to run?

Going by SKILL.md and its folder, Takeover PR needs the command-line tools its instructions call (git, go and gh). Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Grep, Glob, mcp__github__get_pull_request, mcp__github__get_pull_request_reviews, mcp__github__get_pull_request_comments, mcp__github__create_pull_request, mcp__github__add_issue_comment, mcp__github__update_issue.

Does Takeover PR access the network?

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

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

Takeover 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 Takeover PR use?

About 1.3k tokens (SKILL.md is roughly 5.1k 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 Takeover PR?

Skills that share tags, products or a category with Takeover PR: Finishing a Development Branch (obra/superpowers, 297k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Code Design Rationale Investigator (cursor/plugins, 10k stars) and Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Takeover PR?

gittower (a GitHub organization) maintains it in gittower/git-flow-next, which has 457 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.