A Claude Code skill that combines two layers for UI/UX work:
- Strategy — the
ui-ux-pro-maxdesign intelligence (50+ styles, 97 palettes, 57 font pairings, 99 UX rules, 25 chart types, 9 stacks) locks the design system. - Implementation — the 21st.dev Magic MCP generates the actual React/Tailwind/shadcn component code, constrained by that system.
Strategy decides what to build. Magic decides how to ship it.
Magic on its own happily produces beautiful components — that don't match each other. Five prompts, five palettes, five font stacks, zero coherence.
ui-ux-pro-max on its own produces a rigorous design system — but you still have to translate it into code yourself.
ui-pro-magic glues them together: lock the system once, then every component Magic generates respects the same palette, typography, anti-patterns, and stack idioms.
- Analyze — extract product type, industry, style, stack, components needed
- Lock —
search.py --design-system --persistwritesdesign-system/MASTER.md - Generate — for each component, call Magic MCP with the locked system injected into the prompt
- Refine — use
21st_magic_component_refinerwith the same system block - Checklist — run the pre-delivery verification before handoff
python3 --versionInstall from the official source. The author's default path is ~/claude-library/ui-ux-pro-max-skill/. If you put it elsewhere, either update the path in SKILL.md or export UI_UX_PRO_MAX_PATH.
Get an API key from 21st.dev/magic-chat, then register the MCP:
claude mcp add magic -s user -- npx -y @21st-dev/magic@latest API_KEY=<your-key>Verify:
claude mcp listYou should see magic: ✓ Connected.
Clone into your Claude Code skills directory:
git clone https://github.com/NeousAxis/ui-pro-magic.git ~/.claude/skills/ui-pro-magicThe skill will then appear in your skills list and trigger automatically on UI/UX requests.
ui-pro-magic/
├── SKILL.md # main skill: decision logic, workflow, rules
├── references/
│ ├── prompts.md # component prompt templates (hero, pricing, nav, form...)
│ └── stacks.md # stack-specific snippets (react, next, vue, svelte, shadcn...)
├── README.md
├── LICENSE
└── .gitignore
User: "build me a landing page for a fintech analytics SaaS, dark mode, brutalist"
Skill:
- Lock the design system:
python3 ~/claude-library/ui-ux-pro-max-skill/src/ui-ux-pro-max/scripts/search.py \ "fintech analytics SaaS dashboard dark brutalism" \ --design-system --persist -p "Fintech Analytics"
- For each section (hero, features, pricing, CTA, footer), invoke
21st_magic_component_builderwith the locked palette, typography, and stack injected. - Refine with
21st_magic_component_refinerwhere needed. - Run the pre-delivery checklist.
"use Magic without ui-ux-pro-max"→ skip the strategy step"just give me the design system"→ stop after strategy"refine, don't rebuild"→ use the refiner only"generate 3 variants"→ use21st_magic_component_inspirationfirst
- Strategy before implementation. Never generate a component before the system is locked.
- Inject, don't hope. Magic MCP only respects what you put in the prompt.
- Persist the system. Always use
--persist. - One icon set, one palette, one type system per project.
- Checklist is non-negotiable.
MIT — see LICENSE.
PRs welcome. Good targets: new stack snippets, new component templates, refinements to the escalation logic.