Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Expert UI design skill for Stitch MCP: enhances prompts, generates high-fidelity screens, and maintains design system consistency.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
workflows/edit-design.md
1---2description: Edit an existing design screen using Stitch MCP.3---45# Workflow: Edit-Design67Make targeted changes to an already generated design.89## Steps1011### 1. Identify the Screen12Use `list_screens` or `get_screen` to find the correct `projectId` and `screenId`.1314### 2. Formulate the Edit Prompt15Be specific about the changes you want to make. Do not just say "fix it".16- **Location**: "Change the color of the [primary button] in the [hero section]..."17- **Visuals**: "...to a darker blue (#004080) and add a subtle shadow."18- **Structure**: "Add a secondary button next to the primary one with the text 'Learn More'."1920### 3. Apply the Edit21Call the `mcp_StitchMCP_edit_screens` tool.2223```json24{25"projectId": "...",26"selectedScreenIds": ["..."],27"prompt": "[Your target edit prompt]"28}29```3031### 4. Present AI Feedback32Always show the text description and suggestions from `outputComponents` to the user.3334### 5. Download Design Assets35After editing, download the updated HTML and screenshot urls from `outputComponents` to the `.stitch/designs` directory, overwriting previous versions to ensure the local files reflect the latest edits.3637### 6. Verify and Repeat38- Check the output screen to see if the changes were applied correctly.39- If more polish is needed, repeat the process with a new specific prompt.4041## Tips42- **Keep it focused**: One edit at a time is often better than a long list of changes.43- **Reference components**: Use professional terms like "navigation bar", "hero section", "footer", "card grid".44- **Mention colors**: Use hex codes for precise color matching.45