Real file from a public repo · synced Aug 22, 2026
opendesign-tokens
OpenDesign 设计 Token 指南。当需要使用 @opensig/opendesign-token 包中的 CSS 变量时使用此 skill。包含六套主题(openEuler/Ascend/Kunpeng/Mindspore/openGauss/openUBMC)的完整 token 体系,支持颜色、间距、圆角、字体、阴影、响应式排版、栅格系统等所有设计令牌。使用场景:(1) 查找颜色值对应的语义 token,(2) 获取间距/圆角/字体的 token 名称,(3) 了解六套主题的差异,(4) 代码中使用 CSS 变量替代硬编码值,(5) 使用响应式 token 实现多断点适配,(6) 引入鸿蒙字体文件并使用字体族/字重 token(含七档字重、拉丁/中文自动分流、按字重按需引入)
Works with
Install in three steps
- 1
Download the ZIP
One file per agent, plus INSTALL.md with the exact paths below.
- 2
Claude Code: copy SKILL.md into your skills folder
.claude/skills/opendesign-tokens/SKILL.md # this project ~/.claude/skills/opendesign-tokens/SKILL.md # every project
- 3
Other agents: use the matching file
skill.mdc goes in Cursor’s .cursor/rules/. AGENTS.md works as GitHub Copilot instructions, a legacy .cursorrules, or a Codex / Gemini CLI instructions file.

