github
GitHub via gh CLI: PRs, issues, reviews, repos, auth.
- License 许可
- MIT
- 最近更新
- 2026-10-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- github
- author
- Ben Barclay (benbarclay), Anara Agent
- license
- MIT
- version
- 2.0.0
- category
- software-development
- metadata
- { "anara": { "tags": [ "github", "gh", "git", "pull-requests", "issues", "code-review", "repos", "auth", "ci" ], "category": "software-development", "related_skills": [ "codebase-inspection", "requesting-code-review" ] } }
- platforms
- [ "linux", "macos", "windows" ]
- description
- GitHub via gh CLI: PRs, issues, reviews, repos, auth.
02 资源文件 16
- 参考文档references/auth.md11.3 KB
- 参考文档references/ci-troubleshooting.md4.8 KB
- 参考文档references/code-review.md13.0 KB
- 参考文档references/conventional-commits.md2.4 KB
- 参考文档references/github-api-cheatsheet.md5.9 KB
- 参考文档references/issue-to-pr.md5.5 KB
- 参考文档references/issues.md8.8 KB
- 参考文档references/pr-workflow.md9.5 KB
- 参考文档references/repo-management.md13.1 KB
- 参考文档references/review-output-template.md2.4 KB
- 脚本scripts/gh-env.sh2.5 KB
- 脚本scripts/git-credential-token.py1.7 KB
- 参考文档templates/bug-report.md469 B
- 参考文档templates/feature-request.md598 B
- 参考文档templates/pr-body-bugfix.md513 B
- 参考文档templates/pr-body-feature.md580 B
03 SKILL.md 正文
GitHub
Work GitHub end to end with the gh CLI (REST fallback where noted): auth,
issues, the PR lifecycle, issue-to-PR delivery, code review, and repo
management. This skill consolidates six former skills; each workflow lives
complete in its reference file — ALWAYS read the matching reference before
starting that workflow, the body below only routes.
Routing
| Task | Read first |
|---|---|
| Auth broken / new machine / token or SSH setup / gh login | references/auth.md |
| Create, triage, label, assign, close issues | references/issues.md |
| Branch, commit, open PR, watch CI, merge | references/pr-workflow.md |
| Carry an ISSUE to a verified PR (full delivery loop) | references/issue-to-pr.md |
| Review someone's PR: diffs, inline comments, verdict | references/code-review.md |
| Clone/create/fork repos, remotes, releases | references/repo-management.md |
Supporting assets: scripts/gh-env.sh + scripts/git-credential-token.py
(auth helpers), templates/ (PR bodies, bug report, feature request),
references/ci-troubleshooting.md, references/conventional-commits.md,
references/github-api-cheatsheet.md, references/review-output-template.md.
Core discipline (applies to every workflow)
- Preflight once per session:
gh auth status— if it fails, go toreferences/auth.mdbefore anything else. - Prefer
ghover raw REST; drop togh apionly for endpoints the porcelain lacks (the cheatsheet lists them). - Never report CI green without checking
gh pr checksyourself; never claim merged without verifyingstate,mergedAt. - Read full context before writing:
gh issue view --comments/gh pr view --comments— decisions live in threads, not titles. - Sweep for duplicates before creating anything:
gh pr list --search/gh issue list --search.
Verification
- The workflow's own reference file defines done for that task.
- Cross-cutting: every claim about remote state (CI, merge, release,
issue state) is backed by a fresh
ghread, never memory.
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: raw post search, posting, DM, media.
xlsx
Create, read, edit Excel .xlsx workbooks and CSVs.
weights-and-biases
W&B: log ML experiments, sweeps, model registry, dashboards.
weekly-review-planning
Weekly reset: commitments, stalled work, next-week plan.
touchdesigner-mcp
Control TouchDesigner via twozero MCP.