stitch-a11y
Audits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes,…
Generates design variants of existing Stitch screens using the native variant API. Explore alternative layouts, color schemes, fonts, or content with configurable creativity levels.
Claude Code
$ npx -y skills add gabelul/stitch-kit --skill stitch-mcp-generate-variants --agent claude-code
Codex
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-generate-variants -a codex -y
Cursor
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-generate-variants -a cursor -y
Gemini CLI
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-generate-variants -a gemini-cli -y
GitHub Copilot
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-generate-variants -a github-copilot -y
OpenCode
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-generate-variants -a opencode -y
Windsurf
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-generate-variants -a windsurf -y
name: stitch-mcp-generate-variants description: Generates design variants of existing Stitch screens using the native variant API. Explore alternative layouts, color schemes, fonts, or content with configurable creativity levels. allowed-tools: - "stitch*:*"
Generates alternative versions of existing screens using Stitch's native variant generation API. This is more efficient than the text-prompt approach (1 API call vs. 3) and offers fine-grained control over what aspects to vary.
**Only use this skill when the user explicitly mentions "Stitch".**
You must have both a `projectId` AND at least one `screenId` of an existing screen. Variants are always based on an existing design — you can't generate variants from scratch.
{
"name": "generate_variants",
"arguments": {
"projectId": "3780309359108792857",
"selectedScreenIds": ["88805abc123def456"],
"prompt": "Explore different color schemes while keeping the layout structure",
"variantOptions": {
"variantCount": 3,
"creativeRange": "EXPLORE",
"aspects": ["COLOR_SCHEME", "IMAGES"]
},
"deviceType": "DESKTOP",
"modelId": "GEMINI_3_1_PRO"
}
}✅ "3780309359108792857" ❌ "projects/3780309359108792857"
✅ ["88805abc123def456"] ❌ ["projects/123/screens/88805abc123def456"]
The source screen(s) to generate variants from.
Provide context about what kind of variations the user wants. The `variantOptions` do the heavy lifting, but the prompt adds nuance.
| Field | Type | Values | Description | |-------|------|--------|-------------| | `variantCount` | int | 1–5 | Number of variants to generate | | `creativeRange` | enum | `REFINE`, `EXPLORE`, `REIMAGINE` | How much to deviate from the original | | `aspects` | array | See below | Which design aspects to vary |
| User says | → creativeRange | What it does | |-----------|----------------|-------------| | "subtle changes", "minor tweaks", "polish" | `REFINE` | Small refinements, stays close to original | | "alternatives", "different options", "explore" | `EXPLORE` | Meaningful differences while keeping the concept | | "radical", "completely different", "reimagine" | `REIMAGINE` | Major departures from the original design |
| Value | Varies | Keeps stable | |-------|--------|-------------| | `LAYOUT` | Structure, spacing, component arrangement | Colors, fonts, content | | `COLOR_SCHEME` | Colors, gradients, contrast | Layout, fonts, content | | `IMAGES` | Photography, illustrations, icons | Layout, colors, text | | `TEXT_FONT` | Typography, font choices, sizes | Layout, colors, content | | `TEXT_CONTENT` | Copy, labels, placeholder text | Layout, colors, fonts |
You can combine aspects: `["LAYOUT", "COLOR_SCHEME"]` varies both simultaneously.
Same enum: `MOBILE`, `DESKTOP`, `TABLET`, `AGNOSTIC`
| Value | Use when | |-------|---------| | `GEMINI_3_1_PRO` | **Recommended** — complex layouts, high fidelity | | `GEMINI_3_FLASH` | Fast iteration, wireframes, simple changes | | `GEMINI_3_PRO` | **Deprecated.** Still works but will be removed. Use `GEMINI_3_1_PRO` instead. |
Returns new screens added to the project. Each variant appears as a separate screen in `list_screens`.
1. Call `stitch-mcp-list-screens` to find all new variant screens 2. Call `stitch-mcp-get-screen` for each to get screenshots 3. Present side by side: "Here are your 3 variants: [screenshots]. Which one do you prefer?" 4. Once the user picks a winner, offer:
Your coding agent writes decent code and designs terrible UI. stitch-kit fixes the second half — it wires agents into Google Stitch (text prompts → genuinely beautiful screens) and teaches them to drive it properly.
Audits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes,…
Adds a purposeful animation layer to Stitch-generated components — CSS transitions, Framer Motion (React/Next.js), or Svelte…
Analyzes a Stitch project's screens and synthesizes a natural-language DESIGN.md — visual atmosphere, color palette with hex…
Extracts a Stitch design and generates production code artifacts — CSS custom properties with dark mode tokens, a Tailwind v4…
Converts a Stitch screen, a local HTML file, or a URL into clean, platform-agnostic HTML5 + CSS — semantic markup, CSS custom…
Conversational design ideation agent that researches trends, explores visual directions, and refines ideas through adaptive…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.