Design tokens css
Portable agent skills for desktop apps, programming, UI, and web design - Codex, Claude, Cursor, Grok. English SKILL.md playbooks (Photino, Inno, CI, landings).
npx -y skills add swd3k/skills --skill design-tokens-cssAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 19 days oldThe repository was created 19 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 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.
What its author says it does
Copied from the file, not written here
Define and apply a small design token set (color, space, type, radius, elevation) for consistent UI. Use when starting a design system or cleaning inconsistent spacing/colors.
SKILL.md
0.9 KB, 251 tokens by cl100k_base, as published. Nobody here has run it
Design Tokens (CSS)
Minimal set
- Color: bg, surface, text, muted, accent, danger, success, border
- Space: 4, 8, 12, 16, 24, 32, 48
- Type: 12, 14, 16, 20, 28 / weights 400–700
- Radius: 6, 10, 14, full
- Elevation: e1 hairline, e2 soft shadow
- Motion: 120ms, 200ms, 320ms — ease-out
Usage
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: var(--space-4);
box-shadow: var(--elev-2);
}
Rules
- No random
13px/#3a3a3ain components - Semantic names (
--danger) over raw (--red-500) in app code - Document tokens in one file
Acceptance
- New component can be built without new colors
Gives 0 of the 12 instructions most css styling skills give in 251 tokens
Counted across 586 of the 596 authors here whose files we hold, read 2026-08-06
- avoid excessive centered layoutsin 55 of 586, across 12 files
- bundle code into single HTML filein 54 of 586, across 14 files
- Respect prefers-reduced-motion user settingsin 52 of 586, across 35 files
- avoid purple gradientsin 51 of 586, across 11 files
- avoid uniform rounded cornersin 51 of 586, across 11 files
- avoid Inter fontin 51 of 586, across 11 files
- edit generated files to develop artifactin 50 of 586, across 10 files
- animate only transform and opacity propertiesin 43 of 586
- Make touch targets at least 44x44 pixelsin 41 of 586, across 15 files
- Ensure minimum color contrast of 4.5:1in 39 of 586, across 10 files
- use tailwind cssin 39 of 586, across 24 files
- Use SVG icons instead of emojisin 38 of 586, across 11 files
Said here and by no other author read
- use semantic names in components
- document tokens in one file
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.