Frontend design taste

From Kevin-Liu-01/Agent-Machines · View interactive version

Frontend design taste is an AI agent skill from the GitHub repository Kevin-Liu-01/Agent-Machines. Build distinctive frontends that avoid generic AI aesthetics. Provides anti-slop enforcement, variance dials, art direction archetypes, creative arsenal, and performance guardrails. Use when creating new landing pages, UI components, design systems, or when the user says "make it look good", "design

How to use this skill

Skill file

Frontend Design Taste — Anti-Slop Framework

Adapted from tasteskill.dev and Kevin's design wiki.

For Sigil projects, also read .cursor/rules/taste-enforcement.mdc which enforces these rules at the Cursor level.

The Problem

LLMs default to the center of their training data: Inter font, generic card grids, blue accent, minimal animation, centered hero, blur blobs. The fix is not better prompting — it is providing a real design system with tokens, variance dials, explicit creative direction, and hard-banned patterns.

Variance Dials

Three numbers drive all downstream decisions. Defaults shown below — adapt dynamically based on user requests.

DESIGN_VARIANCE:  8  (1=Perfect Symmetry, 10=Artsy Chaos)
MOTION_INTENSITY: 6  (1=Static, 10=Cinematic)
VISUAL_DENSITY:   4  (1=Art Gallery, 10=Cockpit)

DESIGN_VARIANCE

MOTION_INTENSITY

VISUAL_DENSITY

Before Generating UI

  1. Read ~/Documents/GitHub/kevin-wiki/wiki/design/design-system.md for current tokens
  2. Read ~/Documents/GitHub/kevin-wiki/wiki/design/aesthetic-systems.md for archetypes
  3. Choose an archetype (see below) before writing any component code
  4. Lock the six style variables
  5. If in a Sigil project: read .cursor/rules/taste-enforcement.mdc

Five Archetypes

1. Premium AI B2B

Mood: confident, expensive, quiet, precise. Palette: warm white or carbon base, one deep accent, one signal color. Type: strong sans + restrained display + mono for labels. Motion: subtle reveals, one morphing hero motif.

2. Editorial Devtool

Mood: intelligent, technical, fast, exact. Palette: paper or off-black, one electrical accent. Type: sharp grotesk + mono for labels. Motion: layout reveals, crossfades, cursor/figure markers.

3. Architectural Blueprint

Mood: schematic, conceptual, exacting. Palette: off-white, deep ink, cobalt/cyan. Type: precise sans + mono annotations. Motion: line draws, panel reveals, depth via layering.

4. Cinematic 3D

Mood: immersive, sculpted, atmospheric, slower. Palette: shadow-heavy neutrals, two light temps max. Motion: camera drift, pointer parallax, idle loops.

5. Neo-Brutalist / Experimental

Mood: blunt, memorable, anti-corporate, loud. Palette: black/white + one aggressive accent. Motion: abrupt, fast transitions, type movement, no syrupy easing.

Style Variables to Lock First

| Variable | Options |

|----------|---------|

| Contrast level | low / medium / high |

| Depth level | flat / layered / scene-led |

| Type voice | engineered / editorial / luxurious / brutal |

| Surface finish | paper / glass / metal / grain / plastic / shader |

| Motion appetite | restrained / assertive / theatrical |

| Density | open / balanced / packed |

Banned Patterns (Hard Failures)

Visual & Layout

Typography

Content

Required UI States

Every interactive component must implement:

| State | Rule |

|-------|------|

| Loading | Skeletal loaders matching layout dimensions |

| Empty | Composed empty state explaining how to populate |

| Error | Inline error reporting |

| Active/Pressed | -translate-y-[1px] or scale-[0.98] tactile feedback |

| Hover | Meaningful change, not just opacity |

Design Engineering Directives

Typography

Color

Materiality & Shadows

Forms

Creative Proactivity (Anti-Slop Implementation)

Liquid Glass (when glassmorphism IS justified)

Beyond backdrop-blur: add border-white/10 inner border + shadow-[inset_0_1px_0_rgba(255,255,255,0.1)] for physical edge refraction.

Magnetic Hover (MOTION_INTENSITY > 5)

Buttons pull toward cursor. NEVER use useState. Use Motion useMotionValue + useTransform outside the React render cycle.

Perpetual Micro-Interactions (MOTION_INTENSITY > 5)

Breathing status dots, typewriter effects, float animations, shimmer, carousels. Spring physics always: type: "spring", stiffness: 100, damping: 20.

Layout Transitions

Use Motion layout and layoutId for smooth reordering, resizing, shared element transitions.

Staggered Orchestration

Never mount lists or grids instantly. staggerChildren (Motion) or CSS animation-delay: calc(var(--index) * 80ms). Parent variants and children MUST be in the same Client Component tree.

Creative Arsenal

Pull from these when building — never default to generic UI.

Hero Variants

Navigation

Layout & Grids

Cards & Containers

Scroll Animations

Typography Effects

Micro-Interactions

Performance Guardrails

Dependency Verification

Before importing ANY library, check package.json. If missing, output the install command before providing code.

RSC Safety

Output Completeness

Every generation is production-critical. Banned:

When approaching limits, write at full quality to a clean breakpoint:

[PAUSED — X of Y complete. Send "continue" to resume from: next section]

Token Architecture (for Sigil projects)

Three layers: primitive (color.gray.950, space.4), semantic (color.surface.page, motion.duration.fast), component (only when needed: button.primary.bg).

Transport: Tailwind CSS v4 @theme + runtime CSS variables + OKLCH.

All visual properties MUST reference var(--s-*) tokens. Hardcoded hex, px, font names, shadow classes, and duration values are banned.

Frontier Stack 2026

| Layer | Tool |

|-------|------|

| Tokens & styling | Tailwind CSS v4 @theme, OKLCH |

| Component motion | Motion (Framer Motion) |

| Scroll storytelling | GSAP + ScrollTrigger |

| 3D scenes | React Three Fiber + drei |

| Shader-first | OGL, custom GLSL/WGSL |

| App transitions | React startTransition, <ViewTransition> |

Workflow

  1. Choose archetype from the five above
  2. Lock the six style variables
  3. Set variance dials (or accept defaults: 8, 6, 4)
  4. Define/verify tokens (primitive → semantic → component)
  5. Provide: archetype name, token file, 2-3 reference URLs, explicit anti-patterns
  6. Build components. The direction compounds.

Pre-Flight Taste Check

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.