request-pr-review

Solid

"把使用者名下已經開好的 PR 蒐集起來、帶回每一個的 review 狀態、列出來讓他決定要請誰看,然後通知對的人。Trigger: '我的 PR', 'request PR review', 'ask someone to review my PR', 'PR 狀態', '催 review', '催 PR', 'PR 被 approve 了嗎', '幫我掃我的 PR', '請同仁 review', '請同仁幫我 review', '請大家 review', '請大家幫我 review', '請大家幫忙看一下', '找人 review', '找誰 review', '請[人名/角色]幫我 review', '請[人名/角色]幫忙看 PR'. 主語為同仁/大家/人名/角色的「請X幫我 review」屬於催 review 範疇,不要 route 到 review-pr。" 使用者問**自己的** PR 現在怎麼樣,或想找人來看。例如「我的 PR」「PR 狀態」 「催 review」「PR 被 approve 了嗎」「請同仁幫我 review」。 「請〈某人/大家〉幫我 review」主語是別人,仍然屬這裡——那是催 review,不是自己動手 review。 不用於:review 別人的 PR(走 review-pr)、掃團隊待看的 PR(走 review-inbox)。

Code & Development 5 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
26
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# request-pr-review — 請人來看已經開好的 PR 實作做完、PR 開出來了,缺的是最後一步:**請同事看**。這支 skill 承載那一步的全部——這批 總共有多少、分在哪些 repo、每一個現在被誰看了、要通知誰。 三步,順序固定,**中間那一步是人**: 1. **query** 名下所有 open PR,帶回每一個的 review 狀態。 2. **列出來問使用者要怎麼處理**——列的東西要足夠讓他當場決定,不用再去 GitHub 翻一遍。 3. **照他的決定通知對的人**。 ## 這支 skill 不知道的三件事 **要看哪個 org、哪個 repo 通知誰、一張單長什麼樣。** 三者都由認領那個 org 的 skill 在 自己的 `SKILL.md` 宣告,這裡掃所有 skill 找那一行: ``` <!-- {任意前綴}-PR-CONTEXT-{org}: {命令} --> ``` 鍵裡那一段就是 org 名,所以掃一次同時回答「要 query 誰」與「拿到之後問誰」。一個宣告都 沒有時說出來並停下——**不猜一個 org,不用占位字串當預設值**。 宣告的命令要認得兩個模式,第一個參數就是模式名: | 模式 | 進 | 出 | |---|---|---| | `notify --repo R` | 參數 | 這個 repo 的 PR 通知誰,格式由那一層自己定 | | `ticket` | stdin:`repo⇥number⇥title⇥branch` | `repo⇥number⇥單號⇥單的 URL` | `ticket` 走 TSV 而不是把 PR 的 JSON 丟過去:那個資料結構是這支 skill 的事,交出去等於逼 每一家公司的知識層都得認得它。**這裡不認得任何一家公司的單號長什麼樣**,也不該認得。 所以這裡沒有前置設定要人先準備,也不需要任何環境變數。author 沒指定時自己偵測: ```bash MY_USER="$(gh api user --jq '.login')" ``` approval threshold 這類判定門檻仍讀 workspace config 的 shared defaults。 ## Bundled Scripts 路徑相對於本 skill 目錄。 | Script | 用途 | 輸出 | |--------|------|------| | `scripts/resolve-pr-context.sh` | `orgs` 列出被宣告的 org;`notify` / `ticket` 轉交給認領那個 org 的命令 | org 清單/那一層的答案 | | `scripts/fetch-user-open-prs.sh` | 名下所有 open PR,含 org/base/head | PR JSON array | | `scripts/check-pr-approval-status.sh` | approval 數、stale、被指名還沒看的 reviewer | 加上 approval 欄位 | | `scripts/fetch-pr-review-comments.sh` | 還沒被回覆的 actionable comments | 加上 `unaddressed_comments` | | `scripts/check-pr-ci-status.sh` | CI 狀態 | 加上 `ci` | | `scripts/at...

Details

Author
HsuanYuLee
Repository
HsuanYuLee/polaris
Created
4 months ago
Last Updated
today
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

check-pr-approvals

"掃描使用者的 open PR,偵測 CI 狀態、未回覆 review comments、approval 數量,分類為三種狀態(可催/需修/已達標)後由使用者選擇催 review 或手動修正。Trigger: '我的 PR', 'check PR approvals', 'PR 狀態', '催 review', '催 PR', 'PR 被 approve 了嗎', '幫我掃我的 PR', '請同仁 review', '請同仁幫我 review', '請大家 review', '請大家幫我 review', '請大家幫忙看一下', '找人 review', '找誰 review', '請[人名/角色]幫我 review', '請[人名/角色]幫忙看 PR'. 主語為同仁/大家/人名/角色的「請X幫我 review」屬於催 review 範疇,不要 route 到 review-pr。" 使用者問**自己的** PR 現在怎麼樣,或想找人來看。例如「我的 PR」「PR 狀態」 「催 review」「PR 被 approve 了嗎」「請同仁幫我 review」。 「請〈某人/大家〉幫我 review」主語是別人,仍然屬這裡——那是催 review,不是自己動手 review。 不用於:review 別人的 PR(走 review-pr)、掃團隊待看的 PR(走 review-inbox)。

5 Updated today
HsuanYuLee
Code & Development Solid

review-pr

Review someone else's PR as a code reviewer: read the PR diff, check against .claude/rules, leave inline comments on issues found, and submit a review with APPROVE or REQUEST_CHANGES. Use when the user asks the assistant to review a PR (subject omitted or = self), e.g.: "review PR", "review 這個 PR", "review 此 PR", "review 該 PR", "幫我 review 這個 PR" (without team subject), "review for me", "code review", or shares a PR URL with self-directed review intent. NOT for "請<同仁/大家/人名>幫我 review" (subject = others) — that is 催 review, route to request-pr-review. NOT for "review 大家的 PR" / "掃 PR" (object = others' PRs) — route to review-inbox. NOT for fixing review comments on your own PR — that needs no relay, just fix it. 要以 reviewer 的身分看**別人的** PR:讀 diff、留 inline comment、送出 APPROVE 或 REQUEST_CHANGES。例如「review 這個 PR」「code review」,或丟一個 PR URL 過來要人看。 不用於:「請〈同仁/大家〉幫我 review」——主語是別人,那是催 review, 走 request-pr-review。

5 Updated today
HsuanYuLee
Code & Development Solid

review-inbox

"Use when the user wants to discover and review PRs across the team awaiting their attention. NOT for a single specific PR (use review-pr). Supports three discovery modes: Label (GitHub label scan), Slack (channel-wide scan), Thread (specific Slack thread URL). Trigger: '掃 PR', 'review 大家的 PR', '批次 review', '有哪些 PR 要我看', Slack thread URL + review intent ('review <slack_url>', '幫我看這串'). Key: '我的 PR' → request-pr-review; '大家的 PR' / Slack URL → here; single PR URL → review-pr." 要掃出團隊裡等著自己看的 PR。例如「掃 PR」「review 大家的 PR」 「有哪些 PR 要我看」,或給一個 Slack thread URL 要人看那一串。 分辨:「我的 PR」→ request-pr-review;「大家的 PR」或 Slack URL → 這裡; 單一個 PR URL → review-pr。

5 Updated today
HsuanYuLee