Pr Review
/install sn-pr-review
Pull Request Review
Perform a thorough code review covering quality, security, performance, and maintainability.
Review Checklist
Code Quality
- Naming: clear, descriptive, consistent with codebase conventions
- Functions: single responsibility, reasonable length (\x3C50 lines)
- Error handling: all failure paths covered, no swallowed exceptions
- Types: proper TypeScript/type annotations where applicable
- DRY: no unnecessary duplication
- Dead code: nothing unused or commented out
Security (see also: security-review skill)
- No secrets or credentials in code
- Input validation on all user-facing endpoints
- Parameterized queries (no string concatenation for SQL)
- Proper auth/authz checks
Performance
- N+1 query patterns
- Missing database indexes for new queries
- Unbounded loops or recursive calls
- Large payload responses without pagination
- Missing caching where appropriate
Testing
- New functionality has tests
- Edge cases covered (empty arrays, null, boundaries)
- Tests are deterministic (no timing dependencies)
- Mocks are appropriate (not over-mocked)
Maintainability
- Changes are documented (README, comments for complex logic)
- Breaking changes are noted
- Migration path is clear for schema changes
- Dependencies added are justified
Output Format
Start with a summary:
## Review Summary
**Verdict:** APPROVE | REQUEST_CHANGES | COMMENT
**Risk Level:** Low | Medium | High
**Key Findings:** [1-3 sentence summary]
Then list findings by category, each with:
- File and line reference
- What the issue is
- Suggested fix (with code when helpful)
- Severity (blocking vs. nit)
End with:
## Positive Notes
[Things done well worth calling out]
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install sn-pr-review - After installation, invoke the skill by name or use
/sn-pr-review - Provide required inputs per the skill's parameter spec and get structured output
What is Pr Review?
Comprehensive pull request review covering code quality, security, performance, and maintainability. Use for any code review task. It is an AI Agent Skill for Claude Code / OpenClaw, with 175 downloads so far.
How do I install Pr Review?
Run "/install sn-pr-review" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Pr Review free?
Yes, Pr Review is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Pr Review support?
Pr Review is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Pr Review?
It is built and maintained by Solomon Neas (@solomonneas); the current version is v1.0.0.