design-token-category-add
Skill1 starsChanged 7 months agoMITView on GitHub
Add a new token category (shadow, border, or animation) to an existing token system. Prompts for category-specific inputs and generates the token files. Use when the user wants to extend their token system beyond color, spacing, and typography.
In this repository6 other files it gives its agents.
- design-token-auditSkill
- design-token-componentSkill
- design-token-contrastSkill
- design-token-initSkill
- design-token-migrateSkill
- design-token-updateSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Verify a token system exists:
- Very specific: line 18
If not found, tell the user to run /design-token-init first.
- Distinctive: line 20
Check which categories are already configured:
- Distinctive: line 35
If the user specified one, confirm it.
- Very specific: line 61
Use --dry-run to preview:
- Distinctive: line 85
Check the new token files and updated config:
- Very specific: line 94
Run /design-token-audit to verify the new tokens are healthy
- Very specific: line 95
Use /design-token-component to wire the new category into component tokens
- Distinctive: line 96
Add another category if needed
≈ “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 Category Add
You are helping the user extend their token system with additional categories.
Prerequisites
Verify a token system exists:
ls quieto.config.json tokens/If not found, tell the user to run /design-token-init first.
Check which categories are already configured:
cat quieto.config.json | grep -A 5 '"categories"'The core categories (color, spacing, typography) are always present after init. The addable categories are:
- shadow — elevation/depth tokens (box-shadow)
- border — width and radius tokens
- animation — duration and easing tokens
Workflow
1. Determine which category to add
If the user specified one, confirm it. If not, ask which they'd like. Explain what each provides:
- Shadow: generates elevation levels (1-6) with configurable color reference, blur/spread profile (soft or hard). Produces
box-shadowcomposite tokens. - Border: generates width steps and radius steps with an optional pill (9999px) marker. Produces
dimensiontokens for border-width and border-radius. - Animation: generates duration steps and an easing curve preset (standard, emphasized, or decelerated). Produces
durationandcubicBeziertokens.
2. Run the add command
The CLI is interactive for category-specific inputs. Tell the user to run it:
! npx quieto-tokens add <category>For example:
! npx quieto-tokens add shadowOr without specifying a category (the CLI will present a menu):
! npx quieto-tokens addUse --dry-run to preview:
! npx quieto-tokens add shadow --dry-run3. Category-specific inputs
Shadow will ask for:
- Number of elevation levels (2-6)
- Shadow color reference (a DTCG ref like
{color.neutral.900}) - Profile:
soft(airy, larger blur) orhard(crisp, tight blur)
Border will ask for:
- Width steps (pixel values, e.g., 1, 2, 4)
- Radius steps (pixel values, e.g., 2, 4, 8, 16)
- Whether to include a pill radius (9999px for fully rounded elements)
Animation will ask for:
- Duration steps (milliseconds, e.g., 100, 200, 300, 500)
- Easing preset:
standard,emphasized, ordecelerated
4. Verify output
Check the new token files and updated config:
ls tokens/primitive/
cat quieto.config.json | grep -A 5 '"categories"'5. Suggest follow-ups
- Run
/design-token-auditto verify the new tokens are healthy - Use
/design-token-componentto wire the new category into component tokens - Add another category if needed
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.

