github
Use GitHub CLI for basic GitHub operations: inspect issues, pull requests, CI runs, releases, and GitHub API data. Use this whenever the user asks to list, view, create, update, or check GitHub repository data.
What this skill does
GitHub
Use gh as the primary interface for GitHub data and actions. Keep this skill focused on basic operations and command safety, not maintainer triage strategy.
Before Running Commands
- Confirm
ghexists and is authenticated when live GitHub data is required. - Prefer
--repo owner/repounless the current directory is clearly inside the intended GitHub repository. - Use
--jsonand--jqwhen the result will be summarized or filtered. - Preview write actions before executing them when the user did not explicitly ask for the exact write.
- Do not close issues, merge pull requests, rerun CI, delete branches, publish releases, or edit repository settings without explicit user approval.
Common Commands
gh auth status
gh repo view --json nameWithOwner,url,defaultBranchRef
gh issue list --repo owner/repo --state open --limit 50 --json number,title,author,labels,updatedAt,url
gh issue view 123 --repo owner/repo --json number,title,author,body,comments,labels,state,url
gh pr list --repo owner/repo --state open --limit 50 --json number,title,author,isDraft,reviewDecision,mergeStateStatus,url
gh pr view 55 --repo owner/repo --json number,title,state,author,body,comments,files,commits,statusCheckRollup,url
gh pr diff 55 --repo owner/repo --patch
gh pr checks 55 --repo owner/repo
gh run list --repo owner/repo --limit 20
gh run view RUN_ID --repo owner/repo --log-failed
gh release list --repo owner/repo --limit 20
gh api repos/owner/repo/pulls/55 --jq '{title, state, user: .user.login}'For write actions, show the intended command first and wait for approval unless the user explicitly asked for that exact action.
Default Output
When reporting GitHub data, include:
- Repository or URL inspected
- Commands or data sources used
- Current state and relevant IDs
- Any action taken, or the exact command you would run next
- Permission or authentication blockers, if any
Files in this skill
- SKILL.md
How to use in Orkas
Open the Orkas desktop app, go to the marketplace, and install this item with one click. Don't have Orkas yet? Download Orkas.
使用 GitHub CLI 进行基础 GitHub 操作:查询 issue、PR、CI run、release 和 GitHub API;适合用户要求列出、查看、创建、更新或检查 GitHub 仓库数据时使用。
该技能的功能
GitHub
Use gh as the primary interface for GitHub data and actions. Keep this skill focused on basic operations and command safety, not maintainer triage strategy.
Before Running Commands
- Confirm
ghexists and is authenticated when live GitHub data is required. - Prefer
--repo owner/repounless the current directory is clearly inside the intended GitHub repository. - Use
--jsonand--jqwhen the result will be summarized or filtered. - Preview write actions before executing them when the user did not explicitly ask for the exact write.
- Do not close issues, merge pull requests, rerun CI, delete branches, publish releases, or edit repository settings without explicit user approval.
Common Commands
gh auth status
gh repo view --json nameWithOwner,url,defaultBranchRef
gh issue list --repo owner/repo --state open --limit 50 --json number,title,author,labels,updatedAt,url
gh issue view 123 --repo owner/repo --json number,title,author,body,comments,labels,state,url
gh pr list --repo owner/repo --state open --limit 50 --json number,title,author,isDraft,reviewDecision,mergeStateStatus,url
gh pr view 55 --repo owner/repo --json number,title,state,author,body,comments,files,commits,statusCheckRollup,url
gh pr diff 55 --repo owner/repo --patch
gh pr checks 55 --repo owner/repo
gh run list --repo owner/repo --limit 20
gh run view RUN_ID --repo owner/repo --log-failed
gh release list --repo owner/repo --limit 20
gh api repos/owner/repo/pulls/55 --jq '{title, state, user: .user.login}'For write actions, show the intended command first and wait for approval unless the user explicitly asked for that exact action.
Default Output
When reporting GitHub data, include:
- Repository or URL inspected
- Commands or data sources used
- Current state and relevant IDs
- Any action taken, or the exact command you would run next
- Permission or authentication blockers, if any
技能包含的文件
- SKILL.md
如何在 Orkas 中使用
打开 Orkas 桌面应用,进入市场,一键安装此项。还没有 Orkas? 下载 Orkas.