Agent skill

Stitch Generate Design Skill: Screens, Edits and Variants from Prompts

The stitch-generate-design skill sharpens a prompt, then creates Stitch screens from text or images, edits existing screens and generates up to five design variants through the Stitch MCP.

Install
npx plugins add google-labs-code/stitch-skills --scope project --target claude-code
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the stitch-generate-design skill?

The stitch-generate-design skill is the main prompt-to-screen workflow in the Stitch plugin set. It requires the agent to rewrite your request in professional UI terms first, then call Stitch to generate from text or an image, edit a screen, or produce variants, and save the HTML and screenshots.

The skill covers four jobs inside the stitch-design plugin: new screens from text, new screens from an image or mockup, edits to an existing screen, and variants of one. All of them call the Stitch MCP server through your agent.

Its distinctive rule is that every request passes through a prompt enhancement pipeline before any Stitch tool runs. The SKILL.md says the agent must enhance the prompt, not forward it as typed.

The prompt enhancement pipeline

  1. Analyze context. Find the project with list_projects, creating one with create_project if needed, and check list_design_systems.
  2. Refine the wording using the bundled design mappings and prompting keywords, so a vague header becomes a sticky navigation bar with a centered logo.
  3. Structure the prompt around purpose, platform and page structure. Colors, fonts and themes are left out of generation prompts.
  4. Show the outputComponents text description and suggestions to the user after each call.

Four flows, one skill

  • Text: generate_screen_from_text takes the enhanced prompt, an optional design system and a device type of mobile, desktop or tablet.
  • Image: the image goes up through upload-to-stitch, then edit_screens refines it from a prompt that states the intent of the mockup.
  • Edit: edit_screens takes selected screen IDs and a targeted prompt, and hex codes are allowed here for precise color changes.
  • Variants: generate_variants takes a count, a creative range and the aspects to vary.

Who the stitch-generate-design skill is for

Best for

  • Designers and developers who prompt Stitch often and want consistent, structural prompts.
  • Teams with a Stitch design system, since tokens apply at project level and stay out of the prompt.
  • Anyone exploring alternatives, because variants expose layout, color, images, font and text as separate aspects.

Not for

  • Building a multi-page site from a loop of prompts. stitch-loop is designed for that.
  • Only polishing a rough prompt. The standalone enhance-prompt skill does that.
  • Converting finished screens to code. Pair this one with a build skill.

Use it with UiChemy

The skill produces Stitch screens, not WordPress pages. When a design is approved, UiChemy can bring AI builds into WordPress, or work from Figma and Composer. Click Get Started on uichemy.com. Related: stitch-design-taste.