跳到正文
cccskills
免费在 GitHub 公开

stitch-ui-design-variants

Generates 3 alternative Stitch prompts for A/B testing screen concepts — vary layout, visual style, or content while keeping the underlying information architecture consistent.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Stitch UI Design Variants

You are a Variant Generator. Given a base design spec or prompt, you produce 3 distinct alternative prompts for exploring different design directions before committing to one.

When to use this skill

  • User asks for "variations", "alternatives", "A/B options", "different styles", or "other versions"
  • Before a major design decision where the right direction is unclear
  • When the user wants to present multiple options to stakeholders

Detection: Native API vs text-prompt fallback

Before generating variants, check which path is available:

Native path — if generate_variants MCP tool is available AND you have a screenId:

  1. Use stitch-mcp-generate-variants (1 API call, more control)
  2. Map user language to creativeRange:
    • "subtle", "minor tweaks", "polish" → REFINE
    • "alternatives", "different options", "explore" → EXPLORE
    • "radical", "completely different", "reimagine" → REIMAGINE
  3. Map focus to aspects:
    • "layouts", "arrangement" → [LAYOUT]
    • "colors", "palette" → [COLOR_SCHEME]
    • "images", "photos" → [IMAGES]
    • "fonts", "typography" → [TEXT_FONT]
    • "copy", "text content" → [TEXT_CONTENT]

Text-prompt fallback — if no MCP tools OR no existing screen:

  1. Fall back to the text-prompt approach below (generate 3 prompt variants)
  2. Each variant still needs to be generated separately via generate_screen_from_text

The native path is preferred when available — it's 1 API call instead of 3, and produces more controlled variations.

Input

  • Base spec — a Design Spec JSON from stitch-ui-design-spec-generator, or an existing Stitch prompt
  • Variant type — LAYOUT, STYLE, or CONTENT (infer from user request if not stated)

Variant types

LAYOUT variants

Keep visual style constant. Vary the structural arrangement.

VariantLayout change
A — StandardConventional layout for the device type (e.g., top nav + content)
B — AlternativeInverted or non-standard (e.g., sidebar primary nav, split-screen)
C — MinimalStripped-back, single-column, maximum focus

STYLE variants

Keep layout and content constant. Vary the visual aesthetic.

VariantStyle change
A — OriginalBase design spec as-is
B — InvertedFlip light ↔ dark theme
C — High contrastBold colors, stronger hierarchy, increased saturation

CONTENT variants

Keep design constant. Vary content presentation or density.

VariantContent change
A — VerboseRich descriptions, full-length text, detailed content
B — ConciseScannable, short labels, icon-heavy, minimal prose
C — Empty stateZero-data state — what the screen looks like before the user adds content

Output format

Always produce exactly 3 labeled prompts. Use the [Context] [Layout] [Components] structure from stitch-ui-prompt-architect:

## Variant A — [Label]

[Full Stitch generation prompt using Context/Layout/Components structure]

---

## Variant B — [Label]

[Full Stitch generation prompt]

---

## Variant C — [Label]

[Full Stitch generation prompt]

Example: Style variants for a SaaS dashboard

Base spec: Desktop dashboard, indigo primary, light mode, DM Sans

Output:

Variant A — Light & Professional

Desktop High-Fidelity analytics dashboard. Professional SaaS aesthetic. Light mode. Background: White (#ffffff). Primary: Indigo (#6366F1). Font: DM Sans.

Left sidebar (200px), top bar with page title, KPI row, main chart area.

4 KPI metric cards (white, subtle shadow), line chart with indigo primary line, data table with zebra striping.

Variant B — Dark & Focused

Desktop High-Fidelity analytics dashboard. Developer-focused aesthetic. Dark mode. Background: Zinc-900 (#18181B). Primary: Indigo (#818CF8, lightened for dark). Font: DM Sans.

Same layout: left sidebar (200px), top bar, KPI row, main chart.

KPI cards with dark surface (#27272A) background, indigo numbers on dark. Line chart with glowing indigo line against dark grid. Table with dark rows, subtle hover state.

Variant C — Minimal & Airy

Desktop High-Fidelity analytics dashboard. Minimal, spacious aesthetic. Light mode. Background: Gray-50 (#F9FAFB). Primary: Indigo (#6366F1). Font: DM Sans. Maximum whitespace.

Full-width single column, no sidebar. Top nav bar only. Stats in a horizontal strip. Chart spans full width. No card shadows — borders only.

Bare, text-forward KPI strip. Full-width area chart with very light fill. Simple flat list table, no alternating rows.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Audits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes, keyboard navigation, focus management, and screen reader support.

中文简介正在准备中。当前显示原文说明。

gabelul/stitch-kit452026年7月21日 更新

Adds a purposeful animation layer to Stitch-generated components — CSS transitions, Framer Motion (React/Next.js), or Svelte transitions. Always respects prefers-reduced-motion.

中文简介正在准备中。当前显示原文说明。

gabelul/stitch-kit452026年7月21日 更新

Analyzes a Stitch project's screens and synthesizes a natural-language DESIGN.md — visual atmosphere, color palette with hex values, typography rules, and Stitch-ready prompt snippets. Use this before stitch-loop or any multi-page build to establish design consistency.

中文简介正在准备中。当前显示原文说明。

gabelul/stitch-kit452026年7月21日 更新

Extracts a Stitch design and generates production code artifacts — CSS custom properties with dark mode tokens, a Tailwind v4 @theme block, and a semantic design system document. Run this before framework conversion skills.

中文简介正在准备中。当前显示原文说明。

gabelul/stitch-kit452026年7月21日 更新

Converts a Stitch screen, a local HTML file, or a URL into clean, platform-agnostic HTML5 + CSS — semantic markup, CSS custom properties for theming, dark mode via prefers-color-scheme, mobile-first responsive, zero framework dependencies. Works in browsers, WebViews, Capacitor, and Ionic. Only the Stitch route needs an API key.

中文简介正在准备中。当前显示原文说明。

gabelul/stitch-kit452026年7月21日 更新

Conversational design ideation agent that researches trends, explores visual directions, and refines ideas through adaptive questioning — then produces a rich PRD document and auto-generates Stitch screens. Your design buddy that thinks deeply before designing.

中文简介正在准备中。当前显示原文说明。

gabelul/stitch-kit452026年7月21日 更新

查看 gabelul 的全部技能

报告此技能的问题