Individual skill
design-tokens
Sets up, validates, resolves, and exports design tokens per the DTCG (Design Tokens Community Group) Format Module 2025.10 standard, and owns all colour contrast measurement and remediation — every text/background pair on both APCA Lc and the WCAG ratio via `tokens contrast`, with a fix that moves OKLCH lightness only. Use when the user wants to define a design token set globally or per project, compile tokens to CSS variables, layer a project's tokens over a global brand base, check whether a palette is readable, or produce an on-brand context file for other generation skills. Triggers on "set up design tokens", "create a token set", "compile tokens to CSS", "design system variables", "brand tokens", "check contrast", "WCAG", "APCA", "is this text readable", "contrast audit", "проверь контраст".
humane/skills/design-tokens/SKILL.md
Source commit e7d867ddcc8cb5a34ecf5eaacaee8fc5aa117c93
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 41
- Repository last updated
- Oct 15, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- accessibility Repository topic
- agent-skills Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- codex Repository topic
- design-systems Repository topic
- product-design Repository topic
- ux-design Repository topic
- design Derived category
- marketing Derived category
- security Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 18,111 bytesSKILL.mdcore · 18,111 bytesSKILL.mdcore · 18,111 bytesSKILL.mdcore · 18,111 bytesSPEC-imagegen.mddoc · 3,607 bytesagents/openai.yamlasset · 127 bytesconftest.pyruns · 165 bytesexamples/dali-museum/DESIGN.mddoc · 2,722 bytesexamples/dali-museum/dali-museum.tokens.jsonasset · 2,670 bytesexamples/dali-museum/image-prompts.mddoc · 4,176 bytesexamples/dali-museum/landing/index.htmlasset · 25,489 bytesexamples/dali-museum/preview-full.htmlasset · 8,655 bytesexamples/dali-museum/preview.htmlasset · 7,325 bytesexamples/dali-museum/tokens.cssasset · 1,486 bytesexamples/dali-museum/tufte-theme.cssasset · 1,105 bytesexamples/gsap/DESIGN.mddoc · 11,788 bytesexamples/halcyon/halcyon.tokens.jsonasset · 1,422 bytesexamples/halcyon/images/halcyon-bauhaus.jsonasset · 577 bytesexamples/halcyon/images/halcyon-bauhaus.pngasset · 1,695,518 bytesexamples/halcyon/images/halcyon-editorial.jsonasset · 581 bytesexamples/halcyon/images/halcyon-editorial.pngasset · 766,408 bytesexamples/halcyon/images/halcyon-isometric.jsonasset · 581 bytesexamples/halcyon/images/halcyon-isometric.pngasset · 1,509,833 bytesexamples/halcyon/images/halcyon-poster.jsonasset · 575 bytesexamples/halcyon/images/halcyon-poster.pngasset · 1,036,375 bytesexamples/halcyon/images/icon-book.jsonasset · 721 bytesexamples/halcyon/images/icon-book.pngasset · 1,439,079 bytesexamples/halcyon/images/icon-compass.jsonasset · 745 bytesexamples/halcyon/images/icon-compass.pngasset · 1,461,174 bytesexamples/halcyon/images/icon-hourglass.jsonasset · 736 bytesexamples/halcyon/images/icon-hourglass.pngasset · 1,425,827 bytesexamples/halcyon/images/icon-lighthouse.jsonasset · 749 bytesexamples/halcyon/images/icon-lighthouse.pngasset · 1,473,397 bytesexamples/halcyon/images/icon-mountain.jsonasset · 747 bytesexamples/halcyon/images/icon-mountain.pngasset · 1,456,900 bytesexamples/halcyon/images/icon-sprout.jsonasset · 746 bytesexamples/halcyon/images/icon-sprout.pngasset · 1,659,278 bytesexamples/halcyon/resolved/DESIGN.mddoc · 1,278 bytesexamples/halcyon/resolved/image-prompts.mddoc · 3,401 bytesexamples/halcyon/resolved/preview.htmlasset · 4,336 bytesexamples/halcyon/resolved/tokens.cssasset · 761 bytesexamples/halcyon/resolved/tufte-theme.cssasset · 1,042 bytesexamples/halcyon/style-explore.htmlasset · 52,447 bytesexamples/monaspace/block-prompts.mddoc · 19,122 bytesexamples/monaspace/monaspace.htmlasset · 27,320 bytesexamples/monaspace/resolved/DESIGN.mddoc · 2,000 bytesexamples/monaspace/resolved/image-prompts.mddoc · 3,671 bytesexamples/monaspace/resolved/preview-full.htmlasset · 8,192 bytesexamples/monaspace/resolved/preview.htmlasset · 6,143 bytesexamples/monaspace/resolved/tokens.cssasset · 1,428 bytesexamples/monaspace/resolved/tufte-theme.cssasset · 1,157 bytesexamples/monaspace/showcase-blocks.htmlasset · 29,310 bytesexamples/monaspace/showcase.DESIGN.mddoc · 5,363 bytesexamples/monaspace/showcase.tokens.cssasset · 2,673 bytesexamples/monaspace/showcase.tokens.jsonasset · 6,191 bytesexamples/universal/DESIGN.mddoc · 4,121 bytesexamples/universal/PRODUCT.mddoc · 3,974 bytesexamples/universal/README.mddoc · 2,998 bytesexamples/universal/base.tokens.jsonasset · 5,497 bytesexamples/universal/blocks.htmlasset · 17,183 bytesexamples/universal/ink-art/a1-brackets-grid.jsonasset · 382 bytesexamples/universal/ink-art/a1-brackets-grid.pngasset · 235,572 bytesexamples/universal/ink-art/a2-layer-stack.jsonasset · 389 bytesexamples/universal/ink-art/a2-layer-stack.pngasset · 832,173 bytesexamples/universal/ink-art/a3-glyph-nodes.jsonasset · 379 bytesexamples/universal/ink-art/a3-glyph-nodes.pngasset · 929,799 bytesexamples/universal/ink-art/a4-prism-fan.jsonasset · 379 bytesexamples/universal/ink-art/a4-prism-fan.pngasset · 295,136 bytesexamples/universal/ink-art/b1-geometry-bauhaus.jsonasset · 581 bytesexamples/universal/ink-art/b1-geometry-bauhaus.pngasset · 673,686 bytesexamples/universal/ink-art/b2-semicircle.jsonasset · 522 bytesexamples/universal/ink-art/b2-semicircle.pngasset · 661,333 bytesexamples/universal/ink-art/b3-rings.jsonasset · 435 bytesexamples/universal/ink-art/b3-rings.pngasset · 742,400 bytesexamples/universal/ink-art/c1-desk.jsonasset · 892 bytesexamples/universal/ink-art/c1-desk.pngasset · 564,337 bytesexamples/universal/ink-art/c2-stack.jsonasset · 882 bytesexamples/universal/ink-art/c2-stack.pngasset · 434,706 bytesexamples/universal/ink-art/c3-present.jsonasset · 887 bytesexamples/universal/ink-art/c3-present.pngasset · 473,199 bytesexamples/universal/ink-art/c4-book.jsonasset · 887 bytesexamples/universal/ink-art/c4-book.pngasset · 514,839 bytesexamples/universal/ink-art/c5-swatch.jsonasset · 887 bytesexamples/universal/ink-art/c5-swatch.pngasset · 554,855 bytesexamples/universal/ink.cssasset · 2,017 bytesexamples/universal/paper.cssasset · 1,976 bytesexamples/universal/theme-ink.tokens.jsonasset · 1,298 bytesreferences/commands.mddoc · 5,779 bytesreferences/prompt-fidelity-notes.mddoc · 2,139 bytesreferences/providers.mddoc · 5,669 bytesscripts/dtokens/__init__.pyruns · 191 bytesscripts/dtokens/annotate.pyruns · 13,721 bytesscripts/dtokens/brand_summary.pyruns · 5,512 bytesscripts/dtokens/cli.pyruns · 22,150 bytesscripts/dtokens/contrast.pyruns · 32,059 bytesscripts/dtokens/export_css.pyruns · 2,675 bytesscripts/dtokens/export_design_md.pyruns · 15,320 bytesscripts/dtokens/export_preview_html.pyruns · 14,455 bytesscripts/dtokens/export_prompt.pyruns · 9,482 bytesscripts/dtokens/generate.pyruns · 4,909 bytesscripts/dtokens/import_css.pyruns · 2,689 bytesscripts/dtokens/merge.pyruns · 982 bytesscripts/dtokens/model.pyruns · 2,359 bytesscripts/dtokens/resolve.pyruns · 1,571 bytesscripts/dtokens/serve.pyruns · 2,605 bytesscripts/dtokens/validate.pyruns · 6,098 bytesscripts/tokensruns · 297 bytestemplates/base.tokens.jsonasset · 565 bytestemplates/brand-extensions.example.jsonasset · 998 bytestemplates/gsap.tokens.jsonasset · 11,479 bytestemplates/monaspace.tokens.jsonasset · 2,488 bytestests/__init__.pyruns · 0 bytestests/fixtures/design-md-source.tokens.jsonasset · 905 bytestests/fixtures/expected.DESIGN.mddoc · 1,340 bytestests/fixtures/expected.tokens.cssasset · 93 bytestests/fixtures/global.base.tokens.jsonasset · 243 bytestests/fixtures/import-source.cssasset · 336 bytestests/fixtures/project.override.tokens.jsonasset · 79 bytestests/test_annotate.pyruns · 2,772 bytestests/test_brand_summary.pyruns · 2,322 bytestests/test_cli.pyruns · 7,471 bytestests/test_cli_import.pyruns · 1,005 bytestests/test_contrast.pyruns · 25,287 bytestests/test_export_css.pyruns · 3,378 bytestests/test_export_design_md.pyruns · 7,759 bytestests/test_export_preview_html.pyruns · 3,596 bytestests/test_export_prompt.pyruns · 4,129 bytestests/test_generate.pyruns · 3,043 bytestests/test_import_css.pyruns · 1,972 bytestests/test_merge.pyruns · 1,211 bytestests/test_model.pyruns · 1,910 bytestests/test_resolve.pyruns · 1,011 bytestests/test_serve.pyruns · 944 bytestests/test_templates.pyruns · 1,262 bytestests/test_validate.pyruns · 3,822 bytes
Read excerpt
# Design Tokens
**Announce at start:** "I'm using the humane:design-tokens skill to set up, resolve, and export this token set."
Manage [DTCG 2025.10](https://www.designtokens.org/tr/drafts/format/) design tokens
with a dependency-free Python core. v1 covers the deterministic spine: scaffold,
validate, merge (global base + project override), resolve aliases, and export CSS.
## Standard vs convention
- **Standard (DTCG):** `*.tokens.json`, `$value`/`$type`, whole-value `{alias}` references.
- **Skill convention (NOT DTCG):** global-base / project-override layering via `merge`,
and theme-as-override-file. These are labelled in code; do not present them as standard.