This handles LaTeX compilation using latexmk, which is the right tool because it auto-detects dependencies and reruns builds as needed for cross-references. The live preview mode with `-pvc` is the main reason you'd reach for this. It watches your `.tex` files and auto-recompiles on changes, with Skim integration for PDF reload. Also covers the standard cleanup commands and troubleshooting for common issues like missing packages or stuck builds. The skill is self-documenting with a checklist and reference docs for multi-file projects and CI integration. One honest take: latexmk solves the "how many times do I need to run pdflatex" problem, so if you're still doing that manually, stop.
npx skills add https://github.com/terrylica/cc-skills --skill latex-build