design-tokens
Design and govern semantic design tokens for color, typography, spacing, size, motion, elevation, and other reusable decisions with clear naming, themes…
от Dadmin88★ 52 звезды на GitHub
Установить design-tokens в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Design Tokens
Use when a design system needs reusable decisions that can flow reliably from design to code and across themes or platforms.
Procedure
- Inventory repeated design decisions and identify which deserve tokenization because they express a reusable semantic role.
- Separate primitive or reference values from semantic tokens and component-specific tokens so meaning is not tied directly to raw values.
- Name tokens by purpose and state rather than one visual value that may change across themes.
- Define token types, units, scales, aliases, themes or modes, and fallback behavior required by target platforms.
- Map accessibility-sensitive relationships such as foreground and background pairs, focus states, or motion preferences rather than tokenizing colors independently.
- Define source-of-truth and transformation or export behavior so design and implementation do not silently fork.
- Test token changes against representative components and themes for unintended cascade or contrast and layout regressions.
- Document deprecation and migration rules for renamed or removed tokens.
Decision rules
- Tokenize decisions that need coordinated reuse, not every numeric value.
- Semantic names survive redesign better than value-based names.
- Design tokens are an interface and should have compatibility discipline.
- Accessibility relationships may need validation beyond individual token values.
Quality gate
The token system is ready when repeated decisions map to clear semantic roles, themes and platform transforms are predictable, design and code share one governed source, changes can be migrated safely, and representative components validate that the abstraction improves consistency rather than adding indirection.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл design-tokens?
Design and govern semantic design tokens for color, typography, spacing, size, motion, elevation, and other reusable decisions with clear naming, themes, aliases, and implementation contracts.
Как установить скилл design-tokens?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-tokens запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…