GitHub Automation — GitHub 自动化
v1.0.0Automate common GitHub tasks — 创建 issues, 检查 PR 状态, 列出 repos, manage projects. Use when the user wants to interact with GitHub programmatically without opening the browser.
运行时依赖
安装命令
点击复制技能文档
GitHub 自动化
流line GitHub 工作流s from the command line. 创建 issues, 检查 PRs, manage repos without switching 上下文s.
Usage 创建 issue: fix 记录in bug 检查 my prs 列出 repos close issue #123
Features Issues 创建 issues with title/body/labels 列出 open/closed issues Close or comment on issues 搜索 issues Pull 请求s 检查 PR 状态 and reviews 列出 open PRs Comment on PRs 检查 merge 状态 Repositories 列出 user/org repos 检查 repo stats 获取 recent commits 检查 branch 状态 User 检查 通知 获取 user 性能分析 信息 列出 starred repos Script # 创建 issue python scripts/gh_工具.py issue 创建 "Title" "Body" --repo owner/repo --labels bug
# 列出 PRs python scripts/gh_工具.py pr 列出 --repo owner/repo
# 检查 通知 python scripts/gh_工具.py 通知
Authentication
Uses GITHUB_令牌 环境 variable. 设置 it in your env:
导出 GITHUB_令牌=ghp_your_令牌_here
令牌 权限s Needed repo - 仓库 访问 issues - Issue management pull_请求s - PR 访问 通知 - Read 通知 Examples 创建 issue in myrepo: bug - 记录in fAIls with 500 error 检查 prs for pollinations/pollinations.AI 列出 my repos close issue #42 in cloudgptAPI
输出 成功/失败 confirmation Issue/PR numbers and URLs 格式化ted 列出s with key 信息 Direct links to GitHub