3 ms·
I suspect, but will probably never find the time to try, that you could build an AST from the source, discard the bits that are just the internals of functions
by onion2k 1y ago
I suspect, but will probably never find the time to try, that you could build an AST from the source, discard the bits that are just the internals of functions and methods, and then turn what remains back into something an LLM could use.
- dean0x 1y agojust plug this in to your CLAUDE.md or AGENTS.md ;) ## Codebase Analysis **Before analyzing unfamiliar codebases**, use skim for efficient context: ```bash # Get architectural overview (60% reduction) skim src/ --mode structure # Get API surface (88% reduction) skim src/ --mode signatures # Get type system (91% reduction) skim src/ --mode types When to use: - First time exploring a repository - Understanding service architecture - Mapping API boundaries - Analyzing type relationships Install: npm install -g rskim or cargo install rskim