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:
.cursorrulesPlatform: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 bufferingInstallation Instructions
For Cursor:
- Create a file named
.cursorrulesin your project root - Copy the skill code above and paste it into the file
- Save and Cursor will apply these rules automatically
Recommended MCP Servers
These MCP servers work great with this skill
puppeteer
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.