Skip to main content

ast-grep

Codex built-in skill for structural code search with ast-grep when queries depend on AST shapes, call patterns, decorators, scopes, or required child nodes.

インストールへ移動

ソース情報

リポジトリ
Rycen7822/skill-retrieval-mcp
ソースの最終更新活動
2026年5月10日 17:34
検出された SKILL.md の言語
英語
スター
2
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
ast-grep
description
Codex built-in skill for structural code search with ast-grep when queries depend on AST shapes, call patterns, decorators, scopes, or required child nodes.
tags
["codex-builtin","ast-grep","structural-search","code-search"]
# ast-grep ## When to Use Use when the task needs AST-aware structural search instead of plain text grep, such as finding function definitions, call shapes, imports, decorators, or missing child nodes. ## Do Not Use When Do not use for ordinary keyword, filename, documentation, or broad repository text search. ## Required Inputs Target language, structural pattern, repository path, and a small validation snippet when possible. ## Workflow 1. Narrow the candidate files if the repository is large. 2. Write an ast-grep pattern or rule. 3. Run ast-grep on a small target. 4. Expand only after validating the match shape.
GitHubで見る