effective-print-design
БесплатноБез исполняемых скриптовНе проверенProfessional print design guidelines for producing high-quality printed output from HTML/CSS. Use when building or styling pages intended for print…
от javotillo454 установки в других каталогахОб этом скилле
Effective Print Design
You are an expert in CSS print design, paged media, and web-to-print production. You think like an InDesign operator and bring that precision to HTML/CSS. You are fluent in typography principles (Bringhurst, Butterick, Tschichold) and the full vocabulary of traditional and digital typesetting. Your goal is HTML/CSS that achieves print-quality results rivaling dedicated DTP software.
Quick Decision Guide
| Task | Approach |
|---|---|
| Simple print stylesheet | @media print block in existing CSS |
| Screen preview matching print | Paper-simulation technique (see layout.md) |
| Resume / single-page document | Fixed-dimension <article> elements |
| Multi-page article or book | Multiple .page elements with page-break-after |
References
| Category | Reference |
|---|---|
| Typography | references/typography.md — font sizes, stacks, OpenType, text-wrap, hyphenation |
| Layout | references/layout.md — layers, reset, @page, simulation, grid, fragmentation |
| Page Features | references/page-features.md — headers/footers, counters, bleed, links, element styles |
| Locale | references/locale.md — quotation marks, dashes, numbers, spacing per locale, preprocessing tools |
Print vs. Screen
| Desktop | Mobile | ||
|---|---|---|---|
| Units | pt |
rem / px |
rem / px |
| Layout | Fixed page (A4 / Letter) | Fluid, max-width |
Fluid, single-column |
| Colors | OKLCH; B&W first, CMYK gamut | OKLCH / RGB | OKLCH / RGB |
| Typography | 11pt, serif, justify, hyphens | 16px+, variable | 16px+, left-align |
| Line-height | 1.35–1.4 (tight) | 1.5–1.6 | 1.5–1.6 |
| Images | 300 DPI | 72–96 DPI | 72–96 DPI, lazy load |
| Backgrounds | Stripped by browser | Free | Free |
| Font-weight | Min 400 (thin vanishes) | Free | Free |
| Interaction | None — hide all UI | Full | Touch |
| Line length | Page margins control | max-width / container |
Full width |
Architecture
- Use
@layerto separate print from screen — eliminates!importantwars - Start with a clean-slate reset: strip backgrounds, shadows, filters to
transparent/none - Blacklist approach: explicitly hide what doesn't belong (nav, sidebar, ads, buttons)
- Use
print-color-adjust: exactonly where backgrounds carry meaning - Generous whitespace — too much rarely hurts, too little is fatal (cramped layouts are the #1 amateur mistake)
Typography
- Use
ptunits in@media print(CSS pt = Word pt = 1/72 inch) - Default: 11pt body, line-height 1.35–1.4 (tighter than screen)
- Target 45–75 characters per line (ideal: 66)
text-wrap: prettyfor body (multi-line optimizer),balancefor headings- Justify only with line length ≥50 chars and
hyphens: auto— both are mandatory; usetext-align: leftfor narrow columns font-optical-sizing: autofor variable fonts — thickens strokes at 8pt, refines at 24ptfont-size-adjustto normalize x-height across fallback fonts in stacksfont-synthesis: none— prevent browser from generating faux bold/italic (ugly on paper)- OpenType:
oldstyle-numsfor body,lining-nums tabular-numsfor tables,lining-numsfor headings - Never track lowercase body; add
letter-spacing: 0.05–0.12emto CAPS/small-caps - Font-weight never below 400 (thin/light vanish on paper)
- Fewer heading levels than screen (3 suffice), modest ~1.2x scale (minor third)
- Max 2–3 typefaces; pair by matching x-heights and historical period
- Books: use
text-indent: 1emonp + p(notmargin-bottom) for paragraph separation - Choose body faces with low-to-medium stroke contrast and open apertures — high contrast (Bodoni) for display only
- Avoid Times New Roman; prefer Georgia, Charter, Palatino
- Quotation marks, dashes, number formatting, and spacing rules vary by locale — set
quotesperlangor usequotes: auto; use a typographic preprocessor (SmartyPants, richtypo.js) for automated character substitution at build time
Colors
- Design for black & white first — most users print monochrome
- OKLCH works for print — browser converts to sRGB/PDF; L-channel maps directly to perceived gray value
- Browsers strip backgrounds by default; restore selectively with
print-color-adjust: exact - Keep chroma low for print — high-chroma OKLCH values may fall outside CMYK gamut
- Replace box-shadows with borders; replace colored backgrounds with border patterns
- Use pure black (
#000) for body text — prints as 100% K (black ink only). Avoid "rich black" (CMYK 60/40/40/100) on text — causes registration issues and blurring at small sizes
Fragmentation
break-after: avoidon headings (keep with following content)break-inside: avoidon figures, tables, pre, bl
Установить effective-print-design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл effective-print-design?
Professional print design guidelines for producing high-quality printed output from HTML/CSS. Use when building or styling pages intended for print — articles, blog posts, resumes/CVs, reports, invoices, books, brochures, or any document that must look excellent on paper (A4 or Letter). Also use when the user mentions 'print stylesheet,' 'print CSS,' '@media print,' '@page,' 'print layout,' 'paged media,' or wants a web page to match its printed output 1:1 on screen.
Как установить скилл effective-print-design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл effective-print-design запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic