typst
⚠Review·Scanned 2/18/2026
This skill provides Typst document creation guidance, templates, and examples for using the typst CLI and related tools. It includes explicit shell commands (e.g., typst compile, pdftotext, git clone, npx) and network install URLs such as https://github.com/lucifer1004/claude-skill-typst.
Scanned from main at 75a4ed9 · Transparency log ↗
$ vett add lucifer1004/claude-skill-typst/typstReview findings below
Typst Skill for Claude Code
A comprehensive skill for Typst document creation and package development.
Installation
One-line install:
npx skills add https://github.com/lucifer1004/claude-skill-typst
Manual install:
git clone https://github.com/lucifer1004/claude-skill-typst.git ~/.claude/skills/typst
Quick Start
# Compile a minimal document
cat > /tmp/hello.typ <<'EOF'
#set page(paper: "a4", margin: 2cm)
= Hello Typst
This is a minimal document.
EOF
typst compile /tmp/hello.typ
Verify output text (optional):
pdftotext /tmp/hello.pdf - | head -20
Contents
| File | Description |
|---|---|
SKILL.md | Main entry point with quick reference |
basics.md | Language fundamentals, types, imports, paths |
advanced.md | State, context, query, XML parsing |
template.md | Template development, set/show rules |
package.md | Package development and publishing |
conversion.md | Markdown/LaTeX to Typst conversion |
debug.md | Debugging techniques for agents |
perf.md | Performance profiling and timings |
examples/ | Runnable examples (including perf test) |
Usage
Once installed, Claude Code will automatically activate this skill when:
- Working with
.typfiles - User mentions "typst" or related terms
- Creating or modifying Typst documents
Examples
# Compile included examples
typst compile ~/.claude/skills/typst/examples/basic-document.typ
typst compile ~/.claude/skills/typst/examples/template-report.typ
typst compile ~/.claude/skills/typst/examples/package-example/lib.typ
Requirements
- Typst CLI installed
pdftotext(optional, for debugging)
License
MIT