typeset-print

Applies DESIGN.md design tokens to bundled HTML print templates and builds PDF output.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/AlessioScarfone/aine-copilot-plugins --skill typeset-print-alessioscarfone
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: typeset-print
Source: https://github.com/AlessioScarfone/aine-copilot-plugins/tree/main/src/design/skills/typeset-print
Command: npx skills add https://github.com/AlessioScarfone/aine-copilot-plugins --skill typeset-print-alessioscarfone

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires weasyprint, and includes scripts (resource) and assets (resource) components.

What problem does it solve? Turning raw content into a consistently styled, print-ready document normally requires manual layout work and design decisions. This Skill automates that by mapping a DESIGN.md design system onto pre-built print templates, producing professional HTML and PDF documents without hand-coding CSS. ## Core Features & Use Cases - Design token mapping: Auto-discovers or loads a DESIGN.md file and converts its colors, fonts, and surfaces into CSS variable overrides injected into the template. - Seven bundled print templates: One-pager, long-doc, letter, resume, slides, equity report, and changelog, each with print-safe layout handled for you. - Diagram embedding: Extracts SVG diagrams (flowchart, bar chart, timeline, waterfall, and more) from bundled assets and embeds them with insight-driven captions. - Use Case: Paste your resume content and say "typeset this as a resume using my DESIGN.md" — the Skill detects the document type, applies your brand colors, fills the template, and runs the build script to produce HTML and PDF via WeasyPrint. ## Quick Start Ask the AI to typeset your attached content into a styled resume using the DESIGN.md in your project root and export it as a PDF.

Frequently Asked Questions about typeset-print

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply a DESIGN.md design system to a document template?▼

Place a DESIGN.md file in your project root or attach it directly, then request the document type you want. The Skill extracts color and font tokens, converts them into CSS variable overrides, and injects them into the matching bundled print template.

What print templates are available for document typesetting?▼

Seven templates are bundled: one-pager, long-doc, letter, resume, slides, equity report, and changelog. The Skill routes your request to the right template based on keywords like "resume", "pitch deck", or "release notes".

Does this typesetting skill support Chinese or Japanese documents?▼

No, it supports Latin-script languages only, such as English, Italian, Spanish, French, German, and Portuguese. Chinese, Japanese, Korean, Arabic, and other non-Latin scripts are rejected with a message directing you to a CJK-capable typesetting tool.

How do I convert the typeset HTML output to PDF?▼

Run the bundled build script with the --pdf flag, which uses WeasyPrint to generate output.pdf. If WeasyPrint is not installed, print from Chrome via File, Print, Save as PDF with background graphics enabled and margins set to None.

Can I use a dark or screen-only design system with print templates?▼

The templates are optimized for light print output. If your DESIGN.md specifies a dark background or screen-only style like glassmorphism, the Skill warns you and suggests using the typeset-free skill instead before continuing.

Why do rgba colors render incorrectly in WeasyPrint output?▼

WeasyPrint has a double-rectangle rendering bug with rgba() backgrounds on tags and badges. The Skill converts rgba values to solid hex by blending them over the page background and documents the conversion as a CSS comment.