共享规范知识库。包含数学建模竞赛的写作规范、题型防错速查、图表规范等参考内容。其他 skills 在执行过程中按需读取,无需单独触发。
日本語の概要は準備中です。原文の説明を表示しています。
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.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
This skill helps agents generate, edit, and reason about Typst documents. It provides quick‑start examples, detailed workflows, and links to the full Typst documentation (guides, tutorials, reference).
#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)
.typ file(s). After each .typ edit, follow the post-edit formatting checks below when typstyle is available..typ file, follow the post-edit formatting checks below.set rule, show rule, and custom themes.docs/reference/syntax.mddocs/reference/styling.mddocs/reference/scripting.mddocs/guides/page-setup.md and docs/guides/tables.mddocs/tutorial/writing-in-typst.md, docs/guides/*.md, and docs/reference/**/*.mddocs/ folder before generating code..typ source according to the user's request..typ file you created or edited in that pass.typst compile after the formatting decision is complete when you created or edited .typ files, or when the user explicitly asks for verification (if tool access is allowed)..typ content only when the user requests it or when direct editing is not possible, and optionally include a rendered preview (PDF/HTML)..typ files. Expose the value with metadata(...) <probe> and read it with typst query - "<probe>" --field value --one. See docs/reference/introspection/query.md and docs/reference/introspection/metadata.md.printf '#metadata(1 + 2) <probe>\n' | typst query - "<probe>" --field value --onetypstyle is available with command -v typstyle. If it is unavailable, skip the remaining formatting checks..typ file modification, run typstyle --check <file> for the file you just created or edited.typstyle --check fails, inspect the formatter changes with typstyle --diff <file> before deciding what to do.typstyle -i <file> only when the formatter changes are limited to a newly created file or to code you created or edited in the current task.(item1, item2) (parentheses). See docs/reference/foundations/array.md.(key: value, key2: value2) (parentheses with colons). See docs/reference/foundations/dictionary.md.[markup content] (square brackets). See docs/reference/foundations/content.md.# to start a code expression inside markup or content blocks; it disambiguates code from text. This is required for content-producing function calls and field access in markup: #figure[...], #image("file.png"), text(...)[#numbering(...)].# inside code contexts (argument lists, code blocks, show-rule bodies). Example: #figure(image("file.png")) (no # before image).// Incorrect (missing # inside content block)
text(...)[(numbering(...))]
// Correct
text(...)[(#numbering(...))]
set: Set rule to configure optional parameters on element functions (style defaults scoped to the current block or file).show: Show rule to target selected elements and apply a set rule or transform/replace the element output.set for common styling; use show for selective or structural changes (e.g., heading.where(level: 1), labels, text, regex).// Set rule: configure optional parameters for an element type
#set heading(numbering: "I.")
#set text(font: "New Computer Modern")
// Show-set rule: apply a set rule only to selected elements
#show heading: set text(navy)
// Show transform rule: replace/reshape element output
#show heading: it => block[#emph(it.body)]
[] for arrays (use () instead).arr[0] (use arr.at(0)).# in markup/content blocks (e.g., text(...)[numbering(...)] should be text(...)[#numbering(...)]).# inside code contexts (e.g., figure(#image("x.png")) in an argument list).[] with code blocks {}.color.hsl instead of just hsl).\begin{...}, \section, or other LaTeX commands).tabular does not exist; use table).When working on large projects, consider organizing the project across multiple files.
#include "file.typ" to split into multiple filesIf you see "unknown font family" warnings, remove the font specification to use system defaults. Note: Font warnings don't prevent compilation; the document will use fallback fonts.
If import fails with "package not found":
@preview/package:version syntax.Common fixes:
#{ } or use proper syntax.# (or #(...)) in markup/content blocks.() for both, dictionaries need key: value, singleton arrays are (elem,).まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
共享规范知识库。包含数学建模竞赛的写作规范、题型防错速查、图表规范等参考内容。其他 skills 在执行过程中按需读取,无需单独触发。
日本語の概要は準備中です。原文の説明を表示しています。
数学建模竞赛工作流入口。用于启动完整建模流程:询问用户偏好,生成 plan.md 和 todo.md,并按阶段调用赛题分析、建模、代码与图表、流程图、论文撰写、验证验收等 skills。
日本語の概要は準備中です。原文の説明を表示しています。
数学建模赛题分析与建模设计合并阶段。用于读取题面和附件,完成子问题拆解、数据理解、假设预检、变量定义、模型公式、目标函数、约束条件、求解策略和可交给代码实现的建模报告。
日本語の概要は準備中です。原文の説明を表示しています。
数学建模编程实现与数据图表生成阶段。根据 ANALYSIS_MODELING_REPORT.md 编写可复现代码、运行求解、验证约束、输出 RESULTS_REPORT.md 并生成论文可用的数据驱动图表 PDF。
日本語の概要は準備中です。原文の説明を表示しています。
数学建模非数据型图示绘制阶段。根据 ANALYSIS_MODELING_REPORT.md、RESULTS_REPORT.md 和已有 figures/ 生成技术路线图、子问题求解流程图、模型结构图、数据处理流程图等 DrawIO 图,并导出论文可引用 PDF。
日本語の概要は準備中です。原文の説明を表示しています。
数学建模竞赛论文撰写阶段,支持 Typst 和 LaTeX 双引擎。根据 ANALYSIS_MODELING_REPORT.md、RESULTS_REPORT.md 和 figures/*.pdf 选择比赛模板、排版引擎、组织章节,并在论文正文中按章节直接插入图表。
日本語の概要は準備中です。原文の説明を表示しています。