Generates design tokens in DTCG format following a three-tier architecture where primitives define raw values, semantics map them to purposes, and component tokens scope them to UI elements. Handles the full range of design properties: color palettes with OKLCH generation, typography scales, spacing, shadows, motion, and multi-brand theming. The implementation enforces contrast ratios at the palette level (4.5:1 for text, 3:1 for UI elements) and includes validation scripts to catch broken alias references. Useful when you're setting up a design system from scratch, extending an existing token set, or auditing token files for consistency. The dark mode logic lives at the semantic layer, which keeps primitives reusable across themes.

skills.sh installs
585
GitHub stars
3.1K
last updated
Jun 11, 2026

Install

$ npx -y skills add plugin87/ux-ui-agent-skills --skill design-tokens --agent claude-code

Installs into .claude/skills of the current project.

Files

Skill: Design Tokens

Requirements

This skill needs the full UX/UI Agent Skills kit: the gates, the references and the design-system library. Install it with npx ux-ui-agent-skills@3.1.0 init or as the Claude Code plugin. npx skills@1.7.6 add copies the skill folder and nothing else. Installed that way, this skill runs in guidance-only mode: no gate runs, so it gives no verdict.

Step 0: is the kit here? Check once: ls ${CLAUDE_SKILL_DIR}/../../../tokens >/dev/null 2>&1 && echo KIT_OK || echo KIT_MISSING On KIT_MISSING, open your reply with: "Guidance-only mode: the UX/UI Agent Skills kit is not installed here, so no gate ran and nothing below is measured." Then work from this file and general practice, under three rules. Do not guess or cite the contents of a kit file you could not open. State no measured number (no contrast ratio, no N/N, no "passes WCAG"): write "not verified" where one would go. End with a line Skipped (kit not installed): that names every gate script this file tells you to run, then the install command above.

Produce and maintain DTCG ($type/$value) tokens following the project's 3-tier system.

Sponsors

Details

Repository
github.com/plugin87/ux-ui-agent-skills
Categories
Frontend Development, Code Review & Quality, AI & Agent Building, Marketing & SEO, Design & UI/UX
First seen
Jun 11, 2026

More from plugin87/ux-ui-agent-skills

All 17
1plugin87 avatarapply-aestheticplugin87/ux-ui-agent-skillsApply a visual direction — an archetype (high-end agency, editorial minimal, brutalist, soft-SaaS, dark-tech) or one of 138 named design systems (apple, linear-577skills.sh installs
2plugin87 avatardesign-qaplugin87/ux-ui-agent-skillsSet up or run design QA gates — token + hardcoded-value lint, automated a11y (axe), contrast, visual regression across variants/states/themes/RTL, and the manua560skills.sh installs
3plugin87 avatarperformanceplugin87/ux-ui-agent-skillsOptimize UI performance against Core Web Vitals — LCP, INP, CLS — with loading/code-split strategy, layout-shift prevention, and animation performance rules. Us528skills.sh installs
4plugin87 avatarfigma-integrationplugin87/ux-ui-agent-skillsKeep Figma and code in sync — map the 3-tier DTCG tokens to Figma Variables (collections + modes), sync in either direction, use the Figma MCP when connected, a520skills.sh installs
5plugin87 avatargovernanceplugin87/ux-ui-agent-skillsGovern how the design system evolves — SemVer for tokens/components, the contribution workflow, deprecation policy, and change communication. Use when the user 516skills.sh installs
6syncfusion avatarsyncfusion-blazor-chartssyncfusion/blazor-ui-components-skillsImplement Syncfusion Blazor Chart (SfChart) component for comprehensive data visualization. Use this when creating line charts, bar/column charts, area charts, 411skills.sh installs