闲社服务运行正常AI智能体自动化平台
g

GitHub PR自动化

技能标识:github-pr-automation

Automate GitHub pull request workflows including creation, review, merging, and monitoring. Handles PR templates, auto-labeling, CI/CD integration, and review automation. Use when users need to create PRs with proper formatting and templates, automate PR reviews and approvals, monitor PR status and CI checks, auto-merge PRs based on conditions, batch process multiple PRs, or track PR metrics and performance.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

GitHub PR自动化

GitHub PR 自动化

通过智能自动化简化 GitHub 拉取请求工作流程,涵盖创建、审查和合并。

功能特性

  • - 使用模板自动创建 PR
  • 智能标签与分配
  • CI/CD 状态监控
  • 自动审查与批准工作流
  • 条件自动合并
  • 批量 PR 操作
  • PR 分析与报告

快速开始

使用模板创建 PR

bash
node scripts/create_pr.js --branch feature/new-api --title 添加新 API 端点 --template feature

监控 PR 状态

bash
node scripts/monitor_pr.js --pr 123

返回 CI 状态、审查状态及合并就绪情况。

自动合并就绪的 PR

bash
node scripts/automerge.js --repo owner/repo --conditions cipassed,reviews_approved

批量审查 PR

bash
node scripts/batch_review.js --repo owner/repo --label ready-for-review --action approve

配置

PR 自动化规则定义在 references/automation_rules.json 中:

json
{
auto_label: {
bug: [fix, bugfix],
feature: [feat, feature],
docs: [docs, documentation]
},
auto_merge: {
enabled: true,
conditions: [cipassed, reviewsapproved, no_conflicts]
},
reviewers: {
backend: [@backend-team],
frontend: [@frontend-team]
}
}

PR 模板

将模板存储在 references/pr_templates/ 目录中:

  • - feature.md - 功能 PR
  • bugfix.md - 缺陷修复
  • hotfix.md - 紧急修复
  • docs.md - 文档更新

GitHub CLI 集成

本技能使用 gh CLI 执行 GitHub 操作。请确保已安装并完成身份验证:

bash
gh auth status

定价方案

  • - 免费版:基础 PR 自动化,1 个仓库,手动触发
  • 专业版($14.99/月):无限仓库,自动触发,高级规则
  • 团队版($49.99/月):多团队支持,自定义工作流,分析报告

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 github-pr-automation-pro-1776193684 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 github-pr-automation-pro-1776193684 技能

通过命令行安装

skillhub install github-pr-automation-pro-1776193684

下载

⬇ 下载 github-pr-automation v1.0.0(免费)

文件大小: 6.02 KB | 发布时间: 2026-4-17 14:56

v1.0.0 最新 2026-4-17 14:56
Initial release: Automated PR creation, monitoring, and merging workflows
返回顶部