gh-reference
Installation
SKILL.md
GitHub CLI Reference (gh)
IMPORTANT: This skill is for READ-ONLY operations only. DO NOT execute any commands that create, modify, or delete resources.
Repository Identification
Always be specific about which repository to use.
| Method | Command |
|---|---|
Use -R flag |
gh <command> -R owner/repo |
| List remotes | git remote -v |
Best Practice: Use -R owner/repo explicitly instead of relying on the default repository to avoid ambiguity.