pixelcraft-document

Installation
SKILL.md

Pixelcraft document

Documents are fixed-fragmentation interfaces. Screen scrolling assumptions do not apply: page size, margin boxes, breaks, running navigation, physical units, print color behavior, and final-file legibility are part of the design. Choose the renderer before writing print CSS because browser print, Playwright/Gotenberg, Paged.js, WeasyPrint, PrinceXML, Vivliostyle, React-PDF, Typst, and LaTeX implement different subsets.

Surface craft

Build a reading sequence around repeated headers, explicit units and page boundaries, not screen-size sections. Keep related rows or notes together when pagination allows, and verify totals, source facts, selectable text and reading order in the final tagged/exported artifact. Check the actual zoom, grayscale or projector distance; do not flatten a useful document to slides-as-images.

References

  • Read references/print-css.md for @page, named pages, counters, margin boxes, string-set, target-counter(), footnotes, fragmentation, physical units, print color, bleed, and browser-support boundaries.
  • Read references/pdf-tools.md for Playwright PDF, Gotenberg, PrinceXML, Vivliostyle, Paged.js, WeasyPrint, React-PDF, pdf-lib, ReportLab/PDFKit, Typst, LaTeX, Quarto, and Office (docx/python-docx, ExcelJS/SheetJS) toolchains.
  • Read references/archetypes.md for invoice (including ZUGFeRD/Factur-X hybrid e-invoicing), report, CV/résumé, and PDF/UA tagging composition rules.
  • Read references/slides.md for Slidev, reveal.js, Marp, Touying/Polylux, Quarto RevealJS, Keynote-style slide craft, safe areas, type scale, and export verification.
  • Read references/pdfjs-and-pptx.md when embedding client-side PDF viewers (pdfjs-dist worker, TextLayer, HiDPI transform, cancellation) or generating programmatic PowerPoint decks (pptxgenjs).

Required workflow

Installs
3
First Seen
7 days ago