From stitch-kit
Edits existing Stitch UI screens via text prompts to refine colors, layout, content, or style without regenerating from scratch. Ideal for iterative design changes after initial generation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/stitch-kit:stitch-mcp-edit-screensThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Edits one or more existing screens using a text prompt. This is the primary iteration tool — instead of regenerating a screen from scratch (60–180s), you can refine what you already have with targeted changes.
Edits one or more existing screens using a text prompt. This is the primary iteration tool — instead of regenerating a screen from scratch (60–180s), you can refine what you already have with targeted changes.
Only use this skill when the user explicitly mentions "Stitch".
You must have both a projectId AND at least one screenId before calling this. If you don't:
stitch-mcp-list-screens to find screen IDsprojects/123/screens/456 → projectId: 123, screenId: 456{
"name": "edit_screens",
"arguments": {
"projectId": "3780309359108792857",
"selectedScreenIds": ["88805abc123def456"],
"prompt": "Change the background to dark mode (#09090B). Make the primary color indigo (#818CF8). Increase the font size of the header to 32px bold.",
"deviceType": "DESKTOP",
"modelId": "GEMINI_3_1_PRO"
}
}
projectId — numeric ID only, no prefix✅ "3780309359108792857"
❌ "projects/3780309359108792857"
selectedScreenIds — array of numeric screen IDs✅ ["88805abc123def456"]
❌ ["projects/123/screens/88805abc123def456"]
❌ ["screens/88805abc123def456"]
Select one or more screens to edit. All selected screens receive the same edit instruction.
prompt — the edit instructionApply the same quality bar as generation prompts:
deviceType — optionalSame enum as generate_screen_from_text: MOBILE, DESKTOP, TABLET, AGNOSTIC
modelId — optional| Value | Use when |
|---|---|
GEMINI_3_1_PRO | Recommended — complex layouts, high fidelity |
GEMINI_3_FLASH | Fast iteration, wireframes, simple changes |
GEMINI_3_PRO | Deprecated. Still works but will be removed. Use GEMINI_3_1_PRO instead. |
output_componentsThe response may contain output_components with suggestions:
{
"outputComponents": [
{ "text": "I've updated the background color and adjusted contrast ratios." },
{ "suggestion": "Would you also like me to update the sidebar to match the dark theme?" }
]
}
When you see suggestions:
edit_screens again with the suggestion as the new promptSame as generation: 60–180 seconds is normal.
stitch-mcp-get-screen with the same projectId and screenIdedit_screens callstitch-mcp-generate-variantsprojects/ID format for projectId or screenId — both must be numericnpx claudepluginhub gabelul/stitch-kit --plugin stitch-kitDesigns UI screens using the Stitch SDK. Activates on explicit design requests, new screen creation, or full design changes. Supports auto-detection of UI keywords and model selection.
Generates alternative design variants for existing Stitch screens via native API, varying layouts, colors, fonts, or content with configurable creativity levels. For exploring options or A/B testing.
Transforms vague UI ideas into Stitch-optimized prompts. Enhances specificity, injects UI/UX keywords and design system context from DESIGN.md, structures for better UI generation results.