Compares current Beamer PDF output against a baseline branch. Highlights visual differences to prevent regressions.

Install

mkdir -p .claude/skills/pdf-diff && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12005" && unzip -o skill.zip -d .claude/skills/pdf-diff && rm skill.zip

Installs to .claude/skills/pdf-diff

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Visual PDF regression test comparing current Beamer output against a baseline branch. Use when checking if slide changes introduced visual regressions.
151 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • →Compile current Beamer PDF output
  • →Retrieve baseline Beamer PDF output from a specified branch
  • →Compare two PDFs visually using `diff-pdf`
  • →Report visual differences or confirm identity
  • →Generate a diff PDF highlighting changes

How it works

The skill compiles the current and baseline versions of a Beamer PDF, then uses `diff-pdf` to compare them. It reports whether visual differences are detected and provides a diff PDF if they are.

Inputs & outputs

You give it
PaperName (e.g., SUNY, DreamZero) and an optional baseline branch (default: main)
You get back
A report indicating if visual differences were found, and a path to a diff PDF if differences exist

When to use pdf-diff

  • →Validate slide deck changes
  • →Ensure document formatting consistency
  • →Detect visual bugs in academic papers

About pdf-diff

Compiles LaTeX documents into PDFs and compares them using diff-pdf. Reports visual differences or confirms equality.

Visual PDF regression test comparing current Beamer output against a baseline branch. Use when checking if slide changes introduced visual regressions.

When not to use it

  • →When `diff-pdf` is not installed
  • →When the paper's `.tex` file does not compile successfully
  • →When only text differences are needed

Prerequisites

`diff-pdf` must be installedThe paper's `.tex` file must compile successfully

Limitations

  • →Requires `diff-pdf` to be installed
  • →Requires the `.tex` file to compile successfully
  • →Compares full visual output

How it compares

This skill automates the visual comparison of Beamer PDF outputs against a baseline, providing a clear diff, which is more efficient and accurate than manual visual inspection.

Compared to similar skills

pdf-diff side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
pdf-diff (this skill)06moReviewIntermediate
svelte-expert1111moNo flagsIntermediate
home-assistant-integration-knowledge84moNo flagsAdvanced
writing-skills46moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry