All skills
google-labs-code avatar

/taste-design

@6c0cbdb official
by Google Labs Codegoogle-labs-code/stitch-skills8.4k stars
1,105

Semantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards β€” strict typography, calibrated color, asymmetric layouts, perpetual micro-motion, and hardware-accelerated performance.

Use this Skill: https://skilld.dev/gh/google-labs-code/stitch-skills/taste-design

This session only. Nothing lands on disk.

SKILL.md

β‰ˆ68 tokens always: the name and description. β‰ˆ3.1k when used: this file. β‰ˆ3.2k more on demand in 1 file.

Stitch Design Taste β€” Semantic Design System Skill

Overview

This skill generates DESIGN.md files optimized for Google Stitch screen generation. It translates the battle-tested anti-slop frontend engineering directives into Stitch's native semantic design language β€” descriptive, natural-language rules paired with precise values that Stitch's AI agent can interpret to produce premium, non-generic interfaces.

The generated DESIGN.md serves as the single source of truth for prompting Stitch to generate new screens that align with a curated, high-agency design language. Stitch interprets design through "Visual Descriptions" supported by specific color values, typography specs, and component behaviors.

Prerequisites

  • Access to Google Stitch via labs.google.com/stitch
  • Optionally: Stitch MCP Server for programmatic integration with Cursor, Antigravity, or Gemini CLI

The Goal

Generate a DESIGN.md file that encodes:

  1. Visual atmosphere β€” the mood, density, and design philosophy
  2. Color calibration β€” neutrals, accents, and banned patterns with hex codes
  3. Typographic architecture β€” font stacks, scale hierarchy, and anti-patterns
  4. Component behaviors β€” buttons, cards, inputs with interaction states
  5. Layout principles β€” grid systems, spacing philosophy, responsive strategy
  6. Motion philosophy β€” animation engine specs, spring physics, perpetual micro-interactions
  7. Anti-patterns β€” explicit list of banned AI design clichΓ©s

Analysis & Synthesis Instructions

1. Define the Atmosphere

Evaluate the target project's intent. Use evocative adjectives from the taste spectrum:

  • Density: "Art Gallery Airy" (1–3) β†’ "Daily App Balanced" (4–7) β†’ "Cockpit Dense" (8–10)
  • Variance: "Predictable Symmetric" (1–3) β†’ "Offset Asymmetric" (4–7) β†’ "Artsy Chaotic" (8–10)
  • Motion: "Static Restrained" (1–3) β†’ "Fluid CSS" (4–7) β†’ "Cinematic Choreography" (8–10)

Default baseline: Creativity 9, Variance 8, Motion 6, Density 5. Adapt dynamically based on user's vibe description.

2. Map the Color Palette

For each color provide: Descriptive Name + Hex Code + Functional Role.

