技能 编程开发 PR阻塞摘要器

PR阻塞摘要器

v20260722
pr-blocker-summarizer
将导出的开放 PR 列表汇总为优先展示阻塞项的摘要,标出被阻塞、可合并的 PR,并生成适合站会汇报的简短统计。
获取技能
265 次下载
概览

PR Blocker Summarizer

Turn a JSON export of open pull requests into a blockers-first digest: which PRs are blocked (failing checks, requested changes, or stale), which are ready to merge, and a one-line count an agent can post to standup.

A bundled example skill — small but real, used to demonstrate the creator's validation, pipeline, and eval-rollout machinery.

Activation

Activates on "summarize open PRs", "what's blocking my PRs", "PR standup", "review backlog". Do not activate on general git/GitHub questions unrelated to triaging a set of PRs.

Input

A JSON array of PRs, each with title, state (open), checks (passing/failing), review (approved/changes_requested/pending), and age_days. Missing fields are treated conservatively (counted as not-blocked only when clearly ready).

Run

python3 scripts/run_pipeline.py --input prs.json --output digest.json

Output JSON shape:

{
  "total": 7,
  "blocked": [{"title": "...", "reasons": ["failing checks"]}],
  "ready": ["..."],
  "summary": "7 open · 3 blocked · 2 ready to merge"
}

Anti-goals

  • Does not call the GitHub API; it works on an exported PR list.
  • Does not merge or comment on PRs; it only summarizes.
信息
Category 编程开发
Name pr-blocker-summarizer
版本 v20260722
大小 30.2KB
更新时间 2026-07-24
语言