Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
404kidwiz avatar

PDF Skill Skill

  • 104 installs
  • 404kidwiz/claude-supercode-skills

Generate, parse, and manipulate PDF documents programmatically

About

Handles PDF generation, parsing, and manipulation in applications. Builders use this to create reports, extract data from PDFs, and automate document workflows.

  • PDF generation
  • Parsing
  • Manipulation
  • Document API

Pdf Skill by the numbers

  • 104 all-time installs (skills.sh)
  • Ranked #3,077 of 4,492 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 11, 2026 (Skillselion catalog sync)
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill pdf-skill

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs104
Repository404kidwiz/claude-supercode-skills

What it does

Generate, parse, and manipulate PDF documents programmatically

Files

SKILL.mdMarkdownGitHub ↗

PDF Skill

Purpose

Provides expertise in programmatic PDF generation, parsing, and manipulation. Specializes in creating PDFs from scratch, extracting content, merging/splitting documents, and handling forms using PDFKit, PDF.js, Puppeteer, and similar tools.

When to Use

  • Generating PDFs programmatically
  • Extracting text or data from PDFs
  • Merging or splitting PDF documents
  • Filling PDF forms programmatically
  • Converting HTML to PDF
  • Adding watermarks or annotations
  • Parsing PDF structure and metadata
  • Building PDF report generators

Quick Start

Invoke this skill when:

  • Generating PDFs from code or data
  • Extracting content from PDF files
  • Merging, splitting, or manipulating PDFs
  • Filling or creating PDF forms
  • Converting HTML/web pages to PDF

Do NOT invoke when:

  • Word document creation → use /docx-skill
  • Excel/spreadsheet work → use /xlsx-skill
  • PowerPoint creation → use /pptx-skill
  • General file operations → use Bash or file tools

Decision Framework

PDF Operation?
├── Generate from scratch
│   ├── Simple → PDFKit (Node) / ReportLab (Python)
│   └── Complex layouts → Puppeteer/Playwright + HTML
├── Parse/Extract
│   ├── Text extraction → pdf-parse / PyPDF2
│   └── Table extraction → Camelot / Tabula
├── Manipulate
│   └── pdf-lib (merge, split, edit)
└── Forms
    └── pdf-lib (fill) / PDFtk (advanced)

Core Workflows

1. PDF Generation with PDFKit

1. Install PDFKit (npm install pdfkit) 2. Create new PDDocument 3. Add content (text, images, graphics) 4. Style with fonts and colors 5. Add pages as needed 6. Pipe to file or response

2. HTML to PDF Conversion

1. Set up Puppeteer/Playwright 2. Navigate to HTML content or URL 3. Configure page size and margins 4. Set print options (headers, footers) 5. Generate PDF buffer 6. Save or stream result

3. PDF Parsing and Extraction

1. Choose parser (pdf-parse, PyPDF2, pdfplumber) 2. Load PDF file 3. Extract text or structured data 4. Handle multi-page documents 5. Clean and normalize extracted text 6. Output in desired format

Best Practices

  • Use vector graphics over raster when possible
  • Embed fonts for consistent rendering
  • Test PDF output across different readers
  • Handle large PDFs with streaming
  • Use appropriate library for task complexity
  • Consider accessibility (tagged PDFs)

Anti-Patterns

Anti-PatternProblemCorrect Approach
Image-only PDFsNot searchable/accessibleUse text with fonts
No font embeddingRendering issuesEmbed required fonts
Memory loading large PDFsCrashesStream processing
Ignoring encryptionSecurity/access issuesHandle encrypted PDFs
Wrong tool for jobOver-engineeringMatch tool to complexity

Related skills

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.