Codegraph

onsager-ai/dev-skills/skills/codegraph

作者 onsager-ai5b4fb9e877a1995a097f2ed4f523584a9f1f21e6無授權條款收錄於 2026年10月9日更新於 2026年10月9日

Pre-indexed code knowledge graph (MCP, SQLite + tree-sitter) for faster, lower-token exploration of brownfield codebases. Use when starting work on a repo larger than ~500 files or when the task involves cross-file traversal — "where is X used", "what calls Y", "what breaks if I change Z", "trace flow from A to B", "explain this subsystem". Skip for single-file edits or sessions shorter than the cold-start cost. Triggers include "codegraph", "code graph", "index this repo", "where is X defined", "find callers of", "callees of", "blast radius of changing X", "explore this codebase". Cuts the grep + Read loops needed to orient, via O(1) SQLite lookups and FTS5 search over 8 MCP tools — but it's an unsound tree-sitter approximation, so grep stays the completeness backstop for renames/exhaustive callers.

  1. 5b4fb9e877a1995a097f2ed4f523584a9f1f21e6目前提交 5b4fb9e發布於 2026年10月9日

來源與署名

來源:onsager-ai/dev-skills位於skills/codegraph提交5b4fb9e

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架