stitch::react-native

Convert Stitch HTML designs into React Native components with StyleSheet styling.

1|Updated Jun 27, 2026
One-click install
npx skills add https://github.com/tranhoainam298/qr-parking-booking-system --skill stitch-react-native-tranhoainam298
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stitch::react-native
Source: https://github.com/tranhoainam298/qr-parking-booking-system/tree/main/.claude/plugins/stitch-build/skills/react-native
Command: npx skills add https://github.com/tranhoainam298/qr-parking-booking-system --skill stitch-react-native-tranhoainam298

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @swc/core, and includes scripts (resource) components.

What problem does it solve? Translating web-based Stitch design exports into native mobile code is manual and error-prone, often producing hardcoded styles, HTML elements, and monolithic files that fail in React Native. ## Core Features & Use Cases - Design Retrieval: Downloads Stitch HTML and screenshots from Google Cloud Storage via a curl-based script and audits each screen visually. - Theme Extraction: Parses the Tailwind config from HTML into a typed src/theme.ts token file, eliminating hardcoded colors. - Component Generation: Maps HTML elements to React Native primitives following Atomic Design, with typed Props interfaces and accessibility labels. - AST Validation: Runs an automated check that fails components with missing exported Props interfaces, hardcoded hex colors, or HTML tags. - Use Case: Convert a Stitch login screen into a production-ready React Native screen with theme tokens, mock data separation, and validated components. ## Quick Start Convert my Login screen in my Stitch project to React Native components.

Frequently Asked Questions about stitch::react-native

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

FAQPage Schema
How do I convert Stitch designs to React Native components?▼

Fetch each screen's HTML and screenshot through the Stitch MCP and the fetch-stitch.sh script, extract the Tailwind config into src/theme.ts, then map HTML elements to React Native primitives like View, Text, and Pressable with StyleSheet.create styling.

How are Tailwind classes handled in React Native?▼

Tailwind classes do not work in React Native, so all styles are converted to StyleSheet.create calls. Colors, spacing, and typography tokens are extracted from the HTML tailwind.config into src/theme.ts and referenced instead of hardcoded values.

Why does component validation fail on my generated file?▼

Validation fails when the Props interface is missing or not exported, when hardcoded hex or rgba colors appear in styles, or when HTML elements like div or span are used. Fix these by exporting the interface, using theme tokens, and switching to React Native primitives.

Can I use ScrollView for long lists in React Native?▼

ScrollView suits short static content only. For long or dynamic lists, use FlatList with data, renderItem, and keyExtractor props, or SectionList for grouped data, to avoid performance issues and VirtualizedList nesting warnings.

Does this workflow require running a simulator or packager?▼

No, simulator and packager testing are optional. The workflow asks for user permission before running validation scripts, starting the React Native or Expo packager, or performing visual simulator audits.