stitch-a11y
Audits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes, keyboard navigation, focus…
Generates 3 alternative Stitch prompts for A/B testing screen concepts — vary layout, visual style, or content while keeping the underlying information architecture consistent.
$ npx -y skills add gabelul/stitch-kit --skill stitch-ui-design-variants --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/stitch-ui-design-variantsContext preview
The summary Claude sees to decide when to auto-load this skill.
Generates 3 alternative Stitch prompts for A/B testing screen concepts — vary layout, visual style, or content while keeping the underlying information architecture consistent.
name: stitch-ui-design-variants description: Generates 3 alternative Stitch prompts for A/B testing screen concepts — vary layout, visual style, or content while keeping the underlying information architecture consistent. allowed-tools: []
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.
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`:
3. Map focus to `aspects`:
**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.
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 |
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 |
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 |
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]
**Base spec:** Desktop dashboard, indigo primary, light mode, DM Sans
**Output:**
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.
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.
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.
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.
Repo: gabelul/stitch-kit
Audits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes, keyboard navigation, focus…
Adds a purposeful animation layer to Stitch-generated components — CSS transitions, Framer Motion (React/Next.js), or Svelte transitions. Always respects…
Analyzes a Stitch project's screens and synthesizes a natural-language DESIGN.md — visual atmosphere, color palette with hex values, typography rules, and…
Extracts a Stitch design and generates production code artifacts — CSS custom properties with dark mode tokens, a Tailwind v4 @theme block, and a semantic…
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…
Conversational design ideation agent that researches trends, explores visual directions, and refines ideas through adaptive questioning — then produces a rich…