stitch::generate-design
Qué hace
Esta skill genera y edita pantallas de apps o sitios web en Google Stitch a partir de descripciones escritas o imágenes. Está pensada para diseñadores y equipos de producto que quieren maquetas rápidas de pantallas.
Cuándo usarla
- ✓Cuando quieres generar una pantalla nueva de app o sitio web a partir de una descripción.
- ✓Cuando quieres cambiar una pantalla existente de Stitch con instrucciones claras.
- ✓Cuando quieres varias variaciones de diseño para compararlas.
Link de la skill
https://github.com/google-labs-code/stitch-skills/blob/main/plugins/stitch-design/skills/generate-design/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Crea una pantalla de Stitch para la página de inicio de un rastreador de ejercicio para móvil, con un diseño limpio y moderno.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Reescribe tu petición en términos de diseño precisos, revisa el sistema de diseño de tu proyecto y después pide a Stitch que genere o edite la pantalla.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Generate Design
Create new design screens from text descriptions, images, or mockups, edit existing screens with prompts and design system tokens, and generate design variants using Stitch MCP.
[!NOTE] Refer to your system prompt for instruction on handling MCP tool prefixes for all tools mentioned in this skill (e.g.,
list_projects,generate_screen_from_text,edit_screens).
🎨 Prompt Enhancement Pipeline
Before calling any Stitch generation or editing tool, you MUST enhance the user's prompt.
1. Analyze Context
- Project: Use
list_projectsto find the correctprojectId. If no suitable project exists, create one usingcreate_project. - Design System: Check if a design system exists for the project via
list_design_systems. If one exists, design tokens (colors, fonts, roundness) are already applied at the project level — do NOT include any color, font, or theme instructions in the generation prompt. If none exists, delegate to the manage-design-system skill first before generating screens.
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"
Use Prompting Keywords for component names, adjective palettes, color roles, and shape descriptions.
3. Structure the Final Prompt
Format the enhanced prompt for Stitch. Focus exclusively on layout, content, and structure — never include colors, fonts, or theme instructions (these are handled by the manage-design-system skill at the project level).
For new screens, use this template:
[Overall purpose and user intent of the page]
**PLATFORM:** [Web/Mobile], [Desktop/Mobile]-first
**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]
For edits, be specific about what to change:
- Location: "Change the [primary button] in the [hero section]..."
- Visuals: "...to a darker blue (#004080) and add a subtle shadow."
- Structure: "Add a secondary button next to the primary one with the text 'Learn More'."
[!CAUTION] Do NOT include hex codes, font names, color palettes, roundness values, or any design system tokens in a generation prompt. These are applied at the project level by the manage-design-system skill and will conflict if duplicated. (For edit prompts, hex codes are acceptable for precise color adjustments.)
4. Present AI Insights
After any tool call, always surface the outputComponents (Text Description and
Suggestions) to the user.
See examples/enhanced-prompt.md for a full before/after prompt enhancement example.
Steps
Determine the Mode
Decide which flow to use based on the user's request:
- User wants to create from a text description → Generate from Text flow
- User provides an image, screenshot, or mockup → Generate from Image flow
- User wants to modify an existing screen → Edit flow
- User wants layout/color/content variations → Generate Variants flow
Generate from Text Flow (New Screen)
1. Enhance the User Prompt
Apply the Prompt Enhancement Pipeline above.
2. Identify the Project
Use list_projects to find the correct projectId if it is not already known.
3. Generate the Screen
Call the generate_screen_from_text tool with the enhanced prompt and the
designSystem ID (if found in Step 1).
{
"projectId": "...",
"prompt": "[Your Enhanced Prompt]",
"designSystem": "assets/...", // Optional: Pass if found in Step 1
"deviceType": "DESKTOP" // Options: MOBILE, DESKTOP, TABLET
}
4. Present AI Feedback
Always show the text description and suggestions from outputComponents to the
user.
5. Download Design Assets
After generation, download the HTML and screenshot urls from outputComponents
to the .stitch/designs directory.
- Naming: Use the screen ID or a descriptive slug for the filename.
- Tools: Use
curl -oviarun_commandor similar. - Directory: Ensure
.stitch/designsexists.
6. Review and Refine
- If th
Preguntas frecuentes
¿Elige los colores por mí?
Si el proyecto tiene un sistema de diseño, los colores y las tipografías vienen de él, así que el prompt los omite.
¿Qué pasa si no hay sistema de diseño?
La skill te remite a la skill de sistema de diseño para crear uno antes de generar pantallas.
¿Puede empezar desde una imagen?
Sí, la skill puede generar pantallas nuevas a partir de texto o de imágenes.
Detalles
Descripción original del autor
Generate new screens from text prompts or images, edit existing screens with prompts and design system tokens, and generate design variants using Stitch MCP. Includes prompt enhancement pipeline, design mappings, professional UI/UX terminology, design tokens and theme system capabilities.
Popularidad
- Estrellas en GitHub
- 8,7 mil
- Posición en el ranking
- #12344
- Licencia
- Apache-2.0
- Actualizada
- 17/8/2026
Comentarios
- …
Más skills de este repositorio
stitch::react-components
8,7 milAyuda a tu agente a convertir diseños de Stitch en componentes de React y Vite, o a actualizar componentes existentes para que coincidan con el diseño más reciente, con comprobaciones.
stitch::react-native
8,7 milAyuda a tu agente a convertir diseños web de Stitch en componentes de React Native para apps de teléfono, o a actualizar pantallas móviles existentes para que coincidan con un diseño más nuevo.
react-vite-dashboard
8,7 milAyuda a tu agente a crear paneles de React y Vite con muchos datos a partir de diseños de Stitch, con TanStack Query y tokens de diseño de un archivo DESIGN.md.
shadcn-ui
8,7 milAyuda a tu agente a encontrar, instalar y personalizar componentes de shadcn/ui, piezas de interfaz para copiar construidas con Radix o Base UI y Tailwind CSS.
Skills parecidas
canvas
394 milPermite que tu agente muestre un widget visual alojado en un panel de Mac conectado y después ocultar el panel o moverlo a otra página.
control-ui
394 milAyuda a tu agente a organizar y resolver problemas de la interfaz de control de OpenClaw, incluidas las sesiones, los paneles y las Gateways conectadas.
diagram-maker
394 milAyuda a tu agente a crear diagramas claros en SVG, HTML o Excalidraw editable para procesos, arquitectura de sistemas y bocetos de pizarra.