typst-author
Generate idiomatic Typst (.typ) code, edit and troubleshoot Typst documents and projects, and answer Typst syntax/reference questions. Use when working with .typ files or when the user explicitly asks for Typst document creation, editing, debugging, compilation, formatting, template work, or package usage.
npx skills add jihe520/MathModelAgent --skill typst-author --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# typst-author skill ## Overview This skill helps agents generate, edit, and reason about Typst documents. It provides quick‑start examples, detailed workflows, and links to the full Typst documentation (guides, tutorials, reference). ## Minimal document example ```typst #set document(title: "My Document", author: "Author Name") #set page(numbering: "1") #set text(lang: "en") // Enable paragraph justification and character-level justification #set par( justify: true, justification-limits: ( tracking: (min: -0.012em, max: 0.012em), spacing: (min: 75%, max: 120%), ) ) #title[My Document] = Heading 1 This is a paragraph in Typst. == Heading 2 #lorem(50) ``` ## Workflows - **Creating a new Typst project**: Use the "Minimal document example" above as a starting point. Skim the tutorial for the basics ([docs/tutorial/writing-in-typst.md](docs/tutorial/writing-in-typst.md)), then create the `.typ` file(s). After each `.typ` edit, follow the post-edit formatting checks below when `typstyle` is available. - **Editing existing content**: Locate the target text and apply changes; confirm syntax against the reference when needed ([docs/reference/](docs/reference/)). After each modified `.typ`
- Overview
- Minimal document example
- Workflows
- Documentation
- Detailed instructions
- Probing uncertain behavior
- Post-edit formatting checks
- Quick syntax reference
- Critical distinctions
- Hash usage (markup vs code)
- Styling rules: set vs show
- Common mistakes to avoid
- Advanced features
- For large projects
What does the typst-author skill do?
Generate idiomatic Typst (.typ) code, edit and troubleshoot Typst documents and projects, and answer Typst syntax/reference questions. Use when working with .typ files or when the user explicitly asks for Typst document creation, editing, debugging, compilation, formatting, template work, or package usage.
How do I install it?
Run `npx skills add jihe520/MathModelAgent --skill typst-author --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From jihe520/MathModelAgent, a repository with 3,177 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
