ast-grep
Searches and rewrites code using abstract syntax tree (AST) patterns across 25 programming languages, focusing on structural code analysis rather than text-based searches.
What it does
Searches and rewrites code by AST shape across 25 languages. Use when the target is a syntax pattern (every call/class/import shaped like X, a codemod, a YAML rule) rather than literal text; for plain strings, comments, or filenames, use rg.
Quality judgment
An exceptionally complete skill: crisp trigger description, explicit when-not-to-use guidance, a decision tree, concrete gotchas (regex misuse, --update-all/--json conflict, shell quoting), a dry-run-first invariant, and a prioritized reading list with a helper script and debugging workflow. Only minor deductions for heavy reliance on referenced files whose quality is unverifiable and some environment-specific claims (OmO MCP tools) that may not generalize.