compile-and-review

Compile LaTeX papers with pdflatex and bibtex, retry errors, and run self-review.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/DamarisDeng/paper-writing-system --skill compile-and-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compile-and-review
Source: https://github.com/DamarisDeng/paper-writing-system/tree/main/workflow/skills/compile-and-review
Command: npx skills add https://github.com/DamarisDeng/paper-writing-system --skill compile-and-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automates the end-to-end LaTeX paper compilation and review workflow, reducing manual glue code, error-prone multi-step builds, and inconsistent final PDFs by handling compilation, error remediation retries, and a built-in self-review checklist.

Core Features & Use Cases

  • Auto compile LaTeX to PDF using pdflatex and bibtex with up to 3 retry attempts on errors.
  • Run a self-review checklist, apply revisions, and recompile to ensure manuscript quality.
  • Finalize by copying the produced paper.pdf to the output root and staging area for distribution and archiving.
  • Progress tracking and resume support via a per-run progress tracker that reads/writes progress.json to continue after interruptions.

Quick Start

Run /compile-and-review <output_folder> to compile the LaTeX paper from <output_folder>/6_paper/ and produce the final paper.pdf at the output root.

Frequently Asked Questions about compile-and-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate LaTeX compilation with bibtex and pdflatex?

Automate LaTeX compilation by running an orchestrated workflow that executes pdflatex and bibtex sequentially. The process handles deterministic task orchestration, applies up to 3 retry attempts for error remediation, and automatically copies the finalized paper.pdf to the output root.

What is the best way to handle LaTeX compilation errors automatically?

Handle LaTeX compilation errors automatically using a built-in retry mechanism that attempts error fixes up to 3 times. This automated remediation applies during the pdflatex and bibtex compilation runs, ensuring the manuscript builds successfully without manual intervention for common formatting issues.

How do I run a self-review checklist on my LaTeX manuscript before finalizing the PDF?

Run a self-review checklist on your LaTeX manuscript by integrating it into the automated compilation workflow. After the initial build, the process runs the checklist, applies necessary revisions to the paper.tex file, and recompiles to ensure manuscript quality before finalizing the document.

Can I resume an interrupted LaTeX build without starting over?

Resume an interrupted LaTeX build using a per-run progress tracker that reads and writes progress.json. The workflow supports progress tracking with per-step statuses, allowing the compilation and review process to continue from the exact point of interruption without restarting.

Does automated LaTeX paper compilation require manual glue code for multi-step builds?

Automated LaTeX paper compilation does not require manual glue code. The workflow handles the end-to-end multi-step builds natively, orchestrating pdflatex and bibtex execution, managing retries, and finalizing the output PDF without requiring users to write custom build scripts.

Why should I use an automated LaTeX review workflow instead of compiling manually?

Use an automated LaTeX review workflow to reduce manual glue code and inconsistent final PDFs. It handles error-prone multi-step builds, automates self-review checklists with revisions, and tracks progress per step, providing a standardized and reliable alternative to manual compilation.