Hai Ast Grep

Produces a ready-to-run ast-grep command or reusable YAML lint/codemod rule, validated against positive and negative fixtures. Use when search or rewrite depends on syntax structure: finding all call shapes, avoiding regex matches in comments/strings, batch-changing signatures, or enforcing a structural rule(结构化搜索、批量改写、写 lint 规则). Do not use for plain-text replacement or type-semantic refactors that require a compiler/type checker.

hylarucoder 0991802 6 files · 16.3 KB Updated

File contents

hylarucoder/hai-stack/tree/main/skills/hai-ast-grep commit 0991802570

Frequently asked questions

npx skillmds@latest add hylarucoder/hai-ast-grep