Searching Code Structures

Use ast-grep CLI tool for syntax-aware code searching, pattern matching, refactoring, and creating custom linting rules. Invoke when users request to "find code patterns", "search for functions that...", "refactor all X to Y", "replace code structures", ask about AST structure, or explicitly mention ast-grep. Handles complex structural searches beyond simple text matching (e.g., "find all async functions without error handling", "replace callback patterns with promises").

dallascrilley Updated 0 repo stars

File contents

dallascrilley/dowser commit 6ed9a53b29

Frequently asked questions

npx get-skill add dallascrilley/searching-code-structures