Loading...
Loading...
Use this skill to scaffold new Expo / React Native design system components that obey the expo-design-system rules by construction — a variant-driven pressable primitive, a slot-based card surface, a typed text primitive, a labeled form field, a FlashList entity screen, a theme token group, and a Storybook variant catalog. Trigger whenever the user wants to create, add, generate, or scaffold a new shared UI component, primitive, design token group, or screen for the clinic mobile app, even if they don't mention the design system — the generated code uses Unistyles v3 variants instead of style props, ref-as-prop, design tokens, built-in accessibility, and web/iOS parity (`_web` hover/focus/cursor on interactive primitives), so it follows expo-design-system without rework. Output is TSX/TS using react-native-unistyles.
npx skill4agent add pproenca/dot-skills expo-design-system-scaffolderstyleref_webexpo-design-systemapp/{ComponentName}{ variant }{item.title}| Template | Generates | Placeholders |
|---|---|---|
| Pressable primitive with | |
| Composite surface with | |
| Typed text component with | |
| Labeled input: controlled/uncontrolled, | |
| Entity list composed from primitives: FlashList, memoized row, web row hover/cursor, safe-area insets | |
| Raw → semantic → component token group to merge into the Unistyles theme | |
| Storybook story rendering every variant side by side | |
| The design system's single public entry and inventory catalog — agents read it before styling to reuse what exists (reuse-first) | |
{ComponentName}AppButtonAppCardAppTextAppTextField{ScreenName}ScreenAppointmentsScreen{Entity}{entity}{entity_plural}Appointmentappointmentappointments{route_path}appointments{token_group}statusBadge{file_path}design_system_dirapp_dircomponent-story.tsx.templatecomponent-index.ts.templateexportuse{Entity}Listdomainconfig.jsondesign_system_dirpackages/design-system/srcapp_dirappexpo-design-systemexpo-react-native-coder