skills/stitch-skills/stitch-mcp-generate-screen-from-text/SKILL.md
Generate high-fidelity UI screens or wireframes from text descriptions via Stitch MCP generate_screen_from_text. Use when the user wants to create, design, or visualize a UI screen using Stitch. Supports MOBILE, DESKTOP, TABLET, and SMART_WATCH device types with Gemini Pro or Flash models.
npx skillsauth add partme-ai/full-stack-skills stitch-mcp-generate-screen-from-textInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill is designed to call the Stitch MCP tool:
generate_screen_from_textIf your client namespaces MCP tools, it may appear as mcp__<serverName>__generate_screen_from_text.
CRITICAL PREREQUISITE: You must ONLY use this skill when the user EXPLICITLY mentions "Stitch".
ALWAYS use this skill when the user:
stitch-ui-designer SOP workflow.Trigger phrases include:
The skill expects you to extract the following information from the user request:
projectId (required): The numeric Project ID. Format: Pure ID (e.g., 37803...), NO projects/ prefix.prompt (required): The structured text description of the screen (see "Constructing the Prompt" below).deviceType (optional): The target device.
MOBILE (default), DESKTOP, TABLET, SMART_WATCH.modelId (optional): The model to use.
GEMINI_3_PRO (Recommended for quality), GEMINI_3_FLASH (Speed).Invoke generate_screen_from_text with:
projectId (pure numeric string, no projects/)promptdeviceType (optional)modelId (optional)The prompt argument is the most critical factor for quality. Do not just pass the user's raw input. You MUST enrich it using the Structure Strategy:
[Device] [Mode] [Screen Type]. [Style]. [Layout]. [Components].
deviceType)MOBILE (Default): Vertical layouts, ~375px width. Best for consumer apps.DESKTOP: Horizontal layouts, ~1440px width. Best for SaaS, Dashboards, Landing Pages.TABLET: Hybrid layouts.SMART_WATCH: Tiny, compact layouts.modelId)GEMINI_3_PRO: Recommended. High intelligence, better instruction following, superior aesthetics. Use for all complex/final designs.GEMINI_3_FLASH: Faster, lower cost. Good for simple wireframes or rapid iteration.prompt description matches the deviceType (e.g., don't ask for a "Sidebar" on MOBILE).uniappx-project-creator).generate_screen_from_text returns session info (e.g., sessionId and outputComponents). It may not return a screenshot directly.
After the generation completes, retrieve the resulting screen(s) via:
list_screens with projectId in the format projects/{id}.get_screen with the selected screenId to fetch screenshot / html assets.English keywords: generate screen, design ui, create interface, make page, draw wireframe, text to ui, ui generation, stitch gen, mobile design, desktop design, dashboard, login, prompt engineering
Chinese keywords (中文关键词): 生成页面, 设计UI, 创建界面, 画图, 制作网页, 文本生成UI, 界面设计, 移动端设计, 桌面端设计, 仪表盘, 登录页, 线框图, 生成代码
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.