design-system-patterns

Standardize design tokens, theming, and component architecture across products.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/SpinBoxx/turborepo-boilerplate --skill design-system-patterns-spinboxx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-system-patterns
Source: https://github.com/SpinBoxx/turborepo-boilerplate/tree/main/.agents/skills/design-system-patterns
Command: npx skills add https://github.com/SpinBoxx/turborepo-boilerplate --skill design-system-patterns-spinboxx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Design system patterns standardize and scale design tokens, theming, and component APIs across products.

Core Features & Use Cases

  • Design Tokens: Primitive, semantic, and component tokens; multi-platform token generation.
  • Theming Infrastructure: CSS custom properties, theme context, and dynamic switching.
  • Component Architecture: Compound components, polymorphism, variant systems, and slot-based composition.
  • Token Pipeline: Figma-to-code synchronization, Style Dictionary configuration, and CI/CD for token updates.

Quick Start

Define your token hierarchy and theming strategy to begin building your design system.

Frequently Asked Questions about design-system-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure design tokens for a multi-brand design system?

Design tokens are categorized into primitive, semantic, and component levels to standardize UI values. Primitive tokens hold raw values, semantic tokens define contextual meaning, and component tokens target specific UI elements, enabling consistent multi-platform theming and scalable design systems.

What's the best way to synchronize design tokens from Figma to code?

The optimal approach to synchronize design tokens from Figma to code is through a token pipeline using Style Dictionary configuration and CI/CD automation. This pipeline generates cross-platform tokens and ensures Figma-to-code synchronization without manual translation errors.

How do I set up dynamic theming with CSS custom properties for web and mobile?

Set up dynamic theming by mapping CSS custom properties to semantic design tokens and wrapping them in a theme context provider. This infrastructure supports dynamic theme switching across web and mobile platforms without reloading components or duplicating stylesheets.

Does this design system pattern support compound components and slot-based composition?

Yes, the component architecture supports compound components, polymorphism, variant systems, and slot-based composition. These patterns allow you to build flexible, reusable UI library components with customizable layouts and behaviors while maintaining strict design system standards.

When do I need a cross-platform token pipeline with CI/CD for design systems?

You need a cross-platform token pipeline with CI/CD when scaling design systems across multiple products or brands. It automates Figma-to-code synchronization, generates platform-specific tokens via Style Dictionary, and ensures consistent theming updates reach web and mobile apps without manual intervention.