Ast Grep

Use ast-grep (`sg`) for Python and Zig structural code exploration, mechanical codemods, and rule maintenance in this repo. Use this when you need syntax-aware search/replace (instead of regex), to add/update ast-grep rules in `tools/ast-grep/`, or to verify rule behavior with `sg scan` and `sg test`. For Zig, use `sgconfig.local.yml` so the custom parser is loaded.

banteg 37a2edd 2 files · 3.0 KB Updated

File contents

banteg/crimson/tree/main/.codex/skills/ast-grep commit 37a2edd61c

Frequently asked questions

npx skillmds@latest add banteg/ast-grep