Agent skill

Expo Design System Skill for AI Coding Agents

A skill that teaches an AI coding agent to build one token theme for color, spacing, typography, radius, shadow and motion inside an Expo app.

Install
npx skills@latest add expo/skills --skill '*'
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the expo-design-system skill?

The expo-design-system skill is a SKILL.md in the expo/skills repo. It tells a coding agent where design tokens live in an Expo app, how to shape reusable button, card and text components with variant, size and state props, and when a repeated screen view should become a shared component.

expo-design-system is a SKILL.md in the expo/skills repository, maintained by the Expo team. It teaches a coding agent to build one token theme for color, spacing, typography, radius, shadow and motion inside an Expo app, plus rules for shared button, card and text components.

The skill also sets a promotion rule for when a repeated screen view earns a place in the shared component set, and a self-critique pass that checks a built screen against the theme rather than accepting a one-off fix.

What changes in your agent's output

  • One token entry point for color, spacing, typography, radius, shadow and motion, in place of scattered hex values and pixel counts across screens
  • Semantic platform colors from the Color API in expo-router, so backgrounds and labels adapt to light and dark mode on their own
  • Named text styles such as headline and body that mirror the platform's own text style ramp, in place of raw font sizes
  • Shared buttons, cards and inputs that declare variant, size and state props, plus a style override that merges last
  • A check for a declared styling library such as NativeWind or Tamagui before any new token gets created

The token categories it standardizes

Token categoryWhat it covers
ColorSemantic platform colors plus a small brand accent pair for light and dark
SpacingA four-point grid named by size, from extra small to extra large
TypographyNamed text styles mirroring the platform's own size ramp
RadiusA small scale plus one capsule value for pill shapes
ShadowTwo or three elevation levels written as a boxShadow string
MotionShared duration values for fast, base and slow transitions

Who it is for

Best for

  • Expo and React Native apps that want one token theme instead of per-screen styling choices
  • Fixing an app whose screens already read as AI-generated, using the skill's named native-slop tells
  • Auditing an existing app for hardcoded colors, arbitrary spacing and inconsistent component props
  • Teams already using NativeWind, Tamagui, Restyle or Unistyles who want that theme extended in its own idiom

Not for

  • Keeping shared radius, border, height and state values identical across buttons, inputs, badges and pills, where the component family consistency skill holds that line across a whole system.
  • Building a web token system with light and dark themes, RTL logical properties and WCAG contrast checks, where the theming components skill covers that CSS-based approach instead.
  • Turning a brand brief into OKLCH color ramps and DTCG token scales for a brand foundation, where the brandkit skill builds that foundation from a brief.
  • Styling native controls, safe layouts and platform-specific screens inside an Expo app, where the Expo native UI skill sets those platform rules.