stitch-a11y
Audits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes,…
Applies a Stitch Design System to existing screens — updates their colors, fonts, and roundness to match the design system's theme. Requires an assetId from list or create operations.
Claude Code
$ npx -y skills add gabelul/stitch-kit --skill stitch-mcp-apply-design-system --agent claude-code
Codex
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-apply-design-system -a codex -y
Cursor
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-apply-design-system -a cursor -y
Gemini CLI
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-apply-design-system -a gemini-cli -y
GitHub Copilot
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-apply-design-system -a github-copilot -y
OpenCode
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-apply-design-system -a opencode -y
Windsurf
$ npx skills add gabelul/stitch-kit --skill stitch-mcp-apply-design-system -a windsurf -y
name: stitch-mcp-apply-design-system description: Applies a Stitch Design System to existing screens — updates their colors, fonts, and roundness to match the design system's theme. Requires an assetId from list or create operations. allowed-tools: - "stitch*:*"
Applies a previously created Stitch Design System to one or more screens. This updates the screen's visual theme (colors, font, roundness) to match the design system, ensuring visual consistency across a project.
**Only use this skill when the user explicitly mentions "Stitch".**
You must have: 1. A `projectId` (numeric) 2. One or more `screenId` values (numeric) 3. An `assetId` from a design system (from `list_design_systems` or `create_design_system`)
{
"name": "apply_design_system",
"arguments": {
"projectId": "3780309359108792857",
"selectedScreenInstances": [
{
"id": "a1b2c3d4e5f6",
"sourceScreen": "projects/3780309359108792857/screens/98b50e2ddc9943efb387052637738f61"
}
],
"assetId": "15996705518239280238"
}
}✅ "3780309359108792857" ❌ "projects/3780309359108792857"
This is the one that catches people. It takes screen **instances**, each a `{id, sourceScreen}` pair — not a list of screen ids.
✅ [{ "id": "a1b2c3d4e5f6",
"sourceScreen": "projects/3780.../screens/98b5..." }]
❌ ["88805abc123def456"] ← bare screen ids
❌ [{ "id": "98b50e2ddc99...", ... }] ← source screen id in the id slotGet both values from `get_project` → `screenInstances`. The `id` is the **instance** id; `sourceScreen` is the full `projects/{p}/screens/{s}` path of the screen behind it. They are different values, and swapping them fails.
Same shape as `create_design_system_from_design_md`, which takes a single instance rather than an array.
✅ "15996705518239280238" ❌ "assets/15996705518239280238"
Get it from:
> `apply_design_system` wants it bare, but `generate_screen_from_text`'s `designSystem` param wants it **prefixed** (`assets/15996...`). Same identifier, two formats, depending on the tool.
Returns updated screen data reflecting the applied design system.
1. Re-fetch affected screens: `stitch-mcp-get-screen` for each screenId 2. Show updated screenshots to the user 3. 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.