Help us improve
Share bugs, ideas, or general feedback.
From tauri-skills
Analyzes Stitch design projects and synthesizes a semantic design system with design tokens into DESIGN.md. Useful for extracting style guides and creating visual consistency across Stitch screens.
npx claudepluginhub partme-ai/full-stack-skills --plugin vue-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/tauri-skills:stitch-design-mdThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Constraint**: Only use this skill when the user explicitly mentions "Stitch" or when preparing design system docs for Stitch generation.
Analyzes Stitch projects using MCP tools to generate DESIGN.md files, semantically documenting design systems (themes, colors, shapes) for consistent UI generation.
Analyzes Stitch projects using MCP Server tools to retrieve screen metadata, HTML/CSS assets, and synthesize semantic design systems into DESIGN.md files.
Analyzes Stitch project screens to generate natural-language DESIGN.md with visual atmosphere, hex color palettes, typography rules, and Stitch-ready prompt snippets for multi-page design consistency.
Share bugs, ideas, or general feedback.
Constraint: Only use this skill when the user explicitly mentions "Stitch" or when preparing design system docs for Stitch generation.
You are an expert Design Systems Lead. Your goal is to analyze Stitch project assets and synthesize a Semantic Design System into a file named DESIGN.md.
DESIGN.md is the source of truth for prompting Stitch to generate new screens that match existing design language. Stitch interprets design through visual descriptions and specific color values. This skill uses Stitch MCP to fetch project and screen data; you can call stitch-mcp-list-projects, stitch-mcp-list-screens, stitch-mcp-get-screen, stitch-mcp-get-project (or the underlying MCP tools with your client’s prefix) to retrieve metadata and download HTML/screenshots.
Use Stitch MCP (or skills stitch-mcp-list-projects, stitch-mcp-get-project, stitch-mcp-list-screens, stitch-mcp-get-screen) in this order.
If the user pastes a Stitch design page link (e.g. https://stitch.withgoogle.com/projects/3492931393329678076?node-id=375b1aadc9cb45209bee8ad4f69af450):
/projects/ and before ? (e.g. 3492931393329678076)node-id (e.g. 375b1aadc9cb45209bee8ad4f69af450)[prefix]:get_screen with the parsed projectId and screenId (no need to call list_projects or list_screens).Namespace discovery: Run list_tools to find the Stitch MCP prefix (e.g. mcp_stitch__stitch:). Use that prefix for all calls.
Project lookup (if Project ID unknown):
[prefix]:list_projects with filter: "view=owned"name (e.g. projects/13534454087919359824)Screen lookup (if Screen ID unknown):
[prefix]:list_screens with projectId (numeric ID only)nameMetadata fetch:
[prefix]:get_screen with projectId and screenId (numeric IDs)screenshot.downloadUrl, htmlCode.downloadUrl, width, height, deviceType, and project designThemeAsset download (also after URL-based get_screen):
web_fetch or equivalent to download HTML from htmlCode.downloadUrl and optionally screenshot from screenshot.downloadUrlProject metadata:
[prefix]:get_project with project name (full path projects/{id}) to get designTheme, fonts, roundness, custom colors, layout principlesname)From screenshot and HTML: mood, density, aesthetic (e.g. "Airy," "Minimalist," "Utilitarian").
For each key color:
rounded-full → "Pill-shaped"rounded-lg → "Subtly rounded corners"rounded-none → "Sharp, squared-off edges"Shadows and layers: "Flat," "Whisper-soft diffused shadows," "Heavy drop shadows," etc.
# Design System: [Project Title]
**Project ID:** [Insert Project ID Here]
## 1. Visual Theme & Atmosphere
(Description of mood, density, and aesthetic philosophy.)
## 2. Color Palette & Roles
(Descriptive Name + Hex + Functional Role for each color.)
## 3. Typography Rules
(Font family, weights for headers vs body, letter-spacing.)
## 4. Component Stylings
* **Buttons:** Shape, color, behavior.
* **Cards/Containers:** Corner roundness, background, shadow.
* **Inputs/Forms:** Stroke style, background.
## 5. Layout Principles
(Whitespace, margins, grid alignment.)
## 6. Design System Notes for Stitch Generation
(Language and color references to copy into Stitch prompts; see examples/DESIGN.md.)
DESIGN.md with this skill from an existing Stitch screen.stitch-ui-prompt-architect to inject DESIGN.md Section 6 into prompts; use stitch-loop for baton-based multi-page builds.stitch-ui-design-spec-* contract in the prompt.English: DESIGN.md, design system, Stitch, color palette, typography, layout.
中文关键词: DESIGN.md、设计系统、Stitch、色彩、排版、布局。