πŸ•ΈοΈ
QualityPython

Build Graph

by tirth8205

Build Graph is a Quality skill for Claude Code, published by tirth8205 in code-review-graph.

30K stars2.8K forkson tirth8205/code-review-graphAdded 2026/08/14Repository updated 2026/08/02
ai-codingclaudeclaude-codecode-reviewgraphragincrementalknowledge-graphllmmcppythonstatic-analysistree-sitter
Install in seconds
Install Build Graph
Copy Build Graph into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/tirth8205/code-review-graph/tree/main/skills/build-graph ~/.claude/skills/build-graph

Requires Node.js. Downloads this skill only β€” not the rest of the repository β€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/tirth8205/code-review-graph.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/build-graph/SKILL.md in tirth8205/code-review-graph
Installs to
~/.claude/skills/build-graph
Collection
One of 7 skills cataloged from this repository
Category
Quality β€” 1354 skills

What Build Graph does

Build Graph initializes or incrementally updates a persistent code review knowledge graph for a repository via MCP tools. Use it for first-time setup, after major refactoring, or when the graph is stale; hooks normally keep it updated automatically.

Build Graph is cataloged under Quality on DirSkills. Build Graph comes from a repository tagged ai-coding, claude, claude-code, code-review and graphrag.

Documentation

README

Build Graph

Build or incrementally update the persistent code knowledge graph for this repository.

Steps

  1. Check graph status by calling the list_graph_stats_tool MCP tool.

    • If the graph has never been built (last_updated is null), proceed with a full build.
    • If the graph exists, proceed with an incremental update.
  2. Build the graph by calling the build_or_update_graph_tool MCP tool:

    • For first-time setup: build_or_update_graph_tool(full_rebuild=True)
    • For updates: build_or_update_graph_tool() (incremental by default)
  3. Verify by calling list_graph_stats_tool again and report the results:

    • Number of files parsed
    • Number of nodes and edges created
    • Languages detected
    • Any errors encountered

When to Use

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Build Graph

  • What else does tirth8205 publish alongside Build Graph?

    Build Graph is one of 7 skills that DirSkills catalogs from tirth8205/code-review-graph, the repository it ships in. Its siblings there include Debug Issue, Explore Codebase and Refactor Safely. Each one is a separate skill with its own page in this directory, installs the same way Build Graph does, and is maintained by tirth8205 in that same repository. The rest of the collection is listed on the tirth8205/code-review-graph page.

  • How does Build Graph compare to other Quality skills?

    Build Graph ranks #95 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Build Graph against them. Open each page to compare what they document and how they install.

More from tirth8205/code-review-graph

Build Graph is one of 7 skills cataloged on DirSkills from tirth8205/code-review-graph.

See all 7 skills β†’
🐞
2w ago

Debug Issue

Debug Issue traces bugs through a code knowledge graph so developers can isolate root causes faster. Use it when investigating regressions, analyzing call paths, or checking recent changes.
Quality
30K2.8K
πŸ”Ž
2w ago

Explore Codebase

Explore Codebase uses knowledge graph tools to navigate and understand codebase structure, trace relationships, and find execution paths. Use it for code review, debugging, and refactoring with minimal context.
Quality
30K2.8K
πŸ”§
2w ago

Refactor Safely

Refactor Safely plans and executes code refactoring using dependency analysis from a knowledge graph. It helps developers safely rename symbols, remove dead code, and verify refactoring impact before and after applying changes.
Quality
30K2.8K
πŸ”
2w ago

Review Changes

Review Changes performs a structured, risk-aware code review using change detection and impact analysis from a knowledge graph. It identifies risk levels, affected execution paths, test coverage gaps, and provides a merge recommendation.
Quality
30K2.8K
πŸ”
2w ago

Review Delta

Review Delta reviews only changes since the last commit using graph impact analysis, automatically detecting blast radius. Use it for token-efficient code review when you need to focus on changed code and its affected dependents.
Quality
30K2.8K
πŸ”
2w ago

Review PR

Review PR performs a comprehensive code review of a pull request or branch diff using a knowledge graph for structural context and blast-radius impact analysis. Use it to assess risk, check test coverage, and produce a structured file-by-file review.
Quality
30K2.8K