review-pr

Review a PR or branch diff using the knowledge graph for full structural context. Outputs a structured review with blast-radius analysis.

INSTALLATION
npx skills add https://github.com/tirth8205/code-review-graph --skill review-pr
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$27

-

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)

-

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

-

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_tool to find related code the PR might have missed
  • Check if renamed/moved functions have updated all callers
BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card