MCPInstall

build-graph

Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.

Installs
1.3K
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/tirth8205/code-review-graph --skill build-graph
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads build-graph automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Build Graph

Build or incrementally update the knowledge graph for this repository.

Steps

  1. Call list_graph_stats_tool. If last_updated is null, the graph has never been built.
  2. For a first build, or when the argument is full, call build_or_update_graph_tool(full_rebuild=True). Otherwise call build_or_update_graph_tool() for an incremental update.
  3. Report the response: status (ok, partial or error) and summary.

When to Use

  • First set-up of a repository, or after a branch switch or large refactor.
  • When the graph looks stale. Hooks installed by code-review-graph install run an update after each edit and before each commit, so manual builds are rarely needed.

Notes

  • The database is .code-review-graph/graph.db in the repository root.
  • Binary files, dependency and build directories, and patterns in .code-review-graphignore are skipped.
  • For the list of supported languages call get_docs_section_tool(section_name="languages").

FAQ

What does the build-graph skill do?

Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.

How do I install build-graph?

Run npx skills add https://github.com/tirth8205/code-review-graph --skill build-graph in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/build-graph/ (personal) or .claude/skills/build-graph/ (project).

Which AI agents can use build-graph?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is build-graph safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains build-graph?

It is published by tirth8205 in tirth8205/code-review-graph. It has 1,267 recorded installs.

More from tirth8205/code-review-graph

View all →

review-delta

tirth8205/code-review-graph

Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.

review-pr

tirth8205/code-review-graph

Review a PR or branch diff using the knowledge graph for full structural context. Outputs a structured review with blast-radius analysis.

explore codebase

tirth8205/code-review-graph

Navigate and understand codebase structure using the knowledge graph

refactor safely

tirth8205/code-review-graph

Plan and execute safe refactoring using dependency analysis

review changes

tirth8205/code-review-graph

Perform a structured code review using change detection and impact

debug issue

tirth8205/code-review-graph

Systematically debug issues using graph-powered code navigation

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.