review-delta
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
By tirth8205 · 1,088 installs
npx skills add tirth8205/code-review-graph --skill review-delta
Source repository · Upstream listing
Review Delta
Perform a focused, token efficient code review of only the changed code and its blast radius.
Token optimization: Before starting, call get docs section tool(section name="review delta") for the optimized workflow. Use ONLY changed nodes + 2 hop neighbors in context.
Steps
1. Ensure the graph is current by calling build or update graph tool() (incremental update).
2. Get review context by calling get review context tool() . This returns:
Changed files (auto detected from git diff)
Impacted nodes and files (blast radius)
Source code snippets for changed areas
Review guidance (test coverage gaps, wide impact warnings, inheritance concerns)
3. Analyze the blast radius by reviewing the impacted nodes and impacted files in the context. Focus on:
Functions whose callers changed (may need signature/behavior verification)
Classes with inheritance changes (Liskov substitution concerns)
Files with many dependents (high risk changes)
4. Perform the review using the context. For each changed file:
Review the source snippet for correctness, style, and potential bugs
Check if impacted callers/dependents need updates
Verify test coverage using query graph tool(pattern="tests for", target=<function name )
Flag any untested changed functions
5. Report findings in a structured format:
Summary : One line overview of the changes
Risk level : Low / Medium / High (based on blast radius)
Issues found : Bugs, style issues, missing tests
Blast radius : List of impacted files/functions
Recommendations : Actionable suggestions
Advantages Over Full Repo Review
Only sends changed + impacted code to the model (5 10x fewer tokens)
Automatically identifies blast radius without manual file searching
Provides structural context (who calls what, inheritance chains)
Flags untested functions automatically