stitch::generate-design
Generate new screens from text prompts or images, edit existing screens with prompts and design system tokens, and generate design variants using Stitch MCP.
Skill by google-labs-code
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/google-labs-code-stitch-generate-design
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, data, writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/stitch-generate-design
What's inside
- Skill name
stitch::generate-design- Description
- Generate new screens from text prompts or images, edit existing screens with prompts and design system tokens, and generate design variants using Stitch MCP. Includes prompt enhancement pipeline, design mappings, professional UI/UX terminology, design tokens and theme system capabilities.
- License
- Apache-2.0
- Instructions
- 326 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "stitch::generate-design" does not match folder "generate-design"
- allowed-tools: must be a space-separated string
- files: referenced but missing: examples/metadata.json
Files (4)
- SKILL.md
- enhanced-prompt.md · examples/
- design-mappings.md · references/
- prompt-keywords.md · references/
SKILL.md (first lines)
# Generate Design
Create new design screens from text descriptions, images, or mockups, edit
existing screens with prompts and design system tokens, and generate design
variants using Stitch MCP.
> [!NOTE]
> Refer to your system prompt for instruction on handling MCP tool prefixes for
> all tools mentioned in this skill (e.g., `list_projects`,
> `generate_screen_from_text`, `edit_screens`).
## 🎨 Prompt Enhancement Pipeline
Before calling any Stitch generation or editing tool, you MUST enhance the
user's prompt.
### 1. Analyze Context
- **Project**: Use `list_projects` to find the correct `projectId`. If no
suitable project exists, create one using `create_project`.
- **Design System**: Check if a design system exists for the project via
`list_design_systems`. If one exists, design tokens (colors, fonts, roundness)
are already applied at the project level — do NOT include any color, font, or
theme instructions in the generation prompt. If none exists, delegate to the
**manage-design-system** skill first before generating screens.
### 2. Refine UI/UX Terminology
Consult [Design Mappings](references/design-mappings.md) to replace vague terms.
- Vague: "Make a nice header"
- Professional: "Sticky navigation bar with glassmorphism effect and centered
logo"
Use [Prompting Keywords](references/prompt-keywords.md) for component names,
adjective palettes, color roles, and shape descriptions.
### 3. Structure the Final Prompt
Format the enhanced prompt for Stitch. Focus exclusively on **layout, content,
and structure** — never include colors, fonts, or theme instructions (these are
handled by the manage-design-system skill at the project level).
For **new screens**, use this template:
```markdown
[Overall purpose and user intent of the page]
**PLATFORM:** [Web/Mobile], [Desktop/Mobile]-first
**PAGE STRUCTURE:**
1. **Header:** [Description of navigation and branding]
2. **Hero Section:** [Headline, subtext, and primary CTA]
3. **Primary Content Area:** [Detailed component breakdown]
4. **Footer:** [Links and copyright information]
```
For **edits**, be specific about what to change:
- **Location**: "Change the [primary button] in the [hero section]..."
- **Visuals**: "...to a darker blue (#004080) and add a subtle shadow."
- **Structure**: "Add a secondary button next to the primary one with the text
'Learn More'."
> [!CAUTION]
> Do NOT include hex codes, font names, color palettes, roundness values, or
> any design system tokens in a **generation** prompt. These are applied at the
> project level by the manage-design-system skill and will conflict if
> duplicated. (For **edit** prompts, hex codes are acceptable for precise
> color adjustments.)
### 4. Present AI Insights
After any tool call, always surface the `outputComponents` (Text Description and
Suggestions) to the user.
See [examples/enhanced-prompt.md](examples/enhanced-prompt.md) for a full
before/after prompt enhancement example.
--------------------------------------------------------------------------------
## Steps
### Determine the Mode
Decide which flow to use based on the user's request:
- User wants to create from a text description → **Generate from Text** flow
- User provides an image, screenshot, or mockup → **Generate from Image** flow
- User wants to modify an existing screen → **Edit** flow
- User wants layout/color/content variations → **Generate Variants** flow
---
### Generate from Text Flow (New Screen)
#### 1. Enhance the User Prompt
Apply the Prompt Enhancement Pipeline above.
#### 2. Identify the Project
Use `list_projects` to find the correct `projectId` if it is not already known.
#### 3. Generate the Screen
Call the `generate_screen_from_text` tool with the enhanced prompt and the
`designSystem` ID (if found in Step 1).
```json
{
"projectId": "...",
"prompt": "[Your Enhanced Prompt]",
"designSystem": "assets/...", // Optional: Pass if found in Step 1
"deviceType": "DESKTOP" // Options: MOBILE, DESKTOP, TABLET
}
```
#### 4. Present AI FeedbackFrom google-labs-code/stitch-skills, Apache-2.0.
More from google-labs-code/stitch-skills
- 0.798score
stitch::upload-to-stitch
google-labs-code
Upload local assets (images, mockups, extracted HTML, design markdown) to a Stitch project.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.798score
stitch::extract-static-html
google-labs-code
Extract self-contained static HTML from a built web application or React components by inlining CSS and images.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.798score
site-md
google-labs-code
Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.798score
stitch::extract-design-md
google-labs-code
Extract a comprehensive design system (DESIGN.md) directly from frontend source code — React, Vue, Svelte, Angular, plain HTML/CSS, or any web framework.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.792score
stitch::code-to-design
google-labs-code
Convert frontend code (Vite, React, Angular, Vue, etc.) to a Stitch Design by chaining static HTML extraction, design system extraction, and file upload.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.746score
enhance-prompt
google-labs-code
Transforms vague UI ideas into polished, Stitch-optimized prompts.
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.746score
shadcn-ui
google-labs-code
Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best…
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.743score
remotion
google-labs-code
Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.740score
taste-design
google-labs-code
Semantic Design System Skill for Google Stitch.
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.740score
react-vite-dashboard
google-labs-code
Convert Stitch designs into production React + Vite dashboards with TanStack Query, accessible tokens from DESIGN.md, and Web3-ready patterns (ethers/viem).
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.737score
design-md
google-labs-code
Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.737score
stitch::react-native
google-labs-code
Convert Stitch HTML designs to React Native components, or syncs/updates existing native components to align with the latest Stitch designs, using StyleSheet.
SkillCFreshness: C★ 8.6KClaude Code +9
Signals
- Stars
- 8,572
- Forks
- 1,052
- Open issues
- 10
- Last commit (this folder)
- May 12, 2026 (5 months ago)
- Last release
- May 18, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from google-labs-code
- 0.798score
stitch::extract-static-html
google-labs-code
Extract self-contained static HTML from a built web application or React components by inlining CSS and images.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.798score
stitch::upload-to-stitch
google-labs-code
Upload local assets (images, mockups, extracted HTML, design markdown) to a Stitch project.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.798score
stitch::extract-design-md
google-labs-code
Extract a comprehensive design system (DESIGN.md) directly from frontend source code — React, Vue, Svelte, Angular, plain HTML/CSS, or any web framework.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.798score
site-md
google-labs-code
Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.792score
stitch::code-to-design
google-labs-code
Convert frontend code (Vite, React, Angular, Vue, etc.) to a Stitch Design by chaining static HTML extraction, design system extraction, and file upload.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.746score
shadcn-ui
google-labs-code
Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best…
SkillCFreshness: C★ 8.6KClaude Code +9
Cite this page
stitch::generate-design skill. Agent Mart. https://agentmart.dev/skills/google-labs-code-stitch-generate-design (last updated 2026-10-24)