Skip to main content

ast-grep

星标9
分支1
更新时间2026年5月12日 12:11

Translates natural language queries into ast-grep YAML rules for structural code search using Abstract Syntax Tree (AST) patterns. Use when asked to "find code patterns", "search for specific language constructs", "AST search", "structural search", "ast-grepで検索", "コードパターンを探して", "構造的に検索して", or when text-based grep is insufficient for matching code structure (e.g., "find all async functions that don't handle errors", "find all calls to X inside class Y").

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
3 个文件
SKILL.md
readonly