Install
openclaw skills install pr-review-assistantAutomated pull request review providing detailed feedback on correctness, security, performance, maintainability, testing, and best practices.
openclaw skills install pr-review-assistantAutomated pull request review with structured feedback on code quality, security, performance, and best practices. Use when reviewing PRs, preparing code for review, or setting up automated review workflows.
# Review current branch changes against main
python3 scripts/pr_review.py
# Review specific PR (requires gh CLI)
python3 scripts/pr_review.py --pr 42
# Review staged changes only
python3 scripts/pr_review.py --staged
# Review with specific focus areas
python3 scripts/pr_review.py --focus security,performance
The assistant evaluates code across 6 dimensions:
## PR Review Summary
**Risk Level:** 🟢 Low / 🟡 Medium / 🔴 High
### Must Fix (blocking)
- [file:line] Description of critical issue
### Should Fix (non-blocking)
- [file:line] Description of improvement
### Consider (optional)
- [file:line] Suggestion for better approach
### Positive Notes
- What was done well
| Parameter | Description | Default |
|---|---|---|
--pr | GitHub PR number | None (uses diff) |
--base | Base branch to compare | main |
--staged | Review staged changes only | false |
--focus | Comma-separated focus areas | All |
--severity | Minimum severity to report | low |
--format | Output format: markdown, json, github-comment | markdown |
--max-files | Max files to review | 50 |
When used as an agent skill, the AI reviewer: