Doc pdf

From aturzone/Skull · View interactive version

Doc pdf is an AI agent skill from the GitHub repository aturzone/Skull. Create, fill, and extract PDFs — when the deliverable is a PDF, not code. Triggers on "generate a PDF", "make a report or invoice PDF", "fill this PDF form", "extract text or tables from a PDF", "HTML to PDF". Picks the right engine: WeasyPrint or headless Chromium for styled HTML-to-PDF reports, Re

How to use this skill

Skill file

doc-pdf — create, fill, and extract PDFs

The deliverable is a PDF a human opens. Pick the engine by the job — don't force one library to do all three.

Choose the approach

no browser. The default for tabular reports.

or needs web fonts / JS / exact flexbox. Set print media (emulateMedia('print')), else screen CSS leaks in.

fpdf2 for simple cases.

Keep the AcroForm unless the user wants it flattened.

coordinates). Scanned PDF? OCR first (ocrmypdf / Tesseract).

Recipes (sketch — adapt to the repo's language)

Quality gate

when it matters.

Pitfalls

the content (and redact PII with sec-pii before the data ever leaves the box).


*Learned from the community's document skills (incl. Anthropic's official PDF skill) — re-implemented as

guidance over open libraries, not vendored. See docs/ECOSYSTEM.md. Pairs with doc-office and sec-pii.*

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.