stack-cascadelisted
Install: claude install-skill voxpelli/claude-git
# Stack Cascade — propagate a base-branch fix through a PR stack
Land a commit on a base branch in a stacked-PR chain, then mechanically
propagate the change through every descendant with safety tags, conflict
resolution, dependency refresh, and a single force-with-lease push.
Companion to `/rebase-validate` (which *checks* a cascade preserved meaning).
Run this skill to *execute* the cascade, then `/rebase-validate` to verify.
## When to Use
- A fix has just been (or is about to be) committed on a base branch and
every dependent branch needs to be rebased onto the new tip.
- You're working on a stack like `feature/pr1 → feature/pr2 → … → feature/prN`,
each rebased onto the previous, with `--update-refs` ergonomics.
- The cascade involves more than a trivial fast-forward (i.e. real risk of
conflict, dropped commits, or post-rebase regressions).
(For the inverse — what this skill is NOT for — see "When NOT to Use" at the
bottom.)
## Preconditions
- The fix-commit on the base branch is committed AND validated individually
(the base branch passes its own CI suite). Authoring + base-validation are
manual; this skill kicks in for the propagation.
- Working tree is clean (`git status --short` returns nothing).
- You have the full ordered list of branches in the stack.
## Step 1 — Verify the worktree HEAD
Session prompts and IDE chrome can lie about which branch is checked out,
especially across reused worktrees. Verify before tagging:
```bash
git rev-parse --abb