stitch::code-to-design
by google-labs-code/stitch-skills · Web Development & Design
Converts existing frontend code like React, Angular, or Vue apps into Stitch designs by extracting static HTML and a design system, then uploading both to Stitch.
What it does
Convert frontend code (Vite, React, Angular, Vue, etc.) to a Stitch Design by chaining static HTML extraction, design system extraction, and file upload. **ALWAYS** use this skill when the user's intent is to move existing web apps or React/Angular/Vue components into Stitch (e.g., requests to "save", "migrate", or "upload"). You must use this skill even for simple "save" operations, as it is the only way to ensure the design system is extracted and assets are properly linked.
Quality judgment
The skill covers the full pipeline with clear step-by-step delegation and strong trigger language, but lacks concrete examples of inputs/outputs and has minor inconsistencies (e.g., Step 4 references manage-design-system while the description mentions upload-to-stitch; Step 5's --generated-by value conflicts with the skill's own name). Structure is solid but could benefit from a worked example and clearer prerequisite/error handling.