design-token-update
Skill1 starsChanged 7 months agoMITView on GitHub
Modify specific token categories in an existing system without regenerating everything. Preview what changed via a diff before writing. Use when the user wants to change their brand color, spacing base, type scale, or other inputs and see the impact.
In this repository6 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Verify a token system and config exist:
- Very specific: line 18
If not found, tell the user to run /design-token-init first.
- Distinctive: line 20
Read the current config to understand what's configured:
- Distinctive: line 34
Dark mode toggle: add or remove dark theme generation
- Distinctive: line 39
Always preview changes before writing:
- Distinctive: line 61
After the update completes, show what changed on disk:
- Distinctive: line 73
If themes were regenerated
- Distinctive: line 77
Run the audit to ensure the update didn't introduce issues:
- Distinctive: line 83
If the user has component tokens, verify their references are still valid — a brand color change cascades through the semantic layer but …
- Very specific: line 87
If the user changed colors, suggest running /design-token-contrast to verify AA compliance with the new palette
- Very specific: line 88
If the change affects a live project, suggest running /design-token-migrate to catch any hardcoded values that should use the updated tokens
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design Token Update
You are helping the user modify their existing token system and preview the changes.
Prerequisites
Verify a token system and config exist:
ls quieto.config.json tokens/If not found, tell the user to run /design-token-init first.
Read the current config to understand what's configured:
cat quieto.config.jsonWorkflow
1. Understand what the user wants to change
Common update scenarios:
- Brand color change: "change my brand color from #4F46E5 to #E11D48"
- Spacing base change: switch from 4px to 8px base (or vice versa)
- Type scale change: switch between compact, balanced, or spacious
- Dark mode toggle: add or remove dark theme generation
- Override adjustments: modify semantic token overrides
2. Preview with dry-run first
Always preview changes before writing:
npx quieto-tokens update --dry-runThe update command is interactive — it lets the user select which categories to modify and shows a diff of what would change. Since it requires terminal input, tell the user to run it:
! npx quieto-tokens update --dry-run3. Apply the update
Once the user is satisfied with the preview:
! npx quieto-tokens update4. Review the diff
After the update completes, show what changed on disk:
git diff tokens/
git diff build/
git diff quieto.config.jsonSummarize the changes:
- Which token values changed
- How many tokens were affected
- Whether any semantic mappings shifted
- If themes were regenerated
5. Validate
Run the audit to ensure the update didn't introduce issues:
npx quieto-tokens inspectIf the user has component tokens, verify their references are still valid — a brand color change cascades through the semantic layer but component refs should remain stable since they point to semantic names, not primitive values.
6. Suggest follow-ups
- If the user changed colors, suggest running
/design-token-contrastto verify AA compliance with the new palette - If the change affects a live project, suggest running
/design-token-migrateto catch any hardcoded values that should use the updated tokens
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

