تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

stitch-ui-designer

بواسطة a2mus

Web & Frontend Development
994التنزيلات وفق ما يذكره clawskills.sh
1النجوم
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Design, preview, and generate UI code using Google Stitch (via MCP)

الوصف

ما الذي تفعله هذه المهارة

Generates UI screens using Google Stitch via MCP, shows image previews before exporting code, and supports iterative refinement. The workflow separates design approval from code generation. Outputs HTML and CSS once the user accepts a design.

Showing image previews before generating code avoids exporting designs the user will reject, cutting wasted tokens and iteration cycles.

متى تستخدمها

  • Generating a login screen mockup before writing any code
  • Iterating on dashboard layouts without touching CSS
  • Exporting an HTML/CSS starting point for a new app feature
  • Exploring layout and color options for a mobile UI screen
  • Prototyping a landing page design interactively

مثال على سير العمل

الإدخال

User asks: Design a login screen for a fintech app

الوكيل
  1. 1

    Check if stitch server is configured in mcporter, configure it if missing

  2. 2

    Call stitch.generate_screen_from_text with the prompt, receive screenId

  3. 3

    Call stitch.fetch_screen_image with the screenId and display the preview to the user

  4. 4

    Ask for feedback, re-generate with a refined prompt if changes are needed

  5. 5

    Call stitch.fetch_screen_code once the user approves, return HTML and CSS

الإخراج

HTML and CSS files for the approved login screen design

المتطلبات

  • npx (Node.js)
  • mcporter CLI
  • Google Cloud account with gcloud authentication

التثبيت

clawhub install a2mus/stitch-ui-designer

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط