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.