Was macht Flyer?
1. Load the brand
Look for brand.md in the project folder, the attached files or the project knowledge. Use its colours, fonts, logo, contact details and current offers.
If there is no brand.md, offer to set one up with the brand-kit skill. If they would rather skip that, ask only for the business name, two colours, the logo and one contact line.
2. Get the brief
Ask only for what is missing, in one message:
- What it's for: the offer, event or news, in their own words.
- The facts: price or discount, dates, times, place and terms. Copy them exactly.
- What people should do: call, WhatsApp, visit, book or order. Use the contact details from
brand.md. - Where it will be shown: this sets the size (see the table below).
- Photos: use their real product, food or venue photos. Never generate or fake a product photo. Without a photo, use a text-led layout.
| Where it's shown | Size | Template class |
|---|---|---|
| Instagram or Facebook post | 1080 × 1350 px | size-post |
| Square post | 1080 × 1080 px | size-square |
| Story, WhatsApp status, TikTok | 1080 × 1920 px | size-story |
| A4 print | 210 × 297 mm | size-a4 |
| A5 handout | 148 × 210 mm | size-a5 |
If they're not sure, make a post (1080 × 1350), and an A4 version as well if they plan to print.
3. Write the words first
- Headline: at most six words. Lead with the offer or the benefit, not the business name.
- One supporting line.
- The facts: price, date and place, in that order.
- What to do next, with the real contact details.
- If there are terms, add "T&Cs apply" and the key term. Make no claims the owner didn't give you.
Check the words against the voice in brand.md. Show them to the owner and get a yes, unless they said to go straight ahead.
4. Design
Start from the closest template:
- templates/bold-offer.html for a sale or discount, built around a big price or percentage.
- templates/event.html for an event, launch or opening, led by the date, time and venue.
- templates/photo-hero.html for a product, a dish or a place, with one strong photo and a headline band.
Each template sets the brand at the top of the file, as CSS variables on :root: --primary, --accent, --text, --bg, --font-head and --font-body. Set these from brand.md, add the Google Fonts link, fill the content slots, and put the size class on <body>.
For photo-hero.html, save the owner's photo next to the HTML file as photo.jpg. Without it the template shows a brand-colour gradient instead of a broken image. Slots are marked with data-slot attributes, and a comment at the top of each template lists them.
Rules:
- One focal point. The headline must still be readable at thumbnail size.
- At most two fonts, the ones in
brand.md. - Small text needs a contrast of at least 4.5:1 against its background.
- Show the logo once. The contact details are always visible.
- Keep everything 5% in from the edges. On stories, keep the top and bottom 250 px free of text, because the app's buttons cover them.
- When a fact is long, shorten the words rather than shrinking the type.
5. Export
Where Chrome or Edge is available (Claude Code or another agent that can run commands):
node scripts/render.mjs flyer.html --out flyer.png # social sizes
node scripts/render.mjs flyer.html --out flyer.pdf # print sizes
The script reads the size from the size class on <body>. Add --size post|square|story|a4|a5 to render another size from the same file without editing it. A4 and A5 PNGs are rendered at 300 dpi. It needs Node 18 or later and Chrome, Edge or Chromium. No npm install is needed.
Without a browser: hand over the HTML file. To get a PDF, they open it in Chrome and choose Print → Save as PDF, with margins set to none. For an image, they open it and take a screenshot. If the chat app can preview HTML, show the preview.
Look at the rendered result yourself before handing it over. Check for text overflowing or cut off, poor contrast, a stretched logo and wrong facts.
6. Other sizes
Offer once to make the same design in the other sizes the owner needs, such as a story, a post and an A4. Rearrange the layout for each shape rather than just scaling it.