
UI design system
Generates design tokens, component docs and handoff material for UI design systems
UI design system is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 303
- Last commit
- License
- MIT
- Listing updated
Similar skills
About UI design system
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 2 files (7 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/ui-design-system to use it in all your projects:
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.
Copy the skill folder to ~/.agents/skills/ui-design-system to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/ui-design-system to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/majiayu000/spellbook.git --path plugins/spellbook-ui/skills/ui-design-systemOr copy the folder to ~/.gemini/skills/ui-design-system yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ui-design-system:
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.
Get the folder:
git clone --depth 1 https://github.com/majiayu000/spellbook.gitThen 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.
What it does
- 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
UI design system 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.
More from majiayu000/spellbook

Gives your agent cross-domain analogies and yes-and extensions to spark new ideas
- Open source
- 303 GitHub stars
- Productivity

Stress-tests an idea by hunting hidden assumptions, counterexamples and failure points
- Open source
- 303 GitHub stars
- Productivity

Gathers sourced facts, competitors and 2026 data on an idea without judging it
- Open source
- 303 GitHub stars
- Research workflow

Runs a three-role AI group chat that surfaces blind spots in a one-line idea
- Open source
- 303 GitHub stars
- Productivity

Coaches you from a one-line idea to a PRD and clickable HTML prototype
- Open source
- 303 GitHub stars
- Productivity

Guides an agent through mobile app UI design for iOS and Android
- Open source
- 303 GitHub stars
- Design and media




