review-pr

Solid

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。

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

# review-pr 以 reviewer 角色審查別人的單一 PR,依 repo rules / handbook / diff context 留 inline comments,並送出 GitHub review。 ## Contract 此 skill 只處理單一 PR review。多 PR discovery 與 batch orchestration 交給 `review-inbox`;修自己的 PR review comments 就直接修(那不需要重簽成功的定義)。 Reviewer stance:prioritize bugs、behavior regressions、security、type safety、project rule violations、missing tests。不要用 personal style preference 擋 merge。 reviewer-side 屬 read-only lane,但對 `changes_requested`、`active unresolved comments`、 `awaiting_re_review`、`mergeable_ready` 的語義必須與 author-side mutable lane 一致;不得自行重寫。 本 skill 可輸出 reviewer 結論(`APPROVE` / `COMMENT` / `REQUEST_CHANGES`),但不得把 reviewer 結論寫成 author-side stage authority;「可 merge / 可 release / 已完成」仍必須沿用 shared PR / workflow state,而不是 reviewer prose。 ## 這支 skill 有沒有被叫對:`evals/evals.json` 上面那條界線(什麼走這支、什麼走 `review-inbox` / `request-pr-review`)不是只寫在散文裡, 它有一份**具名的案例集**:`evals/evals.json`,13 句真的會被打出來的話,7 句該觸發、6 句 不該。每一條帶著它為什麼在那裡(`notes`)。 **它是給人讀的,不是給腳本跑的**——這裡沒有 runner,也刻意不要有一支。它的用途是:改 frontmatter 的 `description` 之前先讀那 13 句,問「改完之後這 13 句的答案還一樣嗎」。負向 那 6 句尤其重要,因為觸發詞放寬的代價從來不出現在正向案例上。 **什麼時候要更新它**:這支 skill 被叫錯、或該叫沒叫到的那一刻——把那句原話補成第 14 條, 標好它該不該觸發。一句在真實對話裡走錯的話,比十句想像出來的案例有用。同一趟摩擦也記進 你手上那張單可以改的那部分(`SKILL-UTILITY`,見 `driving-work-to-done`),兩者不重複:那裡記 「這一趟它幫到還是擋到」,這裡記「這句話該路由到哪」。 ## Reference Loading | Situation | Load | |---|---| | Any run | `review-pr-entry-fetch-flow.md`, `pr-input-resolver.md`, `workspace-config.yaml` | | Analysis | `review-pr-analysis-flow.md`, `library-change-prot...

Details

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

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

request-pr-review

"把使用者名下已經開好的 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)。

5 Updated today
HsuanYuLee
AI & Automation Listed

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-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