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.

Conteúdo atualizado:

Ver no GitHub
npx skills add ast-grep/agent-skill
904Estrelas37ForksÚltimo push do repositório

Sobre este Skill

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.

Por que escolhemos

Includes guidance for rule syntax, debugging and interpreting results.

No que ajuda

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

Antes de usar

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

Fontes e referências

As fontes originais estão nos links abaixo. As sugestões práticas são recomendações editoriais do SkillHey.