ui-design-system

Generates design system tokens for colors, typography, spacing, and shadows from a brand color.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/singhaganesh/Urban-assist --skill ui-design-system-singhaganesh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-design-system
Source: https://github.com/singhaganesh/Urban-assist/tree/main/.cursor/skills/ui-design-system
Command: npx skills add https://github.com/singhaganesh/Urban-assist --skill ui-design-system-singhaganesh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Creating a consistent design system from scratch requires manually deriving color scales, type scales, spacing grids, and shadow values, which is slow and error-prone. This Skill automates token generation so designers and developers share a single source of truth. ## Core Features & Use Cases - Design Token Generation: Produces complete color palettes (primary, secondary, neutral, semantic), modular typography scales, 8pt spacing grids, borders, shadows, animations, breakpoints, and z-index scales from a single brand color. - Multiple Export Formats: Exports tokens as JSON, CSS custom properties, or SCSS for direct integration into codebases. - Style Variants: Supports modern, classic, and playful styles that adjust fonts, border radii, and shadows. - Use Case: A designer starting a new product runs the generator with the brand color #0066CC in modern style, then hands the exported CSS variables to developers for immediate use in the component library. ## Quick Start Run the design token generator script with your brand color, a style such as modern, and an output format such as css to produce a complete token set.

Frequently Asked Questions about ui-design-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate design tokens from a brand color?

Run the design_token_generator.py script with your brand color in hex format as the first argument. It derives primary and secondary color scales, neutral grays, and semantic colors using HSV color math, then outputs the full token set.

What export formats does the design token generator support?

The generator exports tokens as JSON, CSS custom properties, or SCSS. Pass the desired format as the third command-line argument; JSON is the default if no format is specified.

How to create a typography scale for a design system?

The script builds a modular type scale using a 1.25 major third ratio on a 16px base font size. It also generates pre-composed text styles for headings, body, small, and caption text with matching weights and line heights.

Does the token generator require external Python packages?

No external dependencies are required. The script uses only Python standard library modules such as json, colorsys, and typing, so it runs in any standard Python 3 environment.

What are the limitations of automated design token generation?

Generated palettes are mathematically derived and may need manual tuning for brand nuance or accessibility contrast requirements. The tool does not validate WCAG contrast ratios, so semantic colors should be reviewed before production use.