ast-grep とは?
ast-grep (sg) を使用した効果的なコード検索、分析、リファクタリング。このスキルは、AST ベースのコードの正確な変更、構造検索、リンティングに使用します。 ソース: outlinedriven/odin-codex-plugin。
ast-grep (sg) を使用した効果的なコード検索、分析、リファクタリング。このスキルは、AST ベースのコードの正確な変更、構造検索、リンティングに使用します。
コマンドラインで ast-grep AI スキルを開発環境にすばやくインストール
ソース: outlinedriven/odin-codex-plugin。
ast-grep is a fast and polyglot tool for code searching, linting, and rewriting based on Abstract Syntax Trees (AST). It excels at structural search and replace where regex fails.
Understanding Named vs Unnamed nodes and Matching Strictness is crucial for precise patterns.
ast-grep supports complex transformations (regex replace, case conversion) and rewriters for sub-node transformation.
ast-grep (sg) を使用した効果的なコード検索、分析、リファクタリング。このスキルは、AST ベースのコードの正確な変更、構造検索、リンティングに使用します。 ソース: outlinedriven/odin-codex-plugin。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/outlinedriven/odin-codex-plugin --skill ast-grepast-grep (sg) を使用した効果的なコード検索、分析、リファクタリング。このスキルは、AST ベースのコードの正確な変更、構造検索、リンティングに使用します。 ソース: outlinedriven/odin-codex-plugin。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/outlinedriven/odin-codex-plugin --skill ast-grep インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/outlinedriven/odin-codex-plugin