Back to Skills

typst-creator

verified

Generate Typst documents with proper syntax for markup, math, scripting, and styling. Based on Typst v0.14.2 documentation.

View on GitHub

Marketplace

buyoung-agent-skills

buYoung/skills

Plugin

backend-skills

Repository

buYoung/skills
4stars

skills/typst-creator/SKILL.md

Last Verified

January 23, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/buYoung/skills/blob/main/skills/typst-creator/SKILL.md -a claude-code --skill typst-creator

Installation paths:

Claude
.claude/skills/typst-creator/
Powered by add-skill CLI

Instructions

# Typst Document Creation Capability

This skill enables the agent to create Typst documents with correct syntax, styling, and mathematical formulas.

> **Version**: Based on Typst v0.14.2

## Core Capability

- **Function**: Generate Typst source code for documents, reports, papers, and presentations
- **Output Format**: `.typ` files with proper Typst syntax
- **Modes**: Markup, Math, and Code modes

## Typst Syntax Overview

| Mode | Entry Syntax | Purpose |
|------|--------------|---------|
| Markup | Default | Text, headings, lists, emphasis |
| Math | `$...$` | Mathematical formulas |
| Code | `#` prefix | Variables, functions, logic |

## Domain Knowledge

| Topic | Reference |
|-------|-----------|
| **Syntax** | Markup, math, and code mode syntax. See [./references/syntax.md](./references/syntax.md) |
| **Styling** | Set rules and show rules for styling. See [./references/styling.md](./references/styling.md) |
| **Scripting** | Variables, functions, control flow. See [./references/scripting.md](./references/scripting.md) |
| **Math** | Mathematical notation and symbols. See [./references/math.md](./references/math.md) |
| **Layout** | Page setup, grids, alignment. See [./references/layout.md](./references/layout.md) |

## Key Differences from LaTeX

| Feature | LaTeX | Typst |
|---------|-------|-------|
| Bold | `\textbf{text}` | `*text*` |
| Italic | `\textit{text}` | `_text_` |
| Heading | `\section{Title}` | `= Title` |
| Fraction | `\frac{a}{b}` | `a/b` or `frac(a, b)` |
| Function call | `\func{arg}` | `#func(arg)` |
| Set property | preamble commands | `#set func(prop: value)` |

## Constraints

- **File Extension**: Output files use `.typ` extension
- **Unicode Support**: Typst natively supports Unicode symbols
- **No Packages Required**: Most features are built-in (unlike LaTeX)

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1814 chars