gh-pr-rebase

Community

Refresh PR branches on the latest default branch.

Authorbeeman
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Keeps a feature branch in a GitHub PR up to date with the repository's default branch by performing a careful rebase, enabling safe history updates and timely conflict resolution.

Core Features & Use Cases

  • Safe PR rebasing: rebase the active PR branch onto origin/<default> while preserving commits and avoiding changes to the default branch.
  • Conflict management: resolve straightforward conflicts and prompt for human decisions on ambiguous ones.
  • Post-rebase push: update the remote PR branch using --force-with-lease after user approval.
  • Recovery and safety: preserve the starting HEAD to enable rollback if needed.

Quick Start

Rebase my current PR branch onto the repository's default branch and push the updated branch after resolving conflicts.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gh-pr-rebase
Download link: https://github.com/beeman/skills/archive/main.zip#gh-pr-rebase

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.