Levni taste
Art direction for pictures an agent draws with Levni. It is for drawn assets, not UI. Start from a recipe card, change a few fields, render, read the critic, look, fix.
House rules
These win over everything else in this skill and over the request's own taste. Each one is checkable; the self-check for each is in references/taste-rules.md (T numbers in brackets).
- Draw only when drawing wins. A photo, a screenshot, a real chart, a logo or nothing is sometimes better. Say so and stop. (T1)
- Start from the recipe card for the kind (table below). Copy its scene JSON and change only the fields in its Parameters table. Invent a layout only when no card fits. (T2, T4)
- One style family per brand, two inks plus paper, one small accent. Same
finish,styleand look family across a series. (T4, T5, T7) - One focus, about 220 px or more, with air around it. (T8, T9)
- Every cut is deliberate (
"crop": true); text and the focus stay inside the safe area. (T10, T11) - Headlines live in
titleortype, on calm ground, with a contrast you checked (4.5:1 small, 3:1 large). Never inlabel. (T13, T14, T15) - No invented numbers, faces, hands, logos or lookalike flags. (T16, T17)
- A picture is not done until you rendered it with the real canvas, read the critic's notes, opened the image and re-rendered after the last edit. Fixed
seedwhile fixing. Each note you keep gets a one-line reason. (T18, T19, T20) - Hard news overrides all of this: read
docs/sensitive.mdin the Levni repo first; one calm object, blue only, no text. (T3)
Kind to recipe
| the request | card | size | moves |
|---|---|---|---|
| blog or article cover | 01 blog cover | 1200 x 673 | no |
| OG card, link preview | 02 OG card | 1200 x 630 | no |
| README banner, repo social preview | 03 README banner | 1280 x 640 | yes |
| YouTube thumbnail | 04 YouTube thumbnail | 1280 x 720 | no |
| square social post | 05 square post | 1080 x 1080 | no |
| story, vertical cover | 06 story | 1080 x 1920 | no |
| favicon, app mark | 07 favicon mark | 1080 x 1080 | no |
| set of four icons | 08 icon set | 1200 x 673 | no |
| sticker, seal, stamp, ticket | 09 sticker or seal | 1200 x 673 | yes |
| dithered or pixel hero | 10 dithered hero | 1200 x 630 | yes |
| ASCII or glyph card | 11 ASCII card | 1200 x 630 | yes |
| isometric spot scene, diorama | 12 isometric spot | 1200 x 673 | no |
| soft 3D icon | 13 soft 3D icon | 1080 x 1080 | yes |
| mesh gradient with a title | 14 mesh title | 1200 x 673 | yes |
| hand-drawn chart | 15 hand-drawn chart | 1200 x 673 | no |
| poster | 16 poster | 1200 x 1600 | no |
Not covered by a card:
- A brand identity sheet or a poster series: MCP
render_boardandrender_poster(levni board,levni poster). - A loop or frames of any card marked "moves: yes": the
levni-motionskill, andlevni animate scene.json out.webp --width 480 --frames 16. - A kind with no card: the closest card's scene as a base, references/style-families.md for the look.
Every card has an img/<slug>.webp picture, the scene in recipes/scenes/<slug>.json, and the critic notes to expect. node scripts/check-recipes.mjs renders them all.
Do
- Read the brief: what the picture is for, where it is shown, the size it ships at, the brand inks if any (
brand.jsonor a few hex colours). Read the scene format once: MCPscene_guideordocs/scene.md. - Decide (rule 1). If drawing is wrong, say why in one line and stop.
- Pick the card from the table. Read its Intent, Pitfalls and Check; copy its scene.
- Change the Parameters. Put the brand's
styleonce at the scene top. Find props withlevni list <word>or MCPlist_props; compare withlevni sheet out.png <names>. - Render:
levni render scene.json out.png(or MCPrender_scenewithout). It prints the critic's notes. - Read the notes against the card's expected notes (references/critic.md lists each note and its fix). Fix the scene, not the note.
- Look at the image. Idea reads, focus largest, no cut text, palette holds, nothing overlaps. Fix what you see, keep
seed, re-render. - Check the destination: pixel size, file size, and 32 px and 16 px for marks and icons (references/formats-and-safe-areas.md).
- Ship: the scene JSON, the file at its size and format, the final critic notes with a reason for each one kept, a contact image for a set, and "drawings by Ortak Alan (CC BY 4.0)" when Folio drawings are used.
To check a session's scene files automatically, see references/hook.md.
Known gaps
- On Levni 0.4.0, MCP
render_sceneandcritique_sceneused a 1200 x 673 canvas whatever theformat; from 0.5.0 they draw and measureog,square,story,youtubeand custom sizes on their own canvas. On 0.4.0, use the CLI orrender()for those. - The critic does not see the
titlelayer, and counts only some types as a focus (list in references/critic.md). - It cannot judge meaning, clashes or readable text. That is step 7.
Never
- Never ship a picture you did not open.
- Never add an element only to silence a critic note.
- Never change
seedwhile fixing layout. - Never invent chart numbers, shares or statistics.
- Never draw a face, a hand, a real person, a brand logo or a flag that looks like a real one.
- Never set a headline in
label. - Never mix two finishes or two look families inside one set.
- Never put text in a picture about loss, disaster, illness, courts or grief.
- Never use a lone heart, bulb, gear, globe, handshake or rocket as the whole idea.
- Never put a favicon through without looking at it at 32 px and 16 px.
- Never pass a scene file to
levni check(it checks Folio props).
References
- references/taste-rules.md: rules T1 to T23 with reasons and self-check questions
- references/slop-patterns.md: the banned patterns and their fixes
- references/style-families.md: the families Levni draws, and icon sets
- references/formats-and-safe-areas.md: sizes, safe areas, file budgets
- references/critic.md: every critic note and its blind spots
- references/hook.md: run the critic as a Claude Code Stop hook (opt in)