# UI design system

> UI design system is an open-source agent skill for developer tools. Generates design tokens, component docs and handoff material for UI design systems. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/majiayu000/spellbook/tree/main/plugins/spellbook-ui/skills/ui-design-system
- **Repository:** https://github.com/majiayu000/spellbook
- **GitHub stars:** 303
- **License:** MIT
- **Skill name:** ui-design-system
- **Collection:** https://github.com/majiayu000/spellbook
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill guides an agent through building and maintaining a UI design system. It covers design tokens, component documentation, responsive sizing math, quality checks and the handoff materials designers pass to developers.

The main bundled tool is a Python script, design_token_generator.py, that takes a brand color plus a style preset (modern, classic or playful) and an output format (json, css or scss). It produces a color palette, a modular typography scale, an 8-point spacing grid, shadow and animation tokens, responsive breakpoints, and files in the chosen format.

The skill also asks the agent to verify its output before reporting completion. That means checking generated tokens or handoff files against the requested brand color, output format, accessibility constraints and the target implementation, and running the script with sample input to confirm the JSON, CSS or SCSS is valid and keeps the brand values intact.

## When your agent uses it

> Use when creating or maintaining UI design systems, design tokens, component documentation, responsive calculations, quality checks, or design-dev handoff materials.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/majiayu000/spellbook/tree/HEAD/plugins/spellbook-ui/skills/ui-design-system)
- [No network calls found in its scripts](https://github.com/majiayu000/spellbook/tree/HEAD/plugins/spellbook-ui/skills/ui-design-system)
- [License: MIT](https://github.com/majiayu000/spellbook/tree/HEAD/plugins/spellbook-ui/skills/ui-design-system)

## Features

- **Design token generation:** Creates colors, typography, spacing, shadow and animation tokens from a brand color.
- **Multiple export formats:** Outputs tokens as JSON, CSS or SCSS through the bundled Python script.
- **Style presets:** Offers modern, classic and playful styles to shape the generated system.
- **Spacing and type scales:** Builds an 8-point spacing grid and a modular typography scale.
- **Responsive calculations:** Provides breakpoints and sizing math for responsive layouts.
- **Developer handoff docs:** Supports component documentation and design-to-development handoff materials.
- **Output verification:** Checks generated files for valid syntax and preserved brand values.

## Good for

- Generate a token set from a company brand color
- Export design tokens as SCSS variables for a stylesheet
- Document reusable UI components for developers
- Prepare a design-to-development handoff package
- Check that generated CSS tokens keep accessible contrast

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/ui-design-system` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/majiayu000/spellbook.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ui-design-system &&
cp -R "$tmp/plugins/spellbook-ui/skills/ui-design-system" ~/.claude/skills/ui-design-system &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ui-design-system` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ui-design-system` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/majiayu000/spellbook.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ui-design-system &&
cp -R "$tmp/plugins/spellbook-ui/skills/ui-design-system" ~/.agents/skills/ui-design-system &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ui-design-system` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ui-design-system` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/majiayu000/spellbook.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ui-design-system &&
cp -R "$tmp/plugins/spellbook-ui/skills/ui-design-system" ~/.cursor/skills/ui-design-system &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ui-design-system` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/majiayu000/spellbook.git --path plugins/spellbook-ui/skills/ui-design-system
```

Or copy the folder to `~/.gemini/skills/ui-design-system` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ui-design-system`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/majiayu000/spellbook.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ui-design-system &&
cp -R "$tmp/plugins/spellbook-ui/skills/ui-design-system" ~/.copilot/skills/ui-design-system &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ui-design-system` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/majiayu000/spellbook.git
```

Then copy `spellbook/plugins/spellbook-ui/skills/ui-design-system` into your agent's skills folder as `ui-design-system`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the bundled script need to run?

It is a Python script, run as python scripts/design_token_generator.py with a brand color, a style and an output format.

### Which styles and formats can UI design system produce?

Styles are modern, classic and playful. Formats are json, css and scss.

### What does the generated output include?

A color palette, a modular typography scale, an 8pt spacing grid, shadow and animation tokens, responsive breakpoints and the chosen export format.

### How do I install UI design system in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ui-design-system to use it in all your projects, or to .claude/skills/ui-design-system in one project.

### Does UI design system run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use UI design system?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to UI design system?

The closest alternatives to UI design system are Design system, Design system, Design kit, Design review and Figma implement design.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Design system](https://ai-powered.com/skills/design-system-smartworldarafath): Design system is an open-source agent skill for design and media.
- [Design system](https://ai-powered.com/skills/design-system-daveebbelaar): Design system is an open-source agent skill for design and media.
- [Design kit](https://ai-powered.com/skills/design-kit): Design kit is an open-source agent skill for design and media.
- [Design review](https://ai-powered.com/skills/design-review): Design review is an open-source agent skill for design and media.
- [Figma implement design](https://ai-powered.com/skills/figma-implement-design-mtarcure): Figma implement design is an open-source agent skill for design and media.
- [Design](https://ai-powered.com/skills/design): Design is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design): Frontend design is a free agent skill for design and media.
- [Expo design system](https://ai-powered.com/skills/expo-design-system): Expo design system is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/ui-design-system
