Tooluck logoTooluck
SKILL.md

stitch::generate-design

Agent skill fromgoogle-labs-code/stitch-skills

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.

How to install stitch::generate-design

install stitch::generate-design
# install the stitch-skills pack with the skills CLI
npx skills add google-labs-code/stitch-skills

# or add only this skill to Claude Code: copy the folder

plugins/stitch-design/skills/generate-design/

# into

~/.claude/skills/generate-design/ (all projects)

.claude/skills/generate-design/ (one project)

plugins/stitch-design/skills/generate-design/SKILL.md

Apache-2.0Full file
1# Generate Design
2
3Create new design screens from text descriptions, images, or mockups, edit
4existing screens with prompts and design system tokens, and generate design
5variants using Stitch MCP.
6
7> [!NOTE]
8> Refer to your system prompt for instruction on handling MCP tool prefixes for
9> all tools mentioned in this skill (e.g., `list_projects`,
10> `generate_screen_from_text`, `edit_screens`).
11
12## 🎨 Prompt Enhancement Pipeline
13
14Before calling any Stitch generation or editing tool, you MUST enhance the
15user's prompt.
16
17### 1. Analyze Context
18
19- **Project**: Use `list_projects` to find the correct `projectId`. If no
20 suitable project exists, create one using `create_project`.
21- **Design System**: Check if a design system exists for the project via
22 `list_design_systems`. If one exists, design tokens (colors, fonts, roundness)
23 are already applied at the project level — do NOT include any color, font, or
24 theme instructions in the generation prompt. If none exists, delegate to the
25 **manage-design-system** skill first before generating screens.
26
27### 2. Refine UI/UX Terminology
28
29Consult [Design Mappings](references/design-mappings.md) to replace vague terms.
30
31- Vague: "Make a nice header"
32- Professional: "Sticky navigation bar with glassmorphism effect and centered
33 logo"
34
35Use [Prompting Keywords](references/prompt-keywords.md) for component names,
36adjective palettes, color roles, and shape descriptions.
37
38### 3. Structure the Final Prompt
39…

Excerpt shown under the repository's Apache-2.0 license.

More skills in stitch-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates