About this Skill
Use ast-grep for structural code search and compact source outlines.
Why we picked it
Two related workflows for searching syntax patterns and navigating code structure.
Skills in this collection
2 skills- View →
ast-grep Code Search
Turn a code search request into an ast-grep pattern or rule, test it against an example, and search the project.
- View →
ast-grep Outline
Map file and directory structure, imports, exports and direct members with ast-grep outline.
Before you use it
- Install the ast-grep CLI separately and provide a project in a supported language. Outline requires a CLI version that supports the outline command.
Sources & references
Original sources are linked below. Practical starting points are editorial suggestions from SkillHey.