lightest-typst

Edit Typst source files, resolve compile errors, and verify rendered output.

4|Updated Jun 4, 2026
One-click install
npx skills add https://github.com/lijiandao/lightest-skills --skill lightest-typst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lightest-typst
Source: https://github.com/lijiandao/lightest-skills/tree/main/skills/lightest-typst
Command: npx skills add https://github.com/lijiandao/lightest-skills --skill lightest-typst

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you create, edit, and debug Typst writing projects without getting stuck on syntax errors, broken layouts, or LaTeX-style mistakes.

Core Features & Use Cases

  • Typst project workflow: Set up and maintain writing projects that use main.typ as the entry point.
  • Compilation and error fixing: Diagnose Typst compile failures, repair broken formulas, and keep multi-file documents consistent.
  • Academic document writing: Draft and revise papers, theses, and reports with correct Typst math, citations, and structure.
  • Use case: When a chapter fails to compile or a formula uses the wrong syntax, this Skill guides you through reading the affected source, patching the file, recompiling, and verifying the rendered output.

Quick Start

Ask the assistant to inspect your Typst project, fix the current compile error, and verify the document renders correctly.

Frequently Asked Questions about lightest-typst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Typst compile errors in a multi-file academic paper?

Fixing Typst compile errors involves reading the affected source files, applying structured patches to correct math syntax or layout issues, and recompiling to verify the rendered output. This iterative compile-check debugging workflow applies to academic papers and multi-file documents using main.typ as the project root.

What is the correct Typst math syntax for academic writing?

Correct Typst math syntax requires using Typst-native math expressions rather than LaTeX-style commands. When academic writing projects encounter broken formulas, you patch the source files with Typst-native math syntax and recompile to verify the rendered output renders correctly.

Can I use this to fix a broken main.typ project root file?

Yes, you can fix a broken main.typ project root file by diagnosing the compile failure, reading the affected source, and applying structured patching. This Skill specifically supports academic papers, theses, and reports that use main.typ as the entry point for multi-file documents.

Why does my Typst document fail to compile after adding citations?

Your Typst document fails to compile after adding citations due to incorrect syntax or broken references within the source files. Resolving compile errors requires inspecting the affected files, applying structured patches to fix the citations, and recompiling to verify the rendered output.

How do I debug a Typst thesis or report that won't render?

To debug a Typst thesis or report that won't render, you follow an iterative compile-check debugging process. This involves reading the affected source files, applying structured patches to resolve compile errors, and verifying the rendered output until the document is successfully maintained.

Do I need LaTeX knowledge to write academic papers in Typst?

No, you do not need LaTeX knowledge to write academic papers in Typst, as Typst uses its own native math syntax. The Skill helps you avoid LaTeX-style mistakes by guiding you through correct Typst-native syntax and iterative compile-check debugging for reliable document maintenance.