ui-design-system

Generate design tokens and export them as CSS variables.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/Fantasia1999/claude-skills-zh --skill ui-design-system-fantasia1999
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-design-system
Source: https://github.com/Fantasia1999/claude-skills-zh/tree/main/translations/product-team/ui-design-system
Command: npx skills add https://github.com/Fantasia1999/claude-skills-zh --skill ui-design-system-fantasia1999

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation and maintenance of UI design systems by automating the generation of design tokens, component structures, and developer handoff materials, ensuring visual consistency and design-dev collaboration.

Core Features & Use Cases

  • Design Token Generation: Create comprehensive design tokens for colors, typography, spacing, etc., based on brand input.
  • Component System Setup: Define and structure UI components using design tokens.
  • Responsive Design Tools: Calculate fluid typography and responsive spacing.
  • Developer Handoff: Export tokens in various formats (CSS, SCSS, JSON) for seamless integration.
  • Use Case: A design team needs to establish a new design system for a web application. They can use this Skill to generate all foundational design tokens from a single brand color, define component styles, and prepare the assets for the development team.

Quick Start

Use the ui-design-system skill to generate design tokens for the brand color '#0066CC' in a modern style and export them as CSS variables.

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 single brand color for my UI design system?

To generate design tokens for a UI design system, input a primary brand color and style preference, and the tool automatically produces comprehensive tokens for colors, typography, and spacing to ensure visual consistency.

Can I export design tokens as CSS variables for developer handoff?

Yes, you can export design tokens as CSS variables for developer handoff. The system supports exporting tokens in multiple formats including CSS, SCSS, and JSON to facilitate seamless design-developer collaboration.

What is the best way to calculate fluid typography and responsive spacing for a component library?

The best way to calculate fluid typography and responsive spacing for a component library is using automated responsive design tools, which compute fluid scaling values to maintain visual consistency across different screen sizes.

How do I structure a UI component library using generated design tokens?

You structure a UI component library using generated design tokens by defining and mapping component architectures directly to the foundational color, typography, and spacing tokens, ensuring consistent styling across the entire system.

Do I need Python to automate design system creation and management?

Yes, you need Python installed to automate design system creation and management. The scripts required for token generation, responsive calculations, and export utilities rely on Python as their core dependency.