react-native-gen

react-native-gen is a skill for Claude Code, Codex from memi-design/design-skills. It costs 23 tokens per session (927 once invoked), scanned A, original, MIT.

A code generator that turns Mémoire specifications into React Native components for mobile apps. It includes NativeWind styling and Expo-compatible, platform-specific patterns.

In plain words
What is it for?
Use it to generate mobile buttons, cards, inputs, dialogs, lists, tabs, forms, and other React Native interface components.
Why use it?
It reduces the manual work of translating web interface components into native mobile equivalents while accounting for platform differences.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to generate mobile buttons, cards, inputs, dialogs, lists, tabs, forms, and other React Native interface components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/memi-design/design-skills/react-native-gen
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add memi-design/design-skills --skill react-native-gen
Clone the repo
git clone --depth 1 https://github.com/memi-design/design-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for react-native-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/memi-design/design-skills/react-native-gen.svg)](https://agentmods.dev/skills/memi-design/design-skills/react-native-gen)
Your own site
<a href="https://agentmods.dev/skills/memi-design/design-skills/react-native-gen"><img src="https://agentmods.dev/badge/skills/memi-design/design-skills/react-native-gen.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 927 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00927
Opus 5 $0.00012 $0.00464
Sonnet 5 $0.00005 $0.00185
Haiku 4.5 $0.00002 $0.00093

Measured 4d ago against content hash 2291c53334e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

react-native-gen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/react-native-gen/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

React Native Generator — Memoire Codegen Skill

Translates Memoire specs into production React Native components. Maintains atomic design hierarchy and maps web primitives to native equivalents.


Mapping Rules

shadcn/ui to React Native

shadcn Component RN Equivalent Notes
Button Pressable + Text Use Pressable over TouchableOpacity
Card View with shadow styles NativeWind shadow-md rounded-lg
Input TextInput Add returnKeyType, autoCapitalize
Badge View + Text Fixed height, rounded-full
Avatar Image with fallback View borderRadius: 9999
Dialog Modal Use RN Modal with transparent
Select Custom ActionSheet or Picker Platform-specific
Separator View with h-px bg-border
Tabs Custom with Pressable row Horizontal scroll for overflow
Table FlatList with header row Virtualized by default
Switch RN Switch Map trackColor, thumbColor
Checkbox Pressable + icon toggle No native checkbox on RN
ScrollArea ScrollView Add showsVerticalScrollIndicator
Sheet Modal + Animated.View Bottom sheet pattern
Skeleton Animated View with shimmer Use Animated opacity loop

Tailwind to NativeWind

  • Web Tailwind classes map 1:1 in NativeWind 4.x
  • Exceptions: hover:, focus-visible: — replace with active: states
  • Grid: Use flex layout — RN has no CSS Grid
  • gap-* works in NativeWind, prefer over margin hacks

Atomic Folders (React Native)

Level Output Path
atom components/ui/
molecule components/molecules/
organism components/organisms/
template components/templates/
page screens/

Component Template

import { View, Text, Pressable } from "react-native";
import type { ComponentProps } from "react";

interface {Name}Props {
  // Generated from spec.props
}

export function {Name}({ ...props }: {Name}Props) {
  return (
    <View className="...">
      {/* Component content */}
    </View>
  );
}

Read the full file on GitHub · 125 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 125 lines · 23 tokens per session scan A 2291c53334e9

Subscribe to this mod's changes

react-native-gen is a skill published in the GitHub repository memi-design/design-skills (7 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 927 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

animate-expo

Build animation and gestures in React Native and Expo with Reanimated worklets on the UI thread — sheets, drawers, screen transitions, swipe, drag, press feedback, haptics. Use when adding gestures to an Expo app, or when motion stutters, janks or drops frames on a real Android or iOS device.

ericrisco/rsc-harness · 70 tokens

react-native

React Native mobile patterns, platform-specific code.

alinaqi/maggy · 11 tokens

ss-audit

Audit screens for UX issues using Nielsen's heuristics and modern mobile UX best practices.

bitjaru/styleseed · 20 tokens

mobile-web-app

Add router-agnostic, native app-like page transitions to mobile web apps with SSGOI. Explore live drill, sheet, slide, and zoom demos at https://ssgoi.dev. Use when building or improving a mobile web app's routed page structure, layouts, or transitions, or when a project uses SSGOI or an @ssgoi package.

meursyphus/ssgoi · 78 tokens

motion-lexicon

Design, build, compose, implement, review, and contribute polished product interfaces with Motion Lexicon components and motion primitives. Use this skill when a user asks for a complete React page, landing page, dashboard, settings screen, or product surface in the Motion Lexicon visual language; asks what motion…

Ryan-yang125/motion-lexicon · 157 tokens

swiftui-animation

Implement, diagnose, or review SwiftUI motion using explicit and scoped implicit animations, springs, transitions, PhaseAnimator, KeyframeAnimator, matched geometry or navigation zoom, SF Symbol effects, and custom Animation types. Use when views should animate on state changes, insertion, removal, navigation, or…

dpearson2699/swift-ios-skills · 77 tokens