Skip to content
google-labs-code avatar

Stitch::Code To Design

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
View on GitHub

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 dev or ng serve) or a built index.html directory
  • Analyzes source code, including Angular angular.json, external .html templates, 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' -y

Installs 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:

  1. 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 CLI ng serve).
  2. extract-design-md: Analyze the source code (including Angular angular.json, external .html templates, theme files, and components) to create a design system (DESIGN.md).
  3. 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 containing index.html and assets.
  • Target Stitch projectId (use list_projects if 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 12

Similar to Stitch::Code To Design

More Frontend & UI Code