# Stitch Skills

Source: https://trendhub.net/skills/google-labs-code-stitch-skills
Repository: https://github.com/google-labs-code/stitch-skills
Author: Google Labs Code (https://github.com/google-labs-code)
License: Apache-2.0
GitHub stars: 16,812

Stitch Skills is Google Labs Code's set of agent skills for Google Stitch, the AI UI design tool, grouped into design, build and utility plugins. With the Stitch MCP server connected, they let a coding agent generate and edit screens, keep a DESIGN.md design system, move existing code into Stitch and turn designs into React, React Native or video. It suits teams already designing in Stitch.

## What problems it solves

- **Vague prompts give weak Stitch screens**: Prompt-enhancement steps restructure ideas into platform, page structure and precise UI terms before any Stitch generation call.
- **Generated screens drift from the brand**: DESIGN.md skills capture colours, type and components and apply them as a Stitch design system at project level.
- **Designs stop at static HTML**: Build skills convert Stitch screens into modular React, React Native or Vite dashboard code with validation scripts.
- **Existing apps live outside Stitch**: A code-to-design chain snapshots a running app, extracts its design system and uploads both to a Stitch project.

## Install

### Codex

Adds the marketplace; then install stitch-design, stitch-build and stitch-utilities as needed. The sparse flags are optional.

```
codex plugin marketplace add google-labs-code/stitch-skills --ref main \
--sparse .agents/plugins \
--sparse plugins/stitch-design \
--sparse plugins/stitch-build \
--sparse plugins/stitch-utilities
```

### Claude Code

Installs the plugin suite into the current project.

```
npx plugins add google-labs-code/stitch-skills --scope project --target claude-code
```

### Cursor

Installs the plugin suite into the current workspace.

```
npx plugins add google-labs-code/stitch-skills --scope workspace --target cursor
```

### Any Agent Skills host (selective)

Lets you pick individual skills; include the ones they depend on.

```
npx skills add google-labs-code/stitch-skills
```

### OpenCode

Copy each skill folder by hand and add the Stitch MCP server as a remote entry in opencode.json; skills named stitch::… need renaming to kebab-case.

```
mkdir -p .opencode/skills
cp -R plugins/stitch-design/skills/generate-design .opencode/skills/generate-design
```

Nearly every skill needs the Stitch MCP server set up and running in your agent, with the credentials from Stitch's MCP setup guide; shadcn-ui uses the shadcn MCP tools instead. Prefer the plugin installs, since skills depend on each other and a selective install has to include those dependencies.

## Skills

Skill names are shown as /name. Depending on the agent, a skill runs when it is relevant or when you call it by name; plugin installs may add a prefix.

- `/react-components`: Converts Stitch screens into modular Vite and React components with hooks, mock data, typed props and an AST validator. (https://trendhub.net/skills/google-labs-code-stitch-skills/react-components.markdown)
- `/react-native`: Translates Stitch HTML designs into React Native components with StyleSheet, a shared theme file and native navigation. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-build/skills/react-native)
- `/react-vite-dashboard`: Turns Stitch screens into data-dense React and Vite dashboards using TanStack Query, DESIGN.md tokens and optional ethers or viem reads. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-build/skills/react-vite-dashboard)
- `/remotion`: Produces a walkthrough video of a Stitch project's screens in Remotion with transitions, zooms and text overlays. (https://trendhub.net/skills/google-labs-code-stitch-skills/remotion.markdown)
- `/shadcn-ui`: Guides finding, installing and customising shadcn/ui components through the shadcn MCP tools and CLI. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-build/skills/shadcn-ui)
- `/code-to-design`: Moves an existing web app into Stitch by snapshotting it as static HTML, deriving its DESIGN.md and uploading both. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-design/skills/code-to-design)
- `/extract-design-md`: Builds a Stitch-ready DESIGN.md from frontend source files, Tailwind configs and theme tokens without running the app. (https://trendhub.net/skills/google-labs-code-stitch-skills/extract-design-md.markdown)
- `/extract-static-html`: Captures a running app as one self-contained HTML file with inlined CSS and images, via Puppeteer or a browser agent. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-design/skills/extract-static-html)
- `/generate-design`: Creates Stitch screens from text or images, edits existing ones and generates up to five variants, after rewriting the prompt. (https://trendhub.net/skills/google-labs-code-stitch-skills/generate-design.markdown)
- `/manage-design-system`: Creates or updates a Stitch design system from DESIGN.md and applies it to a project's screens through MCP calls. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-design/skills/manage-design-system)
- `/upload-to-stitch`: Uploads local images, mockups, HTML or markdown to a Stitch project with a script that avoids MCP token limits. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-design/skills/upload-to-stitch)
- `/design-md`: Reads an existing Stitch project's screens and writes a DESIGN.md describing its look in Stitch-friendly language. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-utilities/skills/design-md)
- `/enhance-prompt`: Turns a rough UI idea into a structured Stitch prompt with platform, page sections, UI terms and DESIGN.md context. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-utilities/skills/enhance-prompt)
- `/site-md`: Drafts a .stitch/SITE.md with mission, visual vibe, sitemap and roadmap to drive the multi-page build loop. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-utilities/skills/site-md)
- `/stitch-loop`: Builds a site page by page in Stitch, passing a baton file between iterations and wiring each new page into navigation. (https://trendhub.net/skills/google-labs-code-stitch-skills/stitch-loop.markdown)
- `/taste-design`: Writes a DESIGN.md with strict anti-generic rules for type, colour, asymmetric layout and motion to steer Stitch output. (https://github.com/google-labs-code/stitch-skills/tree/main/plugins/stitch-utilities/skills/taste-design)

## Questions

### Do I need the Stitch MCP server?

For most of the pack, yes: the README asks you to register it with the credentials from Stitch's setup guide. enhance-prompt, site-md and extract-design-md only read and write local files, and shadcn-ui relies on the shadcn MCP tools instead.

### Which agents are supported?

The README lists Claude Code, Cursor, Codex, Gemini CLI and Antigravity, plus OpenCode through a manual install.

### Is this an official Google product?

No. It is published by the google-labs-code organisation under Apache 2.0, but the README states it is not officially supported.

### Should I install everything or pick skills?

The plugin route is recommended because several skills call others, such as code-to-design chaining extract-static-html, extract-design-md and upload-to-stitch.

## Before you install

The skills call Stitch MCP tools that create projects, screens and design systems in your Stitch account, download HTML and screenshots with curl or bundled scripts, and write files under .stitch/ and your source tree. upload-to-stitch reads the Stitch API key from your MCP configuration file to upload over HTTP, and others run npm installs, headless Chrome or local dev servers, some only after asking.
