मुख्य सामग्री पर जाएँ
Skillpedia
इंटरफ़ेस (UI/UX)8.7k · #12344

stitch::generate-design

यह क्या करती है

यह स्किल विवरण या इमेज से Google Stitch में ऐप या वेबसाइट की स्क्रीन बनाती और बदलती है। यह उन डिज़ाइनरों और प्रोडक्ट टीमों के लिए है जिन्हें जल्दी स्क्रीन मॉकअप चाहिए।

कब इस्तेमाल करें

  • ✓जब आप किसी विवरण से नई ऐप या वेबसाइट स्क्रीन बनवाना चाहते हैं।
  • ✓जब आप साफ़ निर्देशों से मौजूदा Stitch स्क्रीन बदलना चाहते हैं।
  • ✓जब तुलना के लिए कई डिज़ाइन विकल्प चाहिए।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/google-labs-code/stitch-skills/blob/main/plugins/stitch-design/skills/generate-design/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मोबाइल फ़िटनेस ट्रैकर के होम पेज के लिए एक साफ़ और आधुनिक लेआउट वाली Stitch स्क्रीन बनाइए।”

हर हफ़्ते 5 नई skills, 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
अपडेट की गई
17/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

stitch::react-components

8.7k

यह आपके एजेंट को Stitch डिज़ाइन को React और Vite कंपोनेंट में बदलने, या मौजूदा कंपोनेंट को नए डिज़ाइन से मिलाने में मदद करती है, जांच के साथ।

कोडिंगवेबसाइट और UI (frontend)

stitch::react-native

8.7k

यह आपके एजेंट को Stitch वेब डिज़ाइन को React Native कंपोनेंट में बदलने, या मौजूदा मोबाइल स्क्रीन नए डिज़ाइन से मिलाने में मदद करती है।

कोडिंगमोबाइल ऐप

react-vite-dashboard

8.7k

यह आपके एजेंट को Stitch डिज़ाइन से डेटा वाले React और Vite डैशबोर्ड बनाने में मदद करती है, TanStack Query और DESIGN.md टोकन के साथ।

कोडिंगवेबसाइट और UI (frontend)

shadcn-ui

8.7k

यह आपके एजेंट को shadcn/ui कंपोनेंट खोजने, जोड़ने और अपने हिसाब से बदलने में मदद करती है, जो Tailwind CSS पर आधारित हैं।

कोडिंगवेबसाइट और UI (frontend)

मिलती-जुलती skills