Agent skill

Humane Design Tokens Skill: DTCG Tokens and Contrast

The humane design-tokens skill lets your AI coding agent validate and resolve DTCG 2025.10 tokens, export CSS, and measure every text and background pair on APCA Lc and the WCAG ratio.

Install
npx skills add glebis/humane-agentic-design
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the humane design-tokens skill?

The design-tokens skill from glebis/humane-agentic-design manages DTCG 2025.10 design tokens with a dependency free Python core. Your AI coding agent scaffolds, validates, merges, resolves and exports them to CSS, and it owns contrast measurement on both APCA Lc and the WCAG ratio.

The design-tokens skill is one of 21 design method skills in glebis/humane-agentic-design. It manages DTCG 2025.10 design tokens with a dependency free Python core that scaffolds, validates, merges, resolves aliases and exports CSS.

It supports the color, dimension, duration, fontFamily, fontWeight, number, typography and shadow types. Outputs are CSS custom properties, a Google Labs DESIGN.md in alpha, a standalone HTML preview and generation prompts.

Layering and storage

A global base and a project override merge into one set, and a theme is one override file merged before use. This layering is a convention of the skill and is not part of the DTCG standard.

Token files are kept visible and committed. Global sets live at ~/design-tokens/<set>/base.tokens.json, and a single set project keeps design.tokens.json and DESIGN.md at the project root.

Contrast measurement

The skill owns all contrast measurement. The tokens contrast command reports every text and background pair on APCA Lc and the WCAG ratio, with body text at Lc 75 or 4.5:1 and non body text at Lc 60 or 3:1.

A suggested fix moves OKLCH lightness only, so the brand hue survives. Pairs can be declared in a community.design-tokens.contrast extension, and colors that cannot be parsed are listed as not measured.

Brand direction and generation prompts

A brand block in the token file holds mood, imageryStyle, subjects, avoid and negativePrompt. The prompt door turns resolved tokens into gpt-image-2 and nano-banana command lines and a tufte report theme.

Who the humane design-tokens skill is for

Best for

  • Defining a token set globally or per project and compiling it to CSS variables.
  • Checking whether a palette is readable on both APCA and WCAG scales before it ships.
  • Producing an on-brand DESIGN.md or context file for other generation skills.

Not for

  • A UI framework or an automatic workflow engine; the repository states it is neither.