
Stitch Design Skills
SkillCompanion skills for Google Stitch: generate UIs from text or images, extract DESIGN.md from code, and turn designs into React or React Native components. From Google Labs but not an officially supported Google product; set up the Stitch MCP first.
Stitch Design Skills
A collection of agent skills and plugins for Google Stitch, following the Agent Skills open standard. Compatible with coding agents including Antigravity, Claude Code, Codex, Cursor, GitHub Copilot, and OpenCode.
Prerequisites
These skills require the Stitch MCP server (https://stitch.googleapis.com/mcp).
- Create a Stitch API key at stitch.withgoogle.com (Settings → API Keys), or see the Stitch MCP Setup Instructions for OAuth / Google Cloud authentication.
- Add the
stitchMCP server for your agent below (store API keys in your global/user config or environment variables — never commit keys to git):
Antigravity — ~/.gemini/config/mcp_config.json
Add to ~/.gemini/config/mcp_config.json (global), then verify under Customizations → Installed → MCP Servers (or /mcp in the CLI):
{
"mcpServers": {
"stitch": {
"serverUrl": "https://stitch.googleapis.com/mcp",
"headers": {
"X-Goog-Api-Key": "YOUR_STITCH_API_KEY"
}
}
}
}
Claude Code — claude mcp add
claude mcp add --transport http stitch https://stitch.googleapis.com/mcp \
--header "X-Goog-Api-Key: YOUR_STITCH_API_KEY" \
--scope user
Verify with claude mcp list or /mcp inside a session.
Codex — ~/.codex/config.toml
Export STITCH_API_KEY in your shell, then add to ~/.codex/config.toml:
[mcp_servers.stitch]
url = "https://stitch.googleapis.com/mcp"
[mcp_servers.stitch.env_http_headers]
X-Goog-Api-Key = "STITCH_API_KEY"
(Alternatively, use [mcp_servers.stitch.http_headers] with a literal key value.)
Cursor — ~/.cursor/mcp.json
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project, using ${env:STITCH_API_KEY} to avoid committing secrets):
{
"mcpServers": {
"stitch": {
"url": "https://stitch.googleapis.com/mcp",
"headers": {
"X-Goog-Api-Key": "${env:STITCH_API_KEY}"
}
}
}
}
OpenCode — opencode.json
Export STITCH_API_KEY in your shell, then add to ~/.config/opencode/opencode.json (global) or project opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"stitch": {
"type": "remote",
"url": "https://stitch.googleapis.com/mcp",
"enabled": true,
"oauth": false,
"headers": {
"X-Goog-Api-Key": "{env:STITCH_API_KEY}"
}
}
}
}
VS Code / GitHub Copilot — .vscode/mcp.json (or user mcp.json)
{
"servers": {
"stitch": {
"type": "http",
"url": "https://stitch.googleapis.com/mcp",
"headers": {
"X-Goog-Api-Key": "${input:stitch_api_key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "stitch_api_key",
"description": "Google Stitch API Key",
"password": true
}
]
}
Docs navigation: If a link on stitch.withgoogle.com/docs redirects incorrectly, open the target path under the same host (e.g.
https://stitch.withgoogle.com/docs/learn/device-types/).
Quick Start
1. Ask Your Agent to Install (Easiest)
Paste this prompt into your coding agent (Antigravity, Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, etc.):
Install all Stitch Design Skills from https://github.com/google-labs-code/stitch-skills for this coding agent (globally). Read the repository's README.md and use the recommended installation method for my platform, then check whether the Stitch MCP server is configured and guide me if any setup is still needed.
[!TIP] Swap
(globally)for(in this workspace only)if you want project-scoped installation, or ask for a specific plugin bundle (stitch-design,stitch-build, orstitch-utilities).
2. Install via CLI
This repository packages 16 skills into 3 skill-only plugins (stitch-design, stitch-build, stitch-utilities). Choose whichever cross-platform installer fits your agent:
Option A — Install skills (npx skills, broadest platform support)
Works across Antigravity, Claude Code, Codex, Cursor, GitHub Copilot, and other Agent Skills–compatible clients:
# Install all 16 Stitch skills (auto-detects your installed agents)
npx skills add google-labs-code/stitch-skills --skill '*'
# Target a specific agent globally (-g) or for the current workspace (omit -g)
npx skills add google-labs-code/stitch-skills --skill '*' -a <agent> -g
# Or install skills selectively via an interactive prompt
npx skills add google-labs-code/stitch-skills
Option B — Install plugin bundles (npx plugins, user scope)
Installs stitch-design, stitch-build, and stitch-utilities as plugins for claude-code, cursor, codex, github-copilot, vscode, grok, and kimi:
# Auto-detect installed targets (installs to user scope)
npx plugins add google-labs-code/stitch-skills
# Or target a specific client explicitly
npx plugins add google-labs-code/stitch-skills --target claude-code
npx plugins add google-labs-code/stitch-skills --target cursor
npx plugins add google-labs-code/stitch-skills --target codex
[!IMPORTANT] Stitch Design Skills often have inter-dependencies (for example,
stitch::code-to-designchainsstitch::extract-static-html,stitch::extract-design-md, andstitch::upload-to-stitch). If you install selectively, include all required dependencies.
| Platform | Skills CLI (npx skills -a) | Plugins CLI (npx plugins -t) | Native / Manual Option |
|---|---|---|---|
| Antigravity | antigravity / antigravity-cli | — | Local agy plugin install / plugins/ |
| Claude Code | claude-code | claude-code | — |
| Codex | codex | codex | Codex Plugin Marketplace (CLI or UI) |
| Cursor | cursor | cursor | — |
| GitHub Copilot / VS Code | github-copilot | github-copilot / vscode | — |
| OpenCode | opencode (see naming note) | — | Copy into .opencode/skills/ + opencode.json |
3. Platform-Specific & Manual Setup
Expand your platform below for native plugin/skill commands or platform-specific caveats:
Antigravity — toggleable plugin bundles (agy plugin or manual)
[!NOTE]
npx pluginsdoes not support Antigravity yet. Usenpx skills add google-labs-code/stitch-skills --skill '*' -a antigravity -g(or-a antigravity-clifor the CLI) above for a one-command install, or install the three plugin bundles below so you can toggle them under Customizations → Installed.
Clone the repository and install each plugin directory via the Antigravity CLI (syncs automatically with the Antigravity App):
git clone https://github.com/google-labs-code/stitch-skills.git
agy plugin install ./stitch-skills/plugins/stitch-design
agy plugin install ./stitch-skills/plugins/stitch-build
agy plugin install ./stitch-skills/plugins/stitch-utilities
Or copy (or symlink) the plugin directories into ~/.gemini/config/plugins/ (global) or <your-project>/.agents/plugins/ (workspace):
mkdir -p ~/.gemini/config/plugins
cp -R stitch-skills/plugins/stitch-design \
stitch-skills/plugins/stitch-build \
stitch-skills/plugins/stitch-utilities \
~/.gemini/config/plugins/
Alternatively, register the cloned plugins/ directory without copying by adding it to ~/.gemini/config/plugins.json (global) or .agents/plugins.json (workspace):
{
"entries": [
{ "path": "/absolute/path/to/stitch-skills/plugins" }
]
}
Skills load automatically on the next turn. See the Antigravity Plugins docs for details.
Codex — native plugin marketplace (CLI or UI)
In addition to npx plugins add google-labs-code/stitch-skills --target codex, you can register the Stitch Skills marketplace directly in Codex and install any combination of stitch-design, stitch-build, and stitch-utilities.
Via CLI:
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
[!TIP] The
--sparseflags are optional — they limit the checkout to only the listed paths for a faster clone. Omit them to pull the entire repository.
Via the Codex UI:
Navigate to Settings → Plugin Marketplaces → Add and fill in:
| Field | Value |
|---|---|
| Source | https://github.com/google-labs-code/stitch-skills |
| Git ref | main |
| Sparse paths | (optional) .agents/plugins, plugins/stitch-design, plugins/stitch-build, plugins/stitch-utilities |
OpenCode — manual skill copy & naming note
OpenCode does not use npx plugins or the Codex/Claude marketplace layout. Although npx skills ... -a opencode is supported, 8 of the 16 skills use stitch::… names that require manual renaming for OpenCode.
Copy the skill folders you need into .opencode/skills/ (OpenCode also discovers .claude/skills/ and .agents/skills/; see OpenCode skills docs):
mkdir -p .opencode/skills
cp -R plugins/stitch-design/skills/generate-design .opencode/skills/generate-design
# repeat for other skills under plugins/*/skills/
Naming: OpenCode requires skill
namefrontmatter to be lowercase kebab-case and match the directory name. Skills that usestitch::…names need theirnamefield and folder aligned before OpenCode will load them. Extra frontmatter such asallowed-toolsis ignored.
Tool names inside skill instructions may differ from OpenCode builtins (webfetch / bash instead of web_fetch / run_command). Prefer the OpenCode tool names when adapting a skill for OpenCode. For Stitch MCP setup in opencode.json, see Prerequisites.
For all CLI options and detected targets, run npx skills --help, npx plugins --help, or npx plugins targets.
Available Plugins
Design (stitch-design)
Core design workflows for creating, managing, and optimizing designs within Stitch.
| Skill | Description | Prompt Example |
|---|---|---|
| stitch::code-to-design | Convert frontend code (React, Vue, etc.) to a Stitch Design via HTML extraction + design system + upload | "Upload the frontend code at /path/to/dashboard into a Stitch project named 'Dashboard-Migration-2026'." |
| stitch::generate-design | Generate new screens from text or images, edit existing screens, and create design variants | · "Make a browse tab for a mobile app for romance and date night ideas." · "Edit the login screen to add a 'Remember Me' checkbox and change the button color to blue." · "Generate 3 design variants of the home screen with dark mode and high-density layouts." |
| stitch::manage-design-system | Manage design systems in Stitch — upload DESIGN.md and apply themes to screens | "Upload our design system from .stitch/DESIGN.md and apply it to all screens." |
| stitch::extract-design-md | Extract a comprehensive DESIGN.md directly from frontend source code | "Scan /src and extract the design system into .stitch/DESIGN.md." |
| stitch::extract-static-html | Extract self-contained static HTML from running web apps, inlining CSS and images | "Extract a static HTML snapshot of http://localhost:3000/profile." |
| stitch::upload-to-stitch | Upload local assets (images, mockups, HTML) to a Stitch project | "Upload .stitch/landing_page.html to Stitch project projects/987654321." |
Build (stitch-build)
Code generation, framework integration, and asset compilation from Stitch designs.
| Skill | Description | Prompt Example |
|---|---|---|
| stitch::react-components | Convert Stitch screens to React component systems with automated validation and design token consistency | · "Convert all screens in Stitch project projects/123 to React components."· "Sync the app to the last updates of the Stitch project 13039335308618232534." |
| stitch::react-native | Convert Stitch HTML designs to production-ready React Native components with StyleSheet and platform-specific code | · "Convert the Stitch design to React Native components with proper theme and navigation." · "Sync the app to the last updates of the Stitch project 13039335308618232534." |
| remotion | Generate walkthrough videos from Stitch projects using Remotion with smooth transitions and zooming | "Generate a walkthrough video of the Stitch project projects/456." |
| shadcn-ui | Expert guidance for integrating and building applications with shadcn/ui components | "Set up shadcn/ui and build a data table with sorting and filtering." |
| react-vite-dashboard | Convert Stitch screens to React + Vite dashboards with TanStack Query, DESIGN.md tokens, and Web3 read patterns | "Build a DeFi portfolio dashboard from this Stitch screen using our DESIGN.md." |
Utilities (stitch-utilities)
Supporting tools for enhancing prompts, generating design specs, and enforcing design standards.
| Skill | Description | Prompt Example |
|---|---|---|
| design-md | Analyze Stitch projects and generate comprehensive DESIGN.md files in semantic language | "Analyze Stitch project projects/123 and generate a DESIGN.md." |
| enhance-prompt | Transform vague UI ideas into polished, Stitch-optimized prompts with UI/UX keywords | "Enhance this prompt: 'make a settings page'." |
| site-md | Analyze a project description or site requirements and synthesize a project constitution (SITE.md) for the Stitch Build Loop | "Analyze this project brief and create a SITE.md constitution for the Stitch Build Loop." |
| stitch-loop | Generate complete multi-page websites from a single prompt with automated validation | "Build a 5-page portfolio website with Stitch." |
| taste-design | Generate DESIGN.md files enforcing premium, anti-generic UI standards | "Generate a premium DESIGN.md with strict typography and calibrated colors." |
Repository Structure
plugins/
├── stitch-design/ — Core design workflow plugin
│ ├── plugin.json
│ └── skills/
│ ├── code-to-design/
│ ├── generate-design/
│ ├── manage-design-system/
│ ├── extract-design-md/
│ ├── extract-static-html/
│ └── upload-to-stitch/
├── stitch-build/ — Code generation & build plugin
│ ├── plugin.json
│ └── skills/
│ ├── react-components/ — stitch::react-components
│ ├── react-native/
│ ├── react-vite-dashboard/
│ ├── remotion/
│ └── shadcn-ui/
└── stitch-utilities/ — Design utilities & assistants plugin
├── plugin.json
└── skills/
├── design-md/
├── enhance-prompt/
├── site-md/
├── stitch-loop/
└── taste-design/
Each skill follows the Agent Skills standard:
skills/<skill-name>/
├── SKILL.md — The "Mission Control" for the agent
├── scripts/ — Executable enforcers (Validation & Networking)
├── resources/ — The knowledge base (Checklists & Style Guides)
└── examples/ — The "Gold Standard" syntactically valid references
Adding New Skills
All new skills need to follow the file structure above to implement the Agent Skills open standard.
Great candidates for new skills
- Validation: Skills that convert Stitch HTML to other UI frameworks and validate the syntax.
- Decoupling Data: Skills that convert static design content into external mock data files.
- Generate Designs: Skills that generate new design screens in Stitch from a given set of data.
This is not an officially supported Google product. This project is not eligible for the Google Open Source Software Vulnerability Rewards Program.
関連リソース

Taste Skill
SkillHelps agents build frontends that don't look templated: picks a design direction first, then tunes layout variance, motion intensity and information density. Also includes redesign audits, minimalist and brutalist styles, and design reference generation.
Leonxlnx/taste-skill124k
Figma Skills (mcp-server-guide)
SkillFigma's official skill collection: implement designs as code, map components with Code Connect, generate design-system libraries from code, and build screens and FigJam diagrams on the canvas. Needs the Figma MCP server; canvas writes are in beta and currently free.
figma/mcp-server-guide2.3k
Design DNA
SkillBreaks reference UIs you like (screenshots, images or URLs) into a structured design DNA JSON covering design tokens, overall style and visual effects, then builds new pages from your content in that style. Installing needs Node.js; no API key required.
zanwei/design-dna2.2k
DESIGN.md
CLIGoogle Labs' DESIGN.md format and CLI: designers capture colors, typography and spacing in a file for agents; lint checks broken references and WCAG contrast, diff compares versions and export outputs design tokens for Tailwind and more. Needs Node.js; the format is in alpha.
google-labs-code/design.md29.3k
Pricing Page
SkillDesigns or rewrites a high-converting SaaS pricing page: gathers plans, limits, upgrade triggers and objections, then structures a value headline, monthly/annual toggle, tiered plans, comparison, FAQ and trust sections with copy templates.
MengTo/Skills8.9k
Figma (Codex)
PluginFigma's Codex plugin in OpenAI's official marketplace: implements UI from designs, generates Code Connect mappings, and creates or updates pages, component libraries, FigJam diagrams and slides in Figma. Needs a connected Figma account.
openai/plugins8.5k