Design variations

From event4u-app/agent-config · View interactive version

Design variations is an AI agent skill from the GitHub repository event4u-app/agent-config. Produce 3+ distinct hi-fi design variations — basic to bold, one file with tweak controls — when the user asks for options, alternatives, \"show me a few takes\". Extends fe-design.

How to use this skill

Skill file

Design Variations

Produce multiple substantively distinct design variations so the user can

reject what they don't want and combine what they do. One design is one bet;

three variations surface preferences the user didn't know they had.

When to use

on hi-fi UI work (screen, component, flow, visual treatment).

directions on top of it.

When NOT to use: structure/flow exploration before any styling decision →

CODE0 (lo-fi, disposable). Selecting ONE

grounded direction without generating alternatives →

CODE0. Reviewing an

existing design → CODE0.

Procedure

  1. Baseline. Confirm what is varied (screen / component / flow / visual

treatment), the existing design context (DESIGN.md, brand tokens, UI kit —

run CODE0 when the output

lands in a real codebase, per the ui-audit-gate rule), the count

(default 3, ceiling 6), and the user's priority axis.

  1. Pick 2–4 axes to vary across: visual treatment (tone, density, shadow,

radius, type weight), layout (centered/asymmetric, single/multi-column,

full-bleed/inset), interaction model (single page vs multi-step, modal vs

inline), hierarchy (what is primary), tone (minimal/formal/playful/

editorial), component style. Map axes onto the project's Taste Dials

(Variance/Motion/Density) where DESIGN.md defines them.

  1. Spec each variation BEFORE building — one line per variation naming

its distinct palette family, type pairing, and layout skeleton. Left

unspecified, variations converge on one default look; variety must be

designed, not hoped for. Ground palette/type picks via

CODE0 and emit values

as tokens per CODE0.

  1. Build basic → bold. Variation 1 = by-the-book (matches existing

patterns); variation 2 = refined (same structure, one or two dimensions

pushed — often the actual pick); variation 3 = novel (genuinely different

layout/metaphor/aesthetic, deliberately off-distribution). Cover both

ends — an all-safe set wastes the round, an all-wild set ignores the brief.

  1. Substantive, not cosmetic. Two variations that differ only in button

color or shadow opacity are one variation — drop and replace. Litmus: the

user can articulate the difference between any two variations in one

sentence.

  1. Present in a single file with tweak controls — never v1.html /

v2.html / v3.html. Structure-sharing variants toggle via CSS custom

properties + a small floating "Tweaks" panel (3–8 controls: color picker,

font/variant dropdown, density slider, section toggles, copy inputs);

persist chosen values in localStorage. Structurally distinct variants

render side-by-side with labels. Even unasked, expose 1–2 tweak axes by

default.

  1. Caption each variation (1–2 sentences naming the axis it flexes) and

close with a recommendation — a designer offers an opinion; the user

decides.

  1. Quality gate. Novel ≠ sloppy: run lint_design_slop over the emitted

file (every variation individually passes; a DESIGN.md-declared direction

suppresses its flags) and honor the outward-artifact hygiene floor (Q13 in

CODE0) —

no workspace paths, skill/tool names, or generator traces in the markup.

Final pass before delivery → CODE0.

Output format

  1. One HTML/JSX file containing all variations — side-by-side sections or

custom-property-driven variants with a floating Tweaks panel (3–8 controls,

localStorage-persisted); no per-variation file scatter.

  1. Variation spec block (comment or intro): per variation one line —

axis flexed, palette family, type pairing, layout skeleton.

  1. Captions + one recommendation naming the suggested pick and why, with

the trade-off of the runner-up.

  1. Clean slop scan — lint_design_slop output for the file (flags

resolved or DESIGN.md-justified), no Q13 violations.

Do NOT

tweak) — replace with a substantive alternative.

per variation before building.

pushes the decision cost back onto the user.

(brand-source-of-truth); the corpus fills gaps only.

in the emitted markup — Q13.

Gotcha

still pass the antipatterns catalog — deliberate ≠ default. Declare the

direction in the spec block so lint_design_slop gating reads intent.

<script>/<aside> block, clearly marked) so the chosen variant ships

without exploration chrome.

in mind; split into two rounds on different axes instead.

See also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.