review-prlisted
Install: claude install-skill n24q02m/claude-plugins
# Review PR
Comprehensive code review of a pull request or branch diff against its base. Unlike review-delta (quick review of uncommitted local changes), this reviews ALL commits in a branch for PR submission readiness.
**Token optimization:** Before starting, call `help(topic="graph")` for the full actions reference. Never include full files unless explicitly asked.
## Steps
1. **Identify the changes** for the PR:
- If a PR number or branch is provided, use `git diff main...<branch>` to get changed files
- Otherwise auto-detect from the current branch vs main/master
2. **Update the graph** by calling `graph(action="build", base="main")` to ensure the graph reflects the current state.
3. **Commit-by-commit analysis** (for PRs with >3 commits):
- `git log --oneline main..HEAD` to list all commits
- Group related commits by area (feature, fix, refactor, test, docs)
- Verify each commit message follows Conventional Commits (`type(scope): description`)
- Flag commits that mix unrelated changes
4. **Get the full review context** by calling `review(base="main")`:
- Returns all changed files across all commits in the PR
- Includes impacted nodes and blast radius
5. **Analyze impact** by calling `query(action="impact", base="main")`:
- Review the blast radius across the entire PR
- Identify high-risk areas (widely depended-upon code)
6. **Breaking change detection** for public APIs:
- Identify exported/public functions, classes, types that ch