ast-grep
关于 ast-grep
使用 AST 模式搜索和重写代码。当查找代码模式、大规模重构或检测代码库中的反模式时使用。
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / knoopx/ pi --skill ast-grep安装后在 Claude Code 中输入/ast-grep确认已加载。
附带文件references/refactoring-examples.md
评论
支持 Markdown