design-system

Standardize design tokens and component architecture across web and React Native.

Updated Mar 18, 2025
One-click install
npx skills add https://github.com/zzoohub/mealio --skill design-system-zzoohub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-system
Source: https://github.com/zzoohub/mealio/tree/main/.claude/skills/design-system
Command: npx skills add https://github.com/zzoohub/mealio --skill design-system-zzoohub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Design teams struggle with inconsistent UI and token drift across web and React Native. This skill provides a formalized approach to tokens, semantic layering, and reusable patterns to unify design language and accelerate development.

Core Features & Use Cases

  • Token architecture guidance (Tier 1-3) and semantic tokens to ensure consistent theming.
  • Headless + Styled component patterns for reusable UI primitives across platforms.
  • Cross-platform guidance for web CSS variables and React Native styles, enabling a single source of truth for theming and layout.

Quick Start

Define your initial token set and starter components following the patterns in this guide.

Frequently Asked Questions about design-system

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

FAQPage Schema
How do I standardize design tokens for consistent UI across web and React Native?

To standardize design tokens for consistent UI, define a tiered token architecture and semantic layering. This creates a single source of truth for theming, outputting CSS variables for web and StyleSheet for React Native to unify your design language.

What is semantic token layering and when do I need it for theming?

Semantic token layering maps raw design tokens to contextual meaning, like mapping a raw blue value to a 'primary-button' token. You need it to prevent token drift and enable theme remapping without altering component-level styles across platforms.

How do I structure headless and styled component patterns for scalable interfaces?

Structure headless and styled component patterns by separating logic from presentation. This approach builds reusable UI primitives that share behavior across web and React Native while accepting distinct style outputs for each platform.

Can I use a single token set for both web CSS variables and React Native styles?

Yes, you can use a single token set for web CSS variables and React Native styles. The architecture provides cross-platform guidance to maintain one source of truth for theming and layout across both environments.

Why does UI token drift happen and how do I fix it across platforms?

UI token drift happens when teams apply raw values directly instead of semantic tokens. Fix it by adopting a formalized token architecture with tiered definitions and headless component patterns to unify design language across web and React Native.