Структурный поиск по кодовой базе через AST
★ 8.0 · engineering
smart-explore is a Claude Code skill that replaces the default Glob → Grep → Read discovery cycle with token-optimized structural search powered by tree-sitter AST parsing. It exposes three MCP tools: smart_search walks a directory and returns ranked symbols with signatures and line numbers in a single call, smart_outline produces a structural skeleton of a file (~1–2k tokens versus ~12k for a full read), and smart_unfold retrieves the complete source of a specific function or method with correctness guaranteed by AST node boundaries. The guiding principle is index first, fetch on demand — build a map of the code before loading implementation details. Designed for engineers who need to navigate large codebases quickly, locate functions by concept, and understand architecture without burning unnecessary context window.
- #ast-parsing
- #code-search
- #structural-analysis
- #tree-sitter
- #token-optimization