build-graph
Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.
Navigate and understand codebase structure using the knowledge graph
Claude Code
$ npx -y skills add tirth8205/code-review-graph --skill explore-codebase --agent claude-code
Codex
$ npx skills add tirth8205/code-review-graph --skill explore-codebase -a codex -y
Cursor
$ npx skills add tirth8205/code-review-graph --skill explore-codebase -a cursor -y
Gemini CLI
$ npx skills add tirth8205/code-review-graph --skill explore-codebase -a gemini-cli -y
GitHub Copilot
$ npx skills add tirth8205/code-review-graph --skill explore-codebase -a github-copilot -y
OpenCode
$ npx skills add tirth8205/code-review-graph --skill explore-codebase -a opencode -y
Windsurf
$ npx skills add tirth8205/code-review-graph --skill explore-codebase -a windsurf -y
name: explore-codebase description: Navigate and understand codebase structure using the knowledge graph
Use the code-review-graph MCP tools to find your way around the codebase.
1. Call `get_architecture_overview_tool` for the community structure. Call `list_communities_tool`, then `get_community_tool`, only for the modules you need. 2. Call `semantic_search_nodes_tool` to find a function or class by name or keyword. Pass `include_source=True, expand_neighbors=True` to get the code of the hits and their direct callers and callees, so you need not open the files. 3. Call `query_graph_tool` with `callers_of`, `callees_of` or `imports_of` to trace relationships. `children_of` on a file lists its functions and classes, and `path_to` with `to` shows how one symbol reaches another. 4. Call `list_flows_tool`, then `get_flow_tool` for one flow, to follow an execution path. 5. Call `find_large_functions_tool` to find oversized functions. 6. Call `list_graph_stats_tool` only when you need node, edge and language counts.
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.
Perform a structured code review using change detection and impact
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
Review a PR or branch diff using the knowledge graph for full structural context. Outputs a structured review with blast-radius…
Performs AI-powered code review on Git changes using the `ocr` CLI from alibaba/open-code-review. Use when the user asks to…
Address all valid review comments on a PR for the current branch in the streamlit/streamlit repo. Covers both inline review…
Maps the `hunkdiff/extension` authoring surface for Hunk, the terminal diff viewer — hiding or reordering reviewed files, docked…