pdf-tools
PDF Tools
Full-lifecycle PDF engineering covering extraction, generation, modification, form filling, and security. Prioritizes JavaScript-first solutions (pdf-lib, unpdf, Puppeteer) with Python/CLI utilities for advanced scenarios.
When to use: Extracting structured data from PDFs, generating pixel-perfect PDFs from HTML/React, modifying existing PDFs, filling forms (fillable or non-fillable), or securing documents with encryption.
When NOT to use: Simple text file processing, image-only manipulation without PDF context, or tasks better handled by a word processor.
Quick Reference
| Task | Tool | Key Point |
|---|---|---|
| Generate PDF from HTML | Puppeteer / Playwright | page.pdf(); use networkidle0 (Puppeteer) or networkidle (Playwright) |
| Extract text (lightweight) | unpdf | Edge/serverless compatible |
| Extract tables (AI) | Vision model + Zod schema | Multi-column and merged cell support |
| Extract tables (non-AI) | pdfplumber (Python) | Precise cell boundary detection |
| Modify, merge, split | pdf-lib (or @pdfme/pdf-lib) |
Byte-level PDF manipulation in JS |
| Fill fillable forms | pdf-lib (or @pdfme/pdf-lib) |
Inspect AcroForm fields before writing |
| Fill non-fillable forms | Python annotation scripts | Visual analysis + bounding box annotations |
More from oakoss/agent-skills
playwright
|
200ui-ux-polish
Iterative UI/UX polishing workflow for web applications. Use when improving visual polish, refining desktop and mobile UX separately, running iterative enhancement cycles, applying design patterns like glassmorphism or bento grids, or auditing accessibility and WCAG compliance. Use for Stripe-level visual quality, responsive optimization, and design system alignment.
153find-skills
|
119knowledge-graph-builder
>
101tailwind
Tailwind CSS v4 patterns and design systems. Use when configuring Tailwind themes, building components, implementing dark mode, using container queries, migrating from v3, integrating shadcn/ui, or fixing build errors. Use for tailwind, css, styling, theme, design-tokens.
85pnpm-workspace
pnpm workspace monorepo management with filtering, catalogs, and shared configs. Use when setting up monorepos, managing workspace dependencies, filtering package commands, or sharing configuration across packages.
78