Граф знаний кода репозитория
★ 7.2 · engineering
build-graph is a Claude Code skill that builds and maintains a persistent code knowledge graph for repository analysis and code review. It calls two MCP tools — `build_or_update_graph_tool` and `list_graph_stats_tool` — performing a full rebuild (`full_rebuild=True`) on first run and incremental updates on subsequent calls. The graph is stored as a SQLite database at `.code-review-graph/graph.db` in the repository root; each verification step reports the number of parsed files, nodes, edges, detected languages, and any errors. Supported languages include Python, TypeScript/JavaScript, Vue, Go, Rust, Java, Scala, C#, Ruby, Kotlin, Swift, PHP, Solidity, and C/C++. Manual execution is needed during initial setup, after major refactoring, or after branch switches — otherwise the graph stays current automatically via edit and commit hooks.
- #code-analysis
- #knowledge-graph
- #ast-parsing
- #repository-indexing
- #refactoring