跳到正文
Skillpedia
部署与云(DevOps)81k · #1530

github-automation

它能做什么

这项技能引导智能体完成常见的 GitHub 任务,例如发起拉取请求、跟踪问题、审查代码和准备发布。适合在 GitHub 上工作、并希望自动完成日常步骤的开发者。

适用场景

  • ✓当你想发起一个标题和摘要都清晰的拉取请求的时候。
  • ✓当需要列出、创建或跟踪问题的时候。
  • ✓当你想设置发布或 GitHub Actions 工作流的时候。

技能链接

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/github-automation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/.agents/skills/github-automation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请用清晰的摘要为我当前的分支发起一个拉取请求,然后列出未关闭的问题。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会使用 GitHub CLI 和 claude-flow 命令来发起拉取请求、列出或创建问题,并设置工作流和发布。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

GitHub Automation Skill

Purpose

GitHub workflow automation, PR management, and repository coordination.

When to Trigger

  • Creating pull requests
  • Managing issues
  • Setting up CI/CD workflows
  • Code review automation
  • Release management

Commands

Create Pull Request

gh pr create --title "feat: description" --body "## Summary\n..."

Review Code

npx claude-flow github review --pr 123

Manage Issues

npx claude-flow github issues list --state open
npx claude-flow github issues create --title "Bug: ..."

Setup Workflow

npx claude-flow workflow create --template ci

Release Management

npx claude-flow deployment release --version 1.0.0

Agent Types

Agent Role
pr-manager Pull request lifecycle
code-review-swarm Automated code review
issue-tracker Issue management
release-manager Release automation
workflow-automation GitHub Actions

Best Practices

  1. Use conventional commits
  2. Require reviews before merge
  3. Run CI on all PRs
  4. Automate release notes
常见问题

它需要 GitHub CLI 吗?

需要。这项技能中的多个命令使用 gh 命令行工具。

它能用于 GitHub 之外的项目吗?

不能。这项技能说明,对于非 GitHub 仓库应跳过它。

它会替我合并代码吗?

这项技能侧重于创建和审查拉取请求。在它改动任何仓库之前,请先检查每个操作。

详情

作者的原始描述

GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.

repo: ruvnet/ruflo

热度

GitHub 星标
81k
排名
#1530
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能