vp-stacked-pr
Installation
SKILL.md
Stacked Pull Requests
Two workflows live here and they are not interchangeable. Pick by host and stack shape before touching history.
| Situation | Workflow |
|---|---|
| GitHub, all layers in one repository | Native gh stack. Read references/github-native.md. |
| GitLab, Gitea, or any other host | Manual rebase. Read references/manual-rebase.md. |
| GitHub, but cross-fork or never registered as a stack | Manual rebase. Read references/manual-rebase.md. |
Only GitHub has platform automation for this. The manual path is plain Git, so it
carries the whole workflow on every other host: git rebase --update-refs and
git rebase --onto do the work that gh stack would otherwise do server-side.
Hand-rebuilding history for a registered GitHub stack throws away the server-side
rebase and retarget the platform already does, and can leave the stack
unmergeable. The reverse mistake, reaching for gh stack on an unsupported stack,
fails loudly and costs nothing.