什麼是 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