pdflib-impl-page-layout

Official

Accurate top-down PDF layout helpers

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents the most common pdf-lib layout mistakes by teaching top-down positioning for a bottom-left coordinate system, enforcing margins, and detecting page overflow so content does not appear in the wrong place or get clipped.

Core Features & Use Cases

  • Coordinate awareness: Clear guidance for working with pdf-lib's bottom-left origin to avoid inverted Y-axis errors when placing text, images, and shapes.
  • Margin and content area management: Patterns for defining content regions, header/footer placement, and consistent spacing across pages.
  • Flow and pagination: CursorY pattern, overflow checks, and page-break logic to render multi-page documents, multi-column layouts, tables, and captioned images reliably.
  • Measurement-first approach: Emphasizes measuring text and image dimensions to center elements and estimate wrapped text height before advancing the cursor.

Quick Start

Create a multi-page PDF using pdf-lib with margin-aware top-down flow, centered headers, measured text sizing, and automatic page breaks.

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

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.