agentleFS
code-fireflycode-firefly/my-claw-skills/skills/github/SKILL.md

github

Skill0 starsChanged 9 months agoMITView on GitHub

使用 gh CLI 与 GitHub 交互。支持管理 issue、PR、CI 工作流,以及高级 API 查询。适用于创建 issue、查看 PR 状态、检查 CI 运行结果、查询仓库信息等场景。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.

96 other projects use a version of this, 20 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use gifgrep, goplaces and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • seedprodSkill

    gifgrep

    Search GIF providers with CLI/TUI, download results, and extract stills/sheets.

    Also in 8 projects that use this

  • seedprodSkill

    goplaces

    Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.

    Also in 6 projects that use this

  • +10 more from seedprod

The file

Files
SKILL.md

GitHub 技能 (GitHub Skill)

使用 gh CLI 与 GitHub 交互。当不在 git 目录中时,总是指定 --repo owner/repo,或直接使用 URL。

拉取请求 (Pull Requests)

检查 PR 的 CI 状态:

gh pr checks 55 --repo owner/repo

列出最近的工作流运行:

gh run list --repo owner/repo --limit 10

查看运行并查看哪些步骤失败:

gh run view <run-id> --repo owner/repo

仅查看失败步骤的日志:

gh run view <run-id> --repo owner/repo --log-failed

高级查询 API (API for Advanced Queries)

gh api 命令对于访问其他子命令不可用的数据很有用。

获取特定字段的 PR:

gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'

JSON 输出 (JSON Output)

大多数命令支持 --json 以进行结构化输出。你可以使用 --jq 进行过滤:

gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.