stitch-generate-design
Installation
SKILL.md
Stitch Generate Design
This skill is a catalog-normalized import from https://github.com/google-labs-code/stitch-skills at commit 3f64079d75d025bc5890c73669f27c26a2d80b31, source path plugins/stitch-design/skills/generate-design. The upstream control file was corrected for this workspace: the verified Stitch MCP surface here is design-system oriented, so screen lookup, screen generation, and screen editing tools must be used only when the current host explicitly exposes them.
When to Use This Skill
- Use when the user wants to generate, edit, or vary Stitch screens from text, screenshots, or mockups.
- The task involves Google Stitch project IDs,
.stitch/artifacts, DESIGN.md files, Stitch exports, or Stitch-specific validation. - The broader
stitch-designrouter points here as the narrowest workflow.
Workflow
- Check the active host tool list. In this workspace, verified Stitch MCP tools cover project creation and design systems, not screen generation or editing.
- If screen generation/edit tools are present, use them and record the exact tool names.
- If those tools are absent, prepare the enhanced prompt for the Stitch web UI or another approved Stitch client.
- Before generation, run
stitch-enhance-promptand avoid duplicating project-level colors and fonts when a design system exists. - Use
stitch-manage-design-systemfirst when the project needs a consistent design system. - Save returned or exported HTML/screenshots under
.stitch/designs/and update.stitch/metadata.json.