weasyprint
Installation
SKILL.md
name: weasyprint description: >- WeasyPrint HTML/CSS-to-PDF expert skill (Kozea/CourtBouillon). CLI, Python API, @page paged media, PDF/A/UA/X, Factur-X, URL fetchers, FontConfiguration, server security. MUST use for: (1) untrusted HTML on servers, (2) PDF/A or PDF/UA, (3) Factur-X/ZUGFeRD, (4) print-pagination CSS. Triggers: WeasyPrint, HTML-to-PDF, invoices, reports, @page, footnotes, CourtBouillon. Always open references/resource-matrix.md first when scope is unclear — before any other file.
WeasyPrint
Pagination-first CSS engine (Python + Pango). Not headless Chrome: no JS, no RTL/bidi, print media default.
MANDATORY — read first when scope is unclear: references/resource-matrix.md
Load one flat expert lesson from references/ root (e.g. security-untrusted-html.md, css-paged-media.md). Do not open full-docs/ unless the matrix sends you there as last resort.