parsing-source
Installation
SKILL.md
Parsing source into a syntax tree
ts-pack parse <file> parses one source file with the matching
tree-sitter grammar and prints the resulting concrete syntax tree. Use it
when the user wants the tree itself — to inspect node structure, debug a
grammar, or feed an s-expression to another tool.
Quick recipe
# S-expression (default) — auto-detects language from the file extension
ts-pack parse src/main.rs