Глубокий анализ кодовой базы с экономией токенов

engineering

tldr-code is a Claude Code skill that analyzes codebases through a 5-layer stack — AST, Call Graph, CFG, DFG, and PDG — achieving up to 95% token savings compared to raw file reads: roughly 1,200 tokens instead of 23,000. It exposes over 15 CLI commands covering text and semantic search, cyclomatic complexity via control-flow graphs, variable tracking via data-flow graphs, reverse call lookups (who calls a given function), dead code detection, architectural layer inference, and circular dependency analysis. Additional capabilities include import parsing, type checking with linting, git-diff-based affected-test discovery, and a background daemon that holds indexes in memory for faster repeated queries. It suits engineers doing refactoring, debugging, architecture review, or onboarding to an unfamiliar project without reading every source file.