Skip to main content
Run any Skill in Manus
with one click

ast-grep

AST-based code search, lint, and rewrite using ast-grep. Use when finding code patterns structurally (not textually), writing lint rules, building codemods, or migrating API usage across a codebase. Prefer over regex grep when the match target is a syntactic construct (function call, import, class field, assignment).

Overview

AST-based code search, lint, and rewrite using ast-grep. Use when finding code patterns structurally (not textually), writing lint rules, building codemods, or migrating API usage across a codebase. Prefer over regex grep when the match target is a syntactic construct (function call, import, class field, assignment).

Install command
npx skills add https://github.com/damusix/skills --skill ast-grep

Copy and paste this command into Claude Code to install the skill

Stars51
Forks3
UpdatedMay 26, 2026 at 08:26
File Explorer
7 files
SKILL.md
readonly