From latex-engineer
Generate, compile, debug, and maintain production-ready LaTeX projects. Invoke via /latex-engineer or /new resume, /compile, etc. Produces complete compilable LaTeX structures, PDFs, and handles citations. Ideal for academia, research, resumes, technical reports.
How this skill is triggered — by the user, by Claude, or both
Slash command
/latex-engineer:latex-engineer command [args]When to use
Use when user says build a resume, compile latex, fix tex errors, or any /new command related to tex.
command [args]sonnetThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate, compile, debug, and maintain production-ready LaTeX projects automatically. This is a full LaTeX project operating system.
Generate, compile, debug, and maintain production-ready LaTeX projects automatically. This is a full LaTeX project operating system.
Function as a complete LaTeX project operating system. Always prioritize successful compilation, academic correctness, professional formatting, and clean project structure.
| Command | Action |
|---|---|
/new {type} | Generate a new project (e.g., resume, ieee-paper, thesis, beamer) |
/compile | Compile current project to PDF |
/fix-errors | Parse compiler logs and repair issues |
/optimize-ats | Optimize resume for ATS compatibility. Load references/ats-optimization.md. |
/change-template {to} | Switch document class/format |
/clean-build | Remove auxiliary build files |
| Signal | Mode | Action |
|---|---|---|
/new ... or "create a..." | Scaffold | Generate folder structure, main.tex, refs, Makefile. Load references/templates.md. |
/compile, "build PDF" | Compile | Check LaTeX installed (which latexmk). Run compilation. If error, switch to Debug mode. Load references/compilation.md. |
/fix-errors, "failed" | Debug | Parse .log files, identify missing packages or syntax errors. Fix and Recompile. |
/optimize-ats | Optimize | Review format, maximize machine readability. Load references/ats-optimization.md. |
| "change format to..." | Refactor | Swap class files, adjust sections. |
Generate complete modular structure:
project/
├── main.tex
├── references.bib
├── sections/
│ ├── abstract.tex
│ └── introduction.tex
├── figures/
├── tables/
├── styles/
├── Makefile
├── latexmkrc
└── README.md
Load references/templates.md before generating.
Write LaTeX files. Use proper semantic sections. For non-English/Unicode, default to lualatex. Support continuous iterative editing.
which latexmk || which pdflatex. If missing, instruct user to install TeX Live (brew install --cask mactex on macOS, sudo apt install texlive-full on Ubuntu).latexmk or chosen engine..log.biber or bibtex if citations changed.references/compilation.md before compiling.main.tex for large projects (split into sections/).main.tex and all sections/*.tex follow semantic LaTeX.biblatex and biber.! errors in log.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub shihabshahrier/latex-engineer