github
Use gh CLI for all GitHub operations like PRs, issues, workflows, releases. Always prefer gh commands over web URLs or API calls.
allowed_tools: Bash
$ 安裝
git clone https://github.com/kangju2000/dotfiles /tmp/dotfiles && cp -r /tmp/dotfiles/claude/skills/github ~/.claude/skills/dotfiles// tip: Run this command in your terminal to install the skill
SKILL.md
name: github description: Use gh CLI for all GitHub operations like PRs, issues, workflows, releases. Always prefer gh commands over web URLs or API calls. allowed-tools: [Bash]
You must start by printing this:
--- 🐙 github skill activated 🐙 ---
Use gh CLI for ALL GitHub operations. Never use web URLs or API calls.
Key Rules
- NEVER perform destructive operations: no delete, close, merge, force-push, or destructive edits
- Only READ operations allowed: view, list, show, check status
- Use non-interactive flags:
--yes,--json,| catto avoid prompts/pagers - If auth fails: prompt user to run
gh auth login - If repo context missing: use
--repo owner/name
Common Commands
Pull Requests:
gh pr list
gh pr view <number>
gh pr checkout <number>
gh pr checks
gh pr diff <number>
Issues:
gh issue list
gh issue view <number>
CI/Workflows:
gh run list
gh run view <id>
gh workflow list
Repository:
gh repo view
gh repo clone <repo>
Releases:
gh release list
gh release view <tag>
gh release create <tag>
Repository

kangju2000
Author
kangju2000/dotfiles/claude/skills/github
1
Stars
0
Forks
Updated4d ago
Added1w ago