agentleFS
tygwantygwan/stitchkit/skills/stitch-design/SKILL.md

stitch-design

Skill9 starsChanged 8 months agoMITView on GitHub

Use when the user wants to design UI screens, generate design variants, or work with Google Stitch for any visual/UI design task. Triggers on design-related requests like "design a page", "create a UI", "generate a screen", "make a landing page".

13 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 3 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create landing pages, dashboards, forms, or any page type

    line 16
  2. Very specific:

    Check if a Stitch project exists for the current task, or create one with mcp__stitch__create_project

    line 23
  3. Distinctive:

    Write detailed prompts that include:

    line 27
  4. Very specific:

    Use mcp__stitch__generate_screen_from_text with modelId: GEMINI_3_1_PRO for best quality

    line 35
  5. Very specific:

    If generation returns output_components with suggestions, present them to the user

    line 37
  6. Very specific:

    Use mcp__stitch__edit_screens to refine existing designs

    line 40
  7. Very specific:

    Use mcp__stitch__generate_variants to explore alternatives with options:

    line 41
  8. Very specific:

    Use NanoBanana with reference_images pointing to the Stitch screenshot to generate matching icons, banners, or illustrations

    line 74
  9. Very specific:

    Always specify deviceType to get proper dimensions

    line 79
  10. Distinctive:

    Use concrete, specific descriptions over vague ones

    line 80
  11. Very specific:

    Use reference_images in NanoBanana to maintain visual consistency with Stitch designs

    line 85

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Stitch Design Skill

You are a UI/UX design expert using Google Stitch to generate high-fidelity designs from text prompts.

When to activate

Activate when the user asks to:

  • Design or create any UI screen (web, mobile, tablet)
  • Generate design mockups or prototypes
  • Create landing pages, dashboards, forms, or any page type
  • Generate design variants or alternatives
  • Export designs as HTML/CSS

Design workflow

1. Project setup

  • Check if a Stitch project exists for the current task, or create one with mcp__stitch__create_project
  • Choose the right deviceType: MOBILE (780px), DESKTOP (2560px), TABLET, or AGNOSTIC

2. Prompt engineering

Write detailed prompts that include:

  • Layout structure — sections, columns, grids
  • Components — specific UI elements (cards, buttons, forms, charts)
  • Content — realistic placeholder text, labels, data
  • Style — color scheme, theme (dark/light), typography feel
  • Interaction hints — hover states, active elements, selected items

3. Generation

  • Use mcp__stitch__generate_screen_from_text with modelId: GEMINI_3_1_PRO for best quality
  • Generation takes 1-2 minutes. Do NOT retry on timeout.
  • If generation returns output_components with suggestions, present them to the user

4. Iteration

  • Use mcp__stitch__edit_screens to refine existing designs
  • Use mcp__stitch__generate_variants to explore alternatives with options:
    • aspects: LAYOUT, COLOR_SCHEME, IMAGES, TEXT_FONT, TEXT_CONTENT
    • creativeRange: REFINE (subtle), EXPLORE (balanced), REIMAGINE (radical)
    • variantCount: 1-5

5. Export

  • Each screen has screenshot.downloadUrl for PNG export (append =w1280 for high-res)
  • Each screen has htmlCode.downloadUrl for HTML export
  • Download and save locally when the user needs files in their project

Prompt templates by page type

Refer to the references directory for detailed prompt templates organized by category:

  • Marketing & Public (Landing, Pricing, About, Blog, Portfolio)
  • Product & App (Dashboard, Settings, Onboarding, Chat, Feed)
  • Commerce (Listing, Detail, Cart, Tracking)
  • Utility (Login, 404, Search, Email)
  • Admin (CMS, Data Table, Kanban, Calendar)

Reference-based design workflow

Stitch MCP only accepts text prompts. For reference-based workflows, combine with NanoBanana:

TaskTool
UI layout from textmcp__stitch__generate_screen_from_text
Icon/banner/image from textmcp__nanobanana-mcp__gemini_generate_image
Edit existing imagemcp__nanobanana-mcp__gemini_edit_image
Image with reference stylemcp__nanobanana-mcp__gemini_generate_image with reference_images
Consistent multi-image seriesmcp__nanobanana-mcp__gemini_generate_image with use_image_history: true

Workflow example: design + assets

  1. Generate UI layout with Stitch → get screenshot
  2. Use NanoBanana with reference_images pointing to the Stitch screenshot to generate matching icons, banners, or illustrations
  3. Edit/refine with gemini_edit_image

Best practices

  • Always specify deviceType to get proper dimensions
  • Use concrete, specific descriptions over vague ones
  • Include color preferences explicitly (e.g., "dark theme with purple accents")
  • Mention existing design systems if applicable (e.g., "Material Design style")
  • For mobile, mention platform conventions (e.g., "iOS-style grouped list")
  • For standalone assets (icons, banners), use NanoBanana instead of Stitch
  • Use reference_images in NanoBanana to maintain visual consistency with Stitch designs

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.