| name | github |
| description | Interact with GitHub using the gh CLI for issues, pull requests, CI/CD runs, releases, and API queries. Use when the user mentions GitHub, PRs, issues, CI checks, workflow runs, or references a GitHub URL. Do NOT use for generic git operations (use just-bash) or non-GitHub platforms. |
| metadata | {"model":"remote","tools":["exec","Bash"],"oauth":["github"],"triggers":["๊นํ๋ธ","github","PR","์ด์","issue","pull request","์ปค๋ฐ"],"aliases":["gh"],"intents":["version_control"],"code_patterns":["git","github","gh"],"checks":["PR/์ด์๊ฐ ์๋ํ ๋ด์ฉ์ผ๋ก ์์ฑ๋์๋์?","CI ์ฒดํฌ ๊ฒฐ๊ณผ๊ฐ ํต๊ณผํ๋์?","๋ธ๋์น/์ปค๋ฐ ํ๊ฒ์ด ์ฌ๋ฐ๋ฅธ๊ฐ์?"]} |
GitHub Skill
Quick Reference
| Task | Command |
|---|
| PR CI checks | gh pr checks <N> --repo owner/repo |
| Workflow runs | gh run list --repo owner/repo --limit 10 |
| Failed logs | gh run view <id> --repo owner/repo --log-failed |
| API query | gh api repos/owner/repo/pulls/<N> --jq '.title' |
| Issue list | gh issue list --repo owner/repo --json number,title |
Always specify --repo owner/repo when not in a git directory.
CI/CD Inspection
gh pr checks 55 --repo owner/repo
gh run view <run-id> --repo owner/repo --log-failed
API Queries
Use gh api for data not available through subcommands:
gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'
JSON Filtering
Most commands support --json + --jq:
gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'
References
- gh-commands.md โ PR/์ด์/CI/๋ฆด๋ฆฌ์ฆ/API ์ ์ฒด ๋ช
๋ น์ด ๋ ํผ๋ฐ์ค
- oauth.md โ GitHub OAuth Provider ์ค์ +
oauth_fetch ์ง์ API ํธ์ถ