AGENT SKILL

github

暂无简介

License 许可
MIT
最近更新
2026-11-12
Stars
★ 4.1w
Forks
3.6k

02 资源文件 6

03 SKILL.md 正文

GitHub

When to use

Any GitHub work: read or triage issues, open or review PRs, search code, check CI runs, manage releases.

Setup

Requires the gh CLI, authenticated. Fail loud when it is missing:

gh auth status || gh auth login

Never proceed with curl against api.github.com as a silent fallback — gh owns auth, pagination, and output shape.

Workflow

  1. Confirm the repo (owner/name) and, for mutations, the exact target.
  2. Read: gh issue view, gh pr view, gh pr diff, gh search, gh run view.
  3. Mutate only when asked: gh issue create, gh pr create, gh pr review, gh pr merge. Mutations need explicit user intent, not inference.
  4. Quote what gh returned; never summarize a diff or check rollup you did not read.

Non-goals

  • Do not merge, close, or approve on your own initiative.
  • Do not invent issue/PR numbers or check conclusions.
  • Do not push, retag, or rewrite history without explicit authorization.

04 同仓库更多 Skills