Agent skill Frontend
Token Mapping
Establish reusable styling and design decisions across web screens.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add arla6ka/skills --skill token-mapping --agent claude-code --yesCheck this file in your project.claude/skills/token-mapping/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add arla6ka/skills --skill token-mappingSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use an assistant that can read the installed Skill and access the relevant project files or local preview.
View operation manualWhat this skill helps with
- Establish reusable styling and design decisions across web screens.
Good for
- Design tokens and shared styles
- Goal
- Map a hardcoded style to project tokens
- Inputs
- One stylesheet or diff and the actual theme token sources
- Acceptance
- Pick one row per verdict and trace it back to code and tokens. Show notes about roles and tolerances, and leave ambiguous values and gaps visible for a later approved change.
- Skill name
token-mapping- Repository
arla6ka/skills
Start with one screen, component, or reproducible flow
Open-ended request
Improve every screen in the project.
The scope lacks a pilot and concrete inputs to judge the outcome.
A specific task
- Map a hardcoded style to project tokens
- One stylesheet or diff and the actual theme token sources
Token Mapping operation manual
Map a hardcoded style to project tokens
One stylesheet or diff and the actual theme token sources
Identify inputs and the current state
Identify inputs and the current state
Prompt · Step 1Use design.how’s token-mapping and read the installed SKILL.md. Limit this task to [Project and preview path]. Locate the project’s token sources for [Theme modes]. Extract hardcoded values from [File or diff] with location and role. Follow variable aliases to their final values in each relevant mode.Follow the publisher workflow
Map a hardcoded style to project tokens
Prompt · Step 2Use design.how’s token-mapping and read the installed SKILL.md. Limit this task to [Project and preview path]. Use the installed mapping rules to classify values as exact, semantically close, ambiguous or gaps. When comparing colors, normalize into the documented space and report actual differences. Keep the report read-only.Check the result
Check the result
Prompt · Step 3Use design.how’s token-mapping and read the installed SKILL.md. Limit this task to [Project and preview path]. Pick one row per verdict and trace it back to code and tokens. Show notes about roles and tolerances, and leave ambiguous values and gaps visible for a later approved change.
Look up a specific workflow problem
Ask the assistant to identify the project evidence for the step you are on.
Find the required inputsSKILL.md
- Command or reference
Map a hardcoded style to project tokens- Examples
- One stylesheet or diff and the actual theme token sources
Check what the work producedVerify
- Command or reference
Map a hardcoded style to project tokens- Examples
- Pick one row per verdict and trace it back to code and tokens. Show notes about roles and tolerances, and leave ambiguous values and gaps visible for a later approved change.
Troubleshooting and FAQ
What check proves the task is complete?
Pick one row per verdict and trace it back to code and tokens. Show notes about roles and tolerances, and leave ambiguous values and gaps visible for a later approved change.
What if the required project capability is missing?
Check the installed instructions and name the missing component, asset, or project permission before proceeding.