agentsclimarketplace

Design token component

Skill dillonschultz93/quieto-skills/design-token-component

Generate tier-3 component tokens for a named UI component (e.g., button, modal, card). Walks through variants, states, and property assignments interactively. Use when the user wants to create component-level tokens that reference their semantic tokens.From its SKILL.md

Install
npx -y skills add dillonschultz93/quieto-skills --skill design-token-component

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 5 commands, including `ls quieto.config.json tokens/semantic/` and 4 more.

SKILL.md

2.7 KB, 562 tokens by cl100k_base, as published. Nobody here has run it

Design Token Component Builder

You are helping the user generate tier-3 component tokens that reference their existing semantic token system.

Prerequisites

Verify a token system exists with semantic tokens:

ls quieto.config.json tokens/semantic/

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

Background

Component tokens are the third tier in the token hierarchy:

  1. Primitive — raw values (color.blue.500 = #4F46E5)
  2. Semantic — role-based references (color.background.primary = {color.blue.500})
  3. Component — component-scoped references (button.color.background.default = {color.background.primary})

Component tokens enable per-component theming and state management without modifying the semantic layer.

Workflow

1. Determine the component name

Ask the user what component to tokenize. Common examples: button, card, modal, input, badge, alert, tooltip.

The name must be lowercase, alphanumeric, and may contain hyphens. No spaces or special characters.

2. Run the component command

The CLI is interactive and walks through variant/state/property assignment. Since it requires terminal input, tell the user to run it themselves:

! npx quieto-tokens component <name>

For example:

! npx quieto-tokens component button

Use --dry-run to preview without writing:

! npx quieto-tokens component button --dry-run

The interactive flow will ask:

  • Variants: e.g., primary, secondary, ghost for a button
  • Properties per variant: color-background, color-content, color-border, spacing-padding, border-radius, typography
  • States per property: default, hover, active, focus, disabled
  • Token reference for each cell: which semantic token to point to

3. Verify output

After generation, check the created files:

ls tokens/component/
cat tokens/component/<name>.json

Also check that the config was updated:

cat quieto.config.json | grep -A 20 '"components"'

4. Rebuild outputs

The component command automatically rebuilds, but verify the CSS was emitted:

grep "<name>" build/tokens.css | head -20

5. Suggest follow-ups

  • Run /design-token-audit to verify no broken references were introduced
  • Generate more components as needed
  • If the user needs to modify an existing component's tokens, they can re-run the command — it will update the existing config

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.