design-tokens
Skill0 starsChanged 5 months agoApache-2.0View on GitHub
Implement a token and theming system — color, type, space,
21 other projects use a version of this.
Adopted by
Most recently taken up by
- TomSzenessy/AI_TEMPLATEtheir own version, first seen Oct 6, 2026
- dmlguq456/heartingtheir own version, first seen Sep 30, 2026
- mshadmanrahman/claude-for-designerstheir own version, first seen Sep 29, 2026
- yogvidwankhede/vishwakarmatheir own version, first seen Sep 26, 2026
- darkroomengineering/cc-settingstheir own version, first seen Sep 24, 2026
- DanielNoamTuby/claude-skillstheir own version, first seen Sep 20, 2026
Used with
Projects with it also use brief-to-tasks, information-architecture and 6 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 4 projects that use this
fefogarciaSkillinformation-architecture
Use when organizing content for digital products, designing navigation systems, restructuring information hierarchies, improving findability, creating taxonomies or metadata schemas, or when users mention information architecture, IA, sitemap, navigation design, content structure, card sorting, tree testing, taxonomy, findability, or need help making information discoverable and usable.
Also in 5 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 3 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 4 projects that use this
AICreator-WindSkilldesign-review
编码设计师工具。设计审计和修复。
Also in 9 projects that use this
AnthropicSkilldesign-system
Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.
Also in 3 projects that use this
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- plugin87/ux-ui-agent-skills★ 1.5ksame name
- julianoczkowski/designer-skills★ 574same name
- glebis/claude-skills★ 387same name
- dylanfeltus/skills★ 179same name
- marcusgoll/Spec-Flow★ 94same name
- darkroomengineering/cc-settings★ 47same name
- mshadmanrahman/claude-for-designers★ 32same name
- f0d010c/stark★ 29same name
- ilikescience/design-tokens-skill★ 15same name
- piyushverma0/android-agent-skills★ 15same name
11 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 repository128 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-implementationSkill
- accessibility-reviewSkill
- api-changelogSkill
- api-designSkill
- auth-designSkill
- caching-strategiesSkill
- chaos-experiment-designSkill
- ci-cd-pipelinesSkill
- cli-designSkill
- cloudformation-reviewSkill
- codebase-orientationSkill
- code-commentsSkill
- code-reviewSkill
- commit-messagesSkill
- container-reviewSkill
- database-indexingSkill
- database-migrationsSkill
- debuggingSkill
- dependency-upgradesSkill
- design-system-contributionSkill
- desktop-releaseSkill
- error-handlingSkill
- feature-flagsSkill
- finops-reviewSkill
- frontend-performanceSkill
- git-conflict-resolutionSkill
- graphql-schema-designSkill
- helm-chart-scaffoldingSkill
- i18n-reviewSkill
- kubernetes-reviewSkill
- load-test-planningSkill
- logging-observabilitySkill
- message-queue-designSkill
- migration-playbooksSkill
- mobile-releaseSkill
- multi-region-active-activeSkill
- observability-alertsSkill
- openapi-spec-designSkill
- partner-api-integrationSkill
- performance-reviewSkill
- pr-descriptionsSkill
- prompt-injection-hardeningSkill
- pulumi-reviewSkill
- rate-limitingSkill
- refactor-planningSkill
- secrets-managementSkill
- security-reviewSkill
- sql-query-reviewSkill
- terraform-reviewSkill
- test-generationSkill
- threat-modelingSkill
- webhook-designSkill
- websocket-designSkill
- ab-test-analysisSkill
- anomaly-detectionSkill
- cost-anomaly-investigationSkill
- csv-analysisSkill
- data-cleaningSkill
- data-contract-designSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 82
Never invent brand hex, typefaces, or a marketing palette.
- Distinctive: line 85
Do not put primitive palette steps in component styles.
- Distinctive: line 89
Do not invent Style Dictionary APIs.
“Common” is measured: kept by at least 6 in 10 of the 19 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
Design Tokens
Ship a theme as named values, not hex in components. Primitives hold
palette and scale; semantics name intent; components consume those
via CSS variables. New component APIs, Storybook, and versioning a
primitive belong in design-system-contribution. Stay on the token
graph.
Workflow
- Inventory. Existing tokens, Figma variables, CSS custom properties, Tailwind theme, or hex/magic numbers in code. Reuse names and values already in the system.
- Layers. Primitive (
palette.blue.500,space.4) → semantic (color.text.primary,space.stack.md) → component tokens only when a control must diverge. Components never import primitives. - Groups. Color, type (size / line / weight / family), space, radius, elevation, motion. Same naming pattern in every group.
- Themes. Dark, high-contrast, and density rebind semantics to
different primitives. Same names; no
if (dark) #fffin components. - Runtime. CSS variables from the source. Style Dictionary or DTCG JSON when they need a pipeline or multi-platform output.
- Pairs. Text/bg and icon/surface pairs must meet contrast in every theme. Dark mode is a new check, not invert.
- Migrate. Replace call sites incrementally. List leftover hex.
Layers
| Layer | Holds | Consumed by |
| Primitive | raw palette / scale steps | semantic aliases only |
| Semantic | intent (text.primary, space.stack) | components, CSS |
| Component | optional overrides | that component only |
Output format
## Tokens: <system or surface>
**Source of truth:** existing files / Figma / none (structure only)
**Runtime:** CSS variables | Style Dictionary | other
### Layers
| Layer | Examples | Who may consume |
### Semantic set
| Token | Role | Light | Dark | Contrast pair |
### Scales
type, space, radius, elevation, motion — steps and names
### CSS / pipeline
custom-property names, generation, theme switch (class / data-attr)
### Migration
files to touch, leftover hex, breaking renames
### Open questions
missing brand values — do not fill with invented hexRules
- Semantic tokens in components. Good:
var(--color-bg-surface). Bad:background: #0B1F3Aorpalette.navy.800. - Never invent brand hex, typefaces, or a marketing palette. If the brand is missing, emit token names and ask; neutrals only as labeled placeholders.
- Do not put primitive palette steps in component styles.
- Dark mode changes bindings, not component CSS.
- One spacing scale. No ad-hoc
13px/margin: 17px. - Name by role (
color.text.muted), not appearance (color.gray). - Do not invent Style Dictionary APIs. Describe source → transforms → CSS/JS; match their pipeline if one exists.
- A new Button or Storybook story is
design-system-contribution. Point there; still tokenize pasted hex. - Contrast pairs travel with the token, not as a follow-up.
Edge cases
- No brand file: propose the graph and CSS variable contract;
leave values as
[missing — ask brand]— never a guessed hex. - Component request: "add a Button to the design system" →
design-system-contribution. Offer tokens only if theming is in scope. - A11y audit: contrast of existing UI is
accessibility-review. Token pairing for a theme stays here. - Tailwind / CSS-in-JS / native: map the same semantics; do not fork a second palette.
- Forced-colors / high-contrast: extra theme or system colors; invert is not enough.
- Breaking rename: alias the old name; do not silently swap hex.
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.

