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

ast-grep

Stars2
Forks0
UpdatedJuly 9, 2026 at 19:54

Author, test, and maintain ast-grep rules and project lint gates: rule YAML capabilities, test-first authoring, suppression semantics, exit-code gating, pattern pitfalls, and version pinning. Use when writing or debugging ast-grep rules, wiring sgconfig/scan into pre-commit or CI, banning or enforcing a code pattern repo-wide (custom lint rules, even when the user never says "ast-grep"), or doing structural search/replace beyond a one-line pattern. Not for plain text search (use rg), one-off obvious patterns the CLI one-liner already solves, or the programmatic APIs (napi/pyo3).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly