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 从公开仓库中收录这些内容。

举报或申请下架