Google's official agent skill for writing production Maps Platform code — grounded in freshly fetched docs, with a demo key path that needs no billing account.
Stitch: Code to DesignSkill
Summary
Google's official Stitch skill that reverses the usual direction — turns an existing React, Vue, Angular or Vite front end back into an editable Stitch design.
Features
- Converts a running dev server or a built web app into a Stitch design
- Chains three skills: static HTML extraction, design-system extraction, then upload
- Reads Angular `angular.json`, external HTML templates, theme files and components when inferring the design system
- Writes a `.stitch/DESIGN.md` describing the recovered design system
- Handles migrate, save and upload requests so assets stay linked
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Description
Most design-to-code tooling runs one way: design first, code after. code-to-design is Google Labs'
official Stitch skill for the other direction — taking a front end that already exists and reconstructing an editable
Stitch design from it, so you can iterate on a live product in the design tool instead of rebuilding it there by hand.
It is an orchestrator rather than a single operation, chaining three skills in sequence. extract-static-html
produces one self-contained HTML file from either a running dev server (npm run dev, ng serve) or a built output
directory. extract-design-md then analyses the source — components, stylesheets, theme configs, and for Angular
projects angular.json and external .html templates — and synthesises a design system into .stitch/DESIGN.md.upload-to-stitch pushes the HTML and the design system into a Stitch project.
The skill is written to trigger on intent rather than on exact phrasing: requests to "save", "migrate" or "upload" an
existing app all route through it, because it is the only path that guarantees the design system is extracted and
assets stay properly linked. A simple upload that skipped those steps would produce a design that looks right and
behaves like a dead end.
It supports React + Vite, Next.js, Angular and Vue, needs either a running dev server or a built directory
containing index.html, and is Apache-2.0 licensed.
Related Skills
Railway's official agent skill: create projects, provision databases and buckets, deploy, manage variables and domains, and read build failures back — from the CLI, API or MCP server.
Diagnoses wrong gradients in differentiable NVIDIA Warp programs by measuring first — comparing autodiff against finite differences on a shrunk reproduction before proposing any fix.
Google's official skill for the gws CLI — drive Gmail, Drive, Calendar, Sheets, Docs, Chat and Admin APIs from an agent, with Model Armor screening.