Stitch::Code To Design
google-labs-code/stitch-skillsOfficial
Pipeline that converts an existing frontend build into an editable Stitch design with a generated design system.
- CCM score
- 64 of 100
- skills.sh installs
- 12.7K
- GitHub stars
- 14.4K
- last updated
- Nov 30, 2026
Own this skill? Claim it
What it does
- Covers the full conversion flow: extract static HTML, generate a DESIGN.md design system, then upload both to a Stitch project
- Includes extraction from a running dev server (such as
npm run devorng serve) or a builtindex.htmldirectory - Analyzes source code, including Angular
angular.json, external.htmltemplates, theme files, and components, to derive the design system - Designed for teams with React, Next.js, Angular, or Vue frontends who want to iterate on existing UI inside Stitch
Install
$ npx -y skills add google-labs-code/stitch-skills --skill 'stitch::code-to-design' -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Code to Design
Transform your existing frontend code (React + Vite, Next.js, Angular, Vue, etc.) into a Stitch Design so you can iterate and improve it using Stitch.
This skill orchestrates three other skills in sequence:
extract-static-html: Extract a single self-contained HTML file from your build output or running dev server (e.g., Vite dev server or Angular CLIng serve).extract-design-md: Analyze the source code (including Angularangular.json, external.htmltemplates, theme files, and components) to create a design system (DESIGN.md).upload-to-stitch: Upload that HTML file and the design system to your Stitch project.
Workflow
Follow these steps to convert your existing code.
Prerequisites
- A running local dev server (e.g.
npm run dev,ng serve) OR a built web application directory containingindex.htmland assets. - Target Stitch
projectId(uselist_projectsif unknown).
Steps
1. Extract Self-Contained HTML
Delegate to the extract-static-html skill to generate a standalone HTML file.
Read skills/extract-static-html/SKILL.md for detailed instructions and script usage.
Details
- Repository
- github.com/google-labs-code/stitch-skills
- Categories
- Frontend & UI Code, Design & UI/UX
- First seen
- Nov 30, 2026
More from google-labs-code/stitch-skills
All 12Similar to Stitch::Code To Design
More Frontend & UI Codenextjs-turbopackaffaan-m/ecc12.6K installsNext.js 16+ and Turbopack — incremental bundling, FS caching, dev speed, and when to use Turbopack vs webpack.
stitch::extract-static-htmlgoogle-labs-code/stitch-skills12.5K installsstitch::extract static html
vue-jsx-best-practicesvuejs-ai/skills12.3K installsJSX syntax in Vue (e.g., class vs className, JSX plugin config).
typescript-best-practicescursor/plugins12.3K installsTypeScript best practices.
angular-componentanalogjs/angular-skills11.9K installsCreate modern Angular standalone components following v20+ best practices. Use for building UI components with signal-based inputs/outputs, OnPush change detect
nuxt4-patternsaffaan-m/ecc11.5K installsNuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.