outthislife/brooklyn-skills · Archived

stacked-pr

>- Handle dependent/stacked PRs and same-code-on-multiple-bases correctly. Use for a PR stacked on another, or when the same change must land on the default branch plus a release/production branch.

First seen Aug 10, 2026

Installation

$ npx skills add outthislife/brooklyn-skills --skill stacked-pr

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from outthislife/brooklyn-skills · top by installs.

npx skills add outthislife/brooklyn-skills

Browse all from outthislife/brooklyn-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 185
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,154 B
  • docs SUMMARY.md 212 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 7 installs

SKILL.md

Stacked & Multi-base PRs

Stacked (dependent) PRs

A child PR builds on a parent PR's branch. Update the stack bottom-up:

  1. Update the parent branch/PR first.
  2. Rebase the child onto the updated parent — not onto the default branch, and

never "merge main into the leaf" as the only step.

  1. Push each level; keep each PR's base pointing at the one below it.

Multi-base (release + default)

Some orgs require the same change on the default branch AND a release/production branch:

  1. Confirm the required target branches from the repo's rules.
  2. Land the change once, then cherry-pick/port the identical code to the other

base as a second PR.

  1. Keep the two PRs' code identical; note the sibling in each description.

Don't

  • Collapse a stack by merging the default branch into the child.
  • Let the two base PRs drift apart.
  • Finish without listing every PR/MR in the stack as a link.