Loading...
Loading...
Airbnb-DLS-aligned design system engineering for Expo / React Native apps targeting both web and native iOS, built on Unistyles v3, Reanimated, Skia, and FlashList. Use whenever building, reviewing, or refactoring shared UI — design tokens, theming, variant-driven component APIs, typography, spacing, cross-platform web/iOS parity, native-feel performance, or complex surfaces like calendars and drawing canvases (examples use a clinic app). Covers token architecture, theming, component API contracts (variants over style props), web/iOS parity (Unistyles `_web` hover/focus/cursor, Platform splits, one shared theme), the Unistyles styling engine, and governance. Trigger even when the user does not say "design system" but is creating or changing reusable React Native components, tokens, theme code, or making a component behave natively on both web and iOS. Teaches how to BUILD the design system; pair with expo-react-native-coder for features and expo-ios-hig for iOS native-feel decisions.
npx skill4agent add pproenca/dot-skills expo-design-systemios-design-system@clinic/design-systemdomainstyle_webPlatform| Sibling Skill | Its Focus | This Skill's Focus |
|---|---|---|
| The SwiftUI design system for the same clinic app | The Expo / React Native counterpart |
| Feature development (screens, navigation, data fetching) | Design system infrastructure (tokens, components, theming) |
| App-wide performance optimization | Native-feel performance inside the design system |
| General React patterns | Expo / React Native design system specifics |
| iOS native-feel decisions (navigation, system controls, Liquid Glass) | Cross-platform token/component architecture + web/iOS parity |
@clinic/design-systemdomainstylePlatform@expo/ui| Priority | Category | Impact | Prefix | Rules |
|---|---|---|---|---|
| 1 | Token Architecture | CRITICAL | | 6 |
| 2 | Theming & Adaptivity | CRITICAL | | 5 |
| 3 | Component API Contracts | CRITICAL | | 8 |
| 4 | Cross-Platform Parity | CRITICAL | | 5 |
| 5 | Reuse & System Fit | HIGH | | 4 |
| 6 | Styling Engine (Unistyles) | HIGH | | 6 |
| 7 | Typography & Iconography | HIGH | | 5 |
| 8 | Spacing, Layout & Safe Areas | HIGH | | 5 |
| 9 | Native-Feel & Performance | HIGH | | 7 |
| 10 | Complex Domain Components | MEDIUM-HIGH | | 6 |
| 11 | Governance & Consistency | MEDIUM | | 6 |
token-three-layer-scaletoken-define-in-unistyles-themetoken-no-raw-values-in-componentstoken-semantic-namingtoken-elevation-pairstoken-avoid-over-abstractiontheme-runtime-not-rerendertheme-stylesheet-theme-argtheme-adaptive-systemtheme-breakpoints-responsivetheme-config-single-moduleapi-variants-over-style-propapi-no-style-escape-hatchapi-compound-variantsapi-slots-for-compositionapi-controlled-uncontrolledapi-forward-refapi-accessibility-in-contractapi-aschild-polymorphismplatform-web-pseudo-statesplatform-guard-native-onlyplatform-divergence-splitplatform-input-modelplatform-shared-theme-parityreuse-inventory-firstreuse-extend-not-forkreuse-promote-on-second-usereuse-platform-component-firststyle-stylesheet-createstyle-variants-apistyle-dynamic-functionsstyle-no-inline-array-mergestyle-withunistyles-third-partystyle-press-states-from-variantstype-scale-tokenstype-respect-font-scalingtype-text-component-wrappertype-font-loading-expo-fonttype-icon-registryspace-spacing-scalespace-safe-area-insetsspace-touch-targetsspace-gap-over-marginsspace-radius-tokensperf-flashlist-for-listsperf-reanimated-ui-threadperf-gesture-handlerperf-expo-imageperf-memoize-list-itemsperf-haptics-key-actionsperf-defer-offscreen-workdomain-calendar-virtualizationdomain-note-editor-autosavedomain-bodychart-skia-canvasdomain-bodychart-gesture-pathsdomain-compose-from-primitivesdomain-optimistic-writesgovern-design-system-packagegovern-lint-no-raw-valuesgovern-prevent-local-tokensgovern-storybook-cataloggovern-naming-conventionsgovern-incremental-migration| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |