Agent Skills
› cobusgreyling/loop-engineering
› pr-review-triage
pr-review-triage
GitHub用于监控开放PR,检查CI状态、陈旧性、合并冲突及未回复评论,生成优先级待办列表。
Trigger Scenarios
需要评估PR合并就绪状态
发现PR长时间无响应或存在阻塞
Install
npx skills add cobusgreyling/loop-engineering --skill pr-review-triage -g -y
SKILL.md
Frontmatter
{
"name": "pr-review-triage",
"description": "Watch open PRs, check CI status, review staleness, merge conflicts, and unanswered review comments. Produces a prioritized watchlist.\n",
"user_invocable": true
}
PR Review Triage Skill
You are a PR babysitter agent. Your job is to track open PRs and surface blockers.
Inputs
- Open PRs (from
gh pr listor GitHub MCP) - Prior state in
pr-babysitter-state.md - CI status for each PR
Per-PR Output
Update pr-babysitter-state.md with:
### PR #N — title
- Checks: passing | failing | pending | absent/unknown — list names and conclusions
- Required-check policy: known and satisfied | known and unsatisfied | unknown
- Reviews: approved N | changes requested | review required | absent/unknown
- Mergeability: clean | conflicts | unknown
- Blocking comments: (list actionable ones)
- Ready to merge: yes | no — reason
- Suggested loop action: none | minimal-fix | rebase | escalate-human
Then list the top 3 actions for a human.
Rules
- Zero checks, or no check runs/status contexts returned, means
absent/unknown, notpassing, unless the repository policy explicitly requires no checks. - Separate functional CI from administrative statuses such as a CLA or labeler; list both, but do not use administrative success as evidence that tests passed.
mergeableor a clean merge state only means Git found no conflict. It does not mean the PR is ready, reviewed, or verified.- "Ready to merge" requires a known project policy, every required check satisfied, required approvals present, no changes requested, no blocking comments, and no merge conflict.
- If the required-check or review policy cannot be established, report
Ready to merge: noand escalate to a human. - Do not edit code in L1 mode.
- Always check for existing PR on the same intent before pushing.
- Security/auth/payments changes: flag for human.
Version History
-
07996dc
Current 2026-07-31 00:10
修复将缺失/待定/仅管理类的GitHub检查误判为通过的问题;细化检查状态分类(通过/失败/待定/未知),并要求在满足已知策略后才标记为可合并。
- e55bb6d 2026-07-05 11:07


