一键导入
extract-diagrams
Extract CeTZ diagrams to SVG from Typst files. For TikZ extraction, configure at project level.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Extract CeTZ diagrams to SVG from Typst files. For TikZ extraction, configure at project level.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Create new documents in any format — Beamer slides, Typst documents, or Quarto slides. Autonomous pipeline from prompt to publication-quality output.
Syntax guide and ecosystem reference for writing Typst (.typ) files. Use this skill when writing, editing, or debugging Typst documents. Covers core syntax, common errors, packages, and best practices.
Master pipeline — compile, review, fix, and finalize any document. Auto-detects format and runs the full quality loop.
Stage, commit, create PR, and merge to main. Use for the standard commit-PR-merge cycle.
Compile any supported file type. Detects format (.typ, .qmd, .py) and runs appropriate build command.
Show current context status and session health. Use to check how much context has been used, whether auto-compact is approaching, and what state will be preserved.
基于 SOC 职业分类
| name | extract-diagrams |
| description | Extract CeTZ diagrams to SVG from Typst files. For TikZ extraction, configure at project level. |
| argument-hint | [source.typ] |
| allowed-tools | ["Read","Bash","Glob"] |
Extract diagrams from source files and convert to SVG for web use.
.typ source → CeTZ extraction (Typst native SVG output).tex source → TikZ extraction (configure at project level with project-specific TEXINPUTS and paths)Typst can output SVG directly — no intermediate PDF needed.
.typ filegrep -n '@preview/cetz' $ARGUMENTS
typst compile --format svg diagram.typ diagram.svg
.typ filetypst compile --format svg standalone_diagram.typ output.svg.typ source file