Skip to main content

github-ops

GitHub CLI for issues, PRs, code search, CI logs, releases, and API queries. Requires gh CLI and auth.

来源信息

仓库
fuyuxiang/echo-agent
最近来源活动
2026年6月13日 14:21
检测到的 SKILL.md 语言
英语
星标
1,036
Forks
30

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
github-ops
description
GitHub CLI for issues, PRs, code search, CI logs, releases, and API queries. Requires gh CLI and auth.
version
1.0.0
metadata
{"echo":{"tags":["GitHub","PR","Issues","CI","DevOps","Git"],"requires":{"bins":"[Truncated]"}}}
# GitHub Ops Use `gh` for GitHub operations. Use `git` for local commits/branches/push/pull. ## Auth ```bash gh auth status gh auth login ``` ## Pull Requests ```bash 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 gh pr checks 55 --repo owner/repo gh pr diff 55 --repo owner/repo gh pr create --repo owner/repo --title "feat: title" --body "description" gh pr merge 55 --repo owner/repo --squash ``` ## Issues ```bash 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 gh issue create --repo owner/repo --title "Bug: ..." --body "details" gh issue comment 42 --repo owner/repo --body "Fixed in abc123" gh issue close 42 --repo owner/repo ``` ## CI / Actions ```bash gh run list --repo owner/repo --limit 10 gh run view <run-id> --repo owner/repo --json status,conclusion gh run view <run-id> --repo owner/repo --log-failed gh run rerun <run-id> --repo owner/repo --failed ``` ## Code Search ```bash gh search code "pattern" --repo owner/repo gh search repos "echo-agent" --language python ``` ## Releases ```bash gh release list --repo owner/repo gh release create v1.0.0 --repo owner/repo --title "v1.0.0" --notes "Release notes" gh release download v1.0.0 --repo owner/repo ``` ## API (advanced) ```bash gh api repos/owner/repo --jq '.stargazers_count' gh api repos/owner/repo/pulls --jq '.[].title' gh api notifications --jq '.[].subject.title' gh api user/repos --jq '.[].full_name' --paginate ``` ## Notifications ```bash gh api notifications --jq '.[] | "\(.subject.type): \(.subject.title)"' ```
在 GitHub 查看