Skip to content
Skills Library
Documents & office · Conversion & formats

user-preview

/user-preview

Compile the current project's LaTeX files and send the generated PDF to the user for preview. Use when the user wants to check typesetting results or confirm the effect of recent edits.

Licence
MIT
Last repository change
08.06.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Compile the current project's LaTeX files and send the generated PDF to the user for preview. Use when the user wants to check typesetting results or confirm the effect of recent edits.

Original author description

Compile the current project's LaTeX files and send the generated PDF to the user for preview. Use when the user wants to check typesetting results or confirm the effect of recent edits.

How it works

  1. SOP
  2. Notes
Original SKILL.md headings · 22 lines, 161 words
SKILL.md preview
---
name: user-preview
description: |
  Compile the current project's LaTeX files and send the generated PDF to the
  user for preview. Use when the user wants to check typesetting results or
  confirm the effect of recent edits.
allowed-tools:
  - latex_compile
  - send_file
  - read_file
---

# User Preview: Compile & Deliver PDF

Compile the project and deliver the PDF to the user in chat.

## SOP

1. **Compile** — Call `latex_compile` with `main_file` set to the project's main .tex file path (e.g. `main.tex` or `subdir/main.tex`). Use `read_file` to locate it first if unsure.
   - If compilation fails, report the errors to the user and stop.

2. **Send PDF** — Extract the PDF filename from the `latex_compile` result and call `send_file` to deliver it.
   - Use a brief caption summarizing the result (e.g. success, warning count).

3. **Report** — Inform the user the PDF has been sent. Mention warning count if any.
   - If the user requests changes, make edits and re-run this flow.

## Notes

- The PDF path is relative to the project core directory, typically `main.pdf`.
- If `latex_compile` reports warnings, mention the count in the caption — no need to list each one.
- Never attempt to send a PDF without compiling first.

Versions

The database has no other skills named user-preview.

Database snapshot: 13.11.2026 · package version 3e1efd9c4715 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100paper-compile
    Compile LaTeX paper to PDF, fix errors, and verify output. Use when user says \"Compilation and translation of papers\", \"compile paper\", \"build PDF\", \"GeneratePDF\", or wants to compile LaTeX into a submission-ready PDF.
  • 100paper-compile
    Compile LaTeX paper to PDF, fix errors, and verify output. Use when user says \\\"\u7f16\u8bd1\u8bba\u6587\\\", \\\"compile paper\\\", \\\"build PDF\\\", \\\"\u751f\u6210PDF\\\", or wants to compile LaTeX into a submission-ready PDF.
  • 100docs-latex
    Convert Markdown to LaTeX with TikZ and compile to PDF. Use when wanting a presentation-quality PDF, a professional report with diagrams, or print-ready documentation.
  • 100latex-documents
    Compile LaTeX documents to PDF - academic papers, theses, Beamer presentations, technical docs with math, bibliographies, and multi-file projects. Use when writing or compiling .tex/.bib source, typesetting equations, or building Beamer slides.
  • 100paper-compile
    Compile LaTeX paper to PDF, fix errors, and verify output. Use when user says \"编译论文\", \"compile paper\", \"build PDF\", \"生成PDF\", or wants to compile LaTeX into a submission-ready PDF.
  • 100latex-compiler
    Compile LaTeX documents to PDF using pdflatex, xelatex, or lualatex with template support. Use when the user asks to compile .tex files, build a LaTeX document, generate PDF from LaTeX, or typeset an academic paper.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.