ast-injection
Use AST-aware edits to reduce syntax errors and maintain structure.
📖 中文导读:Use AST-aware edits to reduce syntax errors and maintain structure. 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: ast_injection description: Use AST-aware edits to reduce syntax errors and maintain structure. metadata: short-description: AST-aware edits
Purpose
Apply structural code changes safely.
Steps
- Prefer AST insertion over raw text replacement.
- Validate with tests or static checks.
- Record assumptions when AST tooling is unavailable.