通过 GitHub CLI 管理议题、PR、日志、发布与仓库查询等开发协作任务
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "github" 技能: 1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/skills/github/SKILL.md 2. 保存为 ~/.claude/skills/github/SKILL.md 3. 装好后重载技能,告诉我可以用了
请使用 GitHub CLI 查看仓库 recent-app 最近一次失败的 GitHub Actions 运行,汇总失败的 job、关键报错和可能原因,并给出下一步排查建议。
一份简明的失败诊断总结,包含报错摘录、原因分析与处理建议。
请用 GitHub CLI 拉取仓库 web-portal 中 PR #128 的评论、review 和检查状态,整理成一份待处理清单,按阻塞问题、建议优化和已解决事项分类。
一份结构化的 PR 审查摘要,帮助快速推进合并前修改。
请使用 gh api 或 GitHub CLI 查询仓库 mobile-sdk 当前所有 open issue,按标签、优先级和负责人汇总,并指出最值得优先处理的 5 个问题。
一份按维度汇总的 issue 清单,以及明确的优先级建议。
Use gh for GitHub. Use git for local commits/branches/push/pull. Use code-reading tools for deep reviews.
gh auth status
gh auth login
Gateway HOME can differ from operator HOME. If gh auth exists elsewhere, set GH_CONFIG_DIR in the gateway service env and restart.
gh pr list --repo owner/repo --json number,title,state,author,url
gh pr view 55 --repo owner/repo --json title,body,author,files,commits,reviews,reviewDecision
gh pr checks 55 --repo owner/repo
gh pr diff 55 --repo owner/repo
gh pr create --repo owner/repo --title "feat: title" --body-file /tmp/pr.md
gh pr merge 55 --repo owner/repo --squash
URLs work directly: gh pr view https://github.com/owner/repo/pull/55.
gh issue list --repo owner/repo --state open --json number,title,labels,url
gh issue view 42 --repo owner/repo --json title,body,comments,labels,state
gh issue create --repo owner/repo --title "Bug: ..." --body-file /tmp/issue.md
gh issue comment 42 --repo owner/repo --body-file /tmp/comment.md
gh issue close 42 --repo owner/repo --comment "Fixed in ..."
gh run list --repo owner/repo --limit 10
gh run view <run-id> --repo owner/repo --json status,conclusion,headSha,url
gh run view <run-id> --repo owner/repo --log-failed
gh run rerun <run-id> --repo owner/repo --failed
gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'
gh api repos/owner/repo/labels --jq '.[].name'
gh api --cache 1h repos/owner/repo --jq '{stars: .stargazers_count, forks: .forks_count}'
Use --json + --jq for structured output. Use --body-file for comments/bodies containing backticks, shell snippets, env names, or user text.
帮助团队检索重复的 PR 与问题单,并自动分组同步重复状态。
用于管理仓库、Issue、PR与Actions并自动化GitHub工作流