jyn514/dotfiles/typst
Claude Code and agent skill by jyn514/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Write Typst (.typ) markup, expressions, and layout. Use when creating Typst documents, changing markup or scripting, or working with unfamiliar Typst syntax. Do not use for prose-only edits that preserve existing markup, such as wording changes or renaming a command inside an existing raw span. Does not cover compilation or preview.
Install
npx vskill@latest install jyn514/dotfiles/typstSKILL.md
The same SKILL.md was published earlier as jyn514/dotfiles/typst.
Writing Typst files
Typst is a markup-based typesetting language. A .typ file mixes markup mode (the default, like Markdown) with code mode (entered via #).
Markup mode
Escape special chars (#, *, _, $, @, <, \) with a backslash.
Headings
Do not manually number heading sections. If you need to refer back to an earlier heading, use labels <label-name> and references @label-name.
Code mode
Start an expression with #; use [ ] for content blocks and { } for code blocks.
#set configures defaults for following content; #show transforms elements. Place them near the top of the file or scope them in a block.
Raw text & code blocks
Inline ` code and fenced code blocks produce verbatim monospace text. Add an optional language tag to a fenced block to enable syntax highlighting. Use #raw(content, lang: "...", block: true) to create raw text programmatically, for example with read(...)`.
For #raw(...) options, styling, and #image / #figure / #table / #grid / #align / #outline / #bibliography / spacing helpers, see reference.md.
API lookup with Tinymist
For unfamiliar or version-sensitive functions, prefer the installed tinymist language server over guessing signatures or relying only on reference.md. Follow this order:
- Start
tinymist lsp. - Initialize the workspace over JSON-RPC.
- Open the target file, or a minimal scratch
.typfile. - Query the exact source position where the API is used over the initialized JSON-RPC connection, using one of these methods:
textDocument/hoverfor documentation and resolved typestextDocument/signatureHelpfor parameters at a call sitetextDocument/completionfor available functions and named arguments
Keep one server process for related lookups. Shut it down cleanly when the lookups are complete. If Tinymist is unavailable, compile a minimal probe with the repository's Typst version.
Units & values
- Lengths:
pt,mm,cm,in,em,%,fr(fractional/flex). - Colors: named (
red,navy) orrgb("#1a1a1a"),luma(200). - Strings use
"double quotes"; content uses[brackets].
Tips
- Comments:
// lineand/* block */. - One statement per
#…; wrap multi-line logic in#{ … }. - Function args are positional then named:
func(pos, name: val). - Trailing content block syntax
func(args)[body]is sugar for passing the block as the last argument.
Security
- Security scanPassed, 98 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/typst/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jyn514/dotfiles/typst)