ba-html-to-react-native-ds-code-gen

Convert HTML prototypes into React Native/Expo components with design tokens.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Yukine5377/common --skill ba-html-to-react-native-ds-code-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ba-html-to-react-native-ds-code-gen
Source: https://github.com/Yukine5377/common/tree/main/.cursor/skills/ba-html-to-react-native-ds-code-gen
Command: npx skills add https://github.com/Yukine5377/common --skill ba-html-to-react-native-ds-code-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

HTML prototypes are often not ready for mobile development, and designers need a token-driven path to convert them into production-ready React Native/Expo components that respect a mobile design system.

Core Features & Use Cases

  • HTML to RN/Expo conversion: Extract tokens and map layout to DS-aligned components.
  • Design tokens integration: Generate token-based styling for colors, typography, spacing, and radii.
  • Screen scaffolding: Produce screen-level components with clean boundaries suitable for Expo Router or React Navigation.
  • Use Case: When you have static HTML layouts and want a scalable React Native app that adheres to your DS.

Quick Start

Paste your HTML and specify the target React Native/Expo app details to generate DS-compliant screens and components.

Frequently Asked Questions about ba-html-to-react-native-ds-code-gen

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

FAQPage Schema
How do I convert HTML prototypes into React Native components?

Converting HTML prototypes into React Native components involves mapping static HTML layouts to mobile-ready screens and extracting design tokens for styling. This ensures the generated React Native code adheres to a structured mobile design system.

What is design token extraction in React Native code generation?

Design token extraction in React Native code generation is the process of pulling colors, typography, spacing, and radii from HTML prototypes. These tokens are applied to generate DS-compliant styling for Expo UI components.

Can I use HTML layouts to scaffold Expo Router screens?

Yes, you can use HTML layouts to scaffold Expo Router screens by transforming static HTML into screen-level React Native components. This process produces clean component boundaries suitable for Expo Router or React Navigation setups.

Does this HTML to React Native conversion support mobile design systems?

Yes, HTML to React Native conversion supports mobile design systems by generating token-based styling for colors, typography, spacing, and radii. It ensures generated Expo UI components respect established design system boundaries.

What are the limitations of converting HTML to React Native for mobile apps?

A key limitation of converting HTML to React Native is that HTML prototypes are often not ready for mobile development. The process requires careful layout mapping and token extraction to ensure resulting Expo components meet mobile design system standards.