b2b-backend-pr-chain-rebase

Official

Keep PR chains linear and up-to-date.

Authorherren-official
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PR chain branches need to be rebased in a specific order and force-pushed to update remote history, which is error-prone if done manually. This skill automates that process, ensuring a clean, linear history across a sequence of dependent PRs.

Core Features & Use Cases

  • Automatic chain discovery: traverse PR relationships to build the full rebase order from root to leaf.
  • Cycle detection and safety: detect cycles in the chain and warn without halting unrelated paths.
  • Remote rebase and push: rebase onto origin/{base_branch} and push with --force-with-lease to keep remotes in sync.
  • Use Case: when managing a series of interdependent feature PRs that must land in a precise sequence.

Quick Start

Rebase the PR chain in the correct sequence and force-push the updated branches to origin.

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: b2b-backend-pr-chain-rebase
Download link: https://github.com/herren-official/product-agents/archive/main.zip#b2b-backend-pr-chain-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 471,000+ vetted skills library on demand.