Macro-to-Micro Codebase Tracing (/trace)
When invoked, load and execute the macro-to-micro skill:
- Follow all instructions and guidelines in
macro-to-micro. - Follow the 3-tier articulation chain: Macro (Codemap file graph) -> Meso (LSP symbol graph) -> Micro (AST-grep syntax tree).
- Identify hub files and dependency blast radius with Codemap before editing.
- Trace call chains and data flow with LSP (
lsp reference,lsp definition,lsp outline). - Perform surgical syntax-aware transformations using AST-grep (
sg run).