From paper
Build the current paper repo's PDF via latexmk, surface only the errors that matter (undefined citations, missing figures, TikZ key clashes, bibtex problems), and report the page count + size. Optionally render selected pages to PNG for visual review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/paper:build [--pages=1-4] [--clean][--pages=1-4] [--clean]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run `latexmk -pdf -interaction=nonstopmode paper.tex` and surface only
Run latexmk -pdf -interaction=nonstopmode paper.tex and surface only
what matters: errors, undefined references, missing figures, and any
bibtex warnings.
Arguments in $ARGUMENTS:
--pages=N or --pages=N-M — render those pages to PNG via
pdftoppm at 150 dpi into /tmp/<basename>-N.png and report the
paths. Useful for quick visual review after a TikZ change.--clean — latexmk -C first to nuke all aux files. Use when the
build is in a weird state (e.g. after a class-file swap).--clean was passed: latexmk -C paper.tex.latexmk -pdf -interaction=nonstopmode paper.tex.paper.pdf exists, report:
pdfinfo paper.pdf | grep Pagesls -la paper.pdfgrep -c "Citation .* undefined" paper.loggrep -iE "warning|error" paper.blg | head--pages was passed: render and list the PNGs.| Surface | Ignore |
|---|---|
! ... pdflatex error lines | Overfull \\hbox warnings (cosmetic) |
Citation .* undefined (from .log) | pdfTeX warning (dest) (harmless) |
! Package pgfkeys Error (TikZ key clash) | Underfull \\vbox warnings |
Bibtex errors from .blg | Font shape ... undefined (usually fine) |
Missing \\includegraphics files | TeX-live default font substitution notes |
| Error | Fix |
|---|---|
File 'figures/X.pdf' not found | Create a placeholder PNG/PDF, or run make figs first |
Citation 'X' undefined | Add the entry to references.bib via /paper:refs |
! Package pgfkeys Error: The key '/tikz/out' requires a value | Rename your TikZ style — don't use out, in, at |
--- they aren't the same literal types for entry X (bibtex) | @article is missing the journal= field; either add it or switch to @misc |
Empty journal in X (bibtex warning) | Same as above |
Latexmk says "errors" but paper.pdf exists with the right page count | Stale .fls / .fdb_latexmk; rerun with --clean |
latexmk exit code is unreliable: it sometimes reports errors
even when the PDF built fine (stale error caches). Always check
the actual paper.pdf mtime / page count after a "failed" run.pdflatex directly you need to interleave with bibtex.Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub borisbolliet/paper-claude-plugin --plugin paper