帮助你执行 GitHub 操作、自动化流程并集成 API 与 CI/CD 工作流。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "github-ops" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/docs/ja-JP/skills/github-ops/SKILL.md 2. 保存为 ~/.claude/skills/github-ops/SKILL.md 3. 装好后重载技能,告诉我可以用了
请帮我设计一个 GitHub Actions 工作流:当创建新仓库时,自动添加 README、Issue 模板、PR 模板和基础标签,并说明所需文件结构。
一套用于初始化仓库的工作流方案,包含 YAML 示例和目录结构说明。
请写一个脚本,使用 GitHub API 获取指定仓库最近 30 天的提交、打开的 Issue 数量和 PR 数量,并输出为 JSON。
可运行的 API 集成脚本,附带认证说明、请求逻辑和 JSON 输出示例。
请为一个 Node.js 项目生成 GitHub Actions CI/CD 配置:提交时运行测试和 lint,通过后构建并部署到生产环境,同时说明 secrets 配置。
完整的 CI/CD 工作流配置,包含触发条件、作业步骤和部署变量说明。
Manage GitHub repositories with a focus on community health, CI reliability, and contributor experience.
gh auth loginClassify each issue by type and priority:
Types: bug, feature-request, question, documentation, enhancement, duplicate, invalid, good-first-issue
Priority: critical (breaking/security), high (significant impact), medium (nice to have), low (cosmetic)
gh issue edit --add-labelgood-first-issue labelduplicate label# Search for potential duplicates
gh issue list --search "keyword" --state all --limit 20
# Add labels
gh issue edit <number> --add-label "bug,high-priority"
# Comment on issue
gh issue comment <number> --body "Thanks for reporting. Could you share reproduction steps?"
gh pr checks <number>gh pr view <number> --json mergeablestale label, comment asking for updateclosed-stale label)# Find stale issues (no activity in 14+ days)
gh issue list --label "stale" --state open
# Find PRs with no recent activity
gh pr list --json number,title,updatedAt --jq '.[] | select(.updatedAt < "2026-03-01")'
When CI fails:
gh run view <run-id> --log-failed# List recent failed runs
gh run list --status failure --limit 10
# View failed run logs
gh run view <run-id> --log-failed
# Re-run a failed workflow
gh run rerun <run-id> --failed
When preparing a release:
gh pr list --state merged --base maingh release create# List merged PRs since last release
gh pr list --state merged --base main --search "merged:>2026-03-01"
# Create a release
gh release create v1.2.0 --title "v1.2.0" --generate-notes
# Create a pre-release
gh release create v1.3.0-rc1 --prerelease --title "v1.3.0 Release Candidate 1"
# Check Dependabot alerts
gh api repos/{owner}/{repo}/dependabot/alerts --jq '.[].security_advisory.summary'
# Check secret scanning alerts
gh api repos/{owner}/{repo}/secret-scanning/alerts --jq '.[].state'
# Review and auto-merge safe dependency bumps
gh pr list --label "dependencies" --json number,title
…
通过双评审智能体对结果进行对抗式校验,提升输出发布前的可靠性
帮助团队统筹 GitHub 与 Linear 的任务流、PR 分诊和执行协同。