Agent skill

Stitch React Native Skill: Turn Stitch Designs into Native Components

The stitch-react-native skill has an AI coding agent turn Stitch HTML designs into React Native components with StyleSheet, a theme file and navigation, then keeps them synced.

Install
npx plugins add google-labs-code/stitch-skills --scope project --target claude-code
View on GitHub

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

What is the stitch-react-native skill?

The stitch-react-native skill is one of the Stitch skills in google-labs-code/stitch-skills. It makes an AI coding agent download Stitch screens through the Stitch MCP server, pull theme tokens from the Tailwind config inside each HTML file, and rebuild every screen as React Native components styled with StyleSheet.

The stitch-react-native skill lives in the stitch-build plugin of Google's stitch-skills repository. Its SKILL.md casts the agent as a mobile engineer who translates HTML and CSS from Stitch into React Native primitives and StyleSheet, or syncs components that already exist.

It needs the Stitch MCP server. The work runs in four phases, retrieval, theme extraction, architecture rules and execution, and each phase ends with a gate that must be satisfied before the agent moves on.

What changes in your agent's output

  • Screens arrive through the skill's fetch-stitch.sh script, not the agent's own fetch tools, and the agent must look at each downloaded screenshot before it writes code.
  • Colors, fonts, spacing and radii come from the tailwind.config block in each HTML head and land in src/theme.ts. Raw hex codes in components are not allowed.
  • Components are split into atoms, molecules and organisms, with logic in custom hooks and static content in src/data/mockData.ts.
  • Every component file exports a readonly [ComponentName]Props interface, and every interactive element gets an accessibilityLabel and accessibilityRole.
  • A .stitch/metadata.json file records the project, its screens and a Last Sync Time, so a later sync knows what changed.

How HTML maps to React Native

HTMLReact NativeRule from the skill
divViewDefault container
span, p, h1 to h6TextAll text must sit inside Text
button, aPressablePreferred over TouchableOpacity, with onPress
ul or ol with many itemsFlatListNeeds data, renderItem and keyExtractor
svgreact-native-svgConvert markup to Svg, Path and Circle
Root wrapperSafeAreaViewFrom react-native-safe-area-context

Who the stitch-react-native skill is for

Best for

  • Teams that already design screens in Stitch and want a mobile codebase that follows one structure.
  • Projects that need to re-sync components after the Stitch design changes.
  • Developers who want theme tokens in one file instead of hex codes scattered through StyleSheet blocks.

Not for

  • Web React output. The same README lists stitch-react-components for React component systems.
  • Designs that did not come from a Stitch project, because the first phase pulls screens through the Stitch MCP server.
  • Deciding how a native app should feel. Related: building-native-ui.

Use it with UiChemy

This skill produces a mobile codebase, not WordPress output. If a web version of the same design should end up as an editable WordPress site, UiChemy can take it in through Figma, Composer or AI to WordPress. Click Get Started on uichemy.com.