跳到正文
TakoAPI
返回技能列表

merge-check

由 tag-assistant 提供

Coding Agents & IDEs
445下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Analyze a GitHub pull request for mergeability — predict whether it will get merged based on technical.

描述

该技能的功能

Predicts whether a GitHub pull request will get merged by analyzing it across technical, hygiene, architectural, review, process, and social factors. Uses a shell script to gather PR data via the GitHub CLI and applies a rejection vector taxonomy to estimate merge likelihood.

Combines CI status, PR size, author merge history, review sentiment, and process compliance into a single scored report instead of checking each signal manually.

何时使用

  • Checking if a stalled PR has blockers before pinging maintainers
  • Evaluating an open-source contribution's chances before submitting
  • Spotting why a team PR hasn't moved after two weeks
  • Assessing a PR for unaddressed review feedback before re-requesting review
  • Auditing a batch of open PRs to triage which need attention

示例工作流

输入

User asks: Will this PR get merged? https://github.com/vercel/next.js/pull/12345

智能体
  1. 1

    Run merge-check.sh with the PR URL to collect GitHub data as a single JSON object

  2. 2

    Parse CI check results, diff stats, review status, labels, and author history from the output

  3. 3

    Evaluate all analysis dimensions: technical signals, PR hygiene, architectural fit, review status, process compliance, and social signals

  4. 4

    Produce a structured mergeability report with a scored verdict and ranked risk factors

输出

A report with a 🟢/🟡/🔴 mergeability score, ordered risk factors, strengths, actionable recommendations, and a one-sentence verdict

前置要求

  • GitHub CLI (gh) installed and authenticated
  • GitHub account with read access to the target repository

安装

clawhub install tag-assistant/merge-check

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接