Registry / hylarucoder

hylarucoder/hai-stack/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.

Agent skill · version 0.0.0-main.1794522507.ga6c7ed2 · from hylarucoder/hai-stack

Install

npx yarkr-cli add skill:hylarucoder/hai-stack/hai-ast-grep

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:hylarucoder/hai-stack/hai-ast-grep
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:hylarucoder/hai-stack/hai-ast-grep

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:hylarucoder/hai-stack/hai-ast-grep

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.