/google-stitch:generating-stitch-screensfrom google-stitch
Generates Stitch screens from authored prompt files using MCP tools. Reads prompt sections, sends each to Stitch for generation, and fetches resulting images and code.
Ships in google-stitch. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Orchestrate screen generation in Google Stitch using MCP tools. Reads authored prompt files, sends each section to Stitch for generation, and fetches resulting images and code.
Requires Stitch MCP server (@_davideast/stitch-mcp). If MCP tools are not available, display:
Stitch MCP is not configured.
Run /stitch-setup for guided setup, or see the plugin README for manual configuration.
Never fail silently. Always inform the user if MCP is unavailable.
Typically invoked via /stitch-generate or after prompt authoring with MCP available.
design-intent/google-stitch/{feature}/prompt-v{N}.md--- separators, extracting <!-- Layout: --> and <!-- Component: --> markerscreate_project / list_projects)generate_screen_from_text with prompt textfetch_screen_image at full resolution, save to {feature}/exports/ (see WORKFLOW.md for URL transformation)fetch_screen_code, save to {feature}/code/extract_design_context, save design DNAdesign-intent/google-stitch/{feature}/
├── prompt-v{N}.md <- Source prompts
├── exports/ <- Generated images
│ ├── {layout-name}.png
│ ├── {component-1}.png
│ └── {component-2}.png
├── code/ <- Generated code (optional)
│ ├── {layout-name}/
│ └── {component-1}/
└── design-dna.md <- Extracted design context (optional)
Prompt files use --- separators with HTML comment labels:
<!-- Layout: Analytics Dashboard -->
[layout prompt text]
---
<!-- Component: KPI Metrics -->
[component prompt text]
---
<!-- Component: Revenue Chart -->
[component prompt text]
Parse each section independently. Use the label text as the screen name in Stitch.
See WORKFLOW.md for detailed steps, error handling, and retry logic.
See EXAMPLES.md for end-to-end generation scenarios.
See TROUBLESHOOTING.md for MCP-specific issues.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
google-stitch, screen-generation, mcp-tools, prompt-files, design-intent
npx claudepluginhub joaquimscosta/arkhe-claude-plugins --plugin google-stitch2 skills in this plugin
Other plugins' skills for the same job