Skip to content
Back to skills

Build Graph

ASecurity

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

  • 32,730 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 26, 2026
developmentcode-reviewdatabase

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add tirth8205/code-review-graph --skill build-graph --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build Graph?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build Graph
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tirth8205-build-graph/badge)](https://www.skillsdirectory.com/skills/tirth8205-build-graph)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: build-graph
description: Build or update the code review knowledge graph. Run this first to initialise, or let hooks keep it updated automatically.
argument-hint: "[full]"
---

# 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`. `contended` means another build of this repository is running; retry once it finishes.

## 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, before each commit and after a branch switch, merge or rebase, 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")`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.