pedrohcgs/compile-latex
Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when user says "compile", "build the slides", "rebuild the PDF", "run latex", "render the tex", or asks why a `.tex` file isn't producing a PDF. Operates on `Slides/*.tex`.
npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill compile-latex
Compile a Beamer slide deck using XeLaTeX with full citation resolution.
cd Slides
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $ARGUMENTS.tex
BIBINPUTS=..:$BIBINPUTS bibtex $ARGUMENTS
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $ARGUMENTS.tex
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $ARGUMENTS.tex
Alternative (latexmk):
cd Slides
TEXINPUTS=../Preambles:$TEXINPUTS BIBINPUTS=..:$BIBINPUTS latexmk -xelatex -interaction=nonstopmode $ARGUMENTS.tex
Overfull \\hbox warningsundefined citations or Label(s) may have changed open Slides/$ARGUMENTS.pdf # macOS
# xdg-open Slides/$ARGUMENTS.pdf # Linux
.aux file with citation keys.aux, generates .bbl with formatted referencesPreambles/.bib file lives in the repo rootTake pedrohcgs/compile-latex from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.