
Review Pr
- 969 installs
- 28.5k repo stars
- Updated August 2, 2026
- tirth8205/code-review-graph
review-pr is a code-review-graph agent skill that reviews pull requests or branch diffs using a project knowledge graph to produce structured reviews with blast-radius impact analysis instead of isolated file comments.
About
review-pr is a skill from the code-review-graph project that performs comprehensive pull request or branch diff reviews using structural knowledge graph context. It accepts a PR number or branch name, retrieves changes via git diff against main, and outputs a structured review including blast-radius analysis of downstream impact. The workflow calls get_docs_section_tool with section_name review-pr for a token-optimized procedure and avoids loading full files unless explicitly requested. Developers reach for review-pr when standard diff-only reviews miss cross-file dependencies, architectural regressions, or ripple effects across modules. The skill auto-detects changes from the current branch when no PR identifier is supplied.
- Uses knowledge graph for full structural context before reviewing changes
- Performs blast-radius analysis to identify high-risk areas and widely depended-upon code
- Combines git diff, graph queries for callers and tests, and impact radius in one workflow
- Token-optimized workflow that calls get_docs_section_tool("review-pr") first
- Outputs a structured review with deep-dive analysis of changed files
Review Pr by the numbers
- 969 all-time installs (skills.sh)
- +28 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #139 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/tirth8205/code-review-graph --skill review-prAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 969 |
|---|---|
| repo stars | ★ 28.5k |
| Security audit | 3 / 3 scanners passed |
| Last updated | August 2, 2026 |
| Repository | tirth8205/code-review-graph ↗ |
How do you review PRs with full project impact context?
Get structured, context-rich code reviews of PRs or branches that understand the full project impact instead of isolated file diffs.
Who is it for?
Developers using code-review-graph who need PR reviews that account for structural dependencies and blast radius beyond isolated diffs.
Skip if: Repositories without a knowledge graph index where only line-by-line style or lint feedback is needed.
When should I use this skill?
A pull request or branch diff needs review with knowledge-graph structural context and blast-radius impact analysis.
What you get
Structured PR review document with blast-radius analysis and cross-module impact notes.
- Structured PR review
- Blast-radius impact report
Files
Review PR
Perform a comprehensive code review of a pull request or branch diff using the knowledge graph.
Token optimization: Before starting, call get_docs_section_tool(section_name="review-pr") for the optimized workflow. 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 build_or_update_graph_tool(base="main") to ensure the graph reflects the current state.
3. Get the full review context by calling get_review_context_tool(base="main"):
- This uses
main(or the specified base branch) as the diff base - Returns all changed files across all commits in the PR
4. Analyze impact by calling get_impact_radius_tool(base="main"):
- Review the blast radius across the entire PR
- Identify high-risk areas (widely depended-upon code)
5. Deep-dive each changed file:
- Read the full source of files with significant changes
- Use
query_graph_tool(pattern="callers_of", target=<func>)for high-risk functions - Use
query_graph_tool(pattern="tests_for", target=<func>)to verify test coverage - Check for breaking changes in public APIs
6. Generate structured review output:
## PR Review: <title>
### Summary
<1-3 sentence overview>
### Risk Assessment
- **Overall risk**: Low / Medium / High
- **Blast radius**: X files, Y functions impacted
- **Test coverage**: N changed functions covered / M total
### 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>
2. <actionable suggestion>Tips
- For large PRs, focus on the highest-impact files first (most dependents)
- Use
semantic_search_nodes_toolto find related code the PR might have missed - Check if renamed/moved functions have updated all callers
Related skills
FAQ
What does review-pr output include?
review-pr outputs a structured code review with blast-radius analysis showing downstream impact of changes. The skill uses the code-review-graph knowledge graph rather than reviewing isolated file diffs alone.
How does review-pr identify changes?
review-pr identifies changes via git diff main against a provided PR number or branch name. When no identifier is given, review-pr auto-detects changes from the current branch before running graph-backed analysis.
Is Review Pr safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.