بنقرة واحدة
compile-latex
Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when compiling lecture slides.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when compiling lecture slides.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Read MEMORY.md at session start and apply [LEARN:tag] corrections; when the user corrects you, append [LEARN:category] wrong → right to MEMORY.md. Use when starting work on this project or when the user gives a correction to remember.
Run holistic pedagogical review on lecture slides. Checks 13 patterns: narrative arc, notation density, pacing, motivation before formalism, worked examples, fragment reveals, box hierarchy. Use when the user asks for pedagogy or teaching-quality review of slides.
Run proofreading on lecture files (.tex or .qmd). Checks grammar, typos, overflow, consistency, and academic quality. Produces a report only; does not edit files. Use when the user asks to proofread slides or check grammar/typos in lecture content.
Adversarial QA comparing Quarto slides to Beamer benchmark. Run critic (find issues) then fixer (apply fixes); repeat until approved or max 5 rounds. Use when the user asks to QA Quarto vs Beamer or validate a lecture translation.
Review R scripts for code quality, reproducibility, and domain correctness. Checks set.seed, paths, structure, figure quality, and conventions. Use when the user asks to review R code or check scripts in scripts/R or Figures.
Run combined multi-dimensional slide review: visual audit, pedagogy review, and proofreading (and optionally TikZ parity). Use when the user asks for full or comprehensive slide review before a milestone.
| name | compile-latex |
| description | Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when compiling lecture slides. |
| argument-hint | [filename without .tex extension] |
| allowed-tools | ["Read","Bash","Glob"] |
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
Check for warnings:
Overfull \\hbox warningsundefined citations or Label(s) may have changedOpen the PDF for visual verification:
open Slides/$ARGUMENTS.pdf
Report results:
.aux file with citation keys.aux, generates .bbl with formatted referencesPreambles/.bib file lives in the repo root