Stitch Composition Taste Playbook
Role
Use this skill when Codex needs 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. Recast from the original stitch-skill/SKILL.md material as the stitch-composition-taste-playbook procedure.
Source Trace
Operating Guidance
Follow the rewritten material below as the working procedure. Keep code blocks, commands, file paths, URLs, dimensions, and API names exact when applying the skill.
Operating 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 compose 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
Compose a DESIGN.md file that encodes:
- Visual atmosphere — the mood, density, and design philosophy
- Color calibration — neutrals, accents, and banned patterns with hex codes
- Typographic architecture — font stacks, scale hierarchy, and anti-patterns
- Component behaviors — buttons, cards, inputs with interaction states
- Layout principles — grid systems, spacing philosophy, responsive strategy
- Motion philosophy — animation engine specs, spring physics, perpetual micro-interactions
- Anti-patterns — explicit list of banned AI design clichés
Analysis & Synthesis Instructions
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: Variance 8, Motion 6, Density 4. Adapt dynamically based on user's vibe description.
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
- Do not ever use pure black (
#000000) — use Off-Black, Zinc-950, or Charcoal
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 consistently 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 needs to use Monospace
Define the Hero Section
The Hero is the first impression and needs to 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 needs to 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 prefer to 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
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
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 needs to use
min-h-[100dvh] — never h-screen (iOS Safari catastrophic jump)
Define Responsive Rules
Every design needs to 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))
Encode Motion Philosophy
- Spring Physics default:
stiffness: 100, damping: 20 — premium, weighty feel. No linear easing
- Perpetual Micro-Interactions: Every active component prefer to have an infinite loop state (Pulse, Typewriter, Float, Shimmer)
- Staggered Orchestration: Do not ever mount lists instantly — use cascade delays for waterfall reveals
- Performance: Animate exclusively via
transform and opacity. Do not ever animate top, left, width, height. Grain/noise filters on fixed pseudo-elements only
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 consistently
- No 3-column equal card layouts
- No generic names ("John Doe", "Acme", "Nexus")
- No fake round numbers (
99.99%, 50%)
- 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.)
Working 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
- Start with the atmosphere — understand the vibe before detailing tokens
- Look for patterns — identify consistent spacing, sizing, and styling
- Think semantically — name colors by purpose, not just appearance
- Consider hierarchy — document how visual weight communicates importance
- 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
1---2name: stitch-composition-taste-playbook3description: |4 Use this skill when Codex needs 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. Recast from the original stitch-skill/SKILL.md material as the stitch-composition-taste-playbook procedure.5metadata:6 source: https://skillmd.com/skills/gabriel7silva/stitch-composition-taste-playbook7---89# Stitch Composition Taste Playbook1011## Role1213Use this skill when Codex needs 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. Recast from the original stitch-skill/SKILL.md material as the stitch-composition-taste-playbook procedure.1415## Source Trace1617- Original Markdown: `stitch-skill/SKILL.md`18- Reformulated skill name: `stitch-composition-taste-playbook`19- Upstream reference: https://github.com/Leonxlnx/taste-skill20- Source category: `design-systems`2122## Operating Guidance2324Follow the rewritten material below as the working procedure. Keep code blocks, commands, file paths, URLs, dimensions, and API names exact when applying the skill.2526## Operating Overview27This 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.2829The generated `DESIGN.md` serves as the **single source of truth** for prompting Stitch to compose 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.3031## Prerequisites32- Access to Google Stitch via [labs.google.com/stitch](https://labs.google.com/stitch)33- Optionally: Stitch MCP Server for programmatic integration with Cursor, Antigravity, or Gemini CLI3435## The Goal36Compose a `DESIGN.md` file that encodes:371. **Visual atmosphere** — the mood, density, and design philosophy382. **Color calibration** — neutrals, accents, and banned patterns with hex codes393. **Typographic architecture** — font stacks, scale hierarchy, and anti-patterns404. **Component behaviors** — buttons, cards, inputs with interaction states415. **Layout principles** — grid systems, spacing philosophy, responsive strategy426. **Motion philosophy** — animation engine specs, spring physics, perpetual micro-interactions437. **Anti-patterns** — explicit list of banned AI design clichés4445## Analysis & Synthesis Instructions4647### Define the Atmosphere48Evaluate the target project's intent. Use evocative adjectives from the taste spectrum:49- **Density:** "Art Gallery Airy" (1–3) → "Daily App Balanced" (4–7) → "Cockpit Dense" (8–10)50- **Variance:** "Predictable Symmetric" (1–3) → "Offset Asymmetric" (4–7) → "Artsy Chaotic" (8–10)51- **Motion:** "Static Restrained" (1–3) → "Fluid CSS" (4–7) → "Cinematic Choreography" (8–10)5253Default baseline: Variance 8, Motion 6, Density 4. Adapt dynamically based on user's vibe description.5455### Map the Color Palette56For each color provide: **Descriptive Name** + **Hex Code** + **Functional Role**.5758**Mandatory constraints:**59- Maximum 1 accent color. Saturation below 80%60- The "AI Purple/Blue Neon" aesthetic is strictly BANNED — no purple button glows, no neon gradients61- Use absolute neutral bases (Zinc/Slate) with high-contrast singular accents62- Stick to one palette for the entire output — no warm/cool gray fluctuation63- Do not ever use pure black (`#000000`) — use Off-Black, Zinc-950, or Charcoal6465### Establish Typography Rules66- **Display/Headlines:** Track-tight, controlled scale. Not screaming. Hierarchy through weight and color, not just massive size67- **Body:** Relaxed leading, max 65 characters per line68- **Font Selection:** `Inter` is BANNED for premium/creative contexts. Force unique character: `Geist`, `Outfit`, `Cabinet Grotesk`, or `Satoshi`69- **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 consistently BANNED in dashboards or software UIs70- **Dashboard Constraint:** Use Sans-Serif pairings exclusively (`Geist` + `Geist Mono` or `Satoshi` + `JetBrains Mono`)71- **High-Density Override:** When density exceeds 7, all numbers needs to use Monospace7273### Define the Hero Section74The Hero is the first impression and needs to be creative, striking, and never generic:75- **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 technique76- **No Overlapping:** Text needs to never overlap images or other text. Every element occupies its own clean spatial zone77- **No Filler Text:** "Scroll to explore", "Swipe down", scroll arrow icons, bouncing chevrons are BANNED. The content prefer to pull users in naturally78- **Asymmetric Structure:** Centered Hero layouts BANNED when variance exceeds 479- **CTA Restraint:** Maximum one primary CTA. No secondary "Learn more" links8081### Describe Component Stylings82For each component type, describe shape, color, shadow depth, and interaction behavior:83- **Buttons:** Tactile push feedback on active state. No neon outer glows. No custom mouse cursors84- **Cards:** Use ONLY when elevation communicates hierarchy. Tint shadows to background hue. For high-density layouts, replace cards with border-top dividers or negative space85- **Inputs/Forms:** Label above input, helper text optional, error text below. Standard gap spacing86- **Loading States:** Skeletal loaders matching layout dimensions — no generic circular spinners87- **Empty States:** Composed compositions indicating how to populate data88- **Error States:** Clear, inline error reporting8990### Define Layout Principles91- No overlapping elements — every element occupies its own clear spatial zone. No absolute-positioned content stacking92- Centered Hero sections are BANNED when variance exceeds 4 — force Split Screen, Left-Aligned, or Asymmetric Whitespace93- The generic "3 equal cards horizontally" feature row is BANNED — use 2-column Zig-Zag, asymmetric grid, or horizontal scroll94- CSS Grid over Flexbox math — never use `calc()` percentage hacks95- Contain layouts using max-width constraints (e.g., 1400px centered)96- Full-height sections needs to use `min-h-[100dvh]` — never `h-screen` (iOS Safari catastrophic jump)9798### Define Responsive Rules99Every design needs to work across all viewports:100- **Mobile-First Collapse (< 768px):** All multi-column layouts collapse to single column. No exceptions101- **No Horizontal Scroll:** Horizontal overflow on mobile is a critical failure102- **Typography Scaling:** Headlines scale via `clamp()`. Body text minimum `1rem`/`14px`103- **Touch Targets:** All interactive elements minimum `44px` tap target104- **Image Behavior:** Inline typography images (photos between words) stack below headline on mobile105- **Navigation:** Desktop horizontal nav collapses to clean mobile menu106- **Spacing:** Vertical section gaps reduce proportionally (`clamp(3rem, 8vw, 6rem)`)107108### Encode Motion Philosophy109- **Spring Physics default:** `stiffness: 100, damping: 20` — premium, weighty feel. No linear easing110- **Perpetual Micro-Interactions:** Every active component prefer to have an infinite loop state (Pulse, Typewriter, Float, Shimmer)111- **Staggered Orchestration:** Do not ever mount lists instantly — use cascade delays for waterfall reveals112- **Performance:** Animate exclusively via `transform` and `opacity`. Do not ever animate `top`, `left`, `width`, `height`. Grain/noise filters on fixed pseudo-elements only113114### List Anti-Patterns (AI Tells)115Encode these as explicit "NEVER DO" rules in the DESIGN.md:116- No emojis anywhere117- No `Inter` font118- No generic serif fonts (`Times New Roman`, `Georgia`, `Garamond`) — distinctive modern serifs only if needed119- No pure black (`#000000`)120- No neon/outer glow shadows121- No oversaturated accents122- No excessive gradient text on large headers123- No custom mouse cursors124- No overlapping elements — clean spatial separation consistently125- No 3-column equal card layouts126- No generic names ("John Doe", "Acme", "Nexus")127- No fake round numbers (`99.99%`, `50%`)128- No AI copywriting clichés ("Elevate", "Seamless", "Unleash", "Next-Gen")129- No filler UI text: "Scroll to explore", "Swipe down", scroll arrows, bouncing chevrons130- No broken Unsplash links — use `picsum.photos` or SVG avatars131- No centered Hero sections (for high-variance projects)132133## Output Format (DESIGN.md Structure)134135```markdown136# Design System: [Project Title]137138## 1. Visual Theme & Atmosphere139(Evocative description of the mood, density, variance, and motion intensity.140Example: "A restrained, gallery-airy interface with confident asymmetric layouts141and fluid spring-physics motion. The atmosphere is clinical yet warm — like a142well-lit architecture studio.")143144## 2. Color Palette & Roles145- **Canvas White** (#F9FAFB) — Primary background surface146- **Pure Surface** (#FFFFFF) — Card and container fill147- **Charcoal Ink** (#18181B) — Primary text, Zinc-950 depth148- **Muted Steel** (#71717A) — Secondary text, descriptions, metadata149- **Whisper Border** (rgba(226,232,240,0.5)) — Card borders, 1px structural lines150- **[Accent Name]** (#XXXXXX) — Single accent for CTAs, active states, focus rings151(Max 1 accent. Saturation < 80%. No purple/neon.)152153## 3. Typography Rules154- **Display:** [Font Name] — Track-tight, controlled scale, weight-driven hierarchy155- **Body:** [Font Name] — Relaxed leading, 65ch max-width, neutral secondary color156- **Mono:** [Font Name] — For code, metadata, timestamps, high-density numbers157- **Banned:** Inter, generic system fonts for premium contexts. Serif fonts banned in dashboards.158159## 4. Component Stylings160* **Buttons:** Flat, no outer glow. Tactile -1px translate on active. Accent fill for primary, ghost/outline for secondary.161* **Cards:** Generously rounded corners (2.5rem). Diffused whisper shadow. Used only when elevation serves hierarchy. High-density: replace with border-top dividers.162* **Inputs:** Label above, error below. Focus ring in accent color. No floating labels.163* **Loaders:** Skeletal shimmer matching exact layout dimensions. No circular spinners.164* **Empty States:** Composed, illustrated compositions — not just "No data" text.165166## 5. Layout Principles167(Grid-first responsive architecture. Asymmetric splits for Hero sections.168Strict single-column collapse below 768px. Max-width containment.169No flexbox percentage math. Generous internal padding.)170171## 6. Motion & Interaction172(Spring physics for all interactive elements. Staggered cascade reveals.173Perpetual micro-loops on active dashboard components. Hardware-accelerated174transforms only. Isolated Client Components for CPU-heavy animations.)175176## 7. Anti-Patterns (Banned)177(Explicit list of forbidden patterns: no emojis, no Inter, no pure black,178no neon glows, no 3-column equal grids, no AI copywriting clichés,179no generic placeholder names, no broken image links.)180```181182## Working Practices183- **Be Descriptive:** "Deep Charcoal Ink (#18181B)" — not just "dark text"184- **Be Functional:** Explain what each element is used for185- **Be Consistent:** Same terminology throughout the document186- **Be Precise:** Include exact hex codes, rem values, pixel values in parentheses187- **Be Opinionated:** This is not a neutral template — it enforces a specific, premium aesthetic188189## Tips for Success1901. Start with the atmosphere — understand the vibe before detailing tokens1912. Look for patterns — identify consistent spacing, sizing, and styling1923. Think semantically — name colors by purpose, not just appearance1934. Consider hierarchy — document how visual weight communicates importance1945. Encode the bans — anti-patterns are as important as the rules themselves195196## Common Pitfalls to Avoid197- Using technical jargon without translation ("rounded-xl" instead of "generously rounded corners")198- Omitting hex codes or using only descriptive names199- Forgetting functional roles of design elements200- Being too vague in atmosphere descriptions201- Ignoring the anti-pattern list — these are what make the output premium202- Defaulting to generic "safe" designs instead of enforcing the curated aesthetic