Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →

tirth8205/code-review-graph

7 skills6.2k installs200k starsGitHub

Install

npx skills add https://github.com/tirth8205/code-review-graph

Skills in this repo

1Build Graphbuild-graph from tirth8205/code-review-graph initializes or updates the persistent code knowledge graph backing intelligent code reviews. The workflow checks graph status with list_graph_stats_tool, performs a full build when last_updated is null via build_or_update_graph_tool(full_rebuild=True), or runs incremental updates on existing graphs. Hooks can keep the graph current automatically between reviews. Developers run build-graph first on a new repository or pass a full argument to force rebuild when review context is stale or incomplete.1kinstalls2Review Deltareview-delta is a skill from the code-review-graph project that reviews only changes since the last commit instead of entire repositories. It calls build_or_update_graph_tool for incremental graph updates, then get_review_context_tool to fetch changed nodes plus 2-hop neighbors for blast-radius analysis. Developers reach for it when they need thorough review feedback without blowing token budgets on unchanged files. The skill accepts an optional file or function name argument and loads an optimized workflow via get_docs_section_tool before starting.972installs3Review Prreview-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.964installs4Explore Codebaseexplore codebase is a code-review-graph companion skill that walks agents through knowledge-graph exploration of an unfamiliar or complex repository. It prescribes MCP tool calls including list_graph_stats, get_architecture_overview_tool, list_communities_tool, semantic_search_nodes_tool, query_graph_tool for callers_of and callees_of, and list_flows with get_flow for execution paths. Developers reach for explore codebase when onboarding to a large monorepo, tracing dependencies, or locating functions and classes before a refactor or review. The skill depends on a pre-built code-review-graph index rather than raw grep alone.831installs5Refactor SafelyRefactor Safely is a skill in tirth8205/code-review-graph that wires agents to dependency-analysis graph tools for low-surprise refactors. The workflow starts with get_minimal_context, then runs refactor_tool in suggest, dead_code, or rename modes to surface community suggestions, unreferenced code, and full edit lists before any write. apply_refactor_tool commits renames by refactor_id, and detect_changes_tool validates post-change impact alongside get_impact_radius_tool and get_affected_flows_tool. Token-efficiency rules target completing review or refactor tasks in five or fewer tool calls and under 800 output tokens using detail_level minimal. Reach for Refactor Safely when renaming across packages, pruning dead paths, or decomposing large functions where grep alone misses cross-file callers. Refactor Safely pairs with get_impact_radius_tool before major structural changes and find_large_functions to locate decomposition targets. Safety checks insist on preview-before-apply for every rename so agents never commit blind cross-package edits that break critical flows surfaced by get_affected_flows_tool.807installs6Review Changesreview changes is a Claude Code skill from tirth8205/code-review-graph that performs structured, risk-aware code reviews using a repository knowledge graph. The workflow runs detect_changes_tool for risk-scored diffs, get_affected_flows_tool for impacted execution paths, query_graph_tool with pattern tests_for to verify test coverage on high-risk functions, and get_impact_radius_tool for blast-radius analysis. Output groups findings by high, medium, and low risk with change rationale, coverage gaps, and suggested test cases for untested edits. Developers reach for review changes before merging PRs when they need graph-backed impact analysis beyond line-by-line diff comments.779installs7Debug Issuedebug issue is a graph-powered debugging skill from tirth8205/code-review-graph that replaces ad-hoc file grepping with structured navigation through a codebase knowledge graph. The workflow starts with semantic_search_nodes_tool to locate related code, then uses query_graph_tool with callers_of and callees_of, get_flow for execution paths, detect_changes_tool for recent regressions, and get_impact_radius_tool on suspected files. Developers reach for debug issue when a bug spans multiple modules in a large repository and they need caller-callee context, full flow traces, and blast-radius analysis before applying a fix.771installs

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.