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.
Об этом скилле
LaTeX Compile + QA
Triggers & routing
- Trigger: latex compile, build PDF, LaTeX errors, missing refs, 编译PDF, 引用错误.
- Use when: 已有
latex/main.tex(通常来自latex-scaffold),需要确认可编译并输出失败原因报告。
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.
Inputs
latex/main.texcitations/ref.bib
Outputs
latex/main.pdf(if compilation succeeds)output/LATEX_BUILD_REPORT.md(recommended)
Workflow
- Run a LaTeX build (e.g.,
latexmk) if available. - Fix missing packages, missing bib entries, and unresolved references.
- Record remaining issues in a build report.
Quality checklist
-
latex/main.pdfexists only when compilation succeeds; failed builds must remove stale PDFs and explain the failure inoutput/LATEX_BUILD_REPORT.md. - For
arxiv-survey-latexdeliverables:latex/main.pdfis >= 8 pages and has no undefined citations/references (strict gate).
Script
Quick Start
uv run python .codex/skills/latex-compile-qa/scripts/run.py --helpuv run python .codex/skills/latex-compile-qa/scripts/run.py --workspace <workspace>
All Options
- See
--help(inputs/outputs are taken from the unit runner when used via pipeline)
Examples
- Compile + produce report:
uv run python .codex/skills/latex-compile-qa/scripts/run.py --workspace <workspace>
Notes
- Uses
latexmk -xelatex -bibtexwhen available. - Always writes
output/LATEX_BUILD_REPORT.md(success or failure). - Report includes page count + warning summary when available.
Troubleshooting
Common Issues
Issue: latexmk not found
Symptom:
- Build report says “latexmk not found in PATH”.
Causes:
- LaTeX toolchain is not installed.
Solutions:
- Install a TeX distribution that includes
latexmk. - If you can’t install tools, still use
latex-scaffoldto generatelatex/main.texand compile elsewhere.
Issue: Build fails with bib/ref errors
Symptom:
- Report shows missing citations/refs or BibTeX errors.
Causes:
citations/ref.bibmissing/miswired, or draft contains invalid cite keys.
Solutions:
- Ensure
latex/main.texpoints to../citations/ref.bib(or the correct relative path). - Ensure all citation keys exist in
citations/ref.bib.
Recovery Checklist
- Read
output/LATEX_BUILD_REPORT.mdtail for the first actionable error. - Confirm
latex/main.texexists and bibliography path is correct.
Установить latex-compile-qa в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл latex-compile-qa?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл latex-compile-qa запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic