pdflib-errors-common

Official

Diagnose and fix common pdf-lib errors

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rapidly identify and fix the most frequent pdf-lib mistakes that cause blank pages, misplaced content, missing images/fonts, form errors, and runtime exceptions in JavaScript/TypeScript PDF workflows. The Skill consolidates a prioritized diagnostic checklist and targeted remedies so developers can stop guessing and produce correct pdf-lib code faster.

Core Features & Use Cases

  • Diagnostic Checklist: Step-by-step checks for forgotten await, coordinate origin confusion, unsupported image formats, cross-document page copy rules, case-sensitive form field names, and color value ranges.
  • Decision Tree & Examples: A decision tree for common failure modes plus runnable before/after examples that demonstrate each fix.
  • Reference API Signatures: Quick lookup of async vs synchronous methods, drawing parameter names, save options, and recommended safeguards for form appearances and blank-page prevention.
  • Use Case: Debug a script that outputs a blank PDF or places text in the wrong vertical position by following the checklist to find missing awaits, coordinate math, or incorrect embed calls.

Quick Start

Point me at the failing pdf-lib code or describe the PDF symptom (blank page, mispositioned content, image/form error) and I will run the diagnostic checklist and recommend fixes.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pdflib-errors-common
Download link: https://github.com/OpenAEC-Foundation/pdf-lib-Claude-Skill-Package/archive/main.zip#pdflib-errors-common

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.