document-generation-pdf

Generate, fill, and assemble PDF documents with pdf-lib, Puppeteer, and LaTeX.

181|30|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/curiositech/some_claude_skills --skill document-generation-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-generation-pdf
Source: https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/document-generation-pdf
Command: npx skills add https://github.com/curiositech/some_claude_skills --skill document-generation-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation, population, and assembly of PDF documents, streamlining workflows for legal, HR, and business operations.

Core Features & Use Cases

  • PDF Generation & Form Filling: Create and fill PDFs programmatically, supporting government forms, contracts, and certificates.
  • Document Assembly: Merge multiple PDFs into single packets, add cover pages, watermarks, and page numbers.
  • Use Case: Automatically generate and fill 50 customized offer letters for new hires, assemble them into individual packets with an HR handbook, and add page numbers.

Quick Start

Use the document-generation-pdf skill to generate a PDF invoice from the provided JSON data.

Frequently Asked Questions about document-generation-pdf

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

FAQPage Schema
How do I generate and fill PDF forms programmatically at scale?

PDF form filling and generation at scale is handled programmatically using pdf-lib to populate government forms, contracts, and certificates with dynamic data. This streamlines workflows for legal, HR, and business operations by automating document creation.

What is the best way to assemble multiple PDFs into a single document packet?

Document assembly merges multiple PDFs into single packets, allowing you to add cover pages, watermarks, and page numbers. This is ideal for compiling customized offer letters with HR handbooks into comprehensive onboarding packets.

Can I use Puppeteer and LaTeX for PDF template rendering?

Puppeteer and LaTeX are supported for PDF template rendering, enabling precise layout control when generating invoices, contracts, and certificates. These frameworks handle complex document structures alongside pdf-lib for form filling.

Does this approach to document generation work for legal tech and HR automation?

Document generation for legal tech and HR automation is the primary use case, supporting the creation of customized offer letters, legal forms, and certificates. It handles batch processing to generate and assemble dozens of documents simultaneously.

How do I add digital signatures like DocuSign to generated PDF documents?

Digital signatures with DocuSign are supported for generated PDF documents, enabling secure signing workflows for contracts and legal forms. This integrates signature capabilities directly into the document assembly and generation pipeline.

What are the limitations when using pdf-lib for document assembly?

pdf-lib handles form filling and merging PDFs but may have limitations with complex template layouts, where Puppeteer or LaTeX rendering is recommended instead. For advanced document assembly requiring watermarks and page numbering, combining multiple tools yields the best results.