design-system-patterns

Verified·Scanned 2/19/2026

Foundational design system architecture — token hierarchies, theming infrastructure, token pipelines, and governance. Use when creating design tokens, implementing theme switching, setting up Style Dictionary, or establishing multi-brand theming. Triggers on design tokens, theme provider, Style Dictionary, token pipeline, multi-brand theming, CSS custom properties architecture.

from clawhub.ai·v2e8b027·49.6 KB·0 installs
Scanned from 1.0.0 at 2e8b027 · Transparency log ↗
$ vett add clawhub.ai/wpank/design-system-patterns

Design System Patterns

Foundational design system architecture — token hierarchies, theming infrastructure, token pipelines, and governance. The structural backbone for scalable, multi-brand design systems.

What's Inside

  • Three-layer token hierarchy (primitive → semantic → component)
  • Theme switching with React (light/dark/system, localStorage, FOUC prevention)
  • Multi-brand theming for white-label products
  • Style Dictionary pipeline (CSS, iOS Swift, Android XML)
  • Accessibility tokens (reduced motion, high contrast, forced colors)
  • Token naming conventions and governance process
  • Common pitfalls and best practices

When to Use

  • Defining token architecture (primitive → semantic → component layers)
  • Implementing light/dark/system theme switching with React
  • Setting up Style Dictionary or Figma-to-code token pipelines
  • Building multi-brand theming systems
  • Establishing token naming conventions and governance
  • Preventing flash of unstyled content (FOUC) in SSR

Installation

npx add https://github.com/wpank/ai/tree/main/skills/design-systems/design-system-patterns

Manual Installation

Cursor (per-project)

From your project root:

mkdir -p .cursor/skills
cp -r ~/.ai-skills/skills/design-systems/design-system-patterns .cursor/skills/design-system-patterns

Cursor (global)

mkdir -p ~/.cursor/skills
cp -r ~/.ai-skills/skills/design-systems/design-system-patterns ~/.cursor/skills/design-system-patterns

Claude Code (per-project)

From your project root:

mkdir -p .claude/skills
cp -r ~/.ai-skills/skills/design-systems/design-system-patterns .claude/skills/design-system-patterns

Claude Code (global)

mkdir -p ~/.claude/skills
cp -r ~/.ai-skills/skills/design-systems/design-system-patterns ~/.claude/skills/design-system-patterns

Related Skills

  • design-system-components — CVA variant patterns and Surface primitives
  • distinctive-design-systems — Aesthetic documentation and visual identity
  • theme-factory — Pre-built theme palettes for artifacts

Part of the Design Systems skill category.