moai-tool-ast-grep
✓AST ベースの構造コード検索、セキュリティ スキャン、および ast-grep (sg CLI) を使用したリファクタリング。パターン マッチングとコード変換により 40 以上の言語をサポートします。
SKILL.md
Structural code search, lint, and transformation tool using Abstract Syntax Tree analysis.
AST-Grep (sg) is a fast, polyglot tool for structural code search and transformation. Unlike regex-based search, it understands code syntax and matches patterns based on AST structure.
Pattern search: Execute sg run with pattern option specifying the code pattern to find, lang option for the programming language, and the source directory path.
AST ベースの構造コード検索、セキュリティ スキャン、および ast-grep (sg CLI) を使用したリファクタリング。パターン マッチングとコード変換により 40 以上の言語をサポートします。 ソース: modu-ai/cc-plugins。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/modu-ai/cc-plugins --skill moai-tool-ast-grep- カテゴリ
- !セキュリティ
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
moai-tool-ast-grep とは?
AST ベースの構造コード検索、セキュリティ スキャン、および ast-grep (sg CLI) を使用したリファクタリング。パターン マッチングとコード変換により 40 以上の言語をサポートします。 ソース: modu-ai/cc-plugins。
moai-tool-ast-grep のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/modu-ai/cc-plugins --skill moai-tool-ast-grep インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/modu-ai/cc-plugins
詳細
- カテゴリ
- !セキュリティ
- ソース
- skills.sh
- 初回登録
- 2026-02-01