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.

Contenido actualizado:

Ver en GitHub
npx skills add ast-grep/agent-skill
904Estrellas37ForksÚltimo push del repositorio

Acerca de 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 qué lo elegimos

Includes guidance for rule syntax, debugging and interpreting results.

Para qué sirve

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

Antes de usarlo

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

Fuentes y referencias

Las fuentes originales se enlazan a continuación. Los puntos de partida prácticos son sugerencias editoriales de SkillHey.