用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/gittower/git-flow-next --skill check-prs命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | check-prs |
| description | Scan open PRs for stale review requests and report which need action |
| allowed-tools | Bash, Read, mcp__github__list_pull_requests, mcp__github__get_pull_request_reviews, mcp__github__add_issue_comment |
Scan all open pull requests and report where each stands against the review response window policy in CONTRIBUTING.md. Read-only by default — run manually whenever you want an overview. Posting reminders is optional and gated.
/check-prs
gh pr list --state open --json number,title,author,updatedAt,reviewDecision,isDraft
Skip drafts.
For each PR, fetch reviews and comments and determine:
Classify:
| Status | Meaning |
|---|---|
awaiting review | No maintainer review yet — action is on us |
changes requested — in window | Author has < 7 days left to respond |
changes requested — window lapsed | ≥ 7 days, no author response — takeover eligible |
author responded | Author replied/pushed — action is on us to re-review |
approved | Ready to merge |
Output a table sorted by urgency (lapsed first, then author-responded, then awaiting review):
| PR | Title | Author | Status | Days | Next action |
|----|-------|--------|--------|------|-------------|
| #93 | ... | @user | window lapsed | 9 | /takeover-pr 93 |
| #95 | ... | @user | author responded | 2 | /follow-up-review 95 |
| #96 | ... | @user | awaiting review | 4 | /handle-pr 96 |
Include concrete evidence for lapsed PRs (review date, last author activity) so the takeover decision is verifiable.
For PRs in-window but close to lapsing (5–6 days), offer to post a friendly
reminder comment. Draft the comment, show it, and post only after user
confirmation (mcp__github__add_issue_comment). Never post reminders
unprompted.
基于 SOC 职业分类