manage-stacked-branches

Installation
SKILL.md

Manage Stacked Branches

Objective

Move a dependency graph of review branches to new bases while preserving the intended per-layer changes, review boundaries, and protected remote work.

Use When

  • Branches form a chain such as main <- A <- B <- C and a lower layer or base changed.
  • A parent pull request merged, rebased, or squash-merged and descendants must be restacked.
  • Each branch must continue to show an isolated review diff against its intended parent.
  • Several rewritten stack refs may need coordinated, lease-protected publication.

Do Not Use / Route Elsewhere

Installs
9
First Seen
Jul 15, 2026
manage-stacked-branches — hypercube-xyz/git-agent-skills