一键导入
pr-review
Guide reviewers through systematic, constructive peer review of a pull request.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide reviewers through systematic, constructive peer review of a pull request.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
ALWAYS use this skill whenever you would otherwise ask the user a question in free-form chat -- for clarifications, confirmations (especially destructive actions), missing parameters, multiple-choice decisions, or structured form input. Elicitations are routed through the Unique AI Platform UI via `unique-cli elicit create` + `elicit wait` (or `elicit ask` outside an agent harness) so the user gets a proper structured prompt and you get a structured answer back. Do NOT ask the user in plain chat when you can use this skill instead.
Read Agentic Table (magic table / due-diligence) sheets through the unique-cli agentic-table command. Use when the user or task involves inspecting an Agentic Table: a sheet's state and metadata, a specific cell's value or lock state, a cell's edit/answer history, or the sheet's generated export artifacts (reports, question exports). These are read-only (Tier 0) commands — they never modify the sheet and never require confirmation. Access to each sheet is enforced by the platform; a denial is reported as `agentic-table: permission denied`.
Call MCP (Model Context Protocol) server tools on the Unique AI Platform using the unique-cli mcp command. Use when the user asks to invoke, call, or execute an MCP tool, or when they need to send a JSON payload to an MCP server through the CLI. The JSON payload is forwarded 1:1 to the platform's MCP call-tool API.
Invoke connected Unique spaces/subagents through the unique-cli subagent command. Use when the workspace exposes connected-space tools and you need to delegate a question or task to one of those configured assistants.
Search the Unique AI Platform knowledge base using the unique-cli search command, with automatic per-turn citation tracking so cited facts render as clickable reference chips and `<sup>N</sup>` footnotes on the Unique platform. Use whenever the user asks to find, search, or query documents or content on Unique, including filtering by folder or metadata. Also covers `unique-cli read <cont_id>` for reading the full indexed text of a document when its content ID is already known. NOTE: This search uses combined vector + full-text indexing. Excel (.xlsx/.xls), CSV (.csv), and image files are NOT full-text indexed, so they will not appear in search results. To locate these file types, use the unique-cli-file-management skill instead (browse folders with `unique-cli ls` to find them by name).
Search the documents uploaded for the CURRENT task/row (e.g. an Agentic Table row's attached files) via the `unique-cli uploaded-search "<query>"` command, with the same per-turn citation tracking as `unique-cli search` so cited facts render as `<sup>N</sup>` footnotes and clickable reference chips on the Unique platform. ALWAYS use this skill when the user refers to documents they uploaded/attached to this task, or when you need facts from the task's own attached files. These uploaded files are scoped to the chat, NOT to a knowledge-base folder, so they will NEVER appear in `unique-cli search` results no matter the folder or metadata filters. Use `unique-cli search` for the knowledge base and this command for the task's uploaded documents; the two are complementary and citation numbering is shared across them within a turn.
| name | pr-review |
| description | Guide reviewers through systematic, constructive peer review of a pull request. |
| license | MIT |
| compatibility | claude cursor opencode |
| metadata | {"version":"1.0.0","languages":"all","audience":"developers","workflow":"analysis","since":"2026-02-24"} |
I help you review someone else's PR systematically across six key dimensions:
The result is a well-structured, thorough review that helps the author improve and maintains code quality.
Supporting files in this skill:
assets/review-checklist.template — The six-dimension checklist as a markdown fileUse when you want to:
Stage: Peer review by reviewer (after PR is opened, before merge).
pr-self-review for author-side checks before requesting review.pr-create for drafting title/body and opening a PR.github-pull-request-handling for resolving existing review threads with follow-up commits and replies."Help me review this PR" "Guide me through reviewing these changes" "Walk me through a systematic peer review" "Review PR #42" "Review this PR: https://github.com/myorg/myrepo/pull/99"
Here's how I guide you through peer review:
gh CLI if available)If you provide a PR number or URL, I'll automatically fetch metadata using gh pr view:
Fallback: If gh is unavailable or unauthenticated, I'll ask you to paste the PR link or describe the changes manually.
Start with the PR description and linked issues — NOT the code. (Note: If Step 0 auto-fetched the PR, I'll have already retrieved the description above)
Look at the test files before the implementation.
Review the implementation logic step-by-step. For each logical change:
Example comment: "This [operation] assumes [X]. What happens if [X] is violated? Consider adding a guard."
Think like an adversary: What could break this code?
Example comment: "What happens when [condition]? Current code would [fail behavior]. Consider [suggested fix]."
Flag security-relevant changes.
Be specific: "This endpoint now accepts user input. Verify it's validated against [specific vulnerability class]."
Before submitting, review EVERY comment you wrote.
Each comment must follow this pattern:
This [specific code element] [does what/could cause what].
Consider [specific, actionable suggestion] because [why it matters].
Examples:
Distinguish blocking (must fix before merge) from non-blocking (nice to have):
Submit your review with a clear decision:
Provide a brief summary:
Good PR overall. Main feedback:
- Tests look solid
- Logic is sound on auth changes
- One edge case to handle: [specific case]