Repository setup

From spiriMirror/libuipc · View interactive version

Repository setup is an AI agent skill from the GitHub repository spiriMirror/libuipc. Guide for setting up repository remotes when working with forks

How to use this skill

Skill file

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):

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:

This ensures issues and PRs are always referenced from the upstream repository where they actually exist.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.