review-pr
A systematic PR review tool that assesses quality, security, and correctness, providing structured feedback and clear verdicts.
Install
mkdir -p .claude/skills/review-pr-daemn256 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10575" && unzip -o skill.zip -d .claude/skills/review-pr-daemn256 && rm skill.zipInstalls to .claude/skills/review-pr-daemn256
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Review a PR diff for quality, security, and correctnessKey capabilities
- →Analyze PR diffs for quality and security
- →Categorize feedback into blocking/suggestions
- →Verify build and test status
- →Automate board status updates
How it works
The skill analyzes PR changes against industry standards, categorizing feedback into blocking issues, suggestions, and positive observations before issuing a verdict.
Inputs & outputs
When to use review-pr
- →Reviewing code quality
- →Checking for security flaws in PRs
- →Ensuring adherence to project standards
- →Providing constructive PR feedback
About this skill
Review PR
Uses Reviewer. Analyze a PR's diff for quality, security, and correctness. Produce structured feedback and a verdict.
Prerequisites: PR diff available (pasted or accessible), context about the PR's purpose
Phase 1: Understand Scope
Gather PR Context
- Read PR title and description
- Identify the issue being addressed
- Understand the intended behavior change
- Note the scope (files, areas affected)
Phase 2: Analyze Changes
Review Against Standards
- Structure — Are changes organized logically?
- Correctness — Does implementation achieve the goal?
- Conventions — Does it follow established patterns?
- Security — Any security implications?
- Tests — Adequate coverage?
Review Principles
| Principle | Application |
|---|---|
| Focus on what matters | Blocking issues > style nits |
| Be specific | File, line, concrete suggestion |
| Explain why | Help author understand, not just comply |
| Acknowledge good work | Reinforcement helps |
| Stay in scope | Review what's in the PR, not wishlist |
Phase 3: Provide Feedback
Structure and Present
- Determine verdict (Approve, Request Changes, Comment)
- List blocking issues (must fix before merge)
- List suggestions (non-blocking improvements)
- Note positive observations (reinforce good patterns)
Feedback Categories
| Category | Meaning |
|---|---|
| Blocking | Must be addressed before merge |
| Important | Should be addressed, but not blocking |
| Suggestion | Nice to have improvement |
| Nitpick | Style preference, optional |
Output
## Context Anchors
- **PR:** #<number> - <title>
- **Author:** <author>
- **Target:** `<branch>` → `<base>`
- **Scope:** <brief description>
## Review Summary
**Verdict:** <Approve | Request Changes | Comment>
<One paragraph summary>
## Feedback
### Blocking Issues
1. **[File:Line] <Issue title>**
- Problem: <what's wrong>
- Suggestion: <how to fix>
### Suggestions
1. **[File:Line] <Suggestion title>**
- Current: <what it does now>
- Suggested: <what would be better>
### Positive Notes
- <positive observation>
## Next Step
<If Request Changes: "Address blocking issues and re-request review">
<If Approve: "Ready to merge">
<If Comment: "Consider suggestions; no changes required">
**Approval Required:** Yes
```
### ⛔ CHECKPOINT
**STOP.** Do not post review until human explicitly approves:
- Verdict is appropriate
- Feedback is accurate
- Tone is constructive
### Board Integration
When issuing an **APPROVE** verdict and merge is confirmed in the same session:
1. Read `workspace.config.yaml` for `board.project_id`, `board.fields.status.field_id`, and `board.status_options.done.option_id`
2. Set issue status to **Done**
Only perform this update if the full approve → merge cycle completes within this review session. If merge is deferred, the Done transition belongs to Orchestrator.
---
## Mechanical Review Checklist
Before providing any review verdict, verify these mechanically:
- [ ] All changed files reviewed (none skipped)
- [ ] Build passes on the branch
- [ ] Tests pass with counts reported
- [ ] No unresolved merge conflicts
- [ ] Commit messages follow conventional format
- [ ] Branch naming follows convention
- [ ] PR description references the issue
- [ ] No `TODO` or `FIXME` markers in new code (unless tracked by issue)
---
## Error Handling
| Error | Recovery |
| ------------------------ | --------------------------------------------------------- |
| Missing PR context | Request PR number or diff |
| Unclear feedback | Ask for clarification |
| Conflicting requirements | Escalate to author/maintainer |
```
When not to use it
- →Reviewing non-code PRs
- →Automated code refactoring
Prerequisites
Limitations
- →Requires human approval before posting
How it compares
It enforces a strict checkpoint where human approval is required before posting, ensuring constructive and accurate feedback.
Compared to similar skills
review-pr side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| review-pr (this skill) | 0 | 5mo | No flags | Intermediate |
| github-code-review | 13 | 2mo | Review | Advanced |
| reviewing-code | 21 | 8mo | No flags | Intermediate |
| reviewing-nextjs-16-patterns | 11 | 8mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by daemn256
View all by daemn256 →You might also like
github-code-review
ruvnet
Comprehensive GitHub code review with AI-powered swarm coordination
reviewing-code
CaptainCrouton89
Systematically evaluate code changes for security, correctness, performance, and spec alignment. Use when reviewing PRs, assessing code quality, or verifying implementation against requirements.
reviewing-nextjs-16-patterns
djankies
Review code for Next.js 16 compliance - security patterns, caching, breaking changes. Use when reviewing Next.js code, preparing for migration, or auditing for violations.
cookbook-audit
anthropics
Audit an Anthropic Cookbook notebook based on a rubric. Use whenever a notebook review or audit is requested.
pr-review
pytorch
Review PyTorch pull requests for code quality, test coverage, security, and backward compatibility. Use when reviewing PRs, when asked to review code changes, or when the user mentions "review PR", "code review", or "check this PR".
find-bugs
davila7
Find bugs, security vulnerabilities, and code quality issues in local branch changes. Use when asked to review changes, find bugs, security review, or audit code on the current branch.