set-up-forked-open-source-repo
MANDATORY: Follow the complete shared lifecycle contract in ${CLAUDE_PLUGIN_ROOT}/skills/shared/run-lifecycle.md with declared skill set-up-forked-open-source-repo.
Set Up Forked Open Source Repo
MANDATORY: READ ENTIRE FILE before composing user-facing prose: ${CLAUDE_PLUGIN_ROOT}/skills/shared/readability-style.md.
Configure the current git checkout for contributing through a personal fork:
origin becomes the fork, upstream becomes the canonical repository,
upstream pushes are disabled, and main tracks origin/main.
This skill is deliberately single-clone: one run may operate per clone at a
time, while separate clones can run independently. Run it from the checkout you
want to configure. It refuses dirty linked worktrees in the same clone,
in-progress git operations in any linked worktree, non-main checkouts, local
main ahead of origin/main, diverged local/remote main, ambiguous remote
layouts, and non-parseable or mixed-host remotes.