ui-design
FreeNo executable scriptsNot checkedDesign real UI screens before building them, then build them in the user's code. Use when someone asks to design, redesign or improve the look of a page…
by uxpilot-ai★ 206 GitHub starsAbout this skill
UI Design
Design the screens first on a UX Pilot canvas the user can see and edit, then build them in their code.
1. Check the connection
Look for the UX Pilot tools: design, get_job, read, import, edit, guide, usually with uxpilot or UX_Pilot in the full name. If they are there, go to step 2.
If they are missing, give the user the setup for their agent and stop until they say it is done:
- Claude Code: run
claude mcp add --transport http uxpilot https://mcp.uxpilot.net/mcpin a terminal, then/mcpinside Claude Code to sign in to UX Pilot. - Cursor: add
{"mcpServers": {"uxpilot": {"url": "https://mcp.uxpilot.net/mcp"}}}to.cursor/mcp.json. Cursor then asks you to sign in. - Codex, Windsurf, VS Code and other agents: add the MCP server URL
https://mcp.uxpilot.net/mcpand sign in to UX Pilot.
Sign-in creates a free UX Pilot account if the user has none. Some agents need a restart before new tools appear. Never ask for a password or key in chat.
2. Write the brief
Read before you ask. In a codebase, gather the product, audience and the screens' job from the README, routes and copy, and the existing look from the Tailwind config, CSS variables, fonts and logo. Ask at most one question, only if the answer changes the design (often: which screens, or phone vs desktop).
The brief is a few plain sentences: what the product is, who uses it, which screens, what each must do, real content (names, numbers, copy) instead of lorem ipsum, and the style direction. Say "keep our current brand: <colors, fonts>" when the project has one. Pick selectedType: mobile for phone apps, otherwise desktop.
3. Design it
There are two ways. Use A unless the user asks for B.
A. UX Pilot designs it (the best result; uses credits, and a new account's first run is free). Call design with action: "agent" and the brief as prompt. Leave tier out: UX Pilot picks the strongest tier the account can use. Pass one only when the user names it. The first call does not start anything: it returns a summary and a confirmationToken. Tell the user in one line that this runs a design on their UX Pilot account and uses credits, and ask to go ahead. When they agree, call again with the same params plus confirmed: true and the token.
The started run answers with a designUrl: give it to the user right away, so they can watch the page on the canvas. A run takes 1 to 10 minutes. Poll get_job every 5 to 10 seconds and give a short progress line now and then, not every poll.
B. You write the HTML and push it to the UX Pilot canvas (no credits). Write the screen's HTML yourself, following guide with topic: "small-steps", and put it on the canvas with import (kind: "html"), then refine it with edit (action: "patch"). On the free plan every import and edit counts toward a weekly allowance of actions, so build each screen in a few large steps: the whole screen in one import, then a handful of patches for fixes. Share the page link as soon as the screen is on the canvas.
4. Show the screens
- Give the user the link to the UX Pilot page so they can open, compare and edit the screens. Get it with
read(kind: "preview"for one screen, orkind: "page") if you do not have it. - Describe each screen in a line and point out choices worth a decision.
- Fix the problems
get_joborreadwithkind: "checks"report (contrast, clipped text, small touch targets) before you call the design done.
For changes: in A, run design again with the same pageId and a prompt that names the screen and the change; in both, use edit with action: "patch" for a small exact change (guide with topic: "edit.patch").
Always show the screens and the link before you write code. If the user already asked you to build it, say you are moving on to the build and continue; otherwise ask which screens to build when that is unclear.
5. Build it in their code
Read references/implementing.md before writing code. In short: read each screen's HTML with read (kind: "design", includeHtml: true), rebuild it in the project's stack with its own components and tokens, keep the design's layout, spacing, type and copy, and check your result against the screen's picture.
On the free plan, reading the HTML of a screen UX Pilot designed (way A) is refused; HTML you imported yourself (way B) can always be read back. When it is refused, stop and give the user the choice, upgrade first:
- Upgrade through the link in UX Pilot's message, and you build the exact design from its HTML.
- You rebuild it from the screen's picture, which will be close but not exact.
Wait for their answer.
If there is no project yet and the user wants a React app, design with action: "react" turns the screens into one (paid plans).
When a limit is hit
Relay UX Pilot's message as is, including its link. Then give the user the options in this order, and wait for their choice:
- **Out of credit
Install ui-design in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the ui-design skill do?
Design real UI screens before building them, then build them in the user's code. Use when someone asks to design, redesign or improve the look of a page, screen, landing page, dashboard, app or component, wants a frontend that does not look generic, or wants to see and edit the design before code is written. Designs on a UX Pilot canvas the user can open and edit, then implements the chosen screens in the project's own stack. Needs the UX Pilot MCP server (free plan available).
How do I install the ui-design skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the ui-design skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic