pdf

Create, extract, and visually review PDF documents using Python libraries and Poppler rendering.

1|1|Updated Jul 6, 2026
One-click install
npx skills add https://github.com/muhammaddadu/ai-skill-collection --skill pdf-muhammaddadu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/muhammaddadu/ai-skill-collection/tree/main/utilities/pdf
Command: npx skills add https://github.com/muhammaddadu/ai-skill-collection --skill pdf-muhammaddadu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires reportlab, pdfplumber, pypdf.

What problem does it solve? Working with PDFs often fails on layout fidelity: text extraction loses structure, generated documents render with clipped text or broken tables, and defects go unnoticed until delivery. This Skill provides a workflow for reading, generating, and visually validating PDFs so the final output is polished and correct. ## Core Features & Use Cases - Visual PDF Review: Render pages to PNGs with Poppler's pdftoppm and inspect alignment, spacing, and legibility before delivery. - Programmatic PDF Generation: Create new documents with reportlab while maintaining consistent typography, margins, and section hierarchy. - Text Extraction and Checks: Use pdfplumber or pypdf for text extraction and quick content checks without relying on them for layout fidelity. - Use Case: Generate a multi-page report PDF with charts and tables, render every page to images, and verify there are no overlapping elements, broken tables, or unreadable glyphs before sending it to stakeholders. ## Quick Start Use the pdf skill to create a formatted PDF report from my notes and render each page so we can visually verify the layout.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I create a PDF in Python with good formatting?▼

Use reportlab to generate PDFs programmatically with control over typography, spacing, margins, and section hierarchy. After generation, render pages with pdftoppm and inspect the PNGs to catch clipped text or overlapping elements.

How to extract text from a PDF using Python?▼

Use pdfplumber or pypdf for text extraction and quick content checks. These libraries work well for reading content but should not be relied on for layout fidelity, so pair extraction with visual rendering when layout matters.

pdfplumber vs pypdf for PDF text extraction?▼

Both pdfplumber and pypdf handle text extraction and quick checks in this workflow. Neither guarantees layout fidelity, so visual review via rendered page images remains the validation step regardless of which library you choose.

How do I render PDF pages to images for review?▼

Run pdftoppm with the -png flag, passing the input PDF and an output prefix, to convert each page into a PNG image. Poppler must be installed via Homebrew on macOS or apt-get on Ubuntu/Debian.

Why does my generated PDF have clipped text or broken tables?▼

Clipped text, overlapping elements, and broken tables come from layout errors during generation that text-based checks cannot detect. Re-render pages to PNGs after each update and verify alignment, spacing, and legibility before delivery.