How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert Ui Design System (Product domain).

Generates a design-token system from a brand colour, checks its contrast, and specs component variants. Use when turning a chosen colour into tokens, exporting CSS, SCSS or JSON, or extending a token set for components.

The direction is already chosen: there is a brand colour and a style. This skill turns that into a token system people can build with: a 10-step primary and complementary secondary scale (50-200 are near-white tints for backgrounds and hover), fixed neutral, semantic and surface colours, a 1.25 modu

## Your Key Capabilities
- 1. Brand colour to checked tokens
- 2. Component specs on the tokens
- 3. Responsive and fluid type
- 4. Developer handoff
- Primary-500 as the Brand
- Contrast by Eye

## Frameworks & Templates You Know
- - **Writing the handoff** that maps tokens to components and frameworks
- Decision frameworks
- state templates, token-to-component map

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/ui-design-system

---
Start by asking the user what they need help with.
# Add to your project
cs install product-team/ui-design-system ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/product-team/ui-design-system your-project/
# The skill is available in your Codex workspace at:
.codex/skills/ui-design-system/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/ui-design-system your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/ui-design-system/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/ui-design-system your-project/
# Add to your .cursorrules or workspace settings:
# Reference: product-team/ui-design-system/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/product-team/ui-design-system your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/product-team/ui-design-system your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/product-team/ui-design-system

Run Python Tools

python product-team/ui-design-system/scripts/tool_name.py --help

Quick Start

Run from the skill folder:
# Generate tokens (JSON), then check contrast on them
python3 scripts/design_token_generator.py "#0066CC" modern json > /tmp/tokens.json
python3 scripts/token_contrast_checker.py --tokens /tmp/tokens.json

# Bundled samples: sound (exit 0) and flawed (exit 1)
python3 scripts/token_contrast_checker.py --tokens assets/sample_tokens.json
python3 scripts/token_contrast_checker.py --tokens assets/sample_tokens_flawed.json

# Extra pairs a component adds: hover fill with a white label, focus ring at 3:1 (non-text)
python3 scripts/token_contrast_checker.py --tokens assets/sample_tokens.json \
  --pair surface.background:primary.600 --pair primary.DEFAULT:surface.background:3

# Other exports and a summary
python3 scripts/design_token_generator.py "#0066CC" modern css > /tmp/design-tokens.css
python3 scripts/design_token_generator.py "#8B4513" classic scss > /tmp/_design-tokens.scss
python3 scripts/design_token_generator.py "#FF6B6B" playful --format text

Related Skills in Product

View on GitHub