GitHub 仓库协作管理
github
使用 `gh` CLI 与 GitHub 交互。使用 `gh issue`、`gh pr`、`gh run` 和 `gh api` 处理议题(issue)、PR、CI 运行及高级查询。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 491
- Forks
- 184
01 前言 Front Matter
- name
- github
- description
- Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
03 SKILL.md 正文
GitHub Skill
Use the gh CLI to interact with GitHub. Always specify --repo owner/repo when not in a git directory, or use URLs directly.
Pull Requests
Check CI status on a PR:
gh pr checks 55 --repo owner/repo
List recent workflow runs:
gh run list --repo owner/repo --limit 10
View a run and see which steps failed:
gh run view <run-id> --repo owner/repo
View logs for failed steps only:
gh run view <run-id> --repo owner/repo --log-failed
API for Advanced Queries
The gh api command is useful for accessing data not available through other subcommands.
Get PR with specific fields:
gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'
JSON Output
Most commands support --json for structured output. You can use --jq to filter:
gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'
04 同仓库更多 Skills
Nano Banana Pro 图像生成与编辑
nano-banana-pro
使用 Nano Banana Pro(Gemini 3 Pro Image)生成/编辑图像。适用于图像创建或修改请求(含编辑)。支持文生图 + 图生图;1K/2K/4K;使用 --input-image 参数。
Nano Banana Pro 图像生成与编辑
nano-banana-pro
使用 Nano Banana Pro(Gemini 3 Pro Image)生成或编辑图像。用于图像创建、修改(含编辑)请求。支持文生图与图生图;支持 1K/2K/4K 分辨率;使用 --input-image 指定输入图像。
GitHub 仓库协作管理
github
使用 `gh` CLI 与 GitHub 交互。使用 `gh issue`、`gh pr`、`gh run` 和 `gh api` 处理议题(issue)、PR、CI 运行及高级查询。
数学表达式计算
math-calculator
使用 shell 命令计算数学表达式。当用户要求进行加法、减法、乘法、除法或乘方等算术计算时使用。
数学表达式计算
math-calculator
使用 shell 命令计算简单数学表达式。当用户要求执行加减乘除或更复杂的数学表达式等算术计算时使用。
猫咪笑话生成
joke-generator
讲一个关于猫的笑话。