返回 Skill 列表
extension
分类: 开发与工程无需 API Key

typst

生成和编辑惯用的Typst (.typ)代码。在处理Typst文件或用户提到Typst标记或文档格式时使用。

person作者: jakexiaohubgithub

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