- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add arla6ka/design.how --skill token-mapping -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add arla6ka/design.how --skill token-mapping -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add arla6ka/design.how --skill token-mapping -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add arla6ka/design.how --skill token-mapping -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/arla6ka/design.how/tree/HEAD/skills/token-mapping来自发布者
A read-only report that lands raw values (hex, px, shadows) on a token list someone else owns. Classes, normalising and tolerances are in references/mapping-rules.md. "Check the tokens on the settings page" is enough of an ask. Find the values and the list yourself.
:root, a component library's variable pairs. A framework's default theme is not the team's list, and neither is a public system's (Geist's names never stand in for the team's). Record its name, location and how you read it. If a read fails, say so and stop. Never fill a list from memory.Status: not actionable (gap threshold).Summary, Mapping, Do not use (a token whose value matches but whose job differs), Ambiguous, Gaps, For a person to decide, Source. Last line Coverage: with what was scanned and what was not. Run on its own, the chat reply gives the answer with its numbers and one prompt the person can paste to take the next step.
#6b7280 mapped to color.border.default because the hex is equal. Right: it is text, so the candidates are text tokens, and the border token goes in Do not use.text-gray-500) names a value and no job. It gets a row, counted apart from raw values.Stop and report on these only. No list exists. One name has two values in the same mode. Two sources disagree and no project rule says which wins (report both). Return what stopped it, the groundwork so far, and the shortest message that unblocks it, such as "Paste tokens.json or give its path."
Every row has a job, a class and a reason. Every ambiguous row names two or more candidates. Nothing in the repo changed (git status is the same before and after). The last line reads Coverage:.
Use to report how hardcoded style values on a page, file or diff map onto a project's existing design tokens, such as "are we using our tokens here", "which hardcoded colors map to which tokens", a to
---name: token-mappingdescription: Use to report how hardcoded style values on a page, file or diff map onto a project's existing design tokens…---# skills/token-mapping/SKILL.md概览
Use to report how hardcoded style values on a page, file or diff map onto a project's existing design tokens, such as "are we using our tokens here", "which hardcoded colors map to which tokens", a token audit or planning a token migration. It never edits. Replacing the values is build-design-system.
常见问题
从发布者处下载 skills/token-mapping/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/arla6ka/design.how。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。