Skip to main content

repository-setup

Guide for setting up repository remotes when working with forks

Source facts

Repository
spiriMirror/libuipc
Last source activity
March 6, 2026 at 07:13
Detected SKILL.md language
English
Stars
351
Forks
77

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
repository-setup
description
Guide for setting up repository remotes when working with forks
# Repository Setup for Forks When working with a forked repository, GitHub CLI (`gh`) commands may fail to find issues and PRs because they default to the fork's repository instead of the upstream repository. ## Setup Add the upstream repository as a remote (you can name it anything, `upstream` is conventional): ```bash git remote add upstream https://github.com/spiriMirror/libuipc ``` ## How Commands Work All Cursor commands use `--repo spiriMirror/libuipc` to reference the upstream repository, ensuring they work correctly in: - The upstream repository - A forked repository - A repository with custom remote names This ensures issues and PRs are always referenced from the upstream repository where they actually exist.
View on GitHub