build-graph
Installation
SKILL.md
Build Graph
Build or incrementally update the persistent code knowledge graph for the current repository.
Core Rules
- Start with
get_minimal_context_tool(task="build graph")when available. - Use
build_or_update_graph_tool()for normal updates. - Use
build_or_update_graph_tool(full_rebuild=True)for first setup, branch switches, parser failures, or obviously stale graph state. - Verify with
list_graph_stats_tool()after building. - If graph tools are unavailable, do not block the parent workflow. Report the missing graph and continue with manual repo inspection.
Workflow
- Check graph status with
list_graph_stats_tool(). - If the graph has no files, nodes, edges, or last update, run a full build.
- Otherwise run an incremental update.
- Verify files, nodes, edges, languages, and update time.
- Report build status and any parse or language coverage gaps.