Глубокий анализ функции и её зависимостей
engineering
tldr-deep is a Claude Code skill that runs a full 5-layer analysis of a specific function to support deep understanding of complex code. It sequences five analysis layers: L1 extracts AST structure with `tldr extract`, L2 builds a call graph at depth 2 via `tldr context`, L3 computes the control flow graph and cyclomatic complexity with `tldr cfg`, L4 traces data flow using `tldr dfg`, and L5 produces a program slice of dependencies via `tldr slice`. All results are consolidated into a single structured report that uses roughly 95% fewer tokens than reading the raw file. The skill is designed for debugging tricky logic, refactoring with full dependency awareness, reviewing complex functions during code review, and identifying performance hot spots flagged by high cyclomatic complexity.
- #code-analysis
- #debugging
- #refactoring
- #function-analysis
- #complexity-analysis
- #code-understanding