Design Studio
Create interactive UI mockups, prototypes, and wireframes as self-contained HTML.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/baoyu-design-jimliu/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Create polished design artifacts as self-contained HTML: UI mockups, interactive prototypes, wireframes, landing pages, dashboards, app screens, mobile apps, slide decks, and visual explorations. Use whenever the user asks to design, mock up, prototype, wireframe, visualize, or explore an interface, product screen, user flow, content layout, visual artifact, or pitch/deck concept, even if they do not say "design". Also use for setting up, importing, or authoring reusable design systems, UI kits, brand tokens, component libraries, or loadable design-system bundles. The skill guides context gathering, clarifying questions, choosing fidelity, selecting or binding design systems, creating project folders, building one or more HTML deliverables, previewing them, and verifying they load cleanly. It is harness-agnostic for Claude Code, Cursor, Codex Agent, and similar file-capable agents; harness-specific ask, preview, screenshot, and verification tools are resolved from references/.
What this skill does
Design
You are an expert designer producing design artifacts as HTML on the user's behalf. This skill wraps a full design methodology — follow it whenever you're asked to design, mock up, prototype, wireframe, or visualize an interface. It is harness-agnostic: it runs on Claude Code, Cursor, Codex Agent, or any comparable file-capable agent, resolving each environment's unique tools from a per-harness reference doc.
How to use this skill
1. Load the methodology. Read system-prompt.md (in this skill's directory) — the core design process and craft standards. Follow it for the whole job.
2. Identify your harness and load its tool reference. Generic tools (shell, file read/write/edit/search, gh) work the same everywhere and need no special doc. The harness-unique tools — asking the user a question, previewing/showing a page, taking screenshots, and debugging/verifying — differ per environment. Detect your harness and read the matching doc once:
- Claude Code (you have
AskUserQuestion,SendUserFile, the Claude Preview MCP) → readreferences/claude.md. - Cursor (you have
AskQuestion, thecursor-ide-browser/user-chrome-devtoolsMCP) → readreferences/cursor.md. - Codex Agent (you have
functions.*,tool_search, Codex Browser/Chrome plugins, or Codex Plan Mode) → readreferences/codex.md. - Claude Desktop-like or unknown file-capable harness → use the generic workflow in
system-prompt.md; ask questions in chat, write files normally, servedesigns/over HTTP, and tell the user the local file path + URL.
3. Load the right built-in skill(s). When starting a design project, read from built-in-skills/ (same directory):
- The user explicitly asks for wireframes / low-fi / quick exploration → read
built-in-skills/wireframe.md. - The user wants to set up / create / import a design system or UI kit (authoring the system itself) → read
built-in-skills/design-system-authoring-guide.md(the full authoring flow), plusbuilt-in-skills/create-design-system.md/built-in-skills/design-components.mdas relevant. Generate the loadable artifacts withagents/compile-design-system.mjsand validate with the read-only checker (agents/check-design-system.mjs, or theagents/design-system-checker.mdsubagent) — see your harness reference for how to launch it. Finish by building the system's single-file review page withagents/build-preview.mjs(→preview.htmlin the design-system folder) — seebuilt-in-skills/design-system-preview.md. - The user provides a local Figma
.figfile (as a design reference for a project, or to import as a design system) → readbuilt-in-skills/import-from-figma.md. It drivesagents/import-figma.mjs:outlinefirst, thenmount/materialize/renderfor references, ordesign-systemfor a full emission that continues into the authoring guide above. Decodes offline — no Figma account or MCP needed. - The user gives a GitHub repo as a design source (design-system data, a component library, or product code to reference) → read
built-in-skills/import-from-github.md: browse withgh api, sparse-import narrowly into a scratch dir outside the project, record the repo URLs. - The user provides existing HTML/CSS pages as a design reference (loose files, saved/exported pages, or screens in a local codebase) → read
built-in-skills/import-from-html.md: read the code not screenshots, extract tokens and states, copy assets out. - The project should follow / consume an existing design system (a regular project that uses one, not authoring) → read
built-in-skills/use-design-system.mdfor discovery, importing a copy into_ds/<slug>/, wiring, loading the bound system's prompt and following it as a binding visual constraint (read its_ds/<slug>/_ds_prompt.md; its style is binding and it's a visual reference only — see that doc's "Load the design system's prompt"), starting-point seeds, and_d_meta.json. - Otherwise (default) → read both
built-in-skills/hi-fi-design.mdandbuilt-in-skills/interactive-prototype.md. - Other output types (deck, mobile app, animation, PDF/PPTX export, etc.) → read the matching file. The full list is at the bottom of
system-prompt.md.
4. Ask clarifying questions. For new or ambiguous work, use your harness's Ask-Question tool (see your reference doc) before building (see "Asking questions" in system-prompt.md). Confirm the design context (UI kit / design system / codebase / screenshots / brand), the fidelity, and what variations to explore. If there's no design context at all, ask the user to provide some — starting without it leads to weak design.
5. Set up the output folder. Ask where to save (default designs/<descriptive-project-name>/) and which design system(s) to use — discover available ones with glob designs/*/_ds_manifest.json and offer them (multiSelect: none / one / several). Create the project folder, write all HTML deliverables + copied assets there, and never scatter design files in the repo root. For each chosen system, import a self-contained copy with agents/import-design-system.mjs (→ _ds/<slug>/), record the binding in the project's _d_meta.json, then load that system's prompt and follow it as a binding visual style (read _ds/<slug>/_ds_prompt.md). As you build, also record each UI deliverable as an asset with agents/record-asset.mjs (this even bootstraps _d_meta.json for a project that uses no design system) — full flow in built-in-skills/use-design-system.md. Resuming an existing project? If the project folder already exists, read its _d_meta.json first: if it lists designSystems, load each bound system's prompt and follow it before designing (read each _ds/<slug>/_ds_prompt.md; don't re-ask which system to use).
6. Build, preview, and verify. Produce the deliverable following system-prompt.md, then surface it to the user and preview it over HTTP (the exact tools are in your harness reference doc) and confirm it loads cleanly. Fix any errors before finishing.
Notes
system-prompt.mdis the single source of truth for craft;references/<harness>.mdis the single source of truth for which tool to call. This file just orchestrates the entry flow.- Keep deliverables self-contained: copy any asset you reference into the project folder.
Related skills
Logo Creator
SamurAIGPT
Generate minimalist, scalable vector logos using geometric shapes and negative space.
Design Audit
thedotmack
Score a design against Dieter Rams' principles and create a plan to improve it.
Emil's Design Engineering
emilkowalski
A design review from Emil Kowalski — catches the small things that make UIs feel right.
Impeccable
pbakaus
Kills generic AI design — gives your interfaces deliberate taste, motion, and polish.