---
name: semantic-chunk-pruner
description: Slice exact code symbols, type definitions, and AST subgraphs instead of reading entire files into context.
---

# Semantic Chunk Pruner Skill

Minimize token usage when viewing code by fetching exact functions, classes, or AST subgraphs instead of entire source files.

## Protocol
1. **Targeted Reading:** Use line ranges or AST tools (`graphify` / `ast-grep`) to view only relevant target symbols.
2. **Avoid Full-File Reads:** Never load 500+ line files into context when only a single function signature or class structure is needed.
3. **Symbol Isolation:** Inspect object signatures and interfaces before reading full method bodies.
