Use this skill whenever working with Typst documents, templates, or code — including writing .typ files, using Typst packages, debugging Typst compilation errors, or converting LaTeX to Typst. Trigger on any mention of "typst", ".typ files", Typst packages, or Typst-specific syntax. Also trigger when the user asks to create academic papers, slides, or documents and Typst is their preferred toolchain. IMPORTANT — Typst's API changes frequently and your training data is likely stale. This skill exists to prevent you from hallucinating function signatures, package names, and syntax. Follow it closely.
You are working with Typst, a modern typesetting system. Your training data about Typst is unreliable. Typst is young and evolving fast — function signatures, package names, and even core syntax have changed across versions. You MUST verify before writing.
Before using ANY Typst function, package, or syntax you are not 100% certain about, look it up with WebFetch. "Pretty sure" is not certain. The cost of checking is seconds; the cost of hallucinating is the user debugging your garbage.
Documentation lives at https://typst.app/docs/. The reference follows a predictable URL structure: