syntax-text-handling
Installation
SKILL.md
Syntax Text Handling
Use typed syntax APIs and preserve source ownership instead of converting syntax text into strings.
Inspect Before Implementing
Do not infer an AST shape from source spelling. Inspect the parser quick test for the language and search generated node definitions and existing consumers. Load testing-codegen for the current quick-test command.
Check every relevant union member and framework-specific value representation. Similar source syntax may use different typed nodes.