pdflib-syntax-document
OfficialCreate and save PDFs reliably
AuthorOpenAEC-Foundation
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents common pdf-lib mistakes that lead to silent failures or data loss, such as forgetting to await asynchronous APIs, unintentionally overwriting original metadata when loading, choosing the wrong save format for browser contexts, or mishandling encrypted PDFs.
Core Features & Use Cases
- Guidance for correct PDF lifecycle operations: creating, loading, modifying, and saving documents with pdf-lib.
- Metadata management and preservation strategies for archival and distribution workflows, including title, author, keywords, language, and creation/modification timestamps.
- Output and compatibility decisions for Node.js and browser contexts, including choosing between binary saves and base64/data URI exports, attachments handling, and encryption-aware loading.
Quick Start
Load the PDF bytes with updateMetadata set to false to preserve original metadata, make your changes, then await save or saveAsBase64 for the correct output format.
Dependency Matrix
Required Modules
None requiredComponents
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-syntax-document Download link: https://github.com/OpenAEC-Foundation/pdf-lib-Claude-Skill-Package/archive/main.zip#pdflib-syntax-document Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.