React Native Best Practices
vercel-labs/openreview
A prioritized rule set for React Native and Expo apps covering list performance, animation, navigation, UI patterns, state, rendering, monorepos and configuration.
Software Mansion's react-native-moq — Media over QUIC (MoQ) live streaming for React Native: sub-second-latency video/audio playback, camera/mic/screen publishing, and realtime data tracks over a…
$ npx skills add software-mansion-labs/skills --skill react-native-moq -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install software-mansion-labs/skills react-native-moq --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/react-native-moq .claude/skills/react-native-moq && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "react-native-moq" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/react-native-moq into .claude/skills/react-native-moq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-native-moq", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/software-mansion-labs/skills/tree/main/skills/react-native-moqType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add software-mansion-labs/skills --skill react-native-moq -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install software-mansion-labs/skills react-native-moq --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/react-native-moq .agents/skills/react-native-moq && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "react-native-moq" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/react-native-moq into .agents/skills/react-native-moq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-native-moq", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add software-mansion-labs/skills --skill react-native-moq -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install software-mansion-labs/skills react-native-moq --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/react-native-moq .cursor/skills/react-native-moq && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "react-native-moq" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/react-native-moq into .cursor/skills/react-native-moq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-native-moq", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/software-mansion-labs/skills.git --path skills/react-native-moq--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add software-mansion-labs/skills --skill react-native-moq -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install software-mansion-labs/skills react-native-moq --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/react-native-moq .gemini/skills/react-native-moq && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "react-native-moq" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/react-native-moq into .gemini/skills/react-native-moq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-native-moq", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install software-mansion-labs/skills react-native-moqInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add software-mansion-labs/skills --skill react-native-moq -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/react-native-moq .github/skills/react-native-moq && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "react-native-moq" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/react-native-moq into .github/skills/react-native-moq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-native-moq", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add software-mansion-labs/skills --skill react-native-moq -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install software-mansion-labs/skills react-native-moq --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/react-native-moq .opencode/skills/react-native-moq && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "react-native-moq" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/react-native-moq into .opencode/skills/react-native-moq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-native-moq", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
react-native-moqSoftware Mansion's react-native-moq — Media over QUIC (MoQ) live streaming for React Native: sub-second-latency video/audio playback, camera/mic/screen publishing, and realtime data tracks over a…
React Native Moq is an agent skill from software-mansion-labs/skills. Software Mansion's react-native-moq — Media over QUIC (MoQ) live streaming for React Native: sub-second-latency video/audio playback, camera/mic/screen publishing, and realtime data tracks over a MoQ relay. MUST USE before writing, reviewing, or debugging ANY code that uses react-native-moq or react-native-moq-ui. Trigger on: 'react-native-moq', 'MoQ', 'Media over QUIC', 'moq relay', 'moq-kit', 'useSession', 'useBroadcasts', 'useVideoPlayer', 'useAudioPlayer', 'usePublisher', 'useCamera', 'useMultiCamera'…
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/custom-tracks.md`, `references/imperative.md` and `references/playback.md`).
It sits in Mobile, covering Cross-platform mobile apps. It works with React Native. The repository describes itself as: Software Mansion's set of skills for AI-assisted React Native development. The licence is MIT.
9 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e3f00cd. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
React Native Moq loads about 1.6k tokens when it runs, and up to ~5.7k if it reads all its reference files. Until then it costs about 197 tokens; SKILL.md has 532 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from software-mansion-labs/skills at commit e3f00cd, republished under its MIT licence (© software-mansion-labs). 532 words, ~1,605 tokens.
.claude/skills/react-native-moq/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.React Native bindings for Media over QUIC (MoQ): live video, audio, and data tracks with sub-second latency, published to and consumed from a MoQ relay. Built on Software Mansion's moq-kit native library.
Requirements: React Native New Architecture (Fabric + TurboModules), iOS 16+, Android API 30+.
npm install react-native-moq
cd ios && pod installOptional player chrome (fullscreen modal, controls, volume slider):
npm install react-native-moq-ui @react-native-vector-icons/material-iconsiOS also needs MaterialIcons.ttf under UIAppFonts in Info.plist, then pod install again. Skip this package if composing your own player UI on <VideoView>.
useSession(url)). It does not auto-connect — call session.connect() yourself. One session serves both subscribing and publishing.useBroadcasts(session, prefix) lists live broadcasts under a path prefix → pick a BroadcastInfo → useVideoPlayer / useAudioPlayer → render with <VideoView player={player}>. Raw-media alternatives: useAudioChunks (encoded or PCM to JS) and useDataMessages (string payloads).useCamera, useMicrophone, useMultiCamera) or you generate them (useDataTrack, useAudioSource, useVideoSource) → usePublisher(session).publish({ path, tracks }). Screen sharing (useScreenBroadcast) is separate and out-of-process.create* (returns the object plus destroy()) for the stateful ones, subscribe* (returns start()/stop()) for the subscription hooks — see references/imperative.md.session.state, publisher.state, player.isPlaying, …); hooks re-render on changes. Subscribe manually with addListener or the useEvent/useEventListener helpers.function Watch() {
const session = useSession('https://relay.example.com', (s) => s.connect());
const broadcasts = useBroadcasts(session, ''); // '' = all paths
return broadcasts.map((b) => <BroadcastPlayer key={b.path} broadcast={b} />);
}
function BroadcastPlayer({ broadcast }: { broadcast: BroadcastInfo }) {
const player = useVideoPlayer(broadcast, (p) => p.play());
return <VideoView player={player} style={{ width: '100%', aspectRatio: 16 / 9 }} />;
}useVideoPlayer/useAudioPlayer require a non-null broadcast — mount them in a child rendered only once one exists.
const session = useSession(url, (s) => s.connect());
const camera = useCamera();
const microphone = useMicrophone();
const publisher = usePublisher(session);
<PublisherView camera={camera} style={styles.preview} />
// when session.state === 'connected':
publisher.publish({ path: 'live/test', tracks: [camera, microphone] });'connected' | 'error:...'; check state.startsWith('error:'). Nothing throws on media failure. Sessions carry the message only in the state string (state.slice(6)); capture tracks and the publisher additionally expose a lastError field. Players have no error surface at all — watch session and publisher state instead.publish() requires session.state === 'connected', otherwise the publisher goes straight to error:session is not connected. Gate the go-live button on session state.getSupportedVideoCodecs() / getSupportedAudioCodecs(). On Android an unsupported encoder (often h265) makes publishing start then silently stop with no error. Default to h264/opus.<VideoView> takes no children (the Android native view is not a ViewGroup). Render overlays as absolutely-positioned siblings.flip() affects everyone. Use enabled: false to keep hardware off while mounted instead of calling hooks conditionally.live/test appears as path: 'test' under prefix 'live'). Subscribe with '' to see full paths. A listed broadcast that won't play (relay error code=13 NotFound) means a path/prefix mismatch.'data').playAndRecord and can block other audio libraries (insufficientPriority). Disable the mic (enabled: false) when not publishing.| Task | Read |
|---|---|
Sessions, broadcast discovery, video/audio playback, <VideoView>, stats, track switching, events, react-native-moq-ui | references/playback.md |
| Camera, multi-camera, microphone, publisher lifecycle, screen broadcasting, codec queries | references/publishing.md |
| Data tracks & messages, audio chunks to JS, push-your-own audio (PCM) and video (frame buffers) | references/custom-tracks.md |
Using without React: create* handles, subscribe* functions, cleanup | references/imperative.md |
© software-mansion-labs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in skills/react-native-moq of software-mansion-labs/skills.
Open the folder on GitHubat commit e3f00cd
React Native Moq next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| React Native Moq this skillsoftware-mansion-labs/skills | 291 | — | ~1.6k | Automated safety check: Pass | MIT | |
| React Native Best Practicesvercel-labs/openreview | 1.7k | 17 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Creating Reanimated Animationsgluestack/gluestack-ui | 5.3k | — | ~2.4k | Automated safety check: Pass | None | |
| RtlGetStream/stream-chat-react-native | 1.2k | — | ~4.4k | Automated safety check: Pass | Custom licence | |
| Mobile App UI Designceorkm/mobile-app-ui-design | 400 | — | ~2k | Automated safety check: Pass | None | |
| Sleek Design Mobile Appssleekdotdesign/agent-skills | 583 | — | ~2.1k | Automated safety check: Pass | MIT |
vercel-labs/openreview
A prioritized rule set for React Native and Expo apps covering list performance, animation, navigation, UI patterns, state, rendering, monorepos and configuration.
gluestack/gluestack-ui
Generate React Native Reanimated animation code for React Native apps.
GetStream/stream-chat-react-native
Audit and maintain RTL (right-to-left) layout compatibility in stream-chat-react-native.
ceorkm/mobile-app-ui-design
Design high-quality mobile app UI/UX screens, flows, and components.
sleekdotdesign/agent-skills
Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.
bbplayer-app/BBPlayer
Debug a JS runtime via CDP using argent debugger tools. An agent skill from bbplayer-app/BBPlayer.
software-mansion-labs/skills
Complete onboarding guide for developers who are new to Detour, the open-source deferred deep linking SDK by Software Mansion.
software-mansion-labs/skills
TypeGPU is type-safe WebGPU in TypeScript. An agent skill from software-mansion-labs/skills.
software-mansion-labs/skills
Enable react-native-worklets Bundle Mode (imports inside worklets, third party libraries on worklet runtimes) in an Expo, RN CLI or brownfield React Native app, including the mandatory…
software-mansion-labs/skills
Software Mansion's moq-kit — native Swift (iOS) and Kotlin (Android) SDKs for Media over QUIC (moq-lite) live streaming: sub-second-latency playback, camera/microphone/screen publishing, and…
software-mansion-labs/skills
Software Mansion's guide for migrating Expo SDK apps to Meta Quest using expo-horizon packages.
software-mansion-labs/skills
Node.js / TypeScript server SDK for Fishjam — backends that create rooms, mint peer tokens, listen to server notifications, and run agents.
Works with
Categories
Software Mansion's react-native-moq — Media over QUIC (MoQ) live streaming for React Native: sub-second-latency video/audio playback, camera/mic/screen publishing, and realtime data tracks over a…. React Native Moq is an agent skill from software-mansion-labs/skills. Software Mansion's react-native-moq — Media over QUIC (MoQ) live streaming for React Native: sub-second-latency video/audio playback, camera/mic/screen publishing, and realtime data tracks over a MoQ relay.
React Native Moq fits situations like: : react-native-moq; media over QUIC; useScreenBroadcast; useDataMessages.
Run `npx skills add software-mansion-labs/skills --skill react-native-moq -a claude-code`. Or copy the skill folder (skills/react-native-moq in software-mansion-labs/skills) into .claude/skills/react-native-moq in your project. Claude Code loads it when a task matches its description.
Run `npx skills add software-mansion-labs/skills --skill react-native-moq -a codex`. Or copy the skill folder (skills/react-native-moq in software-mansion-labs/skills) into .agents/skills/react-native-moq in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add software-mansion-labs/skills --skill react-native-moq -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/react-native-moq, .gemini/skills/react-native-moq, .github/skills/react-native-moq and .opencode/skills/react-native-moq in your project.
Going by SKILL.md and its folder, React Native Moq needs the command-line tools its instructions call (npm). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
React Native Moq is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with React Native Moq: React Native Best Practices (vercel-labs/openreview, 1.7k stars), Creating Reanimated Animations (gluestack/gluestack-ui, 5.3k stars), Rtl (GetStream/stream-chat-react-native, 1.2k stars) and Mobile App UI Design (ceorkm/mobile-app-ui-design, 400 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
software-mansion-labs (a GitHub organization) maintains it in software-mansion-labs/skills, which has 291 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on September 28, 2026.
Source: software-mansion-labs/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.