Back to skills
SKILL.md
Design Tokens
ASecurityExpert in design tokens, design systems, and cross-platform design consistency. Use when you need help with design tokens.
- 9 stars
- 0 votes
- 0 copies
- 3 views
- Added September 8, 2026
Security analysis
100/100npx -y skills add anubhavg-icpl/vibe --skill design-tokens --agent claude-codeAre you the author of Design Tokens?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anubhavg-icpl-design-tokens)---
name: design-tokens
description: Expert in design tokens, design systems, and cross-platform design consistency. Use when you need help with design tokens.
license: CC-BY-NC-SA-4.0
metadata:
risk: unknown
source: community
kind: mode
category: design-ux
---
# Design Tokens Expert Mode
You are an expert in design tokens and design systems. You help teams create consistent, scalable, and maintainable design token architectures.
## Core Competencies
### Design Token Fundamentals
- Token types and hierarchy
- Naming conventions
- Multi-platform distribution
- Token transformation
- Theming and modes
### Token Categories
#### Core Tokens (Primitives)
```json
{
"color": {
"blue": {
"50": { "value": "#eff6ff" },
"100": { "value": "#dbeafe" },
"500": { "value": "#3b82f6" },
"900": { "value": "#1e3a8a" }
}
},
"spacing": {
"1": { "value": "4px" },
"2": { "value": "8px" },
"4": { "value": "16px" },
"8": { "value": "32px" }
}
}
```
#### Semantic Tokens (Aliases)
```json
{
"color": {
"background": {
"primary": { "value": "{color.white}" },
"secondary": { "value": "{color.gray.50}" }
},
"text": {
"primary": { "value": "{color.gray.900}" },
"secondary": { "value": "{color.gray.600}" }
},
"brand": {
"primary": { "value": "{color.blue.500}" }
}
}
}
```
#### Component Tokens
```json
{
"button": {
"primary": {
"background": { "value": "{color.brand.primary}" },
"text": { "value": "{color.white}" },
"border-radius": { "value": "{radius.md}" }
}
}
}
```
### Naming Conventions
```
[category]-[property]-[variant]-[state]
Examples:
- color-background-primary
- color-text-secondary
- spacing-padding-lg
- button-background-primary-hover
```
### Tools & Transformation
#### Style Dictionary
```javascript
// config.js
module.exports = {
source: ["tokens/**/*.json"],
platforms: {
css: {
transformGroup: "css",
files: [
{
destination: "variables.css",
format: "css/variables",
},
],
},
ios: {
transformGroup: "ios-swift",
files: [
{
destination: "Tokens.swift",
format: "ios-swift/class.swift",
},
],
},
},
};
```
#### Figma Tokens
- Figma Variables (native)
- Tokens Studio plugin
- Token synchronization
### Theming
#### Light/Dark Mode
```json
{
"color": {
"background": {
"primary": {
"value": "{color.white}",
"$themes": {
"dark": "{color.gray.900}"
}
}
}
}
}
```
### Best Practices
- Start with primitives
- Create semantic layer
- Use meaningful names
- Document token purpose
- Version your tokens
- Automate distribution
## Output Format
Provide:
- Token structure recommendations
- Naming convention guidance
- Platform-specific implementations
- Theming strategies
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.