review-pr
БесплатноБез исполняемых скриптовНе проверенReview an existing pull request against the review checklist: code style, tests, docs. Use when the PR exists; review-task checks a branch without one.
от torrust★ 539 звёзд на GitHubОб этом скилле
Reviewing a Pull Request
Use this skill only when a pull request exists (PR number or URL is available).
If there is no PR yet and you need to validate task completion on a local branch, use:
.claude/skills/review-task/SKILL.md.
Quick Overview Approach
- Confirm that the pull request exists: a number or a URL is required.
- Read the PR title and description for context, and gather its metadata: the linked issue, the base branch, the merge state and time, and the checks when they are available.
- Check the diff for scope of change. Review the real diff and the checks of the pull request, not the intent of the caller.
- Identify the affected packages and components.
- Apply the checklist below and classify the findings by severity.
PR Review Checklist
PR Metadata
- Title follows Conventional Commits format
- Description clearly explains what changes were made and why
- Issue is linked (
Closes #<number>orRefs #<number>) - Target branch is
develop(notmain)
Code Quality
- Code follows existing patterns in affected packages
- No unused imports, variables, or functions
- No
#[allow(...)]suppressions unless clearly justified with a comment - Errors handled properly (use
thiserrorfor structured errors, avoid.unwrap()) - No security vulnerabilities (OWASP Top 10 awareness)
Tests
- New functionality has unit tests
- Integration tests added if applicable
- All existing tests still pass
- Test code is clean, readable, and maintainable
Documentation
- Public API items have doc comments
-
AGENTS.mdupdated if architecture changed - Markdown docs updated if user-facing behavior changed
- Spell check: new technical terms added to
project-words.txt
Rust-Specific
- Imports grouped: std → external → internal
- Line length within
max_width = 130 - GPG-signed commits
Output
Return:
- Scope reviewed (the pull-request number and the key files)
- Findings by severity (see Providing Feedback)
- Checklist gaps
- Overall verdict:
APPROVE,REQUEST_CHANGES,COMMENTorPOST_MERGE_FINDINGS
A Blocker or a Major finding is a blocker: the pull request is not ready to merge while one is
unresolved. Do not approve then. A COMMENT verdict is for a review whose findings are not
blockers (Minor, Nit or Suggestion), and an unresolved blocker gives REQUEST_CHANGES.
A Merged Pull Request
When the pull request is already merged, label the result POST_MERGE_FINDINGS and give no
merge-readiness verdict. Do not implement the findings and do not create a follow-up branch.
Direct the caller to the post-merge workflow of
process-pr-review, which needs the maintainer's explicit
approval before any action that changes something.
Recording The Review
The task you were given tells you which case applies. The review is not a review of a task of a
branch (use review-task for that): do not run the acceptance review
of a task, and do not mark the workflow checkpoints of an issue specification unless the caller
asks for it and the evidence is there.
A Reply File
When the task carries the line that names a reply file (decision D17 of issue #2904), write the
review there as one JSON file before you finish. The path is the one the line gives:
agent-replies/<agent>-<subject>-r<round>.json in the folder of the issue specification, with
pr-reviewer as the agent, pr<number> as the subject, and the round counted from 1 (decision
D18). The rounds go from 1 to 3, and the validator refuses a name with a higher round: when the
line names a round above 3, write no file, say so in your final message and leave it to the caller
to stop and ask the maintainer. The fields:
schema-version: 1;agent:pr-reviewer;model: the full model ID you ran on;subjectandround: the same as in the file name;created-utc: the time, fromdate -u.verdict, from the verdict of the Output:REVIEW_PASSEDforAPPROVEand forCOMMENT(which has noBlockerorMajorfinding);REVIEW_FAILEDforREQUEST_CHANGES;DONEforPOST_MERGE_FINDINGS, with the label at the start of thesummary;QUESTIONwhen only the contributor can answer something;BLOCKEDwhen you cannot review.summary: the verdict in a few sentences, with the base branch of the pull request.findings: one for each finding, with aseverity(Blocker,Major,Minor,NitorSuggestion), alocationand adescriptionthat carries the remediation.questions: what the contributor must answer, one text each, or an empty list.evidence: the commands you ran and what they showed, the checks you read, the files you reviewed, the checklist gaps, and the follow-up owner and action (writenonewhen no follow-up applies), one text each.
Check the file with the valida
Установить review-pr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл review-pr?
Review an existing pull request against the review checklist: code style, tests, docs. Use when the PR exists; review-task checks a branch without one.
Как установить скилл review-pr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-pr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic