ast-grep Code Search

ast-grep/agent-skill

Turn a code search request into an ast-grep pattern or rule, test it against an example, and search the project.

内容更新日:

所属コレクションast-grep Agent Skills ↗
GitHub で見る
npx skills add ast-grep/agent-skill
904スター37フォークリポジトリの最終プッシュ

このスキルについて

Build syntax-aware searches from examples using ast-grep patterns and YAML rules, then inspect matches with paths and line numbers. The Skill includes a rule reference and guidance for debugging zero matches.

おすすめする理由

Includes guidance for rule syntax, debugging and interpreting results.

役立つこと

  • Find a function call within a particular syntactic context across a codebase.

使う前に

  • The separately installed ast-grep CLI and source code in a supported language.

資料・参照元

元の資料は以下のリンクから確認できます。実践のヒントは SkillHey による編集上の提案です。