design
Make on-brand graphics - blog covers, OG images, social cards, thumbnails - with the Kortix `image_gen` tool for the background art and an HTML card for the exact text and the real logo, rendered to P
SKILL.mdpackages/starter/templates/marketing/skills/design/SKILL.md
GitHubDesign
The model draws the art. The words and the logo are composited after, from real files, so they are always exact. Product UI is a real screenshot, never generated.
Steps
- Settle the surface: the size from
references/sizes.md, the exact words (at most 8 for a cover), and whether it shows product UI. - Art (skip when the card is type only or a screenshot):
call
image_genwithaction: "generate", 1 to 4prompts, theaspect_ratiofrom the size table andquality: "high". A prompt names the subject, the image direction ofbrand/references/visual.md, the brand colors as hex, the composition, and "no text, no logo". To match an existing cover, useaction: "edit"with up to 5reference_imagesfrom the repository. The tool saves to/workspace/output/images/and returns the paths. It allows 10 images per turn and 50 per session; this skill uses at mostcaps.images_per_run. - Compose the card in HTML with
references/card.md: the art or the screenshot, the words in the brand font, the real logo file. - Render the card to PNG at the exact size with
agent-browser(references/card.md), then a WebP for the web when the site serves WebP:ffmpeg -i card.png -quality 80 card.webp. - Look at the PNG. Reject it on any item of the reject list in
brand/references/visual.md, or text that is cut, misspelled or unreadable at 25 % size. Fix and render again. - Save where the caller says:
site.media_pathfor a blog cover, the drafts folder for a social card. Write alt text that says what the image shows.
Never
- A generated logo, generated text inside the art, or generated product UI.
- A real person's face or name, a customer logo, a competitor's logo.
- A size that is not native to the surface: never upscale.