Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

typst-author — Claude Code skill: what it does, how to install

Generates, edits, and troubleshoots Typst markup while enforcing syntax rules and formatting checks. Keeps agents grounded against hallucinations.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add jihe520/MathModelAgent --skill typst-author -a claude-code
Open on GitHub

What typst-author does

The skill directs coding agents to write and refactor .typ documents using bundled reference docs instead of relying on potentially outdated pretraining data. It enforces foundational Typst syntax details, such as markup versus code mode expressions with #, the distinction between set and show rules, and the fact that Typst uses arrays rather than tuples.

Agents use fileless stdin queries with typst query to test runtime behaviors without polluting the workspace with scratch files. When typstyle is present, the workflow verifies code style with typstyle --check and typstyle --diff. Crucially, the agent halts and requests user confirmation whenever automated formatting touches untouched older sections of the file.

What it helps with

  • generate .typ documents with standard formatting
  • debug Typst markup and syntax errors
  • configure layout styling with set and show rules
  • format documents safely using typstyle
  • test Typst evaluation behavior through stdin probes

Example prompts for the agent

  • Create a new document template in report.typ with paragraph justification
  • Fix the show rule syntax in main.typ and compile the document
  • Format paper.typ using typstyle without altering untouched sections

How to install typst-author

1Skills CLI (Vercel)

npx skills add jihe520/MathModelAgent --skill typst-author -a claude-code

2Manually: put the files in place

~/.claude/skills/typst-author/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/typst-author/

From the same set2

The whole set →

Similar

venue-templates K-Dense-AI Prepares journal manuscripts, conference papers, research posters, and grant documents with current venue rules and bundled LaTeX scaffolds. Verifies page limits, anonymity requirements, and formatting before submission. Claude Code CX Codex Cursor +1 1,900installs intelligence-docs CopilotKit A skill that keeps the CopilotKit Intelligence landing page aligned with new features and documentation. Automates updates to navigation, feature cards, and links whenever you add or change pages under docs/intelligence. Claude Code CX Codex Cursor +1 751installs docx Nous Research A skill for creating, reading, editing, and templating Word .docx files via Python CLI scripts. Helpful when automating reports, comments, and tracked changes. Claude Code CX Codex Cursor +1 306installs skill-forge sanyuan0704 A skill for building production-grade skills in Claude Code. Walks you through eight stages: from understanding the task to packaging, with checklists, iron laws, and writing techniques for reliable prompts. Claude Code CX Codex Cursor +1 4,100installs email-drafter official github This skill studies your email style and drafts messages for specific recipients. Use it when you need a reply or follow-up that sounds like your usual correspondence. GitHub Copilot 1,400installs gstack-openclaw-office-hours garrytan This skill turns your AI agent into a Y Combinator office hours partner to pressure-test product ideas. It enforces a strict rule against writing code and outputs a design doc. Claude Code CX Codex Cursor +1 300installs grill-with-docs Matt Pocock This skill interviews you about a plan or design and creates ADRs and a glossary along the way. Use it when decisions need sharper definition. Claude Code 1,219,756installs skill-creator official anthropics Creates and refines skills, then tests them with prompts, evaluations, and performance checks. Claude Code Claude.ai 414,180installs

Questions about typst-author

How to install typst-author in Claude Code?

Run npx skills add jihe520/MathModelAgent --skill typst-author -a claude-code in your terminal.

What does typst-author do?

It provides instructions for generating idiomatic Typst files, validating syntax against reference docs, and compiling documents with typst compile.

How does typst-author handle code formatting?

It checks for typstyle, inspects changes with typstyle --diff, and only applies in-place formatting when edits are strictly isolated to newly modified code.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor