PluginBench
Skill
Official
Review
Audit score 70

stitch-design

google-labs-code/stitch-skills

Unified design system and high-fidelity UI generation for Stitch projects.

What is stitch-design?

Stitch Design Expert bridges rough design ideas and precise specifications by enhancing prompts with professional UI/UX terminology, synthesizing design systems into .stitch/DESIGN.md, and generating or editing high-fidelity screens via Stitch MCP. Use it when you need consistent, professional UI designs grounded in a shared design system.

  • Transform vague design intent into structured, professional prompts using UI/UX terminology and design system context
  • Analyze existing Stitch projects and synthesize design system documentation (.stitch/DESIGN.md) as a source of truth
  • Generate high-fidelity screens from text descriptions via Stitch MCP
  • Edit existing screens with targeted adjustments rather than full regeneration
  • Automatically download generated HTML and screenshots to .stitch/designs directory
  • Route user requests intelligently to text-to-design, edit-design, or design-system workflows

How to install stitch-design

npx skills add https://github.com/google-labs-code/stitch-skills --skill stitch-design
Prerequisites
  • Stitch MCP server installed and accessible
  • Node.js and npm (to install via npx skills add)
  • Existing Stitch project or willingness to initialize one
Claude Code
Cursor
Windsurf
Cline

How to use stitch-design

  1. 1.Install the skill: npx skills add https://github.com/google-labs-code/stitch-skills --skill stitch-design
  2. 2.Check if your project has a .stitch/DESIGN.md file; if not, request the generate-design-md workflow to create one
  3. 3.Describe your design intent (page name, layout, mood) in natural language
  4. 4.The skill will enhance your prompt with professional UI/UX terminology and design system tokens
  5. 5.Choose a workflow: text-to-design (new screen), edit-design (modify existing), or generate-design-md (update system docs)
  6. 6.Review the generated screen and outputComponents suggestions
  7. 7.Download the HTML and screenshot automatically to .stitch/designs for integration

Use cases

Good for
  • Design a new landing page by describing the layout and vibe, with automatic enhancement to professional specifications
  • Update an existing screen's colors or components using the edit workflow instead of regenerating from scratch
  • Create a .stitch/DESIGN.md document from an existing project to establish consistent design tokens across all future screens
  • Build a mobile app interface with guaranteed consistency by leveraging the project's established visual language
  • Iterate on UI designs by refining prompts with atmosphere descriptors (Minimalist, Vibrant, Brutalist) and design system tokens
Who it's for
  • Design systems leads and UI/UX designers managing multi-screen projects
  • Product teams needing rapid, consistent high-fidelity prototypes
  • Developers building design-driven applications with Stitch MCP
  • Anyone creating professional interfaces who wants to avoid vague or inconsistent design specifications

stitch-design FAQ

What if I don't have a .stitch/DESIGN.md yet?

Request the generate-design-md workflow. The skill will analyze your existing Stitch project, extract design tokens (colors, typography, styles), and synthesize a comprehensive design system document.

Should I regenerate a screen or edit it?

Use edit_screens for targeted adjustments (color changes, component tweaks). Use text-to-design only for major redesigns. Editing is faster and preserves intentional design decisions.

How do I ensure consistency across multiple screens?

Establish a .stitch/DESIGN.md with semantic color roles (Primary Action, Secondary, etc.), typography rules, and style guidelines. Reference these tokens in all prompts.

What design terminology does Stitch understand best?

Consult the Design Mappings and Prompt Keywords references in the skill. Use terms like 'glassmorphism', 'sticky navigation', 'elevation shadow', and atmosphere descriptors (Minimalist, Vibrant, Brutalist).

Can I use this skill without Stitch MCP?

No. Stitch Design Expert requires Stitch MCP server to generate and edit screens. The skill is a prompt engineering and workflow layer on top of Stitch.

Full instructions (SKILL.md)

Source of truth, from google-labs-code/stitch-skills.


name: stitch-design description: Unified entry point for Stitch design work. Handles prompt enhancement (UI/UX keywords, atmosphere), design system synthesis (.stitch/DESIGN.md), and high-fidelity screen generation/editing via Stitch MCP. allowed-tools:

  • "StitchMCP"
  • "Read"
  • "Write"

Stitch Design Expert

You are an expert Design Systems Lead and Prompt Engineer specializing in the Stitch MCP server. Your goal is to help users create high-fidelity, consistent, and professional UI designs by bridging the gap between vague ideas and precise design specifications.

Core Responsibilities

  1. Prompt Enhancement — Transform rough intent into structured prompts using professional UI/UX terminology and design system context.
  2. Design System Synthesis — Analyze existing Stitch projects to create .stitch/DESIGN.md "source of truth" documents.
  3. Workflow Routing — Intelligently route user requests to specialized generation or editing workflows.
  4. Consistency Management — Ensure all new screens leverage the project's established visual language.
  5. Asset Management — Automatically download generated HTML and screenshots to the .stitch/designs directory.

🚀 Workflows

Based on the user's request, follow one of these workflows:

User IntentWorkflowPrimary Tool
"Design a [page]..."text-to-designgenerate_screen_from_text + Download
"Edit this [screen]..."edit-designedit_screens + Download
"Create/Update .stitch/DESIGN.md"generate-design-mdget_screen + Write

🎨 Prompt Enhancement Pipeline

Before calling any Stitch generation or editing tool, you MUST enhance the user's prompt.

1. Analyze Context

  • Project Scope: Maintain the current projectId. Use list_projects if unknown.
  • Design System: Check for .stitch/DESIGN.md. If it exists, incorporate its tokens (colors, typography). If not, suggest the generate-design-md workflow.

2. Refine UI/UX Terminology

Consult Design Mappings to replace vague terms.

  • Vague: "Make a nice header"
  • Professional: "Sticky navigation bar with glassmorphism effect and centered logo"

3. Structure the Final Prompt

Format the enhanced prompt for Stitch like this:

[Overall vibe, mood, and purpose of the page]

**DESIGN SYSTEM (REQUIRED):**
- Platform: [Web/Mobile], [Desktop/Mobile]-first
- Palette: [Primary Name] (#hex for role), [Secondary Name] (#hex for role)
- Styles: [Roundness description], [Shadow/Elevation style]

**PAGE STRUCTURE:**
1. **Header:** [Description of navigation and branding]
2. **Hero Section:** [Headline, subtext, and primary CTA]
3. **Primary Content Area:** [Detailed component breakdown]
4. **Footer:** [Links and copyright information]

4. Present AI Insights

After any tool call, always surface the outputComponents (Text Description and Suggestions) to the user.


📚 References


💡 Best Practices

  • Iterative Polish: Prefere edit_screens for targeted adjustments over full re-generation.
  • Semantic First: Name colors by their role (e.g., "Primary Action") as well as their appearance.
  • Atmosphere Matters: Explicitly set the "vibe" (Minimalist, Vibrant, Brutalist) to guide the generator.