mobile-native-bestpractices

mobile-native-bestpractices is a skill for Claude Code from parisgroup-ai/imersao-ia-setup. It costs 72 tokens per session (2,342 once invoked), scanned A, original, MIT.

A guide for building and reviewing React Native and Expo mobile apps. React Native lets developers build mobile apps with JavaScript or TypeScript, while Expo provides tools around React Native.

In plain words
What is it for?
Use it when creating or reviewing React Native screens, Expo settings, navigation, hooks, shared state, API code, or integrations such as notifications, voice, and sensors.
Why use it?
It provides a consistent way to organize screens, reusable components, data logic, navigation, and native features while considering real-device performance and mobile user experience.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the imersao plugin — 51 skills, 7 commands shipped together

Good fit Use it when creating or reviewing React Native screens, Expo settings, navigation, hooks, shared state, API code, or integrations such as notifications, voice, and sensors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/parisgroup-ai/imersao-ia-setup/mobile-native-bestpractices
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 parisgroup-ai/imersao-ia-setup --skill mobile-native-bestpractices
Clone the repo
git clone --depth 1 https://github.com/parisgroup-ai/imersao-ia-setup

Made for: Claude Code.

Or install imersao, the plugin that ships this one along with the rest of its 51 skills, 7 commands.

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 mobile-native-bestpractices

README.md
[![agentmods](https://agentmods.dev/badge/skills/parisgroup-ai/imersao-ia-setup/mobile-native-bestpractices/github.svg)](https://agentmods.dev/skills/parisgroup-ai/imersao-ia-setup/mobile-native-bestpractices)
Your own site
<a href="https://agentmods.dev/skills/parisgroup-ai/imersao-ia-setup/mobile-native-bestpractices"><img src="https://agentmods.dev/badge/skills/parisgroup-ai/imersao-ia-setup/mobile-native-bestpractices/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mobile-native-bestpractices

Your own site · 80×15
<a href="https://agentmods.dev/skills/parisgroup-ai/imersao-ia-setup/mobile-native-bestpractices"><img src="https://agentmods.dev/badge/skills/parisgroup-ai/imersao-ia-setup/mobile-native-bestpractices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,342 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.00072 $0.02342
Opus 5 $0.00036 $0.01171
Sonnet 5 $0.00014 $0.00468
Haiku 4.5 $0.00007 $0.00234

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

Security

Grade A, and why

mobile-native-bestpractices 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 12d 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.

plugins/imersao/skills/mobile-native-bestpractices/SKILL.md · 308 lines

How it starts

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

Mobile Native Best Practices

Production-grade React Native/Expo guide focused on real-device performance, native UX, and maintainability.

When to Use

  • React Native screen/component files (.tsx, .jsx)
  • Expo configuration (app.json, app.config.ts)
  • Navigation setup (React Navigation stacks, tabs)
  • Native module integration (expo-* packages)
  • Hooks, context providers, StyleSheet, push/voice/sensor code

1. Architecture

Folder Structure

src/
  screens/          # Full-page components (1 per route)
  components/       # Reusable UI (stateless when possible)
  hooks/            # Custom hooks (data fetching, behavior, sensors)
  context/          # React Context providers (thin — delegate to hooks)
  lib/
    api.ts          # HTTP client (single entry point)
    config.ts       # App config + AsyncStorage persistence
    domain/         # Pure business logic (zero React imports)
  navigation/       # Type-safe route definitions
  types/            # Shared TypeScript contracts

Principles

  • Screens orchestrate: compose hooks + components, never own business logic
  • Hooks own data: fetching, caching, state transforms live in hooks
  • Domain is pure: lib/domain/ = plain TypeScript, no React
  • Context is thin: providers wire hooks, never implement logic
Anti-pattern Fix
Business logic in screens Extract to lib/domain/
API calls inside components Extract to lib/api.ts + hook
Fat context providers Split by update frequency
Types inlined in components Centralize in types/

2. Performance

Render Optimization

Re-renders cross the JS-native bridge. Every one matters on real devices.

const ProcessCard = React.memo(({ process }: Props) => { /* ... */ });

const handlePress = useCallback(() => {
  navigation.navigate('Detail', { id: item.id });
}, [item.id]);

const sortedItems = useMemo(
  () => items.sort((a, b) => b.updatedAt - a.updatedAt),
  [items]
);

Read the full file on GitHub · 308 lines

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. 12d ago First seen · 308 lines · 72 tokens per session scan A fe4c2d5e6f73

Subscribe to this mod's changes

mobile-native-bestpractices is a skill published in the GitHub repository parisgroup-ai/imersao-ia-setup (1 stars, last pushed 29d ago), licensed MIT. It adds 72 tokens to every session and 2,342 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

create-mobile-app

Use when the user wants to start a new Power Apps mobile app (Expo / React Native / TypeScript, targeting iOS and Android) from scratch.

microsoft/power-platform-skills · 35 tokens

stitch-react-native-components

Converts a Stitch mobile screen, a local HTML file, or a URL into React Native / Expo components — TypeScript, StyleSheet, Expo Router, dark mode via useColorScheme, and proper touch targets. Cross-platform iOS and Android. Only the Stitch route needs an API key.

gabelul/stitch-kit · 65 tokens

expo-ios-simulator

Run and drive an Expo / React Native app on the iOS Simulator. Pick an execution mode (Expo Go, dev client, Storybook-mobile, web-on-mobile), build and install a dev client, and clear the recurring Expo/RN prompts that block automation: the push-token alert that stacks until the overlay darkens the screen, the "Open…

simiancraft/simiancraft-skills · 153 tokens

new-architecture

React Native New Architecture (Fabric, TurboModules, bridgeless) compatibility. Use when a library breaks under it, for newArchEnabled questions, or errors mentioning codegen, Fabric, ViewPropTypes, requireNativeComponent.

AnilBurcu/claude-code-react-native · 50 tokens

expo-56

Authoritative, version-pinned reference for Expo SDK 56 and SDK 57 — both postdate your training, so defer to this skill over memory for anything Expo. SDK 57 is the current release (2026-07-08, React Native 0.86); SDK 56 is the previous, still-supported release (React Native 0.85). Use it whenever the user is…

mahdi-salmanzade/expo56-skill · 391 tokens

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

guanyang/open-agent-hub · 57 tokens