pdf

Generate PDF documents with text, images, tables, and vector graphics.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/dinequickly/agentsGUI --skill pdf-dinequickly
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/dinequickly/agentsGUI/tree/main/excel-demo/skills/pdf
Command: npx skills add https://github.com/dinequickly/agentsGUI --skill pdf-dinequickly

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation and formatting of PDF documents, reducing manual coding and layout iterations.

Core Features & Use Cases

  • Automated PDF creation: Generate PDFs with text, images, and simple layouts using libraries like PDFKit or jsPDF.
  • Layout and styling: Apply typography, margins, and image placement for consistent branding.
  • Use Case: Produce batch invoices or reports with a unified template.

Quick Start

Create a sample PDF titled 'report.pdf' using the included example data.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I generate professional PDF documents in Node.js?

Generate professional PDFs in Node.js using libraries like PDFKit or jsPDF to compose text, images, and layouts. These libraries handle document structure, formatting, and export to file or stream, letting you automate invoice, report, and form creation without manual assembly.

Can I create multi-page PDFs with tables, headers, and images?

Yes. PDFKit and jsPDF support multi-page layouts with text formatting, image embedding, tables, headers, footers, and vector graphics. Compose complex documents by positioning elements programmatically and managing pagination automatically.

What's the best way to automate batch invoice or report generation?

Automate batch PDF generation by templating layout and styling rules, then iterating over data to populate text, images, and tables. Libraries like PDFKit and jsPDF let you define consistent branding, margins, and typography once and apply it across documents.

Does jsPDF or PDFKit work in browser contexts?

jsPDF runs in both browser and Node.js environments, enabling client-side PDF generation. PDFKit is server-side only. Choose jsPDF for browser-based document download or PDFKit for server-driven workflows.

How do I export generated PDFs to file or download?

Export PDFs via save (server file output), stream (server-side piping), or download (browser client-side). Both PDFKit and jsPDF provide methods to finalize and deliver documents based on your deployment context.

What layout control do PDF libraries provide for positioning elements?

PDFKit and jsPDF support absolute positioning, margins, and coordinate-based placement for text, images, and shapes. This control ensures consistent alignment and spacing across pages without manual pixel-level adjustment.