Code Knowledge Graph & Dependency Analyzer
Builds and queries an AST-based knowledge graph for deep dependency analysis, symbol tracing, and architecture mapping.
The ln-021-codegraph skill transforms complex codebases into a queryable knowledge graph using tree-sitter AST parsing and SQLite. It enables developers to perform high-precision semantic searches, trace call flows, analyze dataflow propagation, and assess the impact of API changes. This skill is essential for developers onboarding onto unfamiliar projects, performing large-scale refactors, or auditing workspace health for circular dependencies and duplicate code across multiple languages including TypeScript, Python, and C#.
主要功能
01Multi-language AST-based indexing for precise symbol and reference tracking
02489 GitHub stars
03Deep call flow and dataflow tracing to understand complex execution paths
04Workspace auditing for hotspots, duplicate code, and unused exports
05Automated architecture analysis and circular dependency detection
06API impact assessment to predict side effects of code changes
使用场景
01Identifying the blast radius of a breaking change in an API route or shared interface
02Safely refactoring core functions by analyzing all cross-references and implementation overrides
03Rapidly onboarding onto a legacy or large-scale codebase by generating an architecture overview