一键导入
design-screen
Workflow for designing a mobile screen using Stitch MCP. Use when creating UI mockups, screen layouts, or design variants for Convy screens.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Workflow for designing a mobile screen using Stitch MCP. Use when creating UI mockups, screen layouts, or design variants for Convy screens.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Quick workflow for adding a single API endpoint. Use when implementing a specific REST endpoint with its command/query, handler, validator, and test.
End-to-end workflow for implementing a backend feature in Convy. Use when adding new functionality that spans Domain, Application, Infrastructure, and API layers. Covers entity creation, CQRS handlers, validators, repository implementation, API endpoints, and tests.
Structured code review workflow. Use when reviewing code changes for SOLID violations, security issues, architecture compliance, performance problems, and code smells.
Workflow for creating EF Core database migrations. Use when adding tables, columns, indexes, or modifying the database schema. Includes validation and rollback testing.
Setup and verification checklist for Firebase Authentication in Convy. Use when implementing auth features, onboarding, or when Firebase configuration needs to be verified.
Workflow for creating a new screen in the Convy mobile app. Use when adding a new screen or view with Compose Multiplatform and MVI architecture. Covers state modeling, store creation, composable UI, navigation wiring, and previews.
| name | design-screen |
| description | Workflow for designing a mobile screen using Stitch MCP. Use when creating UI mockups, screen layouts, or design variants for Convy screens. |
GEMINI_3_1_PRO (modelId: "GEMINI_3_1_PRO"). Never use GEMINI_3_FLASH or default.5694262812667273070). Do not create a new project.mcp_stitch_generate_variants with aspects: ["COLOR_SCHEME"].vscode_askQuestions if the design looks good before proceeding to implementation.docs/mvp-spec.md Sections 11-12 for navigation and screen specs.From the spec, identify:
IMPORTANT: The prompt MUST be extremely detailed and structured. Every section below is mandatory — do not omit or abbreviate any section. A well-defined prompt produces a high-quality design; a vague prompt produces unusable output.
Structure the prompt for Stitch MCP using this template (ALL sections required):
Screen: {Screen Name}
App: Convy — Shared household coordination app
Platform: Mobile (Android, Compose Multiplatform, Material Design 3)
Theme: Light mode primary, generate dark mode variant too
Design System: "Convy Hearth" — Primary #10B981 teal, Plus Jakarta Sans headlines, Be Vietnam Pro body, rounded 8dp shapes
PURPOSE: {One-line screen purpose describing the user goal}
USER CONTEXT: {Who sees this screen, when, and what they expect to do}
LAYOUT (top to bottom — be specific with exact spacing and sizing):
- Status bar: {transparent/themed}
- Top app bar: {title text, leading icon, trailing actions — specify each icon by name}
- Body: {main content — describe every visual element, their arrangement, padding, and visual weight}
- Bottom: {FAB position, bottom bar items, safe area}
COMPONENTS (describe EVERY UI element):
- {Component 1}: {exact appearance: background color, corner radius, padding, icon name, text style, elevation}
- {Component 2}: {exact appearance}
- ... {list ALL components visible on screen}
TYPOGRAPHY:
- Headlines: {font, weight, size — e.g. "Plus Jakarta Sans Bold 22sp"}
- Body: {font, weight, size}
- Labels/Captions: {font, weight, size}
COLOR USAGE:
- Background: {surface/surfaceContainerLow + hex}
- Cards: {surfaceContainerLowest + hex}
- Primary actions: {primary color + hex}
- Secondary text: {onSurfaceVariant + hex}
- Dividers/outlines: {outlineVariant + hex}
STATES (describe ALL possible states):
- Default/Loaded: {exact layout with sample data — include realistic example content}
- Empty: {centered icon + title + subtitle + CTA button}
- Loading: {skeleton shimmer pattern or circular indicator}
- Error: {error icon + message + retry button}
INTERACTIONS:
- Tap {element}: {exactly what happens — navigation target, dialog, animation}
- Swipe {element}: {action and visual feedback}
- Long press {element}: {action if applicable}
- Scroll behavior: {app bar collapse? sticky headers?}
SAMPLE DATA (provide realistic example content for the design):
- {Item 1}: {realistic text/values}
- {Item 2}: {realistic text/values}
- {Item 3}: {realistic text/values}
ACCESSIBILITY:
- Minimum touch target: 48dp
- Content descriptions for icons
- Sufficient color contrast (WCAG AA)
5694262812667273070 (title: "Convy — Household Coordination App").mcp_stitch_generate_screen_from_text with:
projectId: 5694262812667273070prompt: the structured prompt from Step 2 (MUST include all sections)deviceType: MOBILEmodelId: GEMINI_3_1_PRO (MANDATORY — never use FLASH or default)mcp_stitch_get_screen if needed.vscode_askQuestions if the design meets their expectations before proceeding.After the light mode screen is accepted:
mcp_stitch_generate_variants with:
selectedScreenIds: [the screen ID from Step 3]variantOptions: { "variantCount": 1, "creativeRange": "EXPLORE", "aspects": ["COLOR_SCHEME"] }vscode_askQuestions that dark mode looks correct.mcp_stitch_generate_variants with "aspects": ["LAYOUT"].Save the design reference and key decisions for the mobile developer.
| Pattern | Use For |
|---|---|
| List screen | Shopping list detail, task list detail |
| Form screen | Create/edit item |
| Card grid | Home/lists overview |
| Simple settings | Settings, profile |
| Onboarding flow | Auth, household setup |