/crg:review-pr [PR number or branch name]from crg
Reviews a full branch diff against base with commit-by-commit analysis, breaking change detection, and conventional commit verification. Useful before submitting or merging a PR.
Ships in crg. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
Command surface: run the local CLI through the coding harness shell. Examples
use the installed crg command; from a source checkout,
prefix it with uv run. No MCP mapping is required. Use
crg review --help for the command reference. Never
include full files unless explicitly asked.
Identify the changes for the PR:
git diff main...<branch> to get changed filesUpdate the graph with crg graph build --base main --repo-root "<path>" so it reflects the current branch.
Commit-by-commit analysis (for PRs with >3 commits):
git log --oneline main..HEAD to list all commitstype(scope): description)Get the full review context with crg review context --base main --repo-root "<path>":
Analyze impact with crg query impact --base main --repo-root "<path>":
Breaking change detection for public APIs:
crg query query --pattern callers_of --target "<function>" --repo-root "<path>" to find all consumersDeep-dive each changed file:
crg query query --pattern tests_for --target "<function>" --repo-root "<path>" to verify test coverageGenerate structured review output:
## PR Review: <title>
### Summary
<1-3 sentence overview>
### Conventional Commits Check
- [x] `feat(parser): add Go support` -- valid
- [ ] `fixed stuff` -- invalid, should be `fix(scope): description`
### Risk Assessment
- **Overall risk**: Low / Medium / High
- **Blast radius**: X files, Y functions impacted
- **Test coverage**: N changed functions covered / M total
- **Breaking changes**: None / List of breaking changes
### File-by-File Review
#### <file_path>
- Changes: <description>
- Impact: <who depends on this>
- Issues: <bugs, style, concerns>
### Missing Tests
- <function_name> in <file> - no test coverage found
### Recommendations
1. <actionable suggestion>
| Aspect | review-delta | review-pr |
|---|---|---|
| Scope | Uncommitted changes only | Full branch diff (all commits) |
| Speed | Fast, minimal context | Thorough, more context |
| Use case | Quick check before commit | PR submission readiness |
| Commit analysis | N/A | Commit-by-commit + conventional commit check |
| Breaking changes | Not checked | Explicitly detected |
crg query search --search-query "<term>" --repo-root "<path>" to find related code the PR might have missedWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/impact-auditBlast radius of a change you have not made yet -- traces a symbol across federated repositories, splits impact per repo, and reports what must ship together./onboard-repoIndex an unfamiliar codebase into the knowledge graph, then produce a first orientation map -- entry points, most-depended-upon modules, hotspots, test topology./refactor-checkSafety analysis before refactoring -- dependency graph, test coverage, public API exposure, blast radius verdict./review-deltaReview uncommitted changes using impact analysis. Quick local delta review with blast-radius detection./security-sweepGraph-driven security sweep -- scan for dangerous sinks, then rank each finding by whether an entry point can actually reach it, and triage the rest into suppressions.2 plugins ship this exact skill · first indexed Oct 4, 2026
npx claudepluginhub n24q02m/claude-plugins --plugin crgOther plugins' skills for the same job