/stitchflow:stitchflowfrom stitchflow
Generates Stitch UI screens, design systems, variants, prototypes, and Tailwind-friendly HTML from briefs or mockups. Use for visual exploration, editing Stitch projects, building multi-screen prototypes, or exporting design artifacts.
Ships in stitchflow. 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.
Use this skill when the user wants to create a new Stitch screen, refine an existing one, generate design variants, build a multi-screen prototype, run a complete website design process, use DESIGN.md / design systems, or export local HTML and screenshots through Stitch.
It prefers native Stitch MCP tools when they are available in the current agent session, and falls back to the local toolkit at ${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter} when they are not.
${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/.env${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/runs${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/runs/latest-screen.jsondownload-project over export-project.download-project uses Project.downloadAssets(): it downloads every project screen's code.html, referenced remote images and stylesheet links into per-screen assets/, screenshots when available, top-level DESIGN.md when exposed, and download-project.json with screen metadata and warnings.--safe-download forces that path.download-project output as a local code/assets checkpoint for implementation handoff. It can include scratch/design-system screens and may still reference external runtime scripts such as Tailwind CDN, so filter to approved screen ids in handoff notes and vendor/build external dependencies during production implementation.design-system when local fallback needs to list, create, update, or apply Stitch design systems exposed by the live MCP schema.If the current client exposes Stitch MCP tools such as create_project, generate_screen_from_text, generate_variants, upload_design_md, create_design_system_from_design_md, apply_design_system, and get_screen, use those tools first. Native MCP avoids local SDK transport issues and is the most reliable path in Codex after the client has been restarted with the Stitch MCP server configured.
For Codex, a minimal MCP config looks like this:
[mcp_servers.stitch]
url = "https://stitch.googleapis.com/mcp"
enabled = true
[mcp_servers.stitch.http_headers]
"X-Goog-Api-Key" = "<your Stitch API key>"
Restart the client after changing MCP config so the stitch tools are loaded into the session.
DESIGN.md design systemDESIGN.md, or final code handoff:
Read project-prototype-exportDESKTOP by default unless the user clearly asks for mobile or tablet.3 variants.edit over full regeneration.download-project afterward for local code/assets where possible.STITCH_API_KEY or .env contents.downloadUrl values, save the HTML and screenshot locally into the normal runs/ artifact layout before reporting completion.download-project, inspect download-project.json and report any warnings or unexpected extra screens before treating the checkpoint as final.Use prompt-keywords to translate vague requests into design language Stitch understands better.
Structure prompts like this:
[overall vibe, product intent, and audience]
Platform: [web/mobile], [desktop/mobile]-first
Page goal:
- what the screen is for
- what primary action matters most
Page structure:
1. Header / navigation
2. Main content / hero / dashboard body
3. Secondary content
4. Footer / actions / supporting detail
Visual direction:
- palette roles
- typography tone
- spacing density
- component style
Report:
${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/runsDESIGN.md / design system was created or appliedagents/openai.yaml (opens in a new tab)references/cli-usage.md (opens in a new tab)references/prompt-keywords.md (opens in a new tab)templates/site-design-audit.example.json (opens in a new tab)workflows/edit-design.md (opens in a new tab)workflows/project-prototype-export.md (opens in a new tab)workflows/site-design-delivery.md (opens in a new tab)workflows/text-to-design.md (opens in a new tab)workflows/variants.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
stitch-ui, design-generation, prototyping, html-export, ui-design
2 skills in this plugin
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills.0: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job