typst-author

Generate, edit, and troubleshoot Typst code for .typ files.

3.3k|334|Updated Jan 30, 2025
One-click install
npx skills add https://github.com/jihe520/MathModelAgent --skill typst-author-jihe520
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typst-author
Source: https://github.com/jihe520/MathModelAgent/tree/main/skills/typst-author
Command: npx skills add https://github.com/jihe520/MathModelAgent --skill typst-author-jihe520

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Typst authors and teams spend time editing, debugging, and templating Typst documents. typst-author streamlines this workflow by generating idiomatic Typst code, diagnosing syntax issues, and answering Typst references directly inside your context.

Core Features & Use Cases

  • Generate idiomatic Typst code for .typ files and Typst templates
  • Edit, troubleshoot, and reason about Typst documents and projects
  • Answer Typst syntax/reference questions with local docs as the authority
  • Use cases include creating new Typst templates, debugging tricky layouts, and converting LaTeX prototypes to Typst

Quick Start

Describe a Typst task and receive ready-to-use Typst code, edits, or templates.

Frequently Asked Questions about typst-author

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

FAQPage Schema
How do I generate Typst templates and .typ files automatically?

Generate Typst templates and .typ files by describing your document task to receive ready-to-use, idiomatic Typst code. This workflow leverages local Typst syntax knowledge and example patterns to validate and refine the produced content directly within your context.

Why does my Typst syntax fail to compile and how can I debug it?

Debug Typst syntax failures by diagnosing layout and compilation issues using local docs as the authority. The Skill troubleshoots tricky layouts, reasons about Typst project structures, and refines the generated code to resolve syntax errors.

Can I convert LaTeX prototypes to Typst code?

Yes, you can convert LaTeX prototypes to Typst code. The Skill supports translating existing document prototypes into idiomatic Typst code, generating matching .typ files and templates while ensuring syntax correctness through local reference validation.

Do I need local Typst docs to answer syntax and reference questions?

Yes, local Typst docs are required to accurately answer syntax and reference questions. The Skill uses local documentation as the authority to validate generated code, troubleshoot errors, and ensure the produced Typst patterns are syntactically correct.

What is the best way to edit and troubleshoot tricky Typst layouts?

The best way to troubleshoot tricky Typst layouts is to reason about the document structure and apply local example patterns. The Skill edits existing Typst code, diagnoses syntax issues, and refines the output to resolve complex layout problems.