What problem does it solve? Contributing to a forked repository is error-prone: PRs get opened with head and base both pointing at upstream, branches get pushed to the wrong remote, and agents self-merge their own PRs under deadline pressure. This Skill enforces the correct fork topology — origin is your copy, upstream is the source — and keeps every change on a feature branch that lands via a properly targeted cross-fork PR. ## Core Features & Use Cases - Cross-fork PR targeting: Ensures gh pr create uses --repo <upstream-owner>/<repo> --base main --head <your-user>:feature/x, preventing the "upstream into upstream" mistake. - Branch discipline: Keeps main as a clean mirror of upstream, branches all work off fresh main, and rebases before opening the PR; optionally enforced with a no-commit-to-branch pre-commit hook. - Self-merge guardrail: The job ends at the open PR — never merge a PR you authored into upstream, including gh pr merge --auto, unless the operator explicitly names the merge. - Owned-repo variant: Covers the single-remote case where you are the upstream, with the same branch discipline but PRs targeting your own origin/main. - Use Case: You finished a feature on your fork of an open-source project. The Skill pushes the branch to origin only, opens the PR against upstream's base branch with a why-led description, and stops — leaving the merge to the maintainers. ## Quick Start Ask the agent to open a pull request from your fork's feature branch back to the upstream repository and confirm the head and base before creating it.