willoscar/latex-compile-qa
| Compile a LaTeX project and run basic QA (missing refs, bib errors, broken citations), producing `latex/main.pdf` and a build report.
npx skills add https://github.com/WILLOSCAR/research-units-pipeline-skills --skill latex-compile-qa
Compile the LaTeX project and produce a PDF (when the toolchain is available), plus a short build report.
This step is deterministic; if compilation fails, record actionable diagnostics rather than guessing.
latex/main.texcitations/ref.biblatex/main.pdf (if compilation succeeds)output/LATEX_BUILD_REPORT.md (recommended)latexmk) if available.latex/main.pdf exists only when compilation succeeds; failed builds must remove stale PDFs and explain the failure in output/LATEX_BUILD_REPORT.md.arxiv-survey-latex deliverables: latex/main.pdf is >= 8 pages and has no undefined citations/references (strict gate).uv run python .codex/skills/latex-compile-qa/scripts/run.py --helpuv run python .codex/skills/latex-compile-qa/scripts/run.py --workspace <workspace>--help (inputs/outputs are taken from the unit runner when used via pipeline)uv run python .codex/skills/latex-compile-qa/scripts/run.py --workspace <workspace>latexmk -xelatex -bibtex when available.output/LATEX_BUILD_REPORT.md (success or failure).latexmk not foundSymptom:
Causes:
Solutions:
latexmk.latex-scaffold to generate latex/main.tex and compile elsewhere.Symptom:
Causes:
citations/ref.bib missing/miswired, or draft contains invalid cite keys.Solutions:
latex/main.tex points to ../citations/ref.bib (or the correct relative path).citations/ref.bib.output/LATEX_BUILD_REPORT.md tail for the first actionable error.latex/main.tex exists and bibliography path is correct.Take willoscar/latex-compile-qa 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.