ast-grep-code-search

Performs structural code search and refactoring using AST-based patterns. Use when searching for code patterns, refactoring code structurally, finding function calls, class definitions, or when the user mentions "ast-grep", "structural search", "code pattern", or needs to find/replace code that's difficult with regex.

$ 安裝

git clone https://github.com/biwsantang/dotfiles /tmp/dotfiles && cp -r /tmp/dotfiles/claude/.claude/skills/ast-grep ~/.claude/skills/dotfiles

// tip: Run this command in your terminal to install the skill