latex-document-skill

Installation
SKILL.md

Handle $ARGUMENTS.

Steps

  1. If $ARGUMENTS is empty, report an error asking for a document request or source path.
  2. Classify the task: create, compile, convert, PDF-to-LaTeX, PDF operations, poster, cheat sheet, or diff.
  3. Read only the needed reference files from references/, including poster, cheat sheet, format conversion, PDF conversion, PDF operations, script tools, and references/profiles/*.md for PDF-to-LaTeX.
  4. Reuse a matching template from $SKILL_DIR/assets/templates/ when available; otherwise create the source directly.
  5. Run only the required scripts from $SKILL_DIR/scripts/ to compile, convert, diff, lint, analyze, or process PDFs.
  6. For large PDF-to-LaTeX jobs, scale by page count: 1-10 single pass, 11-20 split, 21+ batched.
  7. Validate output with the relevant compile, lint, or PDF check script before presenting files.
  8. Return the updated source plus the final PDF or preview path when available.

Rules

Installs
18
GitHub Stars
16
First Seen
Mar 15, 2026
latex-document-skill — bahayonghang/my-claude-code-settings