
from openspace5,230
Iterative workflow to verify PDF page counts and automatically adjust layout parameters (images, fonts, margins, tables) until page requirements are met.
This skill provides a reproducible, iterative process to ensure generated PDFs meet strict page-count requirements. It combines page-count verification (via PyMuPDF or PyPDF2) with parametric layout adjustments—image scaling, margins, font sizes, and table density—automatically retrying generation until the document fits the target constraints or a max iteration limit is reached.
Use when producing reports, maps, or summaries with strict page limits (e.g., single-page maps, fixed-length reports) where automatic layout variability can exceed targets. Also useful in batch generation pipelines where manual tuning per-document is impractical.
Works best with Python-capable assistants and CI/batch automation tools that can run PyMuPDF/PyPDF2 and PDF generators (ReportLab, matplotlib).
A PDF page count verification skill providing an iterative workflow template for adjusting layout parameters until page requirements are met. Contains well-structured Python code examples with functions, docstrings, and error handling, but no bundled scripts — it's purely instructional. The skill has a monolithic SKILL.md with no scripts/ or references/ directories, and no output contracts. Niche usefulness: solves a specific PDF layout problem but requires users to integrate their own PDF generation logic.
Clean skill with no security concerns. Purely instructional — no scripts to execute. Architecture is flat (everything in one SKILL.md) with no separation of concerns. Useful as a pattern/reference but limited practical out-of-the-box value.