/magic-ui-ux:branding runs instead · from magic-ui-ux
Generates a complete design system from a project niche description, producing machine-readable design tokens and human-readable documentation with industry-specific rules and color psychology.
This skill never runs in Claude Code
It ships in magic-ui-ux at skills/, but /magic-ui-ux:branding (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
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 specificationsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
design-systems, design-tokens, branding, ui-design, color-palette
8 skills in this plugin
/animationGenerates per-page animation choreography specs. Reads UX briefs for psychology context and design tokens for style-appropriate motion. Produces implementation-ready specs with Framer Motion, GSAP + ScrollTrigger, Swup.js, and Lenis code patterns.
/copy-generationGenerates page copy (headlines, subheadings, body text, CTAs, labels) based on project niche, page type, and UX brief psychology rationale. Presents all copy for human approval before use. Never passes unapproved copy to the UI Agent.
/image-generationGenerates comprehensive JSON visual specifications from text descriptions, reference images, or both. Translates photography/cinematography parameters into rich natural-language image guidance that dramatically improves Stitch's image rendering in generated screens.
/magic-ui-uxRun psychology-led branding, page design, iteration, image specification, motion, sync, and export workflows in Codex./persistenceManages the .ui-ux/ persistence folder. Handles initialization, reading, and writing of design tokens, project state, and screen references. Every command MUST read from .ui-ux/ before any design operation.
/psychology-routerRoutes page sections to relevant psychology skills. Given a page-type and section-type, returns 2-4 focused skills instead of all 14. Called by the UX Agent before analyzing each section of a page layout.
npx claudepluginhub flyingwebie/skills --plugin magic-ui-uxOther plugins' skills for the same job