react-components
Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using…
Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
$ npx -y skills add google-labs-code/stitch-skills --skill design-md --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/design-mdContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
name: design-md description: Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files allowed-tools: - "stitch*:*" - "Read" - "Write" - "web_fetch"
You are an expert Design Systems Lead. Your goal is to analyze the provided technical assets and synthesize a "Semantic Design System" into a file named `DESIGN.md`.
This skill helps you create `DESIGN.md` files that serve as the "source of truth" for prompting Stitch to generate new screens that align perfectly with existing design language. Stitch interprets design through "Visual Descriptions" supported by specific color values.
The `DESIGN.md` file will serve as the "source of truth" for prompting Stitch to generate new screens that align perfectly with the existing design language. Stitch interprets design through "Visual Descriptions" supported by specific color values.
To analyze a Stitch project, you must retrieve screen metadata and design assets using the Stitch MCP Server tools:
1. **Namespace discovery**: Run `list_tools` to find the Stitch MCP prefix. Use this prefix (e.g., `mcp_stitch:`) for all subsequent calls.
2. **Project lookup** (if Project ID is not provided):
3. **Screen lookup** (if Screen ID is not provided):
4. **Metadata fetch**:
5. **Asset download**:
6. **Project metadata extraction**:
Evaluate the screenshot and HTML structure to capture the overall "vibe." Use evocative adjectives to describe the mood (e.g., "Airy," "Dense," "Minimalist," "Utilitarian").
Identify the key colors in the system. For each color, provide:
Convert technical `border-radius` and layout values into physical descriptions:
Explain how the UI handles layers. Describe the presence and quality of shadows (e.g., "Flat," "Whisper-soft diffused shadows," or "Heavy, high-contrast drop shadows").
# Design System: [Project Title] **Project ID:** [Insert Project ID Here] ## 1. Visual Theme & Atmosphere (Description of the mood, density, and aesthetic philosophy.) ## 2. Color Palette & Roles (List colors by Descriptive Name + Hex Code + Functional Role.) ## 3. Typography Rules (Description of font family, weight usage for headers vs. body, and letter-spacing character.) ## 4. Component Stylings * **Buttons:** (Shape description, color assignment, behavior). * **Cards/Containers:** (Corner roundness description, background color, shadow depth). * **Inputs/Forms:** (Stroke style, background). ## 5. Layout Principles (Description of whitespace strategy, margins, and grid alignment.)
To use this skill for the Furniture Collection project:
1. **Retrieve project information:**
Use the Stitch MCP Server to get the Furniture Collection project
2. **Get the Home page screen details:**
Retrieve the Home page screen's code, image, and screen object information
3. **Reference best practices:**
Review the Stitch Effective Prompting Guide at: https://stitch.withgoogle.com/docs/learn/prompting/
4. **Analyze and synthesize:**
A collection of agent skills and plugins for Google Stitch, following the Agent Skills open standard. Compatible with coding agents such as Codex, Antigravity, Gemini CLI, Claude Code, Cursor, and OpenCode (manual install).
Repo: google-labs-code/stitch-skills
Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using…
Convert Stitch HTML designs to React Native components, or syncs/updates existing native components to align with the latest Stitch designs, using StyleSheet.
Convert Stitch designs into production React + Vite dashboards with TanStack Query, accessible tokens from DESIGN.md, and Web3-ready patterns (ethers/viem).
Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays
Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best…
Convert frontend code (Vite, React, Angular, Vue, etc.) to a Stitch Design by chaining static HTML extraction, design system extraction, and file upload.…