Skip to content
software-mansion-labsPublic

About

Software Mansion's set of skills for AI-assisted React Native development.

Resources

Stars

310 stars

Watchers

1 watching

Forks

Latest commit

 

History

90 Commits

Folders and files

Repository files navigation

skills_header

Production-ready patterns for React Native development, packaged as Agent Skills and a Claude Code plugin. Maintained by Software Mansion.

Install the skills and your AI coding agent gets up-to-date guidance for animations, gestures, on-device AI, audio, real-time video, and other React Native features.

Installation

With the skills CLI

Use the skills CLI with Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, and other compatible agents:

npx skills add software-mansion-labs/skills

The CLI detects installed agents and lets you choose which skills to install. To install only the React Native best practices for a specific agent:

npx skills add software-mansion-labs/skills \
  --skill react-native-best-practices \
  --agent codex

Add --global to make the skill available across projects. Check for and install repository updates with:

npx skills check
npx skills update react-native-best-practices

As a Claude Code plugin

Add the Software Mansion marketplace and install the plugin:

/plugin marketplace add software-mansion-labs/skills
/plugin install skills@swmansion
/reload-plugins

The skills are available immediately. Run /plugin marketplace update swmansion to get repository updates, or enable auto-update for the marketplace in /plugin.

Available Skills

Production patterns for React Native apps on the New Architecture, covering:

Topic What it covers
Animations CSS transitions, CSS animations, shared value animations, canvas animations (Skia), GPU shader animations, layout animations, Reanimated 4, 120fps, performance tuning
Gestures Tap, pan, pinch, swipe, long press, drag with Gesture Handler
SVG Vector graphics, icons, charts, illustrations with React Native SVG
On-device AI LLMs, computer vision, OCR, audio processing, embeddings with React Native ExecuTorch
Rich Text Rich text editing with react-native-enriched and Markdown rendering with react-native-enriched-markdown: formatting toolbar, mentions, links, GFM tables, task lists, LaTeX math
Multithreading Worker Runtimes, scheduling APIs, shared memory with React Native Worklets
Worklets Bundle Mode Enabling react-native-worklets Bundle Mode: imports inside worklets, third-party libraries on worklet runtimes, mandatory metro/metro-runtime patches, Fast Refresh for worklet code
Audio Playback, recording, visualization, session management with React Native Audio API
JSI C++ JavaScript Interface: HostObject, HostFunction, NativeState, zero-copy ArrayBuffer, threading safety, CallInvoker, TurboModules vs Nitro Modules, C++ memory patterns, crash debugging

Guidance for building on-device AI features with React Native ExecuTorch, using pre-exported models and task hooks or custom PyTorch models and TypeScript pipelines. Covers app setup, native binary provisioning, model selection, export integration with ExecuTorch Export Recipes, resource management, and troubleshooting.

Implementation, migration, design, and troubleshooting for Software Mansion's Pulsar haptics SDK across its supported native, cross-platform, and Web packages. Also covers the Figma MCP integration.

Best practices for using Radon IDE's MCP tools when developing, debugging, and inspecting React Native and Expo apps. Covers viewing screenshots, reading logs, inspecting the component tree, debugging network requests, reloading the app, and querying React Native documentation.

Practical guidance for building with TypeGPU, from project setup and schema design through shader authoring, resource management, and pipeline composition. It helps an AI coding agent work confidently across the CPU/GPU boundary while avoiding common typing, memory-layout, and WebGPU integration mistakes.

Best practices for integrating RNRepo — Software Mansion's infrastructure for pre-building and distributing React Native library artifacts. Covers installation (Expo CNG and standard React Native), configuration (denyList, disabling the plugin, GPG verification), and troubleshooting.

Best practices for setting up and migrating to Detour, Software Mansion's deferred deep linking ecosystem. Covers end-to-end SDK initialization, Universal/App Links registration, and type-safe analytics tracking across iOS, Android, React Native, and Flutter, as well as structural mappings for switching away from Branch or AppsFlyer.

Guidance for building real-time video, audio, and livestreaming apps with Fishjam, Software Mansion's hosted WebRTC platform. Covers the platform fundamentals (rooms, peers, tracks, two-tier auth, notifications, REST API), compositions (mixing live streams into new outputs with scenes, React templates, and room forwarding), and all four SDKs: the Node.js and Python server SDKs (including AI voice agents and Gemini Live integration), the React web client, and the React Native / Expo client (permissions, foreground service, CallKit, screen sharing, Picture-in-Picture).

Guidance for building sub-second-latency live streaming with react-native-moq, Software Mansion's Media over QUIC (MoQ) bindings for React Native. Covers video/audio playback and broadcast discovery, publishing from the camera, microphone, and screen, custom data and media tracks, the hook-free imperative API, and the optional react-native-moq-ui player chrome.

