Find code by structure, not just text.
code search
Translate natural-language code-search requests into tested ast-grep rules and structural searches.
When to use it
Use it for structural code searches, specific language constructs, AST characteristics, or complex queries beyond traditional text search.
Give it a structural code-search pattern and programming language in a project; it returns a tested ast-grep rule or search command and matches.
What you provide
This skill
a temporary file
Saves example code temporarily
ast-grep
Ast-grep searches
The ast-grep CLI must be available to test rules and search the codebase.