name: typst-authoring description: > Provide Typst technical guidance for writing, compiling, and debugging Typst documents, including package selection and diagram solution choice. USE FOR: Typst syntax, compilation, debugging, Touying slide implementation, report typesetting, diagram rendering in Typst. DO NOT USE FOR: slide narrative/visual design, report content structure, illustration generation. allowed-tools: Read, Write, Edit, Bash, Glob, Grep
Typst Authoring
Responsible for Typst's technical implementation layer; does not handle content structure or narrative design.
USE FOR
- Typst syntax, compilation, and debugging
- Technical implementation of Touying slides
- Report templates, typesetting, and export
- Selecting and implementing diagram solutions in Typst
DO NOT USE FOR
- Narrative arc and visual direction of slides
- Argument structure and content framework of reports
- Illustration generation
Execution Skeleton
- Follow workflow through the diagnostics → compile → output check loop.
- Then branch by document type: slides → touying, reports → report, diagrams → diagraph.
- When package versions are uncertain, consult the latest documentation; do not rely on hard-coded old version numbers.
Reference Map
Output Contract
- Default output: compilable Typst implementation or clear fix recommendations
- Attach relevant diagnostic/compile commands when necessary
Collaboration and Handoff
- If the issue is actually narrative, structure, or visual direction, hand off to the appropriate content-design skill