Goal

SkillFiles & storage

Make sure that the PDF rendered from a Typst file looks good

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Goal skill

What this skill tells your AI

The instructions your AI receives, as published by causify-ai/helpers in .claude/skills/book.fix_rendered_pdf/SKILL.md and read by ahel’s review.

  • Make sure that the book chapter from <TYP_FILE> compiles and the PDF looks good

Inputs

  • <TYP_FILE>: Typst file
    • E.g., msml610/book/Lesson01.2-AI_and_Machine_Learning.typ

Workflow

Generate the PDF

  • Create the PDF from the <TYP_FILE>

    > run_typst.py -i <TYP_FILE>
    
  • The generated file is in the same dir as <TYP_FILE>

    • E.g., msml610/book/Lesson01.2-AI_and_Machine_Learning.pdf

Check the Typst Source Code

  • Make sure the Typst file follows the rules in .claude/skills/typst.rules.md and .claude/templates/typst.template.typ

Check the PDF

  • Read the generated PDF <PDF_FILE> and for each page make sure the layout looks good, e.g.,
    • The figures are readable and not too small
    • There is no excessive space around the figure due to poorly wrapping text
  • If there are visual problems, change the Typst file without changing the text and regenerate the PDF (see ## Generate the PDF) until it looks good

Verification

  • Confirm the Typst file follows .claude/skills/typst.rules.md and .claude/templates/typst.template.typ
  • Confirm every page's figures are readable and not too small
  • Confirm there is no excessive space around a figure from poorly wrapped text

Signals

GitHub stars
145
Forks
160
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
book-fix-rendered-pdf
Source
github.com/causify-ai/helpers