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 re-run Step 1 until the PDF looks good

Signals

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