1. Habit
  2. Skills
  3. Typst skill
lucifer1004 · 2K installs

Typst skill
Runs by itself, every time a .typ file changes.

Your documents always build.

Install the Typst skill and make it a habit: follow https://gethabit.dev/skills/lucifer1004/typst.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

2K installs133 starsMIT licenceSource on GitHub ↗

Typst

by lucifer1004 · 2K installs

The skill

Helps you write and fix Typst documents.

Only when you ask.

Fewer bugs

Your documents always build. Mistakes are fixed before you share the file.

↻ Runs by itselfevery time a .typ file changes

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one document, with at most 2 fix rounds.

  1. 01

    Compile

    Run typst compile on the changed document, with --root when it uses /path imports.

  2. 02

    Fix errors

    Match each error to the common errors table and fix it.

  3. 03

    Check text

    Export HTML with --features html to check headings and tables.

  4. 04

    Check layout

    Export PNG pages to check alignment, spacing and fonts.

  5. 05

    Upgrade old code

    Use migration.md when code predates Typst 0.15.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Typst skill helps.

Use it when

  • ✓ You work with .typ files
  • ✓ You convert LaTeX or Markdown to Typst
  • ✓ You build a Typst template or package

Skip it when

  • – You write in LaTeX only
  • – You need a word processor file

Questions

Typst skill, answered.

How do I find a package?

Run python3 scripts/search-packages.py with what you need.

Which Typst version does it target?

Typst 0.15 and later; older code has a separate tag.

How do I install the Typst skill?

Copy the prompt at the top into your agent. It installs the skill from lucifer1004/claude-skill-typst and sets up the habit. Or run npx skills add lucifer1004/claude-skill-typst --skill typst.

Is the Typst skill free?

Yes. It is published under MIT. Habit is free too.

Typst. Now as a habit.

Install the Typst skill and make it a habit: follow https://gethabit.dev/skills/lucifer1004/typst.md

  • Free
  • No account
  • Undo in one line

All lucifer1004 skills →More docs skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by lucifer1004, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.