Design and Refine: five UI variants, compare, refine
0xdesign/design-plugin
Your AI assistant designs a screen or a part of a screen five different ways, inside your own app and in your own colours and fonts. You compare them side by side in your browser, click on parts to leave comments, and it merges what you liked into a new version. When you are happy, it removes the test files and writes a plan for building the final design.
Pack description by its author: “Your AI assistant designs a screen or a part of a screen five different ways, inside your own app and in your own colours and fonts. You compare them side by side in your browser, click on parts to leave comments, and it merges what you liked into a new version. When you are happy, it removes the test files and writes a plan for building the final design.”
Design and frontendCommands you run when neededKnowledge and rules for your assistant
1. Changes your files
Skills that write or edit files: design-lab, cleanup.
github.com/0xdesign/design-plugin/blob/913a7ab/2. Runs code on your machine
Session end and every time the assistant stops: A bash script checks the current project for .claude-design/, __design_lab and __design_preview routes and feedback-*.json files and prints a warning. It reads only, writes nothing, 10-second limit. During a session: The assistant writes variant files to .claude-design/ and temporary routes into your app, and saves design-brief.json.
github.com/0xdesign/design-plugin/blob/913a7ab/3. Sends data
Deletion is limited by its own rules to .claude-design/ and routes named __design_lab or __design_preview; the cleanup command asks before deleting. Commit your work first so you can see every change.
github.com/0xdesign/design-plugin/blob/913a7ab/4. Commercial use
README and plugin manifest say MIT, but the repository has no LICENSE file with the full text
github.com/0xdesign/design-plugin/blob/913a7ab/Checked against the pack's files at commit 913a7ab, on Nov 19, 2026. Tap a verdict to see its source.How we checkedReport an error
Good for you if
- You are starting a new component or page and want to see different approaches before committing
- You want alternatives to a screen you already have
- You are stuck on a design direction and want concrete options
- You need to show real variations to someone, not describe ideas
Probably not for you if
- You don't use Claude Code: it ships as a Claude Code plugin
- Your project is not a web app built on Next.js, Vite, Remix, Astro or Create React App
What you'll notice
- Questions first: what you are designing, what bothers you about it, brands you like, who uses it
- Five variants at /__design_lab in your running app, each exploring a different direction
- An Add Feedback button: click any element, comment, then paste all comments back into the chat
- At the end: DESIGN_PLAN.md and DESIGN_MEMORY.md in your project; the test files are gone
What you need
- Claude Code
- Free
- Two commands in Claude Code
- Your app's dev server must already be running; the plugin does not start it
Words on this page
- Plugin
- A package your assistant installs that can bring skills, commands and hooks together.
- Slash command
- A command you type in the assistant's chat, starting with /.
- Hook
- A small program the assistant runs by itself at set moments, for example when a session starts.
| Repository | 0xdesign/design-plugin |
|---|---|
| GitHub stars | 787 |
| Skills | 1 |
| Category | Design and frontend |
| Last updated | Sep 17, 2026 · card checked Nov 19, 2026 at commit 913a7ab |
| Install counts | 0xdesign/design-plugin on skills.sh, Vercel's skills directory, which shows installs and security audits per skill |
0xdesign/design-plugin popularity over time
What Design and Refine does
- Checks your project first: framework, package manager, styling system, and an existing design memory file
- Reads your colours, type, spacing, corner radius and shadows from your Tailwind config, CSS variables or theme, and looks at 2 to 3 existing buttons, cards and forms
- Interviews you in five short steps: scope, pain points and inspiration, brand tone and density, users and tasks, constraints
- Builds five variants, each on a different axis: information hierarchy, layout, density, interaction model, expressive direction
- Merges what you liked into a new variant F and repeats until you are happy, then shows a final preview (with before and after for redesigns)
- Deletes its temporary files and writes DESIGN_PLAN.md and DESIGN_MEMORY.md
Never cut, per the skill: the feedback overlay on the lab page, and cleanup of the temporary files at the end or on abort.
From the pack's SKILL.md files, summarised by AgentGid.
The skill, explained
design-lab
Interviews you, builds five design variants in your app, refines them with your feedback and writes a build plan
You give
- The component or page to design, or nothing and it asks
- Component or full page, new or a redesign (and the file path if a redesign)
- Pain points, brands you like (Stripe, Linear, Notion, Apple) and interaction patterns
- Brand adjectives, density, whether dark mode is needed
- Main user, desktop or mobile first, top 3 tasks, what must stay, technical limits
You get
- A design brief summary
- Five variants A to E at /__design_lab, each with a short reason it exists
- A synthesized variant F after your feedback, as many rounds as you need
- A final preview at /__design_preview
- DESIGN_PLAN.md: files to change, steps, component API, UI states, accessibility and testing checklists, design tokens
- DESIGN_MEMORY.md: style decisions reused in later sessions
Its rules, in pictures
The page it plans
Neutral foundation in the reference file (light theme); the skill uses your project's colours
How things move: its curve against a plain one
Drawn by AgentGid from the values in the skill's files. This is not output of the skill; sample text is ours.
See it in action
The skill defines what its answer looks like. Its own example:
## Design Lab Feedback **Target:** ComponentName **Comments:** 3 ### Variant A 1. **Button** (`[data-testid='submit']`, button with "Submit") "Make this more prominent" ### Variant B 1. **Card** (`.product-card`, div with "Product Name") "Love this layout" ### Overall Direction Go with Variant B's structure. Apply Variant A's button styling.
When to reach for it
| You want | Use |
|---|---|
| Explore designs for a component or page | /design-and-refine:start [target] |
| Remove leftover lab files after an interrupted session | /design-and-refine:cleanup |
| Stop midway and throw everything away | Say "cancel" or "abort" in the chat |
Skills in 0xdesign/design-plugin
| Skill | In plain words | Changes files? | What it does (author) |
|---|---|---|---|
design-lab/design-and-refine:start [target] |
Interviews you, builds five design variants in your app, refines them with your feedback and writes a build plan | Yes | Conduct design interviews, generate five distinct UI variations in a temporary design lab, collect feedback, and produce implementation plans. Use when the user wants to explore UI design options, redesign existing components, or create new UI with multiple approaches to compare.npx skills add 0xdesign/design-plugin --skill design-lab |
The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.
Good to know before you install
- It writes into your project while it works: a .claude-design/ folder and temporary routes such as app/__design_lab/; in a Vite app without a router it edits App.tsx and reverts it at the end.
- Two files stay after you finish: DESIGN_PLAN.md and DESIGN_MEMORY.md in the project.
- It does not start your app; keep your dev server running in another terminal.
- A small shell script runs when a session ends or the assistant stops; it only prints a warning if temporary design files are left.
- Saying cancel, abort or stop at any point makes it ask, then delete all lab files with no plan.
- The repository has no LICENSE file; the README and the plugin manifest say MIT.
Before you start
Works in
- Claude Code: plugin
You will need
- A web app on Next.js, Vite, Remix, Astro or Create React App: The lab is a temporary route inside your app
- A running dev server: You view the variants at /__design_lab in it
- bash: The session-end hook is a bash script
Steps only you can do
- Start the app's dev server in a separate terminal (Your project's own dev command (for example pnpm dev))
Then: The assistant gives the /__design_lab URL and asks for feedback - Open /__design_lab, leave comments with Add Feedback, submit, and paste the copied text into the chat (http://localhost:3000/__design_lab (or your dev server port))
Then: The assistant edits the variants or builds a synthesized variant F
Mistakes to avoid
Wait for the assistant to start the dev server
Start your dev server yourself in another terminal before opening /__design_lab
The plugin does not start itAdd the marketplace as 0xdesigner/design-plugin, as the plugin folder's README shows
Use /plugin marketplace add 0xdesign/design-plugin from the main README
The repository lives under 0xdesign; the inner README names a different ownerBuild the lab without the feedback overlay or move it into .claude-design/
Keep FeedbackOverlay.tsx in the same folder as the lab page and import it relatively
The skill says .claude-design/ imports can fail with some bundler setupsExpect the final design to be built into your app when you finalize
Read DESIGN_PLAN.md and ask for the implementation, or set DESIGN_AUTO_IMPLEMENT
Finalize cleans up and writes a planKeep edits you made inside the lab files
Copy anything you want to keep before you finalize or abort
The whole .claude-design/ folder and the temporary routes are deleted
Which one to pick
| If you need | Pick |
|---|---|
| You want five variants of one component or page inside your own app, click-to-comment feedback and a build plan | This pack |
| You want to explore distinct UI directions and compare them side by side with Codex or other agents, not only Claude Code | oil-oil/oil-ui |
| You want design commands to review, critique and polish existing screens | pbakaus/impeccable |
| You want art direction rules for a landing page or dashboard instead of variants in your own style | Leonxlnx/taste-skill |
Works well with
- tailwindcss: The skill reads colours, spacing, radius, fonts and shadows from the Tailwind config
- mui: Material UI themes are one of the style sources it reads
- chakra-ui: Chakra UI themes are one of the style sources it reads
May I use it like this?
| Use | Answer | Condition |
|---|---|---|
| In a commercial app | With conditions | README and plugin manifest say MIT, but the repository has no LICENSE file with the full text |
| Work for clients | With conditions | Declared MIT; no LICENSE file in the repository |
| Passing the files on | With conditions | Declared MIT; no LICENSE text to include in copies, so ask the author or keep the README notice |
Install Design and Refine
Official commands from the repository
/plugin marketplace add 0xdesign/design-plugin /plugin install design-and-refine@design-plugins
Send as two separate prompts. The plugin is then available in any project.
claude --plugin-dir /path/to/design-variations-plugin
For trying a local checkout of the plugin folder.
Or with the open-source skills CLI: npx skills add 0xdesign/design-plugin. Skills are instructions your agent follows: read them before installing.
What it installs and runs on your machine
Read in the code at commit 913a7ab, Nov 19, 2026
| When | What happens |
|---|---|
| Session end and every time the assistant stops | A bash script checks the current project for .claude-design/, __design_lab and __design_preview routes and feedback-*.json files and prints a warning. It reads only, writes nothing, 10-second limit. |
| During a session | The assistant writes variant files to .claude-design/ and temporary routes into your app, and saves design-brief.json. |
| In your browser at /__design_lab | A copied React feedback overlay keeps your comments in the browser's localStorage and copies them to the clipboard. No network calls. |
| Finalize or abort | The assistant deletes .claude-design/ and the temporary routes; on finalize it writes DESIGN_PLAN.md and DESIGN_MEMORY.md. |
Settings
DESIGN_AUTO_IMPLEMENT: true: implement the plan right after you confirmDESIGN_KEEP_LAB: true: keep the lab until you run the cleanup commandDESIGN_MEMORY_PATH: Custom path for the design memory file
Quick answers
- Will it use my brand colours and fonts?
- It reads them from your Tailwind config, CSS variables or UI library theme and looks at your existing components; it is told not to use predefined styles.
- Which projects does it support?
- Next.js (App and Pages Router), Vite (React, Vue), Remix, Astro and Create React App; styling with Tailwind, CSS Modules, MUI, Chakra, Ant Design, styled-components or Emotion.
- What is left in my project afterwards?
- DESIGN_PLAN.md and DESIGN_MEMORY.md. The lab folder and temporary routes are deleted.
- Does it build the final design into my app?
- Not by default: it writes a plan. An optional DESIGN_AUTO_IMPLEMENT setting asks it to implement the plan right after you confirm.
- Does it work outside Claude Code?
- The repository only describes Claude Code; the start command relies on Claude Code's AskUserQuestion tool.
Checked by AgentGid on Nov 19, 2026 against commit 913a7ab of the pack's own files. Related: 0xdesign/design-gate. agent.md for AI agents · Report a mistake
More design and frontend skill packs
| # | Install | |||||
|---|---|---|---|---|---|---|
| 1 |
Gets a local design library: UI styles, colour palettes, font pairings and UX rules for many product types. Before it builds a page, it looks up a matching style, colours and fonts and follows a checklist. Extra skills make logos, banners, slides and brand files; logos, mockups and icons need your own key for an outside image service. |
153K | +13.9K | 7 | ||
| 2 |
Stops building the average landing page. It picks one of 20 researched design directions, finds real, credited pictures in open archives, then checks the page in a real browser and fixes what looks wrong. Dashboards and app screens get their own set of rules. |
120K | +18.7K | 1 | ||
| 3 |
Turns a description, a Mermaid sketch or your project's code into an interactive diagram saved as one HTML file. It can also answer a question as a one-page explainer, with the conclusion first. The pack's own tools check every file before handing it to you. |
98.7K | +12.7K | 5 | ||
| 4 |
Draws clean, editorial diagrams in your brand colours and fonts. You describe the diagram in plain words and get one HTML file you open with a double click. It can also redraw old draw.io, Mermaid or Excalidraw diagrams and export them as SVG or PNG. |
70K | +11.4K | 1 | ||
| 5 |
Builds web pages that look designed, not machine-made. It asks once for your real material and picks one of fifty visual themes. Then it builds the page and checks it against common AI design habits. Name it and it will also redesign or review a page you already have. |
59.2K | +25.2K | 1 | ||
| 6 |
alchaincyf/huashu-design
Checked
One large design playbook for your AI assistant, written in Chinese. It makes clickable app prototypes, web pages, slide decks, infographics and short animated videos as HTML, then exports them to PDF, PowerPoint, MP4 or GIF. Before any new design it shows you three real drafts to choose from and stops until you pick one. |
30.3K | +4,613 | 1 |
No pack matches.