stitch-upload-to-stitch
Installation
SKILL.md
Stitch Upload To Stitch
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/upload-to-stitch. 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 approved local HTML, markdown, image, or mockup files must be uploaded to a Stitch project.
- 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
- List file path, size, MIME type, target project ID, and upload method before uploading.
- For small DESIGN.md content, prefer
upload_design_mdfollowed bycreate_design_system_from_design_mdthroughstitch-manage-design-system. - For HTML, markdown, or image uploads, use
scripts/upload_to_stitch.pyonly with a user-approved API key source and set--generated-byto the calling skill or agent. - Never print, commit, or store the Stitch API key.
- Use non-default
--api-urlonly when a verified config or user instruction provides it. - Save returned source screen and screen instance IDs in
.stitch/metadata.json.