skills/smithery.ai/typst-writer

typst-writer

SKILL.md

Typst Writer

This skill provides guidance for writing correct Typst code, with emphasis on avoiding common syntax errors from conflating Typst with other languages.

Core Principles

  1. Never assume syntax from other languages applies - Typst has its own semantics, especially for data structures
  2. Verify uncertain syntax - When unsure, check official documentation
  3. Use idiomatic patterns - Follow Typst conventions for clean, maintainable code

Quick Syntax Reference

Critical distinctions:

  • Arrays: (item1, item2) - parentheses
  • Dictionaries: (key: value, key2: value2) - parentheses with colons
  • Content blocks: [markup content] - square brackets
  • NO tuples - Typst only has arrays

For detailed syntax rules and common patterns, see references/syntax.md.

Installs
9
First Seen
Mar 7, 2026