jwynia avatar

Pdf Generator

Create and manipulate PDFs from templates or JSON specs, covering form filling, overlays, and merging.

CCM score
56 of 100
skills.sh installs
927
GitHub stars
191
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers template-based work (form filling, watermarks and overlays, PDF merging) and from-scratch generation from JSON specifications
  • Includes 3 scripts: analyze-template.ts, generate-from-template.ts, and generate-scratch.ts, each run through Deno with explicit read or write permissions
  • Supports six scratch element types (text, image, rectangle, line, circle, table) and seven built-in fonts on A4, Letter, or Legal pages
  • Designed for automated document work, and not suited to flowing page layout, password-protected files, or OCR of scanned documents

Install

$ npx -y skills add jwynia/agent-skills --skill pdf-generator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PDF Generator

When to Use This Skill

Use this skill when:

  • Creating PDF documents programmatically from data or specifications
  • Filling PDF forms with dynamic data
  • Adding watermarks, stamps, or overlays to existing PDFs
  • Extracting text and metadata from PDF files
  • Merging multiple PDFs into one document
  • Analyzing PDF structure and form fields

Do NOT use this skill when:

  • User wants to open/view PDFs (use native PDF viewer)
  • Complex page layout with flowing text is needed (consider HTML-to-PDF tools)
  • Working with password-protected PDFs (limited support)
  • OCR is needed for scanned documents

Prerequisites

  • Deno installed (https://deno.land/)
  • Input PDF files for template-based operations
  • JSON specification for scratch generation

Quick Start

Two Modes of Operation

  1. Template Mode: Modify existing PDF templates

    • Fill form fields (text, checkbox, dropdown)
    • Add overlays (text, images, shapes)
    • Merge and combine PDFs
  2. Scratch Mode: Create PDFs from nothing using JSON specifications

Instructions

Mode 1: Template-Based Generation

Step 1a: Analyze the Template

Details

Repository
github.com/jwynia/agent-skills
Category
Office Files & Slides
First seen
Apr 16, 2026

More from jwynia/agent-skills

All 118

Similar to Pdf Generator

More Office Files & Slides