From partme-ai-full-stack-skills
Analyzes Stitch projects via MCP tools to synthesize semantic design systems into DESIGN.md, extracting style guides and design tokens for colors, typography, spacing from screens.
npx claudepluginhub partme-ai/full-stack-skills --plugin t2ui-skillsThis skill is limited to using the following tools:
**Constraint**: Only use this skill when the user explicitly mentions "Stitch" or when preparing design system docs for Stitch generation.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
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、色彩、排版、布局。