stitch-ui-design-variants
Skill45 starsChanged 8 months agoApache-2.0View on GitHub
Generates 3 alternative Stitch prompts for A/B testing screen concepts — vary layout, visual style, or content while keeping the underlying information architecture consistent.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- stitch-a11ySkill
- stitch-animateSkill
- stitch-design-mdSkill
- stitch-design-systemSkill
- stitch-html-componentsSkill
- stitch-ideateSkill
- stitch-loopSkill
- stitch-mcp-apply-design-systemSkill
- stitch-mcp-create-design-system-from-design-mdSkill
- stitch-mcp-create-design-systemSkill
- stitch-mcp-create-projectSkill
- stitch-mcp-delete-projectSkill
- stitch-mcp-edit-screensSkill
- stitch-mcp-generate-screen-from-textSkill
- stitch-mcp-generate-variantsSkill
- stitch-mcp-get-projectSkill
- stitch-mcp-get-screenSkill
- stitch-mcp-list-design-systemsSkill
- stitch-mcp-list-projectsSkill
- stitch-mcp-list-screensSkill
- stitch-mcp-update-design-systemSkill
- stitch-mcp-upload-design-mdSkill
- stitch-nextjs-componentsSkill
- stitch-orchestratorSkill
- stitch-react-componentsSkill
- stitch-react-native-componentsSkill
- stitch-remotionSkill
- stitch-setupSkill
- stitch-shadcn-uiSkill
- stitch-skill-creatorSkill
- stitch-svelte-componentsSkill
- stitch-swiftui-componentsSkill
- stitch-ued-guideSkill
- stitch-ui-design-spec-generatorSkill
- stitch-ui-prompt-architectSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Before a major design decision where the right direction is unclear
- Distinctive: line 15
When the user wants to present multiple options to stakeholders
- Distinctive: line 19
Before generating variants, check which path is available:
- Very specific: line 22
Use stitch-mcp-generate-variants (1 API call, more control)
- Distinctive: line 48
Keep visual style constant.
- Distinctive: line 57
Keep layout and content constant.
- Distinctive: line 66
Keep design constant. Vary content presentation or density.
- Very specific: line 76
Always produce exactly 3 labeled prompts.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
- Use
stitch-mcp-generate-variants(1 API call, more control) - Map user language to
creativeRange:- "subtle", "minor tweaks", "polish" →
REFINE - "alternatives", "different options", "explore" →
EXPLORE - "radical", "completely different", "reimagine" →
REIMAGINE
- "subtle", "minor tweaks", "polish" →
- Map focus to
aspects:- "layouts", "arrangement" →
[LAYOUT] - "colors", "palette" →
[COLOR_SCHEME] - "images", "photos" →
[IMAGES] - "fonts", "typography" →
[TEXT_FONT] - "copy", "text content" →
[TEXT_CONTENT]
- "layouts", "arrangement" →
Text-prompt fallback — if no MCP tools OR no existing screen:
- Fall back to the text-prompt approach below (generate 3 prompt variants)
- 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.
| Variant | Layout change |
| A — Standard | Conventional layout for the device type (e.g., top nav + content) |
| B — Alternative | Inverted or non-standard (e.g., sidebar primary nav, split-screen) |
| C — Minimal | Stripped-back, single-column, maximum focus |
STYLE variants
Keep layout and content constant. Vary the visual aesthetic.
| Variant | Style change |
| A — Original | Base design spec as-is |
| B — Inverted | Flip light ↔ dark theme |
| C — High contrast | Bold colors, stronger hierarchy, increased saturation |
CONTENT variants
Keep design constant. Vary content presentation or density.
| Variant | Content change |
| A — Verbose | Rich descriptions, full-length text, detailed content |
| B — Concise | Scannable, short labels, icon-heavy, minimal prose |
| C — Empty state | Zero-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.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

