LeanKG transforms your source code into a queryable knowledge graph, enabling Claude to perform deep codebase exploration with structural awareness. Instead of relying on simple text searches, this skill allows for precise function location, dependency tracing, and impact radius calculation. It is specifically designed to help developers understand complex architectures, map out call chains, and evaluate the blast radius of changes without the high token costs associated with reading entire files or manual grepping.
主な機能
01Comprehensive dependency and call chain mapping
02Graph-based indexing for structural codebase understanding
03Automatic re-indexing based on git commit history
04Smart search for functions, files, and code elements
05196 GitHub stars
06Automated impact radius and blast radius calculation
ユースケース
01Performing impact analysis to see how a code change affects downstream modules
02Onboarding to a large repository by tracing function calls and file dependencies
03Optimizing LLM token usage by retrieving specific code context via graph queries