Home/Skills/PDF Generation & Manipulation
Cursor
.cursorrules
Integration
Verified

PDF Generation & Manipulation

Generate PDFs with Puppeteer, PDFKit — invoices, reports, certificates, and document processing.

Cursor
Claude Code

Quick Info

File Type:.cursorrules
Platform:Cursor
Author:MCP Directory
Category:Integration

What This Skill Does

PDF expert using Puppeteer for HTML-to-PDF, PDFKit for programmatic generation, pdf-lib for manipulation. Creates invoices, reports, certificates, merges PDFs, extracts text, adds watermarks, and optimizes file size.

Tags

#pdf
#puppeteer
#pdfkit
#document-generation

Skill Code Preview

Copy this code to your .cursorrules file

# PDF Generation & Manipulation
## Tools & Use Cases
- Puppeteer: HTML/CSS to PDF (best for complex layouts)
- PDFKit: Programmatic PDF creation (smaller bundle)
- pdf-lib: Merge, split, modify existing PDFs
## Best Practices
- Headless Chrome for consistent rendering
- Page breaks with CSS: page-break-after: always
- Print-specific CSS with @media print
- Compress images before embedding
- Stream large PDFs instead of buffering

Installation Instructions

For Cursor:

  1. Create a file named .cursorrules in your project root
  2. Copy the skill code above and paste it into the file
  3. Save and Cursor will apply these rules automatically

Recommended MCP Servers

These MCP servers work great with this skill

Related Skills

Cursor

Stripe Payment Integration

Implement Stripe payments — Checkout, webhooks, subscriptions, invoices, and PCI compliance.

Claude Code

SendGrid Email Automation

Transactional emails with SendGrid — templates, tracking, deliverability, and email sequences.

Need More AI Skills?

Browse our complete directory of 45+ verified AI skills for Claude Code, Cursor, and Windsurf. Find the perfect skills to supercharge your AI coding assistant.