typst-author
БесплатноБез исполняемых скриптовНе проверенGenerate idiomatic Typst (.typ) code, edit and troubleshoot Typst documents and projects, and answer Typst syntax/reference questions. Use when working with…
Об этом скилле
typst-author skill
Overview
This skill helps agents generate, edit, and reason about Typst documents. It provides quick‑start examples, detailed workflows, and links to the Typst documentation (overview, guides, tutorials, reference).
Minimal document example
#set document(title: "My Document", author: "Author Name")
#set page(numbering: "1")
#set text(lang: "en")
// Enable paragraph justification and character-level justification
#set par(
justify: true,
justification-limits: (
tracking: (min: -0.012em, max: 0.012em),
spacing: (min: 75%, max: 120%),
)
)
#title[My Document]
= Heading 1
This is a paragraph in Typst.
== Heading 2
#lorem(50)
Workflows
- Creating a new Typst project:
- Use the "Minimal document example" above as a starting point.
- Skim the tutorial for the basics (docs/tutorial/1-writing.md), then create the
.typfile(s). - After each
.typedit, follow the post-edit formatting checks below whentypstyleis available.
- Editing existing content:
- Locate the target text and apply changes; confirm syntax against the reference when needed (docs/reference/index.md).
- After each modified
.typfile, follow the post-edit formatting checks below.
- Formatting & styling:
- Consult the styling guide (docs/reference/language/styling.md) for
set rule,show rule, selectors, and transformations. - Preserve visual consistency: new layouts, figures, tables, and drawings must reuse the document's existing fonts, colors, and typographic hierarchy (unless instructed otherwise). Internal consistency should be maintained (same function → same size and color).
- Consult the styling guide (docs/reference/language/styling.md) for
Documentation
- Orientation:
docs/overview.mdfor a high-level introduction,docs/reference/index.mdfor the reference structure, anddocs/tutorial/index.mdfor the tutorial sequence. - Tutorial:
docs/tutorial/1-writing.mdfor basic markup, functions, labels, citations, and math;docs/tutorial/2-formatting.mdfor set rules, page setup, headings, and text formatting;docs/tutorial/3-advanced.mdfor templates, show rules, and more complex styling;docs/tutorial/4-template.mdfor reusable templates and packages. - Language syntax:
docs/reference/language/syntax.mdfor markup/math/code modes, comments, escapes, and identifiers. - Language scripting:
docs/reference/language/scripting.mdfor expressions, code/content blocks, bindings, conditionals, loops, fields, methods, modules, packages, and operators. - Language styling:
docs/reference/language/styling.mdfor set rules, show rules, selectors, and transformations. - Language context:
docs/reference/language/context.mdfor style context, location context, nested contexts, and compiler iterations. - Foundations:
docs/reference/library/foundations.mdfor basic types/functions,std,sys.version, andsys.inputs. - Document model:
docs/reference/library/model.mdfor headings, figures, bibliography, citations, references, numbering, outlines, lists, tables, and document structure. - Layout:
docs/reference/library/layout.mdfor arranging elements on the page: page, block, box, grid, columns, alignment, spacing, transforms, and measurement. - Text:
docs/reference/library/text.mdfor text styling and thetextfunction. - Math:
docs/reference/library/math.mdfor math syntax, symbols, equations, alignment, fonts, accessibility, and math functions. - Drawing and media:
docs/reference/library/visualize.mdfor shapes, image/graphics primitives, color, gradients, strokes, and visual accessibility. - Introspection:
docs/reference/library/introspection.mdfor counters, state, locations,query, and document-aware generated content. - Data loading:
docs/reference/library/data-loading.mdfor loading and encoding external data such as CSV, JSON, TOML, YAML, XML, CBOR, and raw files. - Symbols and emoji:
docs/reference/library/sym.mdfor named symbols and shorthands;docs/reference/library/emoji.mdfor emoji. - Export formats:
docs/reference/export/pdf.mdfor PDF standards and PDF-specific features;docs/reference/export/html.mdfor HTML export and typed HTML;docs/reference/export/bundle.mdfor multi-output bundles and assets;docs/reference/export/svg.mdanddocs/reference/export/png.mdfor image exports. - Guides:
docs/guides/page-setup.mdfor pages, margins, headers, footers, numbering, and columns;docs/guides/tables.mdfor semantic tables and table styling;docs/guides/accessibility.mdfor semantic structure, alt text, language, PDF accessibility, and export considerations;docs/guides/for-latex-users.mdfor LaTeX-to-Typst translation.
Detailed instructions
- PRIORITY: Trust local documentation. Your internal training data regarding Typst may be outdated or hallucinated. Always verify function name
Установить typst-author в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл typst-author?
Generate idiomatic Typst (.typ) code, edit and troubleshoot Typst documents and projects, and answer Typst syntax/reference questions. Use when working with .typ files or when the user explicitly asks for Typst document creation, editing, debugging, compilation, formatting, template work, or package usage.
Как установить скилл typst-author?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл typst-author запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic