Skip to content
Skillpedia
General coding33k · #9138

build-graph

What it does

This skill runs the code-review-graph tool to index a code repository. It is for developers who want the agent to understand their codebase structure before reviewing or searching it.

When to use it

  • ✓When you set up code-review-graph for a repository for the first time.
  • ✓When you switch branches or do a large refactor and the graph may be out of date.
  • ✓When you want to refresh the graph after a set of code changes.

Skill link

https://github.com/tirth8205/code-review-graph/blob/staging/skills/build-graph/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/tirth8205/code-review-graph/blob/staging/skills/build-graph/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you build the code review graph for this repository so we can start reviewing faster?”

5 new skills a week. 1 minute to read.

How it works

The agent checks the graph's status, runs a full build or a quick update, and reports whether the process succeeded.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

Where is the graph stored?

The skill says it is stored in a database file inside the repository's .code-review-graph folder.

Are some files skipped?

Yes. Binary files, dependency folders and patterns in the ignore file are skipped.

Do I need to run it often?

Usually not. The skill says hooks keep the graph updated automatically.

Details

Original description by the author

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

repo: tirth8205/code-review-graph

Popularity

GitHub stars
33k
Ranking position
#9138
License
MIT
Updated
10/29/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills