一键导入
compile
Compile any supported file type. Detects format (.typ, .qmd, .py) and runs appropriate build command.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compile any supported file type. Detects format (.typ, .qmd, .py) and runs appropriate build command.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | compile |
| description | Compile any supported file type. Detects format (.typ, .qmd, .py) and runs appropriate build command. |
| argument-hint | [filename] |
| allowed-tools | ["Read","Bash","Glob"] |
Detect file format and run the appropriate build command.
Determine file type from extension:
.typ → Typst document.qmd → Quarto slides.py → Python scriptNote: For
.tex(LaTeX/Beamer), configure compilation at project level with project-specific TEXINPUTS and bibtex paths.
.typ files (Typst):typst compile [--root ..] FILENAME.typ
--root if the file imports packages from a parent directory.qmd files (Quarto):quarto render FILENAME.qmd
.py files (Python):uv run FILENAME.py
Check for warnings:
.typ: Check stderr for warnings.qmd: Check for render warnings.py: Check for tracebacks or warningsVerify output exists and has non-zero file size
Visual spot-check (.typ files only):
typst compile FILE.typ /tmp/preview-{0p}.pngRead tool on PNGs to visually inspect for overflow, blank pages, missing figurestypst/references/visual-verification.md for full checklistReport results:
基于 SOC 职业分类
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.
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.
Render and deploy documents to output directory for hosting. Supports Quarto slides and Typst PDFs.