design-tokens
Skill0 starsChanged 4 months agoMITView on GitHub
Design tokens + motion packs — color, type, spacing, animation; emits CSS or a Godot Theme. Use with /design-tokens or a THEME backlog task.
33 other projects use a version of this.
Adopted by
Most recently taken up by
- ainurdev/mystical-assistanttheir own version, first seen Nov 8, 2026
- gitbutlerapp/gitbutlertheir own version, first seen Nov 8, 2026
- dmlguq456/heartingtheir own version, first seen Nov 8, 2026
- Aboudjem/ui-ux-suitetheir own version, first seen Nov 8, 2026
- drinkspiller/skillstheir own version, first seen Nov 6, 2026
- TomSzenessy/AI_TEMPLATEtheir own version, first seen Nov 6, 2026
Used with
Projects with it also use brief-to-tasks, design-flow and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
julianoczkowskiSkillbrief-to-tasks
Break a design brief into an ordered checklist of independently buildable tasks using vertical slices. Saves as a markdown checklist. Use when user wants to break down work, create tasks from a brief, plan implementation order, or mentions "tasks" or "breakdown".
Also in 7 projects that use this
julianoczkowskiSkilldesign-flow
Run the full design-to-build workflow as a guided sequence. Orchestrates all designer skills in order, from grilling through review. Use when user wants to go through the complete design process, start a project from scratch, run the full flow, or mentions "design flow" or "full workflow".
Also in 6 projects that use this
45ckSkillinformation-architecture
Define the information architecture for a prototype -- sitemap, navigation model, grouping logic, labeling, and action placement.
Also in 10 projects that use this
nandanosqlSkilldesign-brief
Create a design brief that clearly communicates the product context, user needs, constraints, and success criteria to the design team — bridging PM requirements and design execution.
Also in 8 projects that use this
solinkzSkillmicro-interactions
Expert micro-interaction architect for mobile apps, web applications, and responsive websites. Use this skill when the user asks to add, build, fix, audit, or consult on micro-interactions, animations, transitions, motion design, gesture feedback, haptics, loading states, skeleton screens, pull-to-refresh, swipe actions, scroll animations, button states, form validation feedback, toast notifications, modals, dropdowns, toggles, progress indicators, shared element transitions, spring physics, easing curves, motion tokens, or any interaction that provides visual/haptic/auditory feedback to user actions. Triggers on: "micro-interaction", "animation", "transition", "motion", "easing", "spring", "gesture", "haptic", "feedback", "loading state", "skeleton", "shimmer", "pull to refresh", "swipe", "drag", "hover effect", "press state", "focus ring", "scroll animation", "parallax", "stagger", "orchestration", "reduced motion", "View Transitions", "layout animation", "shared element", "hero animation", "morphing", "Framer Motion", "GSAP", "Lottie", "Rive", "React Spring", "anime.js", or any request to make an interface "feel better", "feel alive", "feel snappy", "feel responsive", or "feel polished".
Also in 3 projects that use this
jpoindexterSkilldesign-system-audit
Audit code for design system violations - grid spacing, tokens, existing components
Also in 3 projects that use this
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- gitbutlerapp/gitbutler★ 22ksame name
- plugin87/ux-ui-agent-skills★ 3.1ksame name
- rommapp/argosy-launcher★ 710same name
- julianoczkowski/designer-skills★ 536same name
- glebis/claude-skills★ 410same name
- dylanfeltus/skills★ 179same name
- marcusgoll/Spec-Flow★ 94same name
- mshadmanrahman/claude-for-designers★ 32same name
- ilikescience/design-tokens-skill★ 15same name
- icons8/agent-skills★ 12same name
23 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- content-rewriteSkill
- content-writeSkill
- core-auditSkill
- core-bootstrapSkill
- core-commitSkill
- core-explainSkill
- core-finalizeSkill
- core-orchestrateSkill
- core-pullSkill
- core-setupSkill
- core-updateSkill
- design-convertSkill
- design-shipSkill
- dev-inspectSkill
- dev-learnSkill
- dev-manualSkill
- dev-optimizeSkill
- dev-securitySkill
- dev-shipSkill
- dev-tweakSkill
- game-debugSkill
- game-optimizeSkill
- game-shipSkill
- game-tweakSkill
- marketing-contentSkill
- marketing-researchSkill
- marketing-screenshotsSkill
- project-addSkill
- project-appSkill
- project-memorySkill
- project-planSkill
- project-removeSkill
- project-researchSkill
- project-seedSkill
- project-syncSkill
- project-todoSkill
- project-tunnelSkill
- team-issuesSkill
- team-outsourceSkill
- team-reviewSkill
- team-verifySkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 30 edited versions we read keep these.
3
Distinctive
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 104
If user picks "Yes — let me recommend":
- Very specific: line 234
After successful Create/Update/Extract/Modes:
- Very specific: line 267
After the report, present a visual token gallery (web domain only — game tokens render as a Godot Theme, not in a browser):
- Distinctive: line 275
Never create or overwrite a theme without user confirmation
- Distinctive: line 276
Never skip pre-flight or post-flight validation
- Very specific: line 277
Only mutate theme in project.json — leave all other sections untouched
- Very specific: line 278
Run Codebase Sync (PHASE Y) after Create/Update — CSS (web) or Godot Theme .tres (game) per $DOMAIN.
“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tokens
Manages the full design system: vocabulary tokens (colors, typography, spacing, breakpoints, borderRadius, shadows, base motion, interactions, modes, cssVars) and motion packs (animation pack, spring physics, choreography, glass surfaces). Output lives in .project/project.json → theme.
Keywords: animation, motion, pack, spring, iOS, Apple, Material, Fluent, Carbon, glass, vibrancy, choreography, micro-interactions, easing, playful, transitions, hover, press, entrance, delight, styleguide, PDF, brand intake
Related skills: /design-convert · /design-ship
References — Tokens
references/THEME_TEMPLATE.md— Token categories, naming conventions, JSON schema, Read/Write protocol../shared/DOMAIN.md— Domain resolution (web / game / native) — which renderer to emitreferences/emit-godot.md— Game-domain emitter: tokens → Godot Theme.tres(loaded when$DOMAIN === "game")references/phase-1-action-select.md— Action selection menus (Tokens + Motion routes)references/route-research.md— Optional colour-landscape research (Create route § Step 1) — spawnsreferences/workflows/token-research.jsreferences/token-explorer.html— Interactive token explorer (Create route Steps 1/2/3/6) — tabs: colour · type · spacing · motion; theme-driven, dark/light../shared/DASHBOARD.md— project.json full schema../shared/DESIGN.md— Color advice, typography, motion anti-patterns, glass surface rules../shared/BACKLOG.md— Backlog lifecycle protocol- External:
vercel-labs/web-interface-guidelines— setup-context for Create route (seereferences/route-create.md § Step 0)
References — Motion
references/motion/packs.md— Pack definitions + source credits (source of truth)references/motion/route-create.md— Pick packreferences/motion/route-customize.md— Axis-by-axis customisationreferences/motion/route-apply.md— Emit CSS vars to codebasereferences/motion/ios-easings.md— Apple iOS/macOS easing curves (Apple pack)references/motion/material-motion.md— Material Design 3 curves + duration scale (Standard pack)references/motion/fluent-motion.md— Microsoft Fluent 2 curves (Customize opt-in)references/motion/carbon-motion.md— IBM Carbon entrance/exit curves (Customize opt-in)references/motion/web-baseline.md— Linear/GitHub/Vercel curves (Subtle pack)references/motion/spring-math.md— Spring physics conversion + library mappingreferences/motion/choreography.md— Named compositions per packreferences/motion/preview-template.html— Preview HTML template
State Machine
[*] → PREFLIGHT
PREFLIGHT → ACTION_SELECT (pass)
PREFLIGHT → ERROR (fail)
ACTION_SELECT → TOKENS_CREATE (route: Create)
ACTION_SELECT → TOKENS_VIEW (route: View)
ACTION_SELECT → TOKENS_STYLEGUIDE (route: Extract from styleguide — PDF / image / URL)
ACTION_SELECT → TOKENS_UPDATE (routes: Update / Extract from code / Modes / Delete)
ACTION_SELECT → TOKENS_FILL_IN (route: Fill-In — missing sections)
ACTION_SELECT → MOTION_CREATE (route: Motion Pack — pick pack)
ACTION_SELECT → MOTION_CUSTOMIZE (route: Motion — axis-by-axis)
ACTION_SELECT → MOTION_PREVIEW (route: Motion — generate preview HTML)
ACTION_SELECT → MOTION_APPLY (route: Motion — emit CSS vars)
ACTION_SELECT → MOTION_VIEW (route: Motion — display pack summary)
ACTION_SELECT → MOTION_DELETE (route: Motion — remove pack)
TOKENS_* / MOTION_* → POSTFLIGHT → COMPLETE → [*]
TOKENS_CREATE → MOTION_CREATE (optional inline handoff via Step 9 — skips ACTION_SELECT)
VIEW / MOTION_VIEW / MOTION_PREVIEW → [*] (read-only, no state change)
POSTFLIGHT → RECOVER → PREFLIGHT (on failure)PHASE 0: Pre-flight Validation
PRE-FLIGHT CHECK
════════════════════════════════════════════════- Directory — verify
.project/exists or create it. →Directory: [✓|✗] .project/ — [exists | created | error] - Session — read
.project/session/devinfo.json. →Session: [✓] [New session | Continuing from {skill}] - Conflict (Create/Update) — read
.project/project.json→ checkthemesection. →Conflicts: [✓ empty | ⚠ has data | ✗ file missing]Setup context age (all routes except Create): iftheme.setupContext[]has an entry withappliedBystarting with"design-tokens@", computenow − fetchedAt. If > 180 days → print one non-blocking line:⚠ Setup context is from {date} ({n} days old). Vercel guidelines may have evolved — consider re-running Create or syncing manually. - Backlog — per
shared/BACKLOG.md → Lifecycle Protocol → Read.- Primary filter (dashboard flow):
type === "THEME" && transition === "defining"→ pick up silently, settaskName. - Fallback (manual run — no transition match): if exactly one
type === "THEME" && status === "TODO"task exists, AskUserQuestion: "Backlog has an open THEME task '{name}'. Link this run and mark it DONE on success?" → "Yes — link task" (settaskName) / "No — standalone run". (Skip the question when 0 such tasks, or when the primary filter already matched.) →Backlog: [✓ Task picked up — {taskName} | ✓ Linked manual task — {taskName} | ✓ Standalone run]
- Primary filter (dashboard flow):
- Pack rename check — if
theme.motion.pack === "expressive":"Your project uses the old pack name
expressive. This has been renamed toapple. Rename now? (Yes — updates onlytheme.motion.pack, all other keys stay identical)" If confirmed: writetheme.motion.pack = "apple"and continue. MIGRATE_OFFER — if
theme.motion.packis absent butmotion.durations[]ormotion.easings[]exist:"Your project has base motion tokens but no animation pack. Pick a pack now? Options: Yes — let me recommend / No, start fresh / Skip (keep pack-less)"
If user picks "Yes — let me recommend":
- Strong signals (use directly):
ease-ios-*or spring tokens → Apple ·ease-md-*or Material tokens → Standard ·ease-fluent-*→ Customize from Fluent ·ease-carbon-*→ Customize from Carbon. - Weak signals (ease-out/in/in-out alone are Tailwind defaults — they don't reveal project character): ask one question before recommending:
"What character fits the project? Restrained corporate / Premium with motion / Playful / Material-style / Don't know — show me options."
- Map: Restrained → Subtle · Premium → Apple · Playful → Playful · Material → Standard · Don't know → show pack summary table from
references/motion/packs.md.
- Strong signals (use directly):
- Domain resolution — resolve
$DOMAINpershared/DOMAIN.md(explicittheme.domain→ infer fromstack.framework/language→ codebase fallback → ask). Write the resolved value back totheme.domainwhen inferred.native→ print the fallback line and continue spec-only. →Domain: [✓ web | ✓ game | ⚠ native (spec-only)] - Stack detection (web domain only — skip when
$DOMAIN === "game") — readpackage.json→ detect motion library:motionorframer-motion→$HAS_MOTION_LIB=true,$STACK_TYPE=motion.devmotion-v→$STACK_TYPE=motion-vsvelte→$STACK_TYPE=svelte- None →
$HAS_MOTION_LIB=false,$STACK_TYPE=css - Game domain →
$STACK_TYPE=godot(motion tokens emit tomotion_tokens.gd, seereferences/emit-godot.md).
════════════════════════════════════════════════
Status: [→ Ready | ⚠ Warning: {issue} | ✗ Cannot proceed]
════════════════════════════════════════════════On failure → AskUserQuestion: "Fix and retry (Recommended)" / "Continue anyway" / "Cancel".
PHASE 1: Action Selection
Todo: Read
.claude/skills/design-tokens/references/phase-1-action-select.md
PHASE 2: Action Execution
Tokens routes
Route: Fill-In (Missing Sections)
Todo: Read
.claude/skills/design-tokens/references/route-fill-in.md
Route: Create (New Theme)
Todo: Read
.claude/skills/design-tokens/references/route-create.md
Route: View
Todo: Read
.claude/skills/design-tokens/references/route-view.md
Token Drift Check (shared helper)
Todo: Read
.claude/skills/design-tokens/references/token-drift.md
Route: Extract from styleguide (PDF / image / URL)
Todo: Read
.claude/skills/design-tokens/references/route-styleguide.md
Routes: Update, Extract from code, Modes, Delete
Todo: Read
.claude/skills/design-tokens/references/route-secondary.md
Motion routes
Route: Create / Pick Pack
Todo: Read
.claude/skills/design-tokens/references/motion/route-create.md
Route: Customize (axis-by-axis)
Todo: Read
.claude/skills/design-tokens/references/motion/route-customize.md
Route: Preview
Generate .project/previews/design-tokens-motion.html from references/motion/preview-template.html populated with current theme.motion + theme.surfaces values, then auto-open it in the browser.
Todo: Read
.claude/skills/design-tokens/references/motion/preview-template.htmland populate with current values. Then present thatfile://path via.claude/skills/shared/HTML-PRESENT.md(auto-opens in the browser).
Route: Apply to codebase
Branch on $DOMAIN (from PREFLIGHT):
- web → emit CSS vars to the codebase.
Todo: Read
.claude/skills/design-tokens/references/motion/route-apply.md - game → emit motion tokens to
motion_tokens.gd(Theme carries no motion).Todo: Read
.claude/skills/design-tokens/references/emit-godot.md(§ Motion autoload) - native → spec-only, no emit (see
shared/DOMAIN.md).
Route: View (Motion)
Display current pack state:
Pack: {name}
Source: {source — see motion/packs.md}
Axes: expressiveness={x} · springiness={x} · tempo={x} · surfaces={x}
Springs: {n} tokens
Easings: {list}
Choreography: entrance={x} · exit={x} · success={x} · attention={x} · error={x}
Glass surfaces: enabled={true/false} · blur={x} · vibrancy={true/false}
Stack: {stack type}Route: Delete (Motion)
Reset motion.pack = "", motion.axes = {}, motion.spring = [], motion.choreography = {}, surfaces.glass.enabled = false. Prompt confirmation first.
PHASE X: Post-flight Validation + X.6 Theme Infrastructure Sync
Todo: Read
.claude/skills/design-tokens/references/postflight-validation.md
PHASE Y: Codebase Sync (Create/Update only)
Branch on $DOMAIN:
- web → sync CSS vars / token files into the web codebase.
Todo: Read
.claude/skills/design-tokens/references/website-sync.md - game → generate the Godot
Theme.tres(+ dark variant, fonts, motion autoload) and record paths intheme.godotTheme.Todo: Read
.claude/skills/design-tokens/references/emit-godot.md - native → skip (spec-only; no renderer yet).
Output Format
After successful Create/Update/Extract/Modes:
THEME [CREATED/UPDATED/DELETED]
Location: .project/project.json (theme section)
| Category | Tokens |
| ------------- | ----------------------------------------------------------- |
| Domain | {web / game / native} |
| Colors | {N} (main: {n}, accent: {n}, semantic: {n}) |
| Typography | {N} (families: {n}, sizes: {n}) |
| Spacing | {N} |
| Breakpoints | {N} |
| Border Radius | {N} |
| Shadows | {N} |
| Motion | {N} (durations: {n}, easings: {n}) |
| Motion Pack | {pack name / none} (springs: {n}, choreography: {n}) |
| Surfaces | glass={enabled/disabled} |
| Interactions | {N} (focusRing, hover, active) |
| Modes | {light/dark/both} |
| Export | web: CSS Vars {present/missing} · game: Theme `.tres` {path} |
{Backlog: ✓ Task "{taskName}" → DONE}
Next steps:
1. /design-convert {page} → build a page with these tokens
2. /design-convert → convert a sketch or design with these tokens
3. /design-tokens → motion pack → set spring physics, choreography, glass (if not yet done)
4. /design-tokens → Extract from styleguide (if you have a brand PDF or URL with remaining tokens)
5. /design-ship → build + runtime check (performance, SEO, accessibility)After the report, present a visual token gallery (web domain only — game tokens render as a Godot Theme, not in a browser):
Todo: if
$DOMAIN === "web"(from PREFLIGHT) and no equivalent token preview was already presented this session (e.g. the Step 1 colour explorer covering the same theme): render.claude/skills/shared/references/preview-tokens.htmlto.project/previews/design-tokens-{themeName-or-"theme"}.html— fill thepreview-dataJSON block with the fullthemeobject fromproject.json— then present thatfile://path via.claude/skills/shared/HTML-PRESENT.md(auto-opens in the browser). Otherwise skip.
Restrictions
- Never create or overwrite a theme without user confirmation
- Never skip pre-flight or post-flight validation
- Only mutate
themein project.json — leave all other sections untouched - Run Codebase Sync (PHASE Y) after Create/Update — CSS (web) or Godot Theme
.tres(game) per$DOMAIN; follow Backlog lifecycle protocol throughout
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.

