A community-driven registry for the Claude Code ecosystem. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Claude Code skill: generate UI design mockups with GPT Image 2 via ZenMux
A universal AI skill that generates UI design mockups and helps reconstruct generated UI screenshots into HTML/CSS. Prefer the runtime's built-in image generation when available; use GPT Image 2 via the ZenMux API for scripted local outputs.
edit_image API quirks automatically (serial execution, retries)ZENMUX_API_KEY env var, in .env.local, or in ~/.config/see/api_keygoogle-genai on first run)npx skills add oil-oil/draw-ui
Or clone manually:
mkdir -p ~/.claude/skills
git clone https://github.com/oil-oil/draw-ui ~/.claude/skills/draw-ui
Trigger by saying anything like:
帮我设计一个 Dashboard 页面
Design a user profile screen
出图,产品详情页
The agent will ask you a few questions first (what the page does, whether you have a reference screenshot, consistency requirements), then generate.
# No reference image
scripts/ask_draw.sh --type wide --name "dashboard" --prompt "..."
# With reference image (locks sidebar/nav consistency)
scripts/ask_draw.sh \
--frame /path/to/sidebar-reference.png \
--type wide \
--name "dashboard" \
--prompt "..."
--type | Ratio | Use case |
|---|---|---|
wide | 16:9 | Desktop app screens (default) |
classic | 4:3 | Dashboard, data-heavy layouts |
square | 1:1 | Cards, modals |
portrait | 3:4 | Mobile screens |
Reference image strategy
The reference image constrains what AI will copy. If your screenshot has existing content in the main area, AI will mimic that layout — limiting creative freedom.
Best practice: use a "clean frame" — a screenshot with only the sidebar/nav visible and the content area blank. This lets AI keep your chrome consistent while designing the content area freely.
Prompt writing
Don't write layout specs (pixels, columns, padding). Instead, describe the business using one of two approaches:
Always use real example data instead of placeholders. "2.3M views" produces a far more realistic output than "show view count".
HTML reconstruction
When turning a generated mockup or screenshot into HTML/CSS, split the work into code and assets:
This keeps the HTML clean while preserving the visual parts that image generation is best at.
MIT
1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Design enforcement with memory — keeps your UI consistent across a project
Universal SEO skill for Claude Code. 25 sub-skills + 18 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, bac
Route Claude Code traffic to any of 17 provider backends including free or local models