pdflib-syntax-pages

Official

Master pdf-lib page operations with confidence.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Simplifies and standardizes page management in pdf-lib by providing a complete PageSizes enum and reliable page operation methods, preventing common sizing mistakes across add, insert, and remove actions.

Core Features & Use Cases

  • Supports addPage, insertPage, removePage, getPage, getPages, and page size awareness through PageSizes.
  • Ensures correct coordinate systems, rotation, and content transformations for consistent document layouts.
  • Use Case: build multi-page PDFs with varied sizes (A4, Letter, custom) while guaranteeing stable indices and shapes.

Quick Start

Create a new PDFDocument and start with PageSizes.A4, then experiment with insertPage, removePage, and getPage to manage pages.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-pages
Download link: https://github.com/OpenAEC-Foundation/pdf-lib-Claude-Skill-Package/archive/main.zip#pdflib-syntax-pages

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.