fork-upstream-sync
Installation
SKILL.md
Fork Upstream Sync
Integration main means fork main = upstream/main plus your unmerged commits in linear history (not a merge commit that duplicates feature work).
Prerequisites
Before selecting a path, validate all requirements:
- Tools: require Git 2.30+; require
ghonly for PR-state checks. - Access: confirm authenticated fetch and push access to
origin, plus fetch access toupstream. - State: check that the working tree is clean or stashable and that the target branches are not checked out in another worktree.
- Recovery: record the current branch and SHA. If fetch, stash, rebase, reset, or push fails, stop at that command; never continue with stale assumptions.
Branch selector
Pick one path per user request: