什么是 search-code?
在 Syncpack 中搜索代码模式。在查找符号、实现或了解代码的使用方式时使用。涵盖 Rust 的 ast-grep 和其他情况的 grep/rg。 来源:jamiemason/syncpack。
在 Syncpack 中搜索代码模式。在查找符号、实现或了解代码的使用方式时使用。涵盖 Rust 的 ast-grep 和其他情况的 grep/rg。
通过命令行快速安装 search-code AI 技能到你的开发环境
来源:jamiemason/syncpack。
Use ast-grep for Rust files — it filters out comments, strings, and docs.
| Rust symbols, patterns, structs | ast-grep | | Multiple file types | grep/rg | | Content in comments intentionally | grep/rg | | Non-Rust files (JSON, MD, TOML) | grep/rg |
| $NAME | Single identifier | | $$$ | Zero or more items (arguments, fields, etc.) | | $ | Any single expression |
在 Syncpack 中搜索代码模式。在查找符号、实现或了解代码的使用方式时使用。涵盖 Rust 的 ast-grep 和其他情况的 grep/rg。 来源:jamiemason/syncpack。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/jamiemason/syncpack --skill search-code在 Syncpack 中搜索代码模式。在查找符号、实现或了解代码的使用方式时使用。涵盖 Rust 的 ast-grep 和其他情况的 grep/rg。 来源:jamiemason/syncpack。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/jamiemason/syncpack --skill search-code 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/jamiemason/syncpack