Agent skill

Design Token Skill: Name and Tier Your Tokens

The design-token skill has an AI coding agent define colour, spacing, type and elevation tokens in three tiers, with a naming pattern and usage rules for each one.

Install
/plugin marketplace add Owl-Listener/designer-skills
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the design-token skill?

The design-token skill is a short instruction file in the design-systems plugin of Owl-Listener's designer-skills pack. It makes your agent define and document the atomic values behind a design system in global, alias and component tiers, using one naming pattern, so components never reference raw values directly.

The design-token skill belongs to the design-systems plugin in Owl-Listener's designer-skills pack. Its SKILL.md calls the agent an expert in design token architecture and systematic foundations, and asks it to define, organize and document the atomic values that drive visual consistency.

It applies when you are establishing the token layer. Auditing how tokens are already used goes to design-token-audit in the designer-toolkit plugin, and mapping tokens across multiple brands goes to theming-system, according to the skill description.

Three tiers of tokens

  1. Global tokens hold raw values, such as blue-500 set to #3B82F6.
  2. Alias tokens give those values meaning, such as color-action-primary.
  3. Component tokens scope a value to one part of the interface, such as button-color-primary.

The naming pattern is category, property, variant, state. Components should never point at a raw value, which keeps theming possible because alias tokens stay abstract.

Token categories it covers

  • Color: a global palette, alias tokens such as surface, text and border, and component tokens.
  • Spacing: a 4px or 8px base unit, an xs to 3xl scale, and inset, stack and inline contexts.
  • Typography: font families, size scale, weights and line heights.
  • Elevation: shadow levels and a z-index scale.
  • Border: radius and width scales and style options.
  • Motion: a duration scale and easing functions.

Who the design-token skill is for

Best for

  • Starting a token layer for a new product or cleaning up a pile of hard-coded values.
  • Teams that need every token documented with its usage context.
  • Systems where tokens will be versioned along with the rest of the design system.

Not for

  • Auditing token usage that already exists. Use design-token-audit for that.
  • Mapping tokens across several brands. The description points to theming-system.

Use it with UiChemy

Tokens give the names to apply in your Figma file or page build. UiChemy Figma to WordPress converts a design into a WordPress site, and Composer writes HTML, CSS and JS in Elementor or Gutenberg. Click Get Started on uichemy.com. Related pages: tailwind-design-system and color-system.