printable-cards
БесплатноЗапускает вложенные скриптыНе проверенCreate beautiful printable foldable greeting cards (birthday, thank you, etc.) as PDFs. Use when the user asks to make, design, or create a printable card…
от onfire7777★ 17 звёзд на GitHubОб этом скилле
Printable Cards
Create high-quality printable foldable greeting cards rendered as 2-page PDFs via HTML/CSS + WeasyPrint.
Card Layout
US Letter landscape (11 x 8.5 in), 2 pages, designed for double-sided printing (flip on short edge), fold in half.
| Page | Left Half | Right Half |
|---|---|---|
| 1 (outside) | Back cover (accent bg, border, symbol, label) | Front cover (full-bleed image) |
| 2 (inside) | Open space for handwriting | Header + message + closing |
Workflow
- Gather info: recipient name(s), relationship/context, occasion, gender/style preference, any personal details for the message
- Generate front cover image: use
generate_imageat 3:4 aspect ratio. Seereferences/cover-prompts.mdfor prompt templates. Feminine = floral/botanical wreath. Masculine = textured background with gold calligraphy. - Clean cover image: run
scripts/clean_cover_image.py <raw.png> <clean.png>to remove AI artifacts (shadows, table surfaces, grey borders). Verify visually. - Choose color palette: see
references/color-palettes.mdfor tested palettes. Match palette to the front cover style. Parameters:accent,accent_dark,light_bg,dark_text. - Write the message: write in HTML using
<p>tags. Save to a.htmlfile. Key principles:- Write from the correct perspective (who is giving the card)
- Include specific personal details, not generic compliments
- Sound human, not like a greeting card company
- High emotional intelligence: loving, positive, honest
- 3 paragraphs is the sweet spot
- Generate the PDF: run
scripts/generate_card.pywith all parameters. Use--masculineflag for bold sans-serif styling. - Verify: view both pages of the PDF. Check front cover fills the right half with no gaps, inside text is centered and readable, colors are cohesive between outside and inside.
- Deliver: attach the PDF. Include printing instructions: double-sided, flip on short edge, fold in half.
Script Usage
python scripts/generate_card.py \
--name "Chloe" \
--front-image /path/to/clean_cover.png \
--message-file /path/to/message.html \
--closing "All my love, your little brother" \
--accent "#C4889B" \
--accent-dark "#9E6B7E" \
--light-bg "#FDF2F5" \
--dark-text "#5A2D45" \
--output /path/to/Card.pdf \
[--masculine]
Message Writing Guidelines
The message is the hardest part. Follow these rules:
- Ask for context first. Who is giving the card? What is their relationship? What do they love about this person? Any inside jokes or specific things to mention?
- Write from the giver's voice, not a generic third person.
- Be specific. "The way you always sit with me and really talk" beats "you are always there for me."
- Stay honest. Do not over-idealize. If siblings tease each other, acknowledge it warmly.
- 3 paragraphs: (1) opening with personal connection, (2) what you admire/appreciate with specifics, (3) birthday wish + love.
- Closing line: short, warm, identifies the relationship (e.g. "Your favorite brother", "Love always, Mom").
Dependencies
Ensure weasyprint is installed: pip install weasyprint
Common Issues
| Issue | Fix |
|---|---|
| Front cover has grey edges/shadows | Run clean_cover_image.py more aggressively, or regenerate with "no shadows, no borders, no 3D effects" in prompt |
| Inside background doesn't match outside | Ensure light_bg color complements the front cover palette |
| Text looks generic/AI | Rewrite with specific personal details from the user |
| Card looks too feminine/masculine | Adjust palette and toggle --masculine flag |
Установить printable-cards в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл printable-cards?
Create beautiful printable foldable greeting cards (birthday, thank you, etc.) as PDFs. Use when the user asks to make, design, or create a printable card, greeting card, birthday card, or foldable card for someone.
Как установить скилл printable-cards?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл printable-cards запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic