pdf-diff

Compare compiled PDF slides against baselines to detect visual regressions.

5|1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/alohays/paper2pr --skill pdf-diff
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-diff
Source: https://github.com/alohays/paper2pr/tree/main/.claude/skills/pdf-diff
Command: npx skills add https://github.com/alohays/paper2pr --skill pdf-diff

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires diff-pdf, and includes scripts (resource) components.

What problem does it solve?

This Skill helps users identify visual regressions in PDF slide decks by comparing current Beamer outputs against baselines.

Core Features & Use Cases

  • Visual Regression Testing: Compares current LaTeX-compiled PDFs with baseline versions to find differences.
  • Automated Checks: Simplifies the process of verifying slide design integrity after updates or code changes.
  • Use Case: When updating a research presentation, ensure no unintended visual changes occurred by running this Skill to compare slide PDFs automatically.

Quick Start

Use the pdf-diff skill to compare the current slide deck with the main branch baseline for a specific paper.

Frequently Asked Questions about pdf-diff

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

FAQPage Schema
How do I detect visual differences between PDF slide outputs?

Visual regression testing for PDFs compares compiled Beamer slides against a baseline version to detect unwanted visual changes. It ensures presentation fidelity after updates by automatically highlighting differences between the two PDF files.

How do I check a Beamer presentation for visual regressions after updates?

Check Beamer presentations for visual regressions by comparing the newly compiled PDF slide deck against a main branch baseline. This process automatically verifies that code or content updates did not introduce unintended visual layout shifts.

Do I need diff-pdf to compare PDF slide decks for visual regressions?

Yes, you need the diff-pdf tool installed to compare PDF slide decks for visual regressions. It provides the required image comparison mechanism to detect unwanted visual changes between baseline and current Beamer presentation outputs.

What is the best way to verify presentation fidelity when updating research slides?

The best way to verify presentation fidelity when updating research slides is running an automated visual regression check. This compares your current PDF deck against a baseline to detect and highlight any unwanted visual changes introduced by edits.

Can I automate quality control checks for compiled PDF slide outputs?

Yes, you can automate quality control checks for compiled PDF slide outputs by comparing current versions against baselines. This streamlines verifying slide design integrity after updates by automatically flagging unwanted visual regressions in the deck.