ワンクリックで
structural-search
Use structural code search and rewrite tools (ast-grep, comby, tree-sitter) for code analysis and refactoring
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use structural code search and rewrite tools (ast-grep, comby, tree-sitter) for code analysis and refactoring
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | structural-search |
| description | Use structural code search and rewrite tools (ast-grep, comby, tree-sitter) for code analysis and refactoring |
Language-aware structural search/replace using AST patterns.
sg --pattern 'console.log($$$ARGS)' --lang js — find all console.log callssg --pattern '$FUNC($$$ARGS)' --rewrite 'newFunc($$$ARGS)' --lang py — rename function callsLanguage-aware structural search/replace with simple hole-matching syntax.
comby ':[fn](:[args])' 'new_:[fn](:[args])' .py — rename function callscomby 'if :[cond] { :[body] }' 'when :[cond] { :[body] }' .rs — syntax migrationDump/inspect the AST of a file to understand its structure.
tree-sitter parse file.py — show full ASTThis skill should be used when the user wants to serve a file, directory, or git diff over Tailscale HTTPS. Triggers on "serve on tailscale", "share via tailscale", "tailscale-serve", "tailscale serve file", "serve diff on tailscale", or /tailscale-serve.
Manage git worktrees with worktrunk (`wt`) -- create, switch, list, merge, remove, and fan out parallel agents into isolated worktrees. Use when the user says "make/create a worktree", "use worktrunk", "wt switch", "new isolated checkout", "open a separate worktree", "list/remove/clean up worktrees", "spin up an agent on a branch / in a worktree", "checkout PR in a worktree", "fan out agents", or wants to run multiple Claude/Codex sessions in parallel on the same repo.
Generate a Brazilian PIX BR Code (EMV) — produces both the Copia e Cola string and a scannable QR PNG. Use when the user wants to create a PIX payment QR, "gere um QR pra esse PIX", "make a PIX QR code", or shares chave + valor and asks for a QR. Supports CPF, CNPJ, email, phone (E.164 or BR-format), and aleatória UUID keys. Amount is optional — omit for payer-fills mode.
Reference for diagram-as-code tools (D2, Mermaid, Graphviz/DOT, Structurizr DSL, PlantUML) and the Kroki HTTP rendering gateway. Use when generating architecture diagrams, flowcharts, sequence diagrams, ER diagrams, C4 models, or graph visualizations.
Get quick code statistics and project overview using tokei or scc
Use a custom direnv `layout_uv()` helper for uv workspaces instead of `source .venv/bin/activate`