stitch-a11y
Audits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes, keyboard navigation, focus…
Visual vocabulary, design terminology, and prompt engineering strategy for Stitch. Reference this when you need layout pattern names, aesthetic style terms, color structure formulas, or device guidelines.
$ npx -y skills add gabelul/stitch-kit --skill stitch-ued-guide --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/stitch-ued-guideContext preview
The summary Claude sees to decide when to auto-load this skill.
Visual vocabulary, design terminology, and prompt engineering strategy for Stitch. Reference this when you need layout pattern names, aesthetic style terms, color structure formulas, or device guidelines.
name: stitch-ued-guide description: Visual vocabulary, design terminology, and prompt engineering strategy for Stitch. Reference this when you need layout pattern names, aesthetic style terms, color structure formulas, or device guidelines. allowed-tools: []
This is a reference guide, not an action skill. Use it when:
The most effective Stitch prompts follow this 4-part structure:
[Context & Style] + [Layout Structure] + [Component Details] + [Content & Data]
**Context & Style:** > "Mobile fitness app for gym-goers. Dark mode with neon green accents. Cyberpunk aesthetic. Rounded corners."
**Layout Structure:** > "Bottom navigation bar (Home, Workout, Progress, Profile). Scrollable main feed. Sticky top bar with greeting."
**Component Details:** > "Workout cards with gradient border, thumbnail, title, duration badge, and 'Start' pill button."
**Content & Data:** > "Sample data: 'Upper Body Blast' (45 min), 'Core Destroyer' (20 min), 'Morning Run' (30 min, completed today)."
| Model | When to use | |-------|-------------| | `GEMINI_3_1_PRO` | High-fidelity designs, complex layouts, when quality matters — **recommended default** | | `GEMINI_3_FLASH` | Fast iteration, wireframes, rapid exploration, when speed matters | | `GEMINI_3_PRO` | **Deprecated** — still works but will be removed. Use `GEMINI_3_1_PRO` instead |
Controls how Stitch derives the full color palette from your `primaryColor`:
| colorVariant | Visual effect | Best for | |---|---|---| | `MONOCHROME` | Single-hue, editorial feel | Luxury, minimal, text-heavy, portfolios | | `NEUTRAL` | Subdued, professional | Corporate, enterprise, medical | | `TONAL_SPOT` | Balanced accent spots on neutral base | SaaS, productivity, dashboards | | `VIBRANT` | Bold, energetic colors | Consumer apps, social, food | | `EXPRESSIVE` | Multicolor, dynamic | Creative, gaming, entertainment | | `FIDELITY` | Precise brand color matching | Brand-heavy, marketing, landing pages | | `CONTENT` | Palette adapts to content | Media, editorial, photo-heavy | | `RAINBOW` | Full spectrum | Kids apps, events, playful | | `FRUIT_SALAD` | Warm multicolor | Food, lifestyle, wellness |
| spacingScale | Effect | Best for | |---|---|---| | 0 | Minimal spacing — very tight, data-dense | Admin panels, data tables, terminal-style UIs | | 1 | Compact — efficient use of space | Dashboards, dense mobile lists, SaaS tools | | 2 | Normal — comfortable breathing room | Standard apps, consumer products | | 3 | Spacious — generous whitespace | Landing pages, marketing, portfolios, luxury |
Quick reference for all DesignTheme fields returned by `get_project`:
| Field | Type | Description | |---|---|---| | `colorMode` | LIGHT / DARK | Base theme mode | | `customColor` | hex string | Seed color for palette generation | | `colorVariant` | enum (9 values) | How palette is derived from seed | | `headlineFont` | font enum (68 values) | Display/headline typeface | | `bodyFont` | font enum | Body text typeface | | `labelFont` | font enum | Labels, captions, metadata typeface | | `font` | font enum | **Deprecated** — use headlineFont/bodyFont/labelFont | | `roundness` | ROUND_FOUR/EIGHT/TWELVE/FULL (`ROUND_TWO` exists but is deprecated/unused) | Corner radius preset | | `spacingScale` | integer 0-3 | Layout density | | `spacing` | object | Optional. Map of spacing token name → CSS value (e.g. `{"sm": "8px"}`) | | `typography` | object | Optional. Map of typography level name (e.g. `h1`, `body`) → Typography token (`fontFamily`, `fontSize`, `fontWeight`, `letterSpacing`, `lineHeight`) | | `namedColors` | object (40+ tokens) | Full semantic color map (Material 3) | | `designMd` | string | Auto-generated design system markdown | | `description` | string | Brief aesthetic description | | `overridePrimaryColor` | hex | Explicit primary override | | `overrideSecondaryColor` | hex | Explicit secondary override | | `overrideTertiaryColor` | hex | Explicit tertiary override | | `overrideNeutralColor` | hex | Explicit neutral base override | | `backgroundLight` | hex | Light mode background | | `backgroundDark` | hex | Dark mode background |
| Style | Description | Use for | |-------|-------------|---------| | **Flat** | No shadows, bold colors, simple shapes | Mobile apps, illustrations | | **Material** | Cards with elevat
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…