Frontend design

From nicolaiprodromov/puree · View interactive version

Frontend design is an AI agent skill from the GitHub repository nicolaiprodromov/puree. Create distinctive, production-grade Puree UI interfaces with high design quality. Use this skill when the user asks to build UI panels, dashboards, toolbars, or Blender addon interfaces. Generates creative, polished YAML/SCSS/Python code that avoids generic AI aesthetics.

How to use this skill

Skill file

This skill guides creation of distinctive, production-grade Puree UI interfaces for Blender that avoid generic "AI slop" aesthetics. Implement real working YAML/SCSS/Python code with exceptional attention to aesthetic details and creative choices.

Tech stack: YAML (structure) + SCSS (styling) + Python (interactivity). Runs inside Blender via GPU-accelerated rendering (ModernGL compute shaders) with Taffy/Stretchable flexbox/grid layout.

Context Gathering Protocol

Design skills produce generic output without project context. You MUST have confirmed design context before doing any design work.

Required context — every design skill needs at minimum:

Individual skills may require additional context — check the skill's preparation section for specifics.

CRITICAL: You cannot infer this context by reading the codebase. Code tells you what was built, not who it's for or what it should feel like. Only the creator can provide this context.

Gathering order:

  1. Check current instructions (instant): If your loaded instructions already contain a Design Context section, proceed immediately.
  2. Check docs/.impeccable.md (fast): If not in instructions, read docs/.impeccable.md from the project root. If it exists and contains the required context, proceed.
  3. Run teach-impeccable (REQUIRED): If neither source has context, you MUST run the teach-impeccable skill NOW before doing anything else. Do NOT skip this step. Do NOT attempt to infer context from the codebase instead.

Design Direction

Commit to a BOLD aesthetic direction:

CRITICAL: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work—the key is intentionality, not intensity.

Then implement working code that is:

Puree Aesthetics Guidelines

Typography

→ Consult typography reference for scales, pairing, and font loading.

Choose fonts that are beautiful, unique, and interesting. Place font files in the fonts/ directory and reference them via the YAML font: attribute.

DO: Use a modular type scale with distinct size steps in px

DO: Vary font weights and sizes to create clear visual hierarchy

DO: Load display and body fonts from the fonts/ directory

DON'T: Use overused fonts when distinctive alternatives are available in the project

DON'T: Use monospace typography as lazy shorthand for "technical/developer" vibes

DON'T: Put large icons above every heading—they rarely add value and make interfaces look templated

Color & Theme

→ Consult color reference for palettes, SCSS variables, and theming.

Commit to a cohesive palette. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.

DO: Use SCSS variables for a maintainable, consistent palette ($primary, $surface, $text)

DO: Use hex, rgba(), rgb(), hsl() for color values — these are what Puree's color parser supports

DO: Tint your neutrals toward your brand hue—even a subtle hint creates subconscious cohesion

DON'T: Use gray text on colored backgrounds—it looks washed out; use a shade of the background color instead

DON'T: Use pure black (#000) or pure white (#fff)—always tint; pure black/white never appears in nature

DON'T: Use the AI color palette: cyan-on-dark, purple-to-blue gradients, neon accents on dark backgrounds

DON'T: Use gradient text for "impact"—especially on metrics or headings; it's decorative rather than meaningful

DON'T: Default to dark mode with glowing accents—it looks "cool" without requiring actual design decisions

Layout & Space

→ Consult spatial reference for grids, rhythm, and spacing systems.

Create visual rhythm through varied spacing—not the same padding everywhere. Embrace asymmetry and unexpected compositions. Break the grid intentionally for emphasis.

DO: Create visual rhythm through varied spacing—tight groupings, generous separations

DO: Use display: flex and display: grid for layout (Puree supports both via Taffy)

DO: Use asymmetry and unexpected compositions; break the grid intentionally for emphasis

DO: Use gap for consistent sibling spacing in flex/grid containers

DON'T: Wrap everything in cards—not everything needs a container

DON'T: Nest cards inside cards—visual noise, flatten the hierarchy

DON'T: Use identical card grids—same-sized cards with icon + heading + text, repeated endlessly

DON'T: Center everything—left-aligned text with asymmetric layouts feels more designed

DON'T: Use the same spacing everywhere—without rhythm, layouts feel monotonous

Visual Details

DO: Use intentional, purposeful decorative elements that reinforce brand

DO: Use border-image: linear-gradient() for accent borders

DO: Use box-shadow for subtle depth (one shadow per element)

DON'T: Use rounded elements with thick colored border on one side—a lazy accent that almost never looks intentional

DON'T: Use rounded rectangles with generic drop shadows—safe, forgettable, could be any AI output

Motion

→ Consult motion reference for timing and easing.

Puree supports transition on background-color, color, border-color, and opacity. Use these four animatable properties to create responsive, alive-feeling interfaces.

DO: Use transitions to convey state changes—hover feedback, active states, visibility shifts

DO: Use ease-out for elements appearing, ease-in for elements fading

DO: Combine multiple transitions: transition: background-color 0.2s ease, opacity 0.3s linear

DON'T: Expect @keyframes, transform, or animation to work — Puree only supports transition

DON'T: Use bounce or elastic easing—Puree supports ease, linear, ease-in, ease-out, ease-in-out

Interaction

→ Consult interaction reference for events, hover/active states, and Python scripting.

Make interactions feel fast and responsive. Use Python event handlers to update UI state.

DO: Use progressive disclosure—start simple, reveal sophistication through interaction

DO: Design empty states that teach the interface, not just say "nothing here"

DO: Make every interactive surface feel intentional with :hover and :active SCSS states

DO: Always call mark_dirty() after changing properties at runtime

DON'T: Repeat the same information—redundant headers, intros that restate the heading

DON'T: Make every button primary—use ghost buttons, text links, secondary styles; hierarchy matters

Adaptive Layout

→ Consult responsive reference for @media queries in Puree.

DO: Use @media (min-width: Npx) and @media (max-width: Npx) to adapt to different panel sizes

DO: Adapt the interface for different Blender panel widths—don't just shrink it

DON'T: Hide critical functionality at narrow widths—adapt the layout, don't amputate it

UX Writing

→ Consult ux-writing reference for labels, errors, and empty states.

DO: Make every word earn its place

DON'T: Repeat information users can already see


The AI Slop Test

Critical quality check: If you showed this interface to someone and said "AI made this," would they believe you immediately? If yes, that's the problem.

A distinctive interface should make someone ask "how was this made?" not "which AI made this?"

Review the DON'T guidelines above—they are the fingerprints of AI-generated work from 2024-2025.


Implementation Principles

Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate SCSS with rich color palettes, gradient borders, and layered transitions. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details.

Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices across generations.

Puree-Specific Reminders

Remember: the model is capable of extraordinary creative work. Don't hold back—show what can truly be created when thinking outside the box and committing fully to a distinctive vision.

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.