typst-author

Generate and edit Typst source files with syntax validation.

Updated Nov 2, 2024
One-click install
npx skills add https://github.com/nrminor/.dotfiles --skill typst-author
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typst-author
Source: https://github.com/nrminor/.dotfiles/tree/main/.config/.claude/skills/typst
Command: npx skills add https://github.com/nrminor/.dotfiles --skill typst-author

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Typst document authoring often involves repetitive boilerplate and syntax lookup. This skill automates generation and editing of Typst sources to speed up content creation and ensure consistent typography.

Core Features & Use Cases

  • Generate idiomatic Typst code (.typ) from user intent and examples.
  • Edit existing Typst sources to adjust structure, formatting, or typography.
  • Answer Typst syntax questions with references to local documentation and examples.

Quick Start

Ask me to generate a minimal Typst file with a given title and author, or to update an existing .typ project. Examples:

  • "typst-author: create a Typst document titled 'My Report' with author 'Your Name'."
  • "typst-author: add a heading 'Introduction' and a paragraph about data science to project.typ."

Frequently Asked Questions about typst-author

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

FAQPage Schema
How do I generate a new Typst document with specific formatting?

Typst document generation automates creation of .typ files with consistent structure and typography. Provide a title, author, and any formatting preferences, and the Skill generates ready-to-use Typst source code that you can immediately compile or refine further.

Can I edit existing Typst files to adjust structure and formatting?

Yes. The Skill edits existing Typst sources to modify headings, paragraphs, typography, and document structure. Describe the changes you need—add sections, reformat text, adjust styling—and receive updated .typ files ready to use.

What Typst syntax questions can this Skill answer?

Typst syntax questions are answered with references to local documentation and code examples. Ask about functions, formatting directives, document structure patterns, or styling rules, and receive explanations with working Typst code snippets you can adapt.

Do I need Typst installed to use document authoring automation?

The Skill generates and edits Typst source code (.typ files) locally without requiring Typst compilation. You can work with the generated sources in your editor; compilation happens when you run Typst separately on the output files.

How do I avoid repetitive boilerplate when starting Typst projects?

Typst authoring automation eliminates boilerplate by generating idiomatic .typ code from your intent. Instead of manually writing headers, imports, and structure, describe what you need and receive a complete, syntactically valid template you customize further.

Can I maintain consistent typography across multiple Typst files?

Yes. The Skill generates and refines Typst sources with consistent formatting rules and typography patterns. Create or update multiple .typ files through the Skill to ensure unified styling, structure, and conventions across your Typst project.