This is a code review workflow that only looks at what changed since your last commit, plus everything those changes might break. It uses a code graph to trace dependencies and find the blast radius automatically, so you're not burning tokens on unrelated files. You get changed functions, their callers, inheritance chains, and test coverage gaps all in one context window. Useful when you want a review of your branch but don't want to feed your entire codebase into the model. The token savings are real, it just depends on having git history and building that graph first.

skills.sh installs
1.2K
GitHub stars
32.7K
last updated
Aug 21, 2026

Install

$ npx -y skills add tirth8205/code-review-graph --skill review-delta --agent claude-code

Installs into .claude/skills of the current project.

Files

Review Delta

Review only the changed code and its blast radius.

Steps

  1. Call get_minimal_context_tool(task="review changes"). If it returns status: not_ready, call build_or_update_graph_tool() and continue.
  2. Call detect_changes_tool(detail_level="minimal") for risk-scored changed functions, test gaps and affected flows. Changes come from git diff against HEAD~1; if the argument names a file, pass it in changed_files.
  3. Call get_review_context_tool() (standard detail: minimal returns no source and no review_guidance) when you need source snippets for the changed areas and review_guidance (untested functions, wide blast radius, inheritance changes).
  4. For each untested high-risk function, confirm with query_graph_tool(pattern="tests_for", target="<function>").
  5. 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

Sponsors

Details

Repository
github.com/tirth8205/code-review-graph
Categories
Git & Pull Requests, Code Review & Quality
First seen
Jun 3, 2026

More from tirth8205/code-review-graph

All 7
1remotion-dev avatarpr-nameremotion-dev/remotionReview or correct a Remotion pull request title1.1Kskills.sh installs
2jnmetacode avatarchinese-git-workflowjnmetacode/superpowers-zh国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。979skills.sh installs
3marcelorodrigo avatarconventional-commitmarcelorodrigo/agent-skillsCreate conventional commit messages following best conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows co962skills.sh installs
4asyrafhussin avatargit-workflowasyrafhussin/agent-skillsGit best practices, branching strategies, commit conventions, and PR workflows. Use when reviewing git history, writing commits, setting up branching strategy, 890skills.sh installs
5github avatargithub-releasegithub/awesome-copilotGuides IA through releasing a new version of a GitHub library end-to-end. Handles SemVer versioning and Keep a Changelog formatting automatically.790skills.sh installs
6google-labs-code avatarautomate-github-issuesgoogle-labs-code/jules-skillsSet up automated GitHub issue triage and resolution using parallel Jules coding agents759skills.sh installs