Agent Skill
stitch::generate-design skill
stitch::generate-designgoogle-labs-code/stitch-skillsplugins/stitch-design/skills/generate-design/SKILL.md
Generate new screens from text prompts or images, edit existing screens with prompts and design system tokens, and generate design variants using Stitch MCP. Includes prompt enhancement pipeline, design mappings, professional UI/UX terminology, design tokens and theme system capabilities.
always on
54 tokname + description
once used
2,514 tokSKILL.md body
bundled files
37 KB
repo stars
8.5kGitHub
Install the stitch::generate-design skill
Skills CLI (Claude Code, Codex, Cursor and others)
npx skills add https://github.com/google-labs-code/stitch-skills --skill 'stitch::generate-design'
Claude Code, by hand (all projects)
git clone --depth 1 https://github.com/google-labs-code/stitch-skills.git /tmp/stitch-skills mkdir -p ~/.claude/skills cp -R /tmp/stitch-skills/plugins/stitch-design/skills/generate-design ~/.claude/skills/generate-design
For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.
What it costs your context
Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.
| When | What loads | Cost |
|---|---|---|
| Every session | Name and description | 54 tok |
| When the agent uses it | The SKILL.md instructions | 2,514 tok |
| Only if opened | 3 bundled files (7 KB) | varies |
Until it is used, stitch::generate-design costs about 25× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 16 skills from google-labs-code/stitch-skills would load 801 tokens of descriptions. Skills vs MCP study
Checks
- The name breaks the specification (lowercase letters, digits and single hyphens, up to 64 characters).
Pre-approved tools (allowed-tools): stitch*:*, Bash, Read, Write, web_fetch. The agent can use these without asking while the skill is active.
Checked 2026-10-22 · method
What's inside
The headings of its SKILL.md. Read the full file on GitHub.
- Generate Design
- 🎨 Prompt Enhancement Pipeline
- 1. Analyze Context
- 2. Refine UI/UX Terminology
- 3. Structure the Final Prompt
- 4. Present AI Insights
- Steps
- Determine the Mode
- Generate from Text Flow (New Screen)
- Generate from Image Flow (Image/Mockup → Design)
- Edit Flow (Modify Existing Screen)
- Generate Variants Flow (Explore Variations)
- 💡 Tips
- 📚 References
More skills from google-labs-code/stitch-skills
- design-mdgoogle-labs-code/stitch-skills
Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
64k17 tok idle · 1,679 in use - enhance-promptgoogle-labs-code/stitch-skills
Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.
8.5k42 tok idle · 1,531 in use - react-vite-dashboardgoogle-labs-code/stitch-skills
Convert Stitch designs into production React + Vite dashboards with TanStack Query, accessible tokens from DESIGN.md, and Web3-ready patterns (ethers/viem).
8.5k37 tok idle · 820 in use - remotiongoogle-labs-code/stitch-skills
Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays
8.5k122 tok idle · 2,946 in use - shadcn-uigoogle-labs-code/stitch-skills
Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best practices.
8.5k131 tok idle · 2,134 in use - site-mdgoogle-labs-code/stitch-skills
Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop
8.5k24 tok idle · 661 in use - stitch-loopgoogle-labs-code/stitch-skills
Teaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern
8.5k22 tok idle · 2,613 in use - stitch::code-to-designgoogle-labs-code/stitch-skills
Convert frontend code (Vite, React, Angular, Vue, etc.) to a Stitch Design by chaining static HTML extraction, design system extraction, and file upload. **ALWAYS** use this skill when the user's intent is to move existing web apps or React/Angular/Vue components into Stitch (e.g., requests to "save", "migrate", or "upload"). You must use this skill even for simple "save" operations, as it is the only way to ensure the design system is extracted and assets are properly linked.
8.5k115 tok idle · 718 in use