Skip to content
Back to skills

Pdf Qa

ASecurity

Render every page of an existing PDF to PNG and gate delivery on recorded visual inspection. Use after generating or changing a PDF, before claiming a PDF report, document, diagram, or slide deck is complete, or when diagnosing clipping, overlap, broken glyphs, pagination, page-balance, or table-spacing defects. This skill validates PDFs; it does not author or repair their source.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 19, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 19, 2026

npx -y skills add ch4570/vulpora --skill pdf-qa --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pdf Qa?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pdf Qa
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ch4570-pdf-qa/badge)](https://www.skillsdirectory.com/skills/ch4570-pdf-qa)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pdf-qa
description: Render every page of an existing PDF to PNG and gate delivery on recorded visual inspection. Use after generating or changing a PDF, before claiming a PDF report, document, diagram, or slide deck is complete, or when diagnosing clipping, overlap, broken glyphs, pagination, page-balance, or table-spacing defects. This skill validates PDFs; it does not author or repair their source.
---

# PDF QA

Act as a gatekeeper. Never certify visual quality from PDF metadata, text extraction, OCR, or successful rendering alone.

Enforce the visual loop: Generate -> Render -> Inspect -> Fix -> Re-render.

## Workflow

1. Preserve the editable source and identify its relationship to the PDF. If the source is unavailable, record that limitation instead of inventing one.
2. Run `scripts/preflight.py` to verify that Poppler provides `pdfinfo` and at least one of `pdftocairo` or `pdftoppm`.
3. Run `scripts/render-pages.py --input <file.pdf> --output-dir <qa-dir> --source-ref <editable-source>`; use 180 DPI unless the artifact needs closer inspection.
4. Inspect every emitted page PNG visually. Use `view_image` when available. Read [references/qa-checklist.md](references/qa-checklist.md) for the checks and inspection record shape.
5. Create one `pdf-qa.inspection/v1` JSON record covering every rendered page and every required check. Record the rendered image SHA-256 so stale evidence cannot pass.
6. Run `scripts/record-inspection.py --manifest <qa-manifest.json> --inspection <inspection.json> --output <qa-final.json>`.
7. If the final status is `revise`, return the issues to the source-producing skill, regenerate the PDF, and repeat from step 2. Never patch the rendered PNG as the fix.

## Gate Rules

- Treat the initial render manifest as `revise`; rendering is evidence preparation, not inspection.
- Require visual evidence for `clipping`, `overlap`, `glyph_integrity`, `page_balance`, and `table_spacing` on every page.
- Accept only `visual_image_review`, `vision_model_review`, or `human_visual_review` as inspection methods. Do not treat text-only or OCR-only methods as visual evidence.
- Set `pass` only when every required check on every rendered page is explicitly recorded as `pass` against the current image digest.
- Set `revise` when any check fails. Include a concrete page-level detail for every result.
- Keep the PDF, editable source reference, rendered pages, render manifest, inspection record, and final QA manifest linked and available for reproduction.

## Completion

Report PDF QA complete only when `qa-final.json` has `status: pass`, all pages were rendered at the recorded DPI, all image digests match the inspection, and no required check is missing. Otherwise report `revise` and the issue list.

Files in this skill

  • SKILL.md2.7 KB
  • agents/openai.yaml238 B
  • references/qa-checklist.md2.3 KB
  • scripts/preflight.py1.5 KB
  • scripts/record-inspection.py7.2 KB
  • scripts/render-pages.py6.6 KB
  • tests/contract.test.sh4.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.