Guidance for building sub-second-latency live streaming with moq-kit, Software Mansion's native Swift (iOS) and Kotlin (Android) SDKs for Media over QUIC (moq-lite). Covers relay sessions, broadcast discovery and catalog-driven playback, publishing from the camera, microphone, and screen, and realtime data tracks — with per-platform references for both SDKs. For React Native apps, use the react-native-moq skill instead.

Software Mansion's guide for migrating Expo SDK apps to Meta Quest using the expo-horizon packages. Covers build flavors for Quest, panel sizing, device detection, and migrating expo-location and expo-notifications to their Horizon counterparts, through Meta Horizon Store publishing.

Development

This project uses Task as a task runner. Install with brew install go-task.

task --list        # show available tasks
task lint          # run the skill linter
task lint:test     # run linter unit tests
task check         # run lint + tests
task eval:grade -- /path/to/workspace   # grade a skill-creator workspace

Repository Structure

skills/
├── detour/
│   ├── detour-onboarding/
│   │   ├── references/
│   │   │   ├── android.md
│   │   │   ├── flutter.md
│   │   │   ├── ios.md
│   │   │   └── react-native.md
│   │   └── SKILL.md
│   ├── migrate-to-detour/
│   │   ├── references/
│   │   │   ├── android.md
│   │   │   ├── flutter.md
│   │   │   ├── ios.md
│   │   │   └── react-native.md
│   │   └── SKILL.md
│   └── README.md
├── expo-horizon/
│   └── SKILL.md
├── fishjam/
│   ├── references/
│   │   ├── composition/
│   │   │   ├── inputs-and-outputs.md
│   │   │   ├── rest-endpoints.md
│   │   │   ├── room-composition.md
│   │   │   ├── scenes.md
│   │   │   ├── SKILL.md
│   │   │   └── templates.md
│   │   ├── js-server-sdk/
│   │   │   ├── agent.md
│   │   │   ├── client.md
│   │   │   ├── composition.md
│   │   │   ├── express-fastify.md
│   │   │   ├── gemini-integration.md
│   │   │   ├── livestream-and-moq.md
│   │   │   ├── selective-subscriptions.md
│   │   │   ├── SKILL.md
│   │   │   ├── webhooks.md
│   │   │   └── ws-notifier.md
│   │   ├── platform/
│   │   │   ├── auth-model.md
│   │   │   ├── glossary.md
│   │   │   ├── lifecycle-flow.md
│   │   │   ├── llms-and-docs.md
│   │   │   ├── notifications-taxonomy.md
│   │   │   ├── notifier-vs-webhook.md
│   │   │   ├── rest-endpoints.md
│   │   │   ├── room-types.md
│   │   │   ├── sandbox-vs-production.md
│   │   │   └── SKILL.md
│   │   ├── python-server-sdk/
│   │   │   ├── agent.md
│   │   │   ├── client.md
│   │   │   ├── composition.md
│   │   │   ├── fastapi.md
│   │   │   ├── gemini-integration.md
│   │   │   ├── livestream-and-moq.md
│   │   │   ├── notifier.md
│   │   │   ├── selective-subscriptions.md
│   │   │   ├── SKILL.md
│   │   │   └── webhooks.md
│   │   ├── react-client/
│   │   │   ├── connection.md
│   │   │   ├── custom-sources.md
│   │   │   ├── data-and-events.md
│   │   │   ├── devices.md
│   │   │   ├── livestream.md
│   │   │   ├── peers-and-tracks.md
│   │   │   ├── provider.md
│   │   │   ├── simulcast-and-bandwidth.md
│   │   │   ├── SKILL.md
│   │   │   └── ts-client-escape.md
│   │   └── react-native-client/
│   │       ├── audio-output.md
│   │       ├── callkit.md
│   │       ├── example-projects.md
│   │       ├── foreground-service.md
│   │       ├── mobile-hook-overrides.md
│   │       ├── native-setup.md
│   │       ├── permissions.md
│   │       ├── picture-in-picture.md
│   │       ├── rtcview.md
│   │       ├── screen-sharing.md
│   │       └── SKILL.md
│   └── SKILL.md
├── moq-kit/
│   ├── references/
│   │   ├── data-tracks-android.md
│   │   ├── data-tracks-ios.md
│   │   ├── playback-android.md
│   │   ├── playback-ios.md
│   │   ├── publishing-android.md
│   │   ├── publishing-ios.md
│   │   ├── screen-capture-android.md
│   │   └── screen-capture-ios.md
│   └── SKILL.md
├── pulsar-haptics/
│   ├── references/
│   │   └── expo-haptics-to-pulsar-migration.md
│   └── SKILL.md
├── radon-mcp/
│   ├── references/
│   │   ├── get-library-description.md
│   │   ├── query-documentation.md
│   │   ├── reload-application.md
│   │   ├── view-application-logs.md
│   │   ├── view-component-tree.md
│   │   ├── view-network-logs.md
│   │   ├── view-network-request-details.md
│   │   └── view-screenshot.md
│   └── SKILL.md
├── react-native-best-practices/
│   ├── references/
│   │   ├── animations/
│   │   │   ├── animation-functions.md
│   │   │   ├── animations-performance.md
│   │   │   ├── animations.md
│   │   │   ├── canvas-animations.md
│   │   │   ├── canvas-atlas.md
│   │   │   ├── gpu-animations.md
│   │   │   ├── layout-animations.md
│   │   │   ├── scroll-and-events.md
│   │   │   ├── SKILL.md
│   │   │   └── svg-animations.md
│   │   ├── audio/
│   │   │   ├── audio.md
│   │   │   ├── effects-and-analysis.md
│   │   │   ├── playback.md
│   │   │   ├── recording.md
│   │   │   ├── SKILL.md
│   │   │   ├── system-and-notifications.md
│   │   │   └── worklets.md
│   │   ├── enable-worklets-bundle-mode/
│   │   │   ├── references/
│   │   │   │   ├── patching-bun.md
│   │   │   │   ├── patching-patch-package.md
│   │   │   │   ├── patching-pnpm.md
│   │   │   │   ├── patching-yarn-berry.md
│   │   │   │   └── uniwind-remap-workaround.md
│   │   │   └── SKILL.md
│   │   ├── gestures/
│   │   │   ├── continuous-gestures.md
│   │   │   ├── gesture-composition.md
│   │   │   ├── gestures.md
│   │   │   ├── SKILL.md
│   │   │   ├── swipeable-and-drawer.md
│   │   │   ├── tap-handling.md
│   │   │   ├── testing.md
│   │   │   └── v2-to-v3-migration.md
│   │   ├── jsi/
│   │   │   ├── calling-js-and-async.md
│   │   │   ├── casting-and-serialization.md
│   │   │   ├── core-types.md
│   │   │   ├── cpp-memory-patterns.md
│   │   │   ├── debugging-and-pitfalls.md
│   │   │   ├── module-approaches.md
│   │   │   ├── overview.md
│   │   │   ├── performance.md
│   │   │   ├── setup-and-templates.md
│   │   │   ├── SKILL.md
│   │   │   └── threading-safety.md
│   │   ├── multithreading/
│   │   │   ├── setup-and-advanced.md
│   │   │   ├── shared-memory.md
│   │   │   ├── SKILL.md
│   │   │   └── threading-api.md
│   │   ├── on-device-ai/
│   │   │   └── SKILL.md
│   │   ├── rich-text/
│   │   │   └── SKILL.md
│   │   └── svg/
│   │       ├── SKILL.md
│   │       ├── svg.md
│   │       └── when-to-use.md
│   ├── README.md
│   └── SKILL.md
├── react-native-executorch/
│   ├── references/
│   │   ├── custom-models.md
│   │   ├── ready-made-tasks.md
│   │   ├── setup.md
│   │   └── troubleshooting.md
│   └── SKILL.md
├── react-native-moq/
│   ├── references/
│   │   ├── custom-tracks.md
│   │   ├── imperative.md
│   │   ├── playback.md
│   │   └── publishing.md
│   └── SKILL.md
├── rnrepo/
│   ├── references/
│   │   ├── configuration.md
│   │   ├── installation.md
│   │   └── troubleshooting.md
│   └── SKILL.md
└── typegpu/
    ├── references/
    │   ├── advanced.md
    │   ├── encoders.md
    │   ├── matrices.md
    │   ├── noise.md
    │   ├── pipelines.md
    │   ├── react.md
    │   ├── sdf.md
    │   ├── setup.md
    │   ├── shaders.md
    │   ├── std.md
    │   ├── textures.md
    │   ├── timing.md
    │   └── types.md
    └── SKILL.md

The top-level SKILL.md acts as a table of contents. Reference files load only when relevant to the current task, keeping the context window focused.

Contributing

Adding a new sub-skill

  1. Create a directory under skills/react-native-best-practices/references/<topic>/
  2. Add a SKILL.md with YAML frontmatter (name, description) and a references table
  3. Place detailed documentation in sibling .md files
  4. Register the sub-skill in skills/react-native-best-practices/SKILL.md

Writing guidelines

  • Keep SKILL.md files under 500 lines. Split longer content into reference files.
  • Write descriptions that include trigger terms (what phrases should activate this skill).
  • Use concrete code examples over abstract explanations.
  • Target the New Architecture and current library versions.

License

MIT

Skills are created by Software Mansion

Since 2012 Software Mansion is a software agency with experience in building web and mobile apps. We are Core React Native Contributors and experts in dealing with all kinds of React Native issues. We can help you build your next dream product – Hire us.

About

Software Mansion's set of skills for AI-assisted React Native development.

Resources

Stars

310 stars

Watchers

1 watching

Forks

Contributors

Languages