Ast Grep

Use this skill for structural code search, analysis, and automated refactoring using AST patterns (via sg/ast-grep). Trigger this whenever the user asks to "find all usages of", "rename this pattern", "refactor all X to Y", "extract all functions that", or "lint for pattern". Prefer this over standard text search (grep) when the task requires understanding code structure, extracting function names/imports, or performing complex codebase-wide migrations.

shalomb Updated 3 repo stars

File contents

shalomb/agent-skills commit 976da9f025

Frequently asked questions

npx get-skill add shalomb/ast-grep