Agent Skills: typst

Generate and edit idiomatic Typst (.typ) code. Use when working with Typst files or when the user mentions Typst markup or document formatting.

UncategorizedID: bahayonghang/my-claude-code-settings/typst

Install this agent skill to your local

pnpm dlx add-skill https://github.com/bahayonghang/my-claude-code-settings/tree/HEAD/content/skills/document-skills/typst

Skill Files

Browse the full folder contents for typst.

Download Skill

Loading file tree…

content/skills/document-skills/typst/SKILL.md

Skill Metadata

Name
typst
Description
Generate and edit idiomatic Typst (.typ) code. Use when working with Typst files or when the user mentions Typst markup or document formatting.

typst

Minimal template

#set document(title: "My Document", author: "Author Name")
#set page(numbering: "1")
#set text(lang: "en")
#set par(justify: true)

= Heading 1

#lorem(50)

Workflow

  1. Trust local docs first. Training data may be outdated — verify syntax against docs/ before generating code.
  2. Read relevant documentation via Read/Grep/Glob on the paths below.
  3. Generate or modify the .typ source per the user's request.
  4. Validate by running typst compile <file>.typ (if tool access allows).
  5. Return the final .typ content and optionally a rendered preview.

Documentation paths

  • Guides: docs/guides/*.md
  • Tutorials: docs/tutorial/*.md
  • Full reference: docs/reference/**/*.md