Skip to main content
在 Manus 中运行任何 Skill
一键导入

ast-grep

星标2
分支0
更新时间2026年7月9日 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).

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly