一键导入
pdf-diff
Visual PDF regression test comparing current Beamer output against a baseline branch. Use when checking if slide changes introduced visual regressions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Visual PDF regression test comparing current Beamer output against a baseline branch. Use when checking if slide changes introduced visual regressions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when compiling lecture slides.
Render Quarto slides and deploy to GitHub Pages via CI/CD. Use when deploying lecture slides after making changes.
Generate speaker notes (presentation script) for Quarto RevealJS slides. Supports English and Korean. Use when user asks to "write speaker notes", "add presentation script", "speaker script", "발표 스크립트", or "스피커 노트".
Extract TikZ diagrams from Beamer source, compile to PDF, convert to SVG with 0-based indexing. Use when updating TikZ diagrams for Quarto slides.
Adversarial Quarto vs Beamer QA. Critic finds issues, fixer applies fixes, loops until APPROVED (max 5 rounds).
Comprehensive manuscript review covering argument structure, technical methodology, citation completeness, and potential referee objections
| name | pdf-diff |
| description | Visual PDF regression test comparing current Beamer output against a baseline branch. Use when checking if slide changes introduced visual regressions. |
| argument-hint | [PaperName] [branch, default: main] |
| allowed-tools | ["Read","Bash","Glob"] |
Compare the current Beamer PDF output against a baseline branch to detect visual regressions.
diff-pdf must be installed (brew install diff-pdf).tex file must compile successfullySUNY, DreamZero)main)cd /Users/iyunseong/maangeek/paper2pr/Slides
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $PAPER.tex
cp $PAPER.pdf /tmp/${PAPER}_current.pdf
cd /Users/iyunseong/maangeek/paper2pr
git stash --include-untracked
git checkout $BRANCH -- Slides/$PAPER.tex
cd Slides
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $PAPER.tex
cp $PAPER.pdf /tmp/${PAPER}_baseline.pdf
git checkout - -- Slides/$PAPER.tex
git stash pop
diff-pdf --output-diff=/tmp/${PAPER}_diff.pdf /tmp/${PAPER}_baseline.pdf /tmp/${PAPER}_current.pdf
echo "Exit code: $?"
open /tmp/${PAPER}_diff.pdfrm -f /tmp/${PAPER}_current.pdf /tmp/${PAPER}_baseline.pdf
Keep the diff PDF for review if differences were found.
diff-pdf --skip-identical shows only changed pages