关于
The AST-Grep Structural Search skill empowers Claude to perform code searches and transformations based on Abstract Syntax Tree (AST) patterns rather than simple text strings. This approach allows for highly accurate matching that ignores whitespace and formatting differences, making it ideal for large-scale migrations, identifying anti-patterns, and performing complex code rewrites. By providing domain-specific knowledge of ast-grep's CLI syntax and metavariable patterns, this skill ensures reliable codebase analysis and refactoring for languages including JavaScript, Python, Go, and Rust.