pdf-fixture

Generate deterministic PDF fixtures from JSON or inline specs for testing extraction pipelines.

1|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/grahama1970/fetcher --skill pdf-fixture
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pdf-fixture
Source: https://github.com/grahama1970/fetcher/tree/main/.agents/skills/pdf-fixture
Command: npx skills add https://github.com/grahama1970/fetcher --skill pdf-fixture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate deterministic PDF fixtures to test extraction and parsing pipelines, eliminating guesswork when validating data workflows.

Core Features & Use Cases

  • Self-contained fixture generator that creates PDFs with sections, tables, figures, equations, and annotations for repeatable testing.
  • Auto-installs via uv from git for quick onboarding and consistent environments.
  • Use cases include validating OCR, text extraction, table parsing, and equation handling across multiple document styles.

Quick Start

Run the wrapper to generate a sample fixture named test_fixture using a provided spec.

Frequently Asked Questions about pdf-fixture

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

FAQPage Schema
How do I create deterministic PDF fixtures for testing extraction pipelines?▼

Generate deterministic PDF fixtures by defining content through JSON or inline specs to produce ready-to-verify files, ensuring repeatable testing for data extraction and parsing workflows.

What is the best way to test PDF parsing and table extraction reproducibility?▼

Testing PDF parsing reproducibility is best achieved by generating self-contained fixtures with sections, tables, figures, and equations, yielding predictable file layouts for consistent validation.

Do I need uv to run the PDF fixture generator workflow?▼

You need uv to install and run the external extractor workflow, as the tool auto-installs via uv from git to enable quick onboarding and consistent testing environments.

Can I use JSON specs to define content for PDF test fixtures?▼

JSON specs can define content for PDF test fixtures, allowing you to specify sections, tables, figures, equations, and annotations to output a fixture with a SPEC.md for verification.

What types of document elements can I include when generating PDFs for automated testing?▼

When generating PDFs for automated testing, you can include sections, tables, figures, equations, and annotations to validate OCR, text extraction, and table parsing across multiple document styles.