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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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_projectsto find the correctprojectId. If no suitable project exists, create one usingcreate_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 -oviarun_commandor similar. - Directory: Ensure
.stitch/designsexists.
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.
인기도
- GitHub 스타
- 8.7k
- 순위
- #12344
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 8. 17.
댓글
- …
이 저장소의 다른 스킬
stitch::react-components
8.7kStitch 디자인을 React와 Vite 컴포넌트로 바꾸거나, 기존 컴포넌트를 최신 디자인에 맞게 업데이트하고, 점검을 거치도록 돕습니다.
stitch::react-native
8.7kStitch 웹 디자인을 휴대폰 앱용 React Native 컴포넌트로 바꾸거나, 기존 모바일 화면을 새 디자인에 맞게 업데이트하도록 돕습니다.
react-vite-dashboard
8.7kStitch 디자인으로 데이터가 많은 React와 Vite 대시보드를 만들고, TanStack Query와 DESIGN.md 파일의 디자인 토큰을 씁니다.
shadcn-ui
8.7kRadix 또는 Base UI와 Tailwind CSS로 만든, 복사해서 넣는 인터페이스 부품인 shadcn/ui 컴포넌트를 찾고 설치하고 맞춤 설정하도록 돕습니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.