A comprehensive skill for Typst document creation and package development. The current main branch targets Typst 0.15+.
$ npx -y skills add lucifer1004/claude-skill-typst --agent claude-code
A comprehensive skill for Typst document creation and package development. The current main branch targets Typst 0.15+.
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
# 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 (HTML export for agents, PNG for visual checks):
typst compile /tmp/hello.typ /dev/stdout -f html --features html 2>/dev/null
typst compile /tmp/hello.typ "page-{p}.png" -f png
| File | Audience | Description |
|---|---|---|
SKILL.md | Both | Main entry point with quick reference |
basics.md | Both | Language fundamentals, imports, functions |
types.md | Both | Data types, operators, string/array/dict/color/datetime |
styling.md | Users | Set/show rules, page layout, images, fonts, figures |
tables.md | Users | Tables, grids, cell spans, borders, data tables |
academic.md | Users | Papers, bibliography, theorems, equations |
conversion.md | Users | Markdown/LaTeX to Typst conversion |
cli.md | Both | Typst CLI commands, export options, fonts, packages |
query.md | Both | CLI introspection, metadata export, multi-pass builds |
advanced.md | Developers | State, context, query, content introspection, XML |
template.md | Developers | Reusable template function patterns |
package.md | Developers | Package development, testing, and publishing |
debug.md | Developers | Verification methods (HTML/PNG/pdftotext) |
perf.md | Developers | Performance profiling and timings |
examples/ | Both | Runnable examples |
agents/ | Agents | Specialized agents (typst-verify, typst-package-qa) |
# Search Typst packages
just search-pkg "chart visualization"
# Search Typst API (functions, methods, types, symbols)
just search-api "image width fit"
just search-api "rightarrow" --kind symbol # LaTeX names work
just search-api --name str.position -v # Exact lookup
just search-api "asset" # Typst 0.15 default API
just # List all recipes
just check # Run lint + test + validate
just test # Run test suite
just validate # Validate inline Typst code blocks in docs
just stats # Show project stats
Once installed, Claude Code will automatically activate this skill when:
.typ filesFor users who are still on Typst 0.14.2, use the typst-0.14.2 repository tag
for the previous skill snapshot.
MIT
claude-skill-typst is a Claude Code plugin with 1 hand-picked skill, indexed on Flowy in the Documentation category. Install it with the command on its page. It includes typst. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it