본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)8.7k · #12344

stitch::generate-design

하는 일

이 스킬은 설명이나 이미지로부터 Google Stitch의 앱이나 웹사이트 화면을 생성하고 편집합니다. 빠른 화면 목업이 필요한 디자이너와 제품 팀을 위한 것입니다.

사용하는 경우

  • ✓설명으로 새 앱이나 웹사이트 화면을 만들고 싶을 때.
  • ✓명확한 지시로 기존 Stitch 화면을 바꾸고 싶을 때.
  • ✓비교할 디자인 변형을 여러 개 원할 때.

스킬 링크

https://github.com/google-labs-code/stitch-skills/blob/main/plugins/stitch-design/skills/generate-design/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google-labs-code/stitch-skills/blob/main/plugins/stitch-design/skills/generate-design/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“모바일 피트니스 트래커 홈 화면을 깔끔하고 현대적인 레이아웃의 Stitch 화면으로 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 요청을 정확한 디자인 용어로 다시 쓰고, 프로젝트의 디자인 시스템을 확인한 뒤, Stitch에 화면 생성이나 편집을 요청합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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 to replace vague terms.

  • Vague: "Make a nice header"
  • Professional: "Sticky navigation bar with glassmorphism effect and centered logo"

Use Prompting Keywords 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:

[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 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).

{
  "projectId": "...",
  "prompt": "[Your Enhanced Prompt]",
  "designSystem": "assets/...", // Optional: Pass if found in Step 1
  "deviceType": "DESKTOP"  // Options: MOBILE, DESKTOP, TABLET
}

4. Present AI Feedback

Always show the text description and suggestions from outputComponents to the user.

5. Download Design Assets

After generation, download the HTML and screenshot urls from outputComponents to the .stitch/designs directory.

  • Naming: Use the screen ID or a descriptive slug for the filename.
  • Tools: Use curl -o via run_command or similar.
  • Directory: Ensure .stitch/designs exists.

6. Review and Refine

  • If th
자주 묻는 질문

색을 골라 주나요?

프로젝트에 디자인 시스템이 있으면 색과 글꼴을 거기서 가져오므로, 프롬프트에서는 빼 둡니다.

디자인 시스템이 없으면 어떻게 하나요?

이 스킬은 화면을 만들기 전에 디자인 시스템 스킬로 먼저 만들라고 안내합니다.

이미지에서 시작할 수 있나요?

네. 텍스트나 이미지로부터 새 화면을 만들 수 있습니다.

상세 정보

작성자의 원본 설명

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.

repo: google-labs-code/stitch-skills

인기도

GitHub 스타
8.7k
순위
#12344
라이선스
Apache-2.0
업데이트
2026. 8. 17.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