From magic-ui-ux
Generates complete design systems from project niche/industry descriptions. Produces machine-readable tokens (tokens.json) and human-readable design documentation (branding.md) using industry-specific design rules and color psychology.
How this skill is triggered — by the user, by Claude, or both
Slash command
/magic-ui-ux:brandingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Transform a project niche description (e.g., "SaaS fintech", "luxury wellness") into a complete, opinionated design system with exact values. Every downstream design operation depends on the tokens this skill produces.
Transform a project niche description (e.g., "SaaS fintech", "luxury wellness") into a complete, opinionated design system with exact values. Every downstream design operation depends on the tokens this skill produces.
niche: string (required)
Project niche or industry description. Examples:
- "SaaS fintech"
- "luxury wellness spa"
- "e-commerce streetwear"
- "edtech for K-12"
mood_keywords: string[] (optional)
Additional personality descriptors to refine the design direction.
Examples: ["playful", "premium", "minimalist", "bold"]
tokens.json
Machine-readable design tokens conforming to skills/persistence/schemas/tokens.json.
Contains: colors (hex), typography (Google Fonts families + URLs), spacing (rem scale),
uiStyle, industry, componentPatterns.
branding.md
Human-readable design system documentation. Contains: brand personality, color palette
with rationale, typography pairing explanation, spacing system, UI style recommendation,
component pattern descriptions, usage guidelines.
Follow these steps in order. Each step narrows the design space from broad industry conventions to specific, exact values.
Map the user's niche description to one of the industry categories in references/industry-design-rules.md. If the niche spans multiple industries (e.g., "SaaS fintech"), use the more specific one (fintech) as primary and the other (SaaS) as secondary influence.
Read references/industry-design-rules.md and extract the matching industry's design directions:
Using the industry color direction as a starting point:
If mood_keywords are provided, adjust: "bold" shifts toward higher saturation, "minimal" toward muted tones, "playful" toward brighter accents, "premium" toward deeper tones.
All colors output as 6-digit hex codes (e.g., #1A2B3C).
From the industry's typography direction:
https://fonts.google.com/specimen/{Font+Name}Use 8px (0.5rem) base unit with the following scale in rem:
[0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 6, 8]
This is consistent across industries. Spacing application (generous vs tight) is a usage guideline in branding.md, not a token difference.
Based on the industry tendency from design rules, select one of:
For each pattern, select a style that aligns with industry and UI style:
Assemble all values into a JSON object conforming to skills/persistence/schemas/tokens.json. Validate that:
Write to .ui-ux/tokens.json.
Write human-readable design system documentation to .ui-ux/branding.md. See references/token-generation-guide.md for the exact template structure.
references/industry-design-rules.md -- Industry-to-design mapping for 12+ industries with color psychology, typography direction, UI style tendency, component patterns, and mood keywordsreferences/token-generation-guide.md -- Step-by-step guide for generating tokens.json and branding.md with exact output format specificationsnpx claudepluginhub flyingwebie/skills --plugin magic-ui-uxCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.