Mandatory constraints:

  • Maximum 1 accent color. Saturation below 80%
  • The "AI Purple/Blue Neon" aesthetic is strictly BANNED β€” no purple button glows, no neon gradients
  • Use absolute neutral bases (Zinc/Slate) with high-contrast singular accents
  • Stick to one palette for the entire output β€” no warm/cool gray fluctuation
  • Never use pure black (#000000) β€” use Off-Black, Zinc-950, or Charcoal

3. Establish Typography Rules

  • Display/Headlines: Track-tight, controlled scale. Not screaming. Hierarchy through weight and color, not just massive size
  • Body: Relaxed leading, max 65 characters per line
  • Font Selection: Inter is BANNED for premium/creative contexts. Force unique character: Geist, Outfit, Cabinet Grotesk, or Satoshi
  • Serif Ban: Generic serif fonts (Times New Roman, Georgia, Garamond, Palatino) are BANNED. If serif is needed for editorial/creative contexts, use only distinctive modern serifs: Fraunces, Gambarino, Editorial New, or Instrument Serif. Serif is always BANNED in dashboards or software UIs
  • Dashboard Constraint: Use Sans-Serif pairings exclusively (Geist + Geist Mono or Satoshi + JetBrains Mono)
  • High-Density Override: When density exceeds 7, all numbers must use Monospace

4. Define the Hero Section

The Hero is the first impression and must be creative, striking, and never generic:

  • Inline Image Typography: Embed small, contextual photos or visuals directly between words or letters in the headline. Images sit inline at type-height, rounded, acting as visual punctuation. This is the signature creative technique
  • No Overlapping: Text must never overlap images or other text. Every element occupies its own clean spatial zone
  • No Filler Text: "Scroll to explore", "Swipe down", scroll arrow icons, bouncing chevrons are BANNED. The content should pull users in naturally
  • Asymmetric Structure: Centered Hero layouts BANNED when variance exceeds 4
  • CTA Restraint: Maximum one primary CTA. No secondary "Learn more" links

5. Describe Component Stylings

For each component type, describe shape, color, shadow depth, and interaction behavior:

  • Buttons: Tactile push feedback on active state. No neon outer glows. No custom mouse cursors
  • Cards: Use ONLY when elevation communicates hierarchy. Tint shadows to background hue. For high-density layouts, replace cards with border-top dividers or negative space
  • Inputs/Forms: Label above input, helper text optional, error text below. Standard gap spacing
  • Loading States: Skeletal loaders matching layout dimensions β€” no generic circular spinners
  • Empty States: Composed compositions indicating how to populate data
  • Error States: Clear, inline error reporting

6. Define Layout Principles

  • No overlapping elements β€” every element occupies its own clear spatial zone. No absolute-positioned content stacking
  • Centered Hero sections are BANNED when variance exceeds 4 β€” force Split Screen, Left-Aligned, or Asymmetric Whitespace
  • The generic "3 equal cards horizontally" feature row is BANNED β€” use 2-column Zig-Zag, asymmetric grid, or horizontal scroll
  • CSS Grid over Flexbox math β€” never use calc() percentage hacks
  • Contain layouts using max-width constraints (e.g., 1400px centered)
  • Full-height sections must use min-h-[100dvh] β€” never h-screen (iOS Safari catastrophic jump)

7. Define Responsive Rules

Every design must work across all viewports:

  • Mobile-First Collapse (< 768px): All multi-column layouts collapse to single column. No exceptions
  • No Horizontal Scroll: Horizontal overflow on mobile is a critical failure
  • Typography Scaling: Headlines scale via clamp(). Body text minimum 1rem/14px
  • Touch Targets: All interactive elements minimum 44px tap target
  • Image Behavior: Inline typography images (photos between words) stack below headline on mobile
  • Navigation: Desktop horizontal nav collapses to clean mobile menu
  • Spacing: Vertical section gaps reduce proportionally (clamp(3rem, 8vw, 6rem))

8. Encode Motion Philosophy

  • Spring Physics default: stiffness: 100, damping: 20 β€” premium, weighty feel. No linear easing
  • Perpetual Micro-Interactions: Every active component should have an infinite loop state (Pulse, Typewriter, Float, Shimmer)
  • Staggered Orchestration: Never mount lists instantly β€” use cascade delays for waterfall reveals
  • Performance: Animate exclusively via transform and opacity. Never animate top, left, width, height. Grain/noise filters on fixed pseudo-elements only

9. List Anti-Patterns (AI Tells)

Encode these as explicit "NEVER DO" rules in the DESIGN.md:

  • No emojis anywhere
  • No Inter font
  • No generic serif fonts (Times New Roman, Georgia, Garamond) β€” distinctive modern serifs only if needed
  • No pure black (#000000)
  • No neon/outer glow shadows
  • No oversaturated accents
  • No excessive gradient text on large headers
  • No custom mouse cursors
  • No overlapping elements β€” clean spatial separation always
  • No 3-column equal card layouts
  • No generic names ("John Doe", "Acme", "Nexus")
  • No fake round numbers (99.99%, 50%)
  • No fabricated data or statistics β€” never generate metrics, performance numbers, uptime percentages, response times, or any data that the user did not explicitly provide. "99.98% UPTIME SLA", "124ms AVG. RESPONSE", "18.5k DEPLOY CYCLES" are invented AI filler. If real data is not available, use clear placeholder labels like [metric] instead of making up numbers
  • No fake system/metric sections β€” "SYSTEM PERFORMANCE METRICS", "KEY STATISTICS", "BY THE NUMBERS" dashboard cards filled with invented data are BANNED
  • No LABEL // YEAR formatting β€” "SYSTEM // 2024", "METRICS // 2025" is a lazy AI convention, not real design typography
  • No AI copywriting clichΓ©s ("Elevate", "Seamless", "Unleash", "Next-Gen")
  • No filler UI text: "Scroll to explore", "Swipe down", scroll arrows, bouncing chevrons
  • No broken Unsplash links β€” use picsum.photos or SVG avatars
  • No centered Hero sections (for high-variance projects)

Output Format (DESIGN.md Structure)

# Design System: [Project Title]

## 1. Visual Theme & Atmosphere
(Evocative description of the mood, density, variance, and motion intensity.
Example: "A restrained, gallery-airy interface with confident asymmetric layouts
and fluid spring-physics motion. The atmosphere is clinical yet warm β€” like a
well-lit architecture studio.")

## 2. Color Palette & Roles
- **Canvas White** (#F9FAFB) β€” Primary background surface
- **Pure Surface** (#FFFFFF) β€” Card and container fill
- **Charcoal Ink** (#18181B) β€” Primary text, Zinc-950 depth
- **Muted Steel** (#71717A) β€” Secondary text, descriptions, metadata
- **Whisper Border** (rgba(226,232,240,0.5)) β€” Card borders, 1px structural lines
- **[Accent Name]** (#XXXXXX) β€” Single accent for CTAs, active states, focus rings
(Max 1 accent. Saturation < 80%. No purple/neon.)

## 3. Typography Rules
- **Display:** [Font Name] β€” Track-tight, controlled scale, weight-driven hierarchy
- **Body:** [Font Name] β€” Relaxed leading, 65ch max-width, neutral secondary color
- **Mono:** [Font Name] β€” For code, metadata, timestamps, high-density numbers
- **Banned:** Inter, generic system fonts for premium contexts. Serif fonts banned in dashboards.

## 4. Component Stylings
* **Buttons:** Flat, no outer glow. Tactile -1px translate on active. Accent fill for primary, ghost/outline for secondary.
* **Cards:** Generously rounded corners (2.5rem). Diffused whisper shadow. Used only when elevation serves hierarchy. High-density: replace with border-top dividers.
* **Inputs:** Label above, error below. Focus ring in accent color. No floating labels.
* **Loaders:** Skeletal shimmer matching exact layout dimensions. No circular spinners.
* **Empty States:** Composed, illustrated compositions β€” not just "No data" text.

## 5. Layout Principles
(Grid-first responsive architecture. Asymmetric splits for Hero sections.
Strict single-column collapse below 768px. Max-width containment.
No flexbox percentage math. Generous internal padding.)

## 6. Motion & Interaction
(Spring physics for all interactive elements. Staggered cascade reveals.
Perpetual micro-loops on active dashboard components. Hardware-accelerated
transforms only. Isolated Client Components for CPU-heavy animations.)

## 7. Anti-Patterns (Banned)
(Explicit list of forbidden patterns: no emojis, no Inter, no pure black,
no neon glows, no 3-column equal grids, no AI copywriting clichΓ©s,
no generic placeholder names, no broken image links.)

Best Practices

  • Be Descriptive: "Deep Charcoal Ink (#18181B)" β€” not just "dark text"
  • Be Functional: Explain what each element is used for
  • Be Consistent: Same terminology throughout the document
  • Be Precise: Include exact hex codes, rem values, pixel values in parentheses
  • Be Opinionated: This is not a neutral template β€” it enforces a specific, premium aesthetic

Tips for Success

  1. Start with the atmosphere β€” understand the vibe before detailing tokens
  2. Look for patterns β€” identify consistent spacing, sizing, and styling
  3. Think semantically β€” name colors by purpose, not just appearance
  4. Consider hierarchy β€” document how visual weight communicates importance
  5. Encode the bans β€” anti-patterns are as important as the rules themselves

Common Pitfalls to Avoid

  • Using technical jargon without translation ("rounded-xl" instead of "generously rounded corners")
  • Omitting hex codes or using only descriptive names
  • Forgetting functional roles of design elements
  • Being too vague in atmosphere descriptions
  • Ignoring the anti-pattern list β€” these are what make the output premium
  • Defaulting to generic "safe" designs instead of enforcing the curated aesthetic

Source: SKILL.md on GitHub

No alerts16d4 checks Β· Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides a semantic design system for generating premium UI documentation. It contains no malicious code or exfiltration patterns. However, it processes user-provided project descriptions to influence its output, creating a surface for indirect prompt injection.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW Β· No issues

  • ZeroLeaks5mo

    1 finding Β· Score: 86/100

Signed by skilld at 6c0cbdb. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Steadyupdated 6 months ago
What it can do
Reads files Edits files
All 3 allowed tools
StitchMCPReadWrite
  • design-system
  • google-stitch
  • typography
  • color-palette
  • ui-standards
  • semantic-design
  • motion
  • layout
  • anti-patterns

README badge

README badge for google-labs-code/stitch-skills/taste-design

Generates DESIGN.md files for Google Stitch that encode premium UI standards: strict typography (no Inter, distinctive modern fonts only), calibrated color palettes (single accent, no neon), asymmetric layouts, and spring-physics motion. Targets Stitch's semantic design language to prevent generic AI-generated interfaces and enforce high-agency visual standards across generated screens.

Generated from the current SKILL.md.

What is this skill used for?
This skill generates DESIGN.md files that encode design system rules for Google Stitch, translating anti-generic UI principles into semantic language that Stitch's AI agent uses to generate premium, non-slop interfaces.
Do I need Google Stitch to use this skill?
Yes. You need access to Google Stitch (labs.google.com/stitch) to use the generated DESIGN.md files. Optionally, the Stitch MCP Server integrates this skill programmatically with Cursor, Antigravity, or Gemini CLI.
What design libraries or fonts does this skill recommend?
The skill bans Inter for premium contexts and generic serifs (Times New Roman, Georgia, Garamond) everywhere except editorial work. It recommends Geist, Outfit, Cabinet Grotesk, or Satoshi for sans-serif; Fraunces, Gambarino, or Instrument Serif only for distinctive modern serif needs. Dashboard UIs must use sans-serif exclusively.
Does this skill generate actual UI code or just design documentation?
This skill generates DESIGN.md documentation onlyβ€”a semantic ruleset that Stitch's agent interprets to produce screens. It does not output HTML, CSS, or component code.
What anti-patterns does this skill enforce?
The skill explicitly bans: emojis, Inter font, pure black, neon glows, oversaturated accents, 3-column equal card grids, generic names, fabricated metrics and data, overlapping elements, centered Hero sections (for high-variance projects), and AI copywriting clichΓ©s like 'Seamless' or 'Unleash'.

Generated from the current SKILL.md. These answers refresh after source changes.