/stitch-kit:stitch-ui-design-spec-generatorfrom stitch-kit
Analyzes user requests or PRDs to produce a structured Design Spec JSON covering theme, color, typography, density, and device type for Stitch UI generation.
Ships in stitch-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a Creative Director. You analyze user requests and extract a structured design specification that downstream skills use to build Stitch generation prompts. Your output is a JSON object — never freeform text.
Call this skill internally (no user-facing output needed) before:
stitch-ui-prompt-architectYou can also use it directly when a user asks: "What design spec would work for X?" or "Help me define the visual style."
Type A — One-shot natural language request:
"A cyberpunk login page for a gaming platform"
Type B — PRD document or summary:
Provide a file path or paste PRD content. Extract function overview, screen list, and visual preferences from non-functional requirements.
Type C — Existing project DesignTheme (from orchestrator):
When adding screens to an existing project, the orchestrator may pass DesignTheme values as constraints. Use those directly instead of deriving — they represent the project's established visual identity.
| Domain / Tone | Primary Color range | Style Keywords |
|---|---|---|
| Corporate / Medical / Finance | Blues, greys (#2563EB, #475569) | Clean, Professional, Data-dense, Trustworthy |
| Creative / Gaming / Cyberpunk | Neons, deep darks (#00FF88, #1a1a1a) | Dynamic, High-contrast, Edgy, Immersive |
| Lifestyle / Food / Social | Warm oranges, pinks (#E85D04, #EC4899) | Friendly, Warm, Playful, Inviting |
| Productivity / SaaS / Dashboard | Neutral blues, purples (#6366F1, #0EA5E9) | Focused, Structured, Efficient, Minimal |
| Luxury / Fashion | Blacks, golds (#18181B, #D4AF37) | Elegant, Exclusive, Premium, Refined |
| Health / Wellness | Soft greens, teals (#10B981, #0D9488) | Calm, Natural, Clean, Reassuring |
| Signal in request | → deviceType |
|---|---|
| "dashboard", "admin", "web app", "landing page", "desktop" | DESKTOP |
| "mobile app", "iOS", "Android", "phone", "app" | MOBILE |
| "tablet", "iPad" | TABLET |
| "responsive", "fluid", "any device" | AGNOSTIC |
| No clear signal → default | MOBILE |
| Signal | → designMode |
|---|---|
| "wireframe", "sketch", "low-fi", "draft" | WIREFRAME |
| All other cases | HIGH_FIDELITY |
| Style keywords contain | → roundness |
|---|---|
| "sharp", "brutalist", "corporate", "enterprise", "terminal" | ROUND_FOUR |
| "modern", "clean", "professional", "balanced" | ROUND_EIGHT |
| "friendly", "playful", "card", "soft", "rounded" | ROUND_TWELVE |
| "pill", "bubble", "very rounded", "capsule" | ROUND_FULL |
| Context | → density | → spacingScale |
|---|---|---|
| Data tables, dashboards, admin panels | COMPACT | 0 or 1 |
| Mobile apps, social, consumer | COMFORTABLE | 2 |
| Marketing pages, landing pages, portfolios | SPACIOUS | 3 |
The colorVariant controls how Stitch derives the full color palette from your primaryColor. Pick based on the visual identity:
| Domain / Tone | → colorVariant |
|---|---|
| Corporate, Medical, Finance | NEUTRAL or TONAL_SPOT |
| Luxury, Fashion, Minimal, Editorial | MONOCHROME or FIDELITY |
| Productivity, SaaS, Enterprise | TONAL_SPOT |
| Creative, Gaming, Cyberpunk | VIBRANT or EXPRESSIVE |
| Lifestyle, Food, Social | VIBRANT or CONTENT |
| Playful, Kids, Events | RAINBOW or FRUIT_SALAD |
| Brand-heavy, Marketing, Landing pages | FIDELITY |
Quick reference:
MONOCHROME — single-hue, editorial feelNEUTRAL — subdued, professionalTONAL_SPOT — balanced accent spots on neutral baseVIBRANT — bold, energetic colorsEXPRESSIVE — multicolor, dynamicFIDELITY — sticks close to the exact brand colorsCONTENT — palette adapts to contentRAINBOW — full spectrumFRUIT_SALAD — warm multicolorThe API supports three separate font roles. Default behavior: all three = same font. Split them for specific design approaches:
Same font (default for most projects):
All three set to the same value (e.g.,
INTER/INTER/INTER)
Split fonts (use when the design benefits from typographic contrast):
| Design approach | headlineFont | bodyFont | labelFont |
|---|---|---|---|
| Editorial / magazine | EB_GARAMOND or LITERATA | INTER or DM_SANS | INTER or DM_SANS |
| Brutalist / hacker | SPACE_GROTESK | INTER | IBM_PLEX_SANS |
| Luxury / high-end | LIBRE_CASLON_TEXT | MANROPE | MANROPE |
| Data-heavy dashboard | INTER | INTER | IBM_PLEX_SANS or SOURCE_SANS_3 |
Font selection guide — use Stitch enum names exactly:
| Use case | Font (Stitch enum) |
|---|---|
| Corporate / SaaS / Dashboard | INTER, DM_SANS, IBM_PLEX_SANS |
| Clean modern / startup | GEIST, MANROPE, PLUS_JAKARTA_SANS, WORK_SANS |
| Editorial / expressive | SPACE_GROTESK, EPILOGUE, SORA, RUBIK |
| Friendly / consumer app | NUNITO_SANS, LEXEND, BE_VIETNAM_PRO |
| Luxury / serif | EB_GARAMOND, LITERATA, SOURCE_SERIF_4, LIBRE_CASLON_TEXT |
| Dense data / admin | SOURCE_SANS_3, PUBLIC_SANS, ARIMO |
| News / reading | NEWSREADER, DOMINE, NOTO_SERIF |
| Code / technical | JETBRAINS_MONO, GOOGLE_SANS_CODE, SPACE_MONO |
| Editorial / high-fashion display | PLAYFAIR_DISPLAY, BODONI_MODA, EB_GARAMOND |
| Condensed / bold impact | BEBAS_NEUE, ANTON, ARCHIVO_NARROW |
Full font list (68 values — SOURCE_SERIF_FOUR, SOURCE_SANS_THREE, and METROPOLIS are deprecated aliases, prefer SOURCE_SERIF_4/SOURCE_SANS_3):
BE_VIETNAM_PRO, EPILOGUE, INTER, LEXEND, MANROPE, NEWSREADER,
NOTO_SERIF, PLUS_JAKARTA_SANS, PUBLIC_SANS, SPACE_GROTESK, SPLINE_SANS,
WORK_SANS, DOMINE, LIBRE_CASLON_TEXT, EB_GARAMOND, LITERATA, SOURCE_SERIF_4, SOURCE_SERIF_FOUR,
MONTSERRAT, METROPHOBIC, METROPOLIS, SOURCE_SANS_3, SOURCE_SANS_THREE, NUNITO_SANS, ARIMO, HANKEN_GROTESK,
RUBIK, GEIST, DM_SANS, IBM_PLEX_SANS, SORA, ANYBODY, ANTON, ARCHIVO_NARROW,
ATKINSON_HYPERLEGIBLE_NEXT, BARLOW_CONDENSED, BEBAS_NEUE, BODONI_MODA, BRICOLAGE_GROTESQUE, CHIVO, CLIMATE_CRISIS,
COMFORTAA, COURIER_PRIME, FIRA_SANS, GOOGLE_SANS, GOOGLE_SANS_CODE, GOOGLE_SANS_FLEX, GOOGLE_SANS_MONO, GOOGLE_SANS_TEXT,
IBM_PLEX_SERIF, JETBRAINS_MONO, KARLA, LIBRE_FRANKLIN, MERRIWEATHER, NOTO_SANS, OPEN_SANS, OSWALD,
OUTFIT, PLAYFAIR_DISPLAY, POIRET_ONE, QUESTRIAL, QUICKSAND, RALEWAY, ROBOTO_FLEX, SPACE_MONO,
SYNE, VOLLKORN
| theme | → backgroundLight | → backgroundDark |
|---|---|---|
| DARK (default) | #FAFAFA | Derive from domain — deep grey #0F0F11 for tech, warm #1A1816 for lifestyle |
| LIGHT | Derive — pure #FFFFFF for corporate, warm #FFFBF5 for lifestyle | #18181B |
Always output exactly this JSON structure — no extra fields, no explanations:
{
"theme": "DARK",
"primaryColor": "#6366F1",
"headlineFont": "SPACE_GROTESK",
"bodyFont": "INTER",
"labelFont": "INTER",
"colorVariant": "FIDELITY",
"roundness": "ROUND_EIGHT",
"spacingScale": 2,
"backgroundLight": "#FAFAFA",
"backgroundDark": "#131315",
"density": "COMFORTABLE",
"designMode": "HIGH_FIDELITY",
"styleKeywords": ["Clean", "Professional", "Focused"],
"deviceType": "DESKTOP"
}
Field types:
theme: "DARK" | "LIGHT"primaryColor: hex stringheadlineFont, bodyFont, labelFont: Stitch font enum (see list above)colorVariant: "MONOCHROME" | "NEUTRAL" | "TONAL_SPOT" | "VIBRANT" | "EXPRESSIVE" | "FIDELITY" | "CONTENT" | "RAINBOW" | "FRUIT_SALAD"roundness: "ROUND_FOUR" | "ROUND_EIGHT" | "ROUND_TWELVE" | "ROUND_FULL"spacingScale: integer 0-3backgroundLight, backgroundDark: hex stringdensity: "COMPACT" | "COMFORTABLE" | "SPACIOUS"designMode: "WIREFRAME" | "HIGH_FIDELITY"styleKeywords: array of 2-4 adjectivesdeviceType: "MOBILE" | "TABLET" | "DESKTOP" | "AGNOSTIC"After generating the spec JSON, the next step is always stitch-ui-prompt-architect, which merges the spec with the user's request to produce a [Context] [Layout] [Components] Stitch generation prompt.
examples/usage.md — Three worked examples (cyberpunk login, medical dashboard, food app)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
36 skills in this plugin
/stitch-a11yAudits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes, keyboard navigation, focus management, and screen reader support./stitch-animateAdds a purposeful animation layer to Stitch-generated components — CSS transitions, Framer Motion (React/Next.js), or Svelte transitions. Always respects prefers-reduced-motion./stitch-design-mdAnalyzes a Stitch project's screens and synthesizes a natural-language DESIGN.md — visual atmosphere, color palette with hex values, typography rules, and Stitch-ready prompt snippets. Use this before stitch-loop or any multi-page build to establish design consistency./stitch-design-systemExtracts a Stitch design and generates production code artifacts — CSS custom properties with dark mode tokens, a Tailwind v4 @theme block, and a semantic design system document. Run this before framework conversion skills./stitch-html-componentsConverts a Stitch screen, a local HTML file, or a URL into clean, platform-agnostic HTML5 + CSS — semantic markup, CSS custom properties for theming, dark mode via prefers-color-scheme, mobile-first responsive, zero framework dependencies. Works in browsers, WebViews, Capacitor, and Ionic. Only the Stitch route needs an API key./stitch-ideateConversational design ideation agent that researches trends, explores visual directions, and refines ideas through adaptive questioning — then produces a rich PRD document and auto-generates Stitch screens. Your design buddy that thinks deeply before designing.npx claudepluginhub gabelul/stitch-kit --plugin stitch-kitOther plugins' skills for the same job