Loading...
Loading...
Use when exploring or modifying a codebase and you need a cheap structural map of files, directories, imports, exports, or direct members before reading full source.
npx skill4agent add ast-grep/agent-skill ast-grep-outlineast-grep outlineast-grep outline <file>
ast-grep outline <file> --items imports
ast-grep outline <file> --items exportsast-grep outline <dir> --items exports
ast-grep outline <dir> --type struct,enum,functionast-grep outline <file> --match <symbol> --type class --view expandedast-grep outline <dir> --items imports --view signaturesast-grep outline $(git diff --name-only HEAD) --items exports--items <KIND>structureexportsimportsall--view <VIEW>namessignaturesdigestexpanded--match <REGEX>--type <TYPE[,TYPE...]>--type class,functionmethod,field--pub-members--json=streamoutlineast-grep runrgundefined