Agent Skills: ast-grep

Use ast-grep (sg) for AST-aware code search and rewrite across 25 languages. Trigger for structural code matching or deterministic codemods: find every function/call/class/import shaped like X, rewrite console.log to logger.info, strip `as any`, migrate require() to import, find empty catch blocks or missing await, and scan/apply YAML rules. Prefer this over rg/grep when the target is syntax shape rather than text; use rg for string contents, comments, filenames, or regex-style byte searches.

UncategorizedID: code-yeongyu/oh-my-opencode/ast-grep

Repository

code-yeongyuLicense: NOASSERTION
65,4675,341

Install this agent skill to your local

pnpm dlx add-skill https://github.com/code-yeongyu/oh-my-opencode/ast-grep

Skill Files

Browse the full folder contents for ast-grep.

Download Skill

Loading file tree…

Select a file to preview its contents.