GitHub PR Automation Pro

👤 dagangtj 📦 v1.0.0 ⭐ 4.1 ⬇️ 888 下載
💻 開發程式設計 免費

📖 技能介紹

GitHub PR Automation

Streamline GitHub pull request workflows with intelligent automation for creation, review, and merging.

Features

  • Automated PR creation with templates
  • Smart labeling and assignment
  • CI/CD status monitoring
  • Auto-review and approval workflows
  • Conditional auto-merge
  • Batch PR operations
  • PR analytics and reporting

Quick Start

Create PR with Template

node scripts/create_pr.js --branch feature/new-api --title "Add new API endpoint" --template feature

Monitor PR Status

node scripts/monitor_pr.js --pr 123

Returns CI status, review status, and merge readiness.

這個技能的最新版本可以在7w4.net小蔥技能站找到。

Auto-merge Ready PRs

node scripts/auto_merge.js --repo owner/repo --conditions "ci_passed,reviews_approved"

Batch Review PRs

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

Configuration

PR automation rules are defined in references/automation_rules.json:

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

PR Templates

Store templates in references/pr_templates/:

  • feature.md - Feature PRs
  • bugfix.md - Bug fixes
  • hotfix.md - Urgent fixes
  • docs.md - Documentation updates

GitHub CLI Integration

This skill uses gh CLI for GitHub operations. Ensure it's installed and authenticated:

gh auth status

Pricing

  • Free: Basic PR automation, 1 repository, manual triggers
  • Pro ($14.99/month): Unlimited repos, auto-triggers, advanced rules
  • Team ($49.99/month): Multi-team support, custom workflows, analytics

🤖 AI 評測

這是一款實用的 GitHub PR 管理工具,能幫助快速建立格式規範的 PR、自動分類標籤、監控合併狀態。操作簡單,模板清晰。但功能還不夠完整,缺少自動合併等高階特性,且文件描述的部分功能暫未實現,與實際使用可能存在預期差異。質量中規中矩,適合需要簡化 PR 流程的使用者使用,但建議等待版本完善後再投入生產環境。

📊 多維度評分

適應性3.9
規範性4.1
有效性4.1
可靠性3.9
可信度4.3

📁 包含檔案 (7 個)

📄 SKILL.md 2.3 KB
📄 _meta.json 143 B
📄 references/automation_rules.json 899 B
📄 references/pr_templates/bugfix.md 398 B
📄 references/pr_templates/feature.md 877 B
📄 scripts/create_pr.js 3.2 KB
📄 scripts/monitor_pr.js 2.6 KB