About review-delta
A skill for reviewing changed code and its blast radius using a repository graph. It guides agents to identify risk-scored changes, test gaps, affected flows, and concise review findings.
Key features
- 01Analyze changes against HEAD~1
- 02Identify risk-scored changed functions
- 03Find test gaps and affected flows
- 04Retrieve focused review context
- 05Report risks and impacted code
Use cases
- 01Review a recent commit’s changed code
- 02Check tests for high-risk functions
- 03Assess the impact of a file-level change
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ tirth8205/ code-review-graph --skill review-deltaAfter installing, type/review-deltain Claude Code to confirm it loaded.
Details
From the project READMEReview Delta
Review only the changed code and its blast radius.
Steps
- Call
get_minimal_context_tool(task="review changes"). If it returnsstatus: not_ready, callbuild_or_update_graph_tool()and continue. - Call
detect_changes_tool(detail_level="minimal")for risk-scored changed functions, test gaps and affected flows. Changes come fromgit diffagainstHEAD~1; if the argument names a file, pass it inchanged_files. - Call
get_review_context_tool(detail_level="minimal")when you need source snippets for the changed areas andreview_guidance(untested functions, wide blast radius, inheritance changes). - For each untested high-risk function, confirm with
query_graph_tool(pattern="tests_for", target="<function>"). - Use
detail_level="standard"only for a high-risk item the minimal output leaves unclear. Do not load whole files unless a snippet is not enough.
Report
- Summary: one line
- Risk: low, medium or high, from the blast radius
- Issues: bugs, missing tests, style
- Blast radius: impacted files and functions
- Recommendations
Comments
Markdown supported