agentleFS
dillonschultz93dillonschultz93/quieto-skills/design-token-update/SKILL.md

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.

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
  1. Distinctive:

    Verify a token system and config exist:

    line 12
  2. Very specific:

    If not found, tell the user to run /design-token-init first.

    line 18
  3. Distinctive:

    Read the current config to understand what's configured:

    line 20
  4. Distinctive:

    Dark mode toggle: add or remove dark theme generation

    line 34
  5. Distinctive:

    Always preview changes before writing:

    line 39
  6. Distinctive:

    After the update completes, show what changed on disk:

    line 61
  7. Distinctive:

    If themes were regenerated

    line 73
  8. Distinctive:

    Run the audit to ensure the update didn't introduce issues:

    line 77
  9. Distinctive:

    If the user has component tokens, verify their references are still valid — a brand color change cascades through the semantic layer but …

    line 83
  10. Very specific:

    If the user changed colors, suggest running /design-token-contrast to verify AA compliance with the new palette

    line 87
  11. Very specific:

    If the change affects a live project, suggest running /design-token-migrate to catch any hardcoded values that should use the updated tokens

    line 88

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.json

Workflow

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-run

The 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-run

3. Apply the update

Once the user is satisfied with the preview:

! npx quieto-tokens update

4. Review the diff

After the update completes, show what changed on disk:

git diff tokens/
git diff build/
git diff quieto.config.json

Summarize 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 inspect

If 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-contrast to verify AA compliance with the new palette
  • If the change affects a live project, suggest running /design-token-migrate to catch any hardcoded values that should use the updated tokens

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.