tldr-deep

Solid

Run full 5-layer analysis (AST, call graph, CFG, DFG, slice) on a specific function for deep debugging or understanding.

AI & Automation 552 stars 45 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
91
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# TLDR Deep Analysis Full 5-layer analysis of a specific function. Use when debugging or deeply understanding code. ## Trigger - `/tldr-deep <function_name>` - "analyze function X in detail" - "I need to deeply understand how Y works" - Debugging complex functions ## Layers | Layer | Purpose | Command | |-------|---------|---------| | L1: AST | Structure | `tldr extract <file>` | | L2: Call Graph | Navigation | `tldr context <func> --depth 2` | | L3: CFG | Complexity | `tldr cfg <file> <func>` | | L4: DFG | Data flow | `tldr dfg <file> <func>` | | L5: Slice | Dependencies | `tldr slice <file> <func> <line>` | ## Execution Given a function name, run all layers: ```bash # First find the file tldr search "def <function_name>" . # Then run each layer tldr extract <found_file> # L1: Full file structure tldr context <function_name> --project . --depth 2 # L2: Call graph tldr cfg <found_file> <function_name> # L3: Control flow tldr dfg <found_file> <function_name> # L4: Data flow tldr slice <found_file> <function_name> <target_line> # L5: Slice ``` ## Output Format ``` ## Deep Analysis: {function_name} ### L1: Structure (AST) File: {file_path} Signature: {signature} Docstring: {docstring} ### L2: Call Graph Calls: {list of functions this calls} Called by: {list of functions that call this} ### L3: Control Flow (CFG) Blocks: {N} Cyclomatic Complexity: {M} [Hot if M > 10] Branches: - if: line X -...

Details

Author
vibeeval
Repository
vibeeval/vibecosystem
Created
8 months ago
Last Updated
6 days ago
Language
C#
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category