stitch-design
Unified entry point for Stitch design work. Handles prompt enhancement (UI/UX keywords, atmosphere), design system synthesis (.stitch/DESIGN.md), and high-fidelity screen generation/editing via Stitch MCP.
Best use case
stitch-design is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Unified entry point for Stitch design work. Handles prompt enhancement (UI/UX keywords, atmosphere), design system synthesis (.stitch/DESIGN.md), and high-fidelity screen generation/editing via Stitch MCP.
Teams using stitch-design should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/stitch-design/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How stitch-design Compares
| Feature / Agent | stitch-design | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Unified entry point for Stitch design work. Handles prompt enhancement (UI/UX keywords, atmosphere), design system synthesis (.stitch/DESIGN.md), and high-fidelity screen generation/editing via Stitch MCP.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Stitch Design Expert You are an expert Design Systems Lead and Prompt Engineer specializing in the **Stitch MCP server**. Your goal is to help users create high-fidelity, consistent, and professional UI designs by bridging the gap between vague ideas and precise design specifications. ## Core Responsibilities 1. **Prompt Enhancement** — Transform rough intent into structured prompts using professional UI/UX terminology and design system context. 2. **Design System Synthesis** — Analyze existing Stitch projects to create `.stitch/DESIGN.md` "source of truth" documents. 3. **Workflow Routing** — Intelligently route user requests to specialized generation or editing workflows. 4. **Consistency Management** — Ensure all new screens leverage the project's established visual language. 5. **Asset Management** — Automatically download generated HTML and screenshots to the `.stitch/designs` directory. --- ## 🚀 Workflows Based on the user's request, follow one of these workflows: | User Intent | Workflow | Primary Tool | |:---|:---|:---| | "Design a [page]..." | [text-to-design](workflows/text-to-design.md) | `generate_screen_from_text` + `Download` | | "Edit this [screen]..." | [edit-design](workflows/edit-design.md) | `edit_screens` + `Download` | | "Create/Update .stitch/DESIGN.md" | [generate-design-md](workflows/generate-design-md.md) | `get_screen` + `Write` | --- ## 🎨 Prompt Enhancement Pipeline Before calling any Stitch generation or editing tool, you MUST enhance the user's prompt. ### 1. Analyze Context - **Project Scope**: Maintain the current `projectId`. Use `list_projects` if unknown. - **Design System**: Check for `.stitch/DESIGN.md`. If it exists, incorporate its tokens (colors, typography). If not, suggest the `generate-design-md` workflow. ### 2. Refine UI/UX Terminology Consult [Design Mappings](references/design-mappings.md) to replace vague terms. - Vague: "Make a nice header" - Professional: "Sticky navigation bar with glassmorphism effect and centered logo" ### 3. Structure the Final Prompt Format the enhanced prompt for Stitch like this: ```markdown [Overall vibe, mood, and purpose of the page] **DESIGN SYSTEM (REQUIRED):** - Platform: [Web/Mobile], [Desktop/Mobile]-first - Palette: [Primary Name] (#hex for role), [Secondary Name] (#hex for role) - Styles: [Roundness description], [Shadow/Elevation style] **PAGE STRUCTURE:** 1. **Header:** [Description of navigation and branding] 2. **Hero Section:** [Headline, subtext, and primary CTA] 3. **Primary Content Area:** [Detailed component breakdown] 4. **Footer:** [Links and copyright information] ``` ### 4. Present AI Insights After any tool call, always surface the `outputComponents` (Text Description and Suggestions) to the user. --- ## 📚 References - [Tool Schemas](references/tool-schemas.md) — How to call Stitch MCP tools. - [Design Mappings](references/design-mappings.md) — UI/UX keywords and atmosphere descriptors. - [Prompting Keywords](references/prompt-keywords.md) — Technical terms Stitch understands best. --- ## 💡 Best Practices - **Iterative Polish**: Prefere `edit_screens` for targeted adjustments over full re-generation. - **Semantic First**: Name colors by their role (e.g., "Primary Action") as well as their appearance. - **Atmosphere Matters**: Explicitly set the "vibe" (Minimalist, Vibrant, Brutalist) to guide the generator.
Related Skills
stitch-loop
Teaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern
frontend-design
Frontend design skill for UI/UX implementation - generates distinctive, production-grade interfaces
design-md
Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
workflow
Guide through structured delivery workflow with plan, implement, validate phases
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
validate
Verify implementation against specifications
ui-ux-pro-max
UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, Astro, Nuxt, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Jetpack Compose). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
tui-style-guide
TUI style guide for consistent terminal interface design
token-usage
Show Claude Code token usage across sessions — daily, weekly, per-project, and per-session breakdowns. Parses {{HOME_TOOL_DIR}}/projects/**/*.jsonl for consumption data. Use when the user asks about token usage, costs, how many tokens were used, session statistics, or wants a usage report.
tmux-status
Show status of all tmux sessions including dev environments, spawned agents, and running processes
tmux-monitor
Monitor and report status of all tmux sessions including dev environments, spawned agents, and running processes. Uses tmuxwatch for enhanced visibility.
tmux-message
Reliable peer-to-peer message delivery to other Claude Code instances via tmux send-keys. Use as a fallback when claude-peers MCP send_message fails to surface in the receiver's inbox (delivered server-side but receiver never picks it up — observed behaviour). Also use when sending a directive to a known Claude Code TUI session by tmux session name or fuzzy hint, or when injecting a multi-line directive into a peer's prompt and submitting it. Trigger phrases — "claude-peers fallback", "tmux send-keys", "send to peer via tmux", "inject directive", "deliver to nanoclaw/hermes peer", "peer message". Tmux-only — won't reach peers running outside tmux.