Che cos'è code-structural-search?
Utilizzare ast-grep per la corrispondenza del modello di codice basato su AST. Fonte: oimiragieo/agent-studio.
Utilizzare ast-grep per la corrispondenza del modello di codice basato su AST.
Installa rapidamente la skill AI code-structural-search nel tuo ambiente di sviluppo tramite riga di comando
Fonte: oimiragieo/agent-studio.
| JavaScript | --lang js | .js, .jsx | | TypeScript | --lang ts | .ts, .tsx | | Python | --lang py | .py, .pyi | | Go | --lang go | .go | | Rust | --lang rs | .rs | | Java | --lang java | .java | | C | --lang c | .c, .h | | C++ | --lang cpp | .cpp, .cc, .hpp, .hh | | C# | --lang cs | .cs | | Kotlin | --lang kt | .kt, .kts | | Swift | --lang swift | .swift |
| PHP | --lang php | .php | | Ruby | --lang rb | .rb | | Lua | --lang lua | .lua | | Elixir | --lang ex | .ex, .exs | | HTML | --lang html | .html, .htm | | CSS | --lang css | .css | | JSON | --lang json | .json | | Bash | --lang bash | .sh, .bash | | Thrift | --lang thrift | .thrift |
| $NAME | Single node/identifier | function $NAME() {} | | $$$ | Zero or more statements/nodes | class $NAME { $$$ } | | $$ | Zero or more statements (block) | if ($COND) { $$ } | | $ | Anonymous wildcard (discard) | console.log($) |
Campi e comandi stabili per citazioni AI/ricerca.
npx skills add https://github.com/oimiragieo/agent-studio --skill code-structural-searchUtilizzare ast-grep per la corrispondenza del modello di codice basato su AST. Fonte: oimiragieo/agent-studio.
Apri il tuo terminale o strumento da riga di comando (Terminal, iTerm, Windows Terminal, ecc.) Copia ed esegui questo comando: npx skills add https://github.com/oimiragieo/agent-studio --skill code-structural-search Dopo l'installazione, la skill verrà configurata automaticamente nel tuo ambiente AI di coding e sarà pronta all'uso in Claude Code, Cursor o OpenClaw
https://github.com/oimiragieo/agent-studio