stitch-loop
Installation
SKILL.md
Stitch Build Loop
This skill is a catalog-normalized import from https://github.com/google-labs-code/stitch-skills at commit 3f64079d75d025bc5890c73669f27c26a2d80b31, source path plugins/stitch-utilities/skills/stitch-loop. 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 a multi-page site should be built iteratively with Stitch and baton files.
- 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
- Read
.stitch/next-prompt.md,.stitch/SITE.md, and.stitch/DESIGN.mdbefore generating or integrating pages. - Use
stitch-generate-designfor screen prompts when tools or the Stitch web UI are available. - When screen-generation MCP tools are absent, prepare the next prompt and record that the web UI/API step is required.
- Move generated or exported HTML into the site only after checking the sitemap.
- Run local browser verification when a page is integrated into a runnable site.
- Update SITE.md, metadata, and
next-prompt.mdbefore closing the loop.