Structural code search and rewriting using AST patterns. Use when user mentions "ast-grep", "sg", or needs to search codebases using Abstract Syntax Tree patterns, find specific code structures, perform complex queries beyond text search, or rewrite code at scale. Triggers on requests for pattern matching, code analysis, linting rules, or automated refactoring.
$npx -y skills add and3r817/dot-claude-plugins --skill ast-grepInstalls into the current project.
Run `npx skills use "https://github.com/and3r817/dot-claude-plugins" --skill "and3r817/dot-claude-plugins/ast-grep"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/and3r817/dot-claude-plugins" that are relevant to the current task. Run `npx skills add "https://github.com/and3r817/dot-claude-plugins"` and select the relevant skills, then follow their instructions.