---
name: "typst-scientific-paper-publisher"
description: "Author lightning-fast scientific papers and documents with Typst declarative syntax."
metadata:
  author: "Typst"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "compile typst document"
  - "write math equation typst"
  - "format typst paper template"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Typst Modern Typesetting Engine

Replaces slow LaTeX compilation with Typst: instant live preview, clean functional markup, native math equations, bibliography management, and custom visual templates.

## When to Invoke
Invoke this skill whenever you need to:
- compile typst document
- write math equation typst
- format typst paper template

## Execution SOP & Rules
1. Define document layout using #set page(paper: "a4", margin: (x: 2cm, y: 2.5cm)).
2. Format math equations with $ $ syntax and structured matrix notation.
3. Manage literature citations using #bibliography("works.bib", style: "ieee").
4. Execute typst compile input.typ output.pdf in automated CI pipelines.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
