Builds, integrates, migrates, and audits Stream Chat, Stream Video, and Stream Feeds in React Native CLI and Expo apps. Use when scaffolding a new RN/Expo Chat, Video, or Feeds app, adding Stream to an existing RN app, upgrading a Stream SDK version (stream-chat-react-native v8 to v9, Feeds v2 to v3), migrating from Sendbird (@sendbird/chat, @sendbird/uikit-react-native), answering RN/Expo SDK how-to questions, or customizing Stream RN UI. Triggers on React Native, Expo, Expo Router, stream-chat-react-native, stream-chat-expo, @stream-io/video-react-native-sdk, @stream-io/feeds-react-native-sdk, channel list, message list, MessageComposer, threads, attachment picker, audio messages, offline support, push notifications, video call, livestream, audio room, ringing, CallContent, ParticipantView, activity/timeline/notification feed, useCreateFeedsClient, StreamFeeds, comments, reactions, follows, and theming. React Native and Expo only - not web React (use stream-react), not Moderation review UI.
73
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Rules: Read RULES.md once per session. Every non-negotiable React Native Chat, Video, and Feeds rule is stated there.
This file is the single entrypoint: intent classification, product selection, project detection, and module pointers for Stream Chat React Native, Stream Video React Native, and Stream Feeds React Native work.
Before any tool call, decide the track from the user's input alone. Do not probe the filesystem first.
| Signal in user input | Track |
|---|---|
| "Build/create/scaffold a new React Native app", "create an Expo app", "new Stream Chat RN app", "new Stream Video RN app", "new Stream Feeds RN app", empty directory + React Native/Expo Chat / Video / Feeds | A - New app |
| "Upgrade/migrate/bump a Stream SDK version", "upgrade stream-chat-react-native to v9", "migrate Chat RN to the new SDK", "v8 to v9", "bump Stream Video/Feeds", "Feeds v2 -> v3" | M - Migrate / upgrade |
"Migrate from Sendbird", "replace Sendbird with Stream", "we're switching off Sendbird", "rip out @sendbird/uikit-react-native", "convert SendbirdUIKitContainer / createGroupChannelFragment to Stream", @sendbird/chat / @sendbird/uikit-react-native / -foundation present in the target's package.json | S - Migrate from Sendbird |
| "Add/integrate Stream Chat into this app", "wire Chat RN", "set up stream-chat-expo", "add a video call", "wire Stream Video", "set up @stream-io/video-react-native-sdk", "add an activity feed", "wire Stream Feeds", "set up @stream-io/feeds-react-native-sdk", "change/customize this Chat / Video / Feeds UI" | B - Existing app |
React Native, Expo, Expo Router, stream-chat-react-native, stream-chat-expo, @stream-io/video-react-native-sdk, @stream-io/feeds-react-native-sdk, Stream Chat RN, Stream Video RN, Stream Feeds RN, Chat React Native, Video React Native, Feeds React Native, migration | C - Reference lookup if the user only asks how/docs; otherwise B - Existing app |
Explicit product/runtime token: Chat React Native, Chat Expo, Video React Native, Video Expo, Feeds React Native, Feeds Expo | C - Reference lookup |
| Words "docs" or "documentation" around Stream Chat, Stream Video, or Stream Feeds React Native / Expo work | C - Reference lookup |
| "How do I {X} in React Native/Expo?", "What does {SDK component/hook/prop} do?" | C - Reference lookup |
| "Audit/review/check an existing Stream Video integration against best practices", "is my video app production-ready?", "what am I missing before launch?" | C - Reference lookup (read-only) - run the Integration best-practices audit in references/VIDEO-REACT-NATIVE.md |
| "Install Stream packages", "set up Chat RN", "set up Video RN", "set up Feeds RN", "wire auth/token flow" with no broader feature request | D - Bootstrap / setup |
| Stream Moderation review UI or any other non-Chat / non-Video / non-Feeds Stream RN product | Reject bundled scope and route to live docs only if the user wants docs |
Bare /stream-react-native with no args | List the tracks briefly and wait |
If the request is ambiguous between wiring code and reference lookup, ask one short question and wait:
Do you want me to wire this into the project, or just map the React Native SDK pattern and files?
If the user wants a new app but did not name Expo or RN CLI, default to Expo because it is the shortest successful path. Use RN CLI when the user asks for it or when native project constraints require it.
Identify the product from the user's input or detected packages. Tracks A, B, and D all need the product before continuing; Track C selects the matching reference pair.
| Product signal | Product | References |
|---|---|---|
stream-chat-react-native, stream-chat-expo, channel, message, MessageComposer, thread, attachment, offline support | Chat | references/CHAT-REACT-NATIVE.md + references/CHAT-REACT-NATIVE-blueprints.md |
@stream-io/video-react-native-sdk, video call, livestream, audio room, ringing, CallContent, ParticipantView, screenshare, picture in picture | Video | references/VIDEO-REACT-NATIVE.md + references/VIDEO-REACT-NATIVE-blueprints.md |
@stream-io/feeds-react-native-sdk, useCreateFeedsClient, StreamFeeds, StreamFeed, activity feed, timeline feed, notification feed, for-you feed, useFeedActivities, useActivityComments, reactions, comments, follows, follow / unfollow, activity composer, activityWithStateUpdates | Feeds | references/FEEDS-REACT-NATIVE.md + references/FEEDS-REACT-NATIVE-blueprints.md |
| Two or more products in one app (chat alongside a video call, feeds + chat, feeds + video, etc.) | Combined | Load only the reference pairs for the products in scope. Nest the providers (e.g. <StreamVideo> inside <OverlayProvider><Chat> inside <StreamFeeds>); do not place them as siblings. See RULES.md and the manifest-selected /video/docs/react-native/advanced/chat-with-video.md for the Chat + Video interop notes |
If the request is ambiguous between products, ask one short question and wait:
Are you wiring Stream Chat (channels, messages), Stream Video (calls, livestream, audio rooms), or Stream Feeds (activity feed, timeline, comments, reactions, follows)? Or more than one in the same app?
This skill bundles Chat, Video, and Feeds React Native. If the user asks for Stream Moderation review UI or another non-bundled Stream RN product, say:
The React Native skill currently bundles Chat, Video, and Feeds references. I can help with any combination of those here, or switch to live docs for other products.
Do not invent missing React Native Moderation API details from memory.
builder.md and sdk.md. Run credentials.md before writing Chat, Video, or Feeds connection code or creating requested demo data.migrate.md first; it fetches the live upgrade guide before any edit. Run Project signals for lane / package-manager / New-Architecture detection, but skip credentials, provisioning, and the scaffold path - it edits an existing project.sendbird-migration.md first; it detects the Sendbird integration shape (and the Expo-vs-bare flavor) before any edit. Run Project signals for lane / package-manager / New-Architecture detection, but do not enter Track A/B/D or any scaffold path - it re-implements an existing Sendbird integration in place.Use credentials.md once per session before writing code that connects to Stream Chat, Stream Video, or Stream Feeds.
It resolves:
UpdateUsers, GetOrCreateChannel, SendMessage; Video and Feeds do not require seed data because calls are ephemeral and activities can be posted at runtime)For Track A, it is acceptable to scaffold the app first if the runtime or target directory must be resolved before credentials. Do not render a connected Chat, Video, or Feeds UI until credentials or a token-provider plan are resolved.
Read-only local probe. Use it to detect empty/new workspace, RN CLI vs Expo, New Architecture hints, navigation setup, and existing Stream packages.
bash -c 'echo "=== PACKAGE ==="; test -f package.json && grep -oE "\"(stream-chat-react-native|stream-chat-expo|@stream-io/video-react-native-sdk|@stream-io/feeds-react-native-sdk|@stream-io/react-native-webrtc|@stream-io/react-native-callingx|react-native|expo|@react-navigation/[^\"]+|expo-router|react-native-reanimated|react-native-worklets|react-native-teleport|@op-engineering/op-sqlite)\": *\"[^\"]*\"" package.json 2>/dev/null; echo "=== EXPO ==="; find . -maxdepth 2 \( -name "app.json" -o -name "app.config.js" -o -name "app.config.ts" -o -path "./app/_layout.*" \) -print 2>/dev/null; echo "=== NATIVE ==="; find . -maxdepth 2 \( -name "ios" -o -name "android" \) -type d -print 2>/dev/null; echo "=== CONFIG ==="; find . -maxdepth 2 \( -name "babel.config.js" -o -name "metro.config.js" \) -print 2>/dev/null; echo "=== EXPO_SDK ==="; node -e "try{console.log(require(\"./node_modules/expo/package.json\").version)}catch(e){try{console.log(require(\"./package.json\").dependencies.expo)}catch(e){console.log(\"-\")}}" 2>/dev/null; echo "=== EMPTY ==="; test -z "$(ls -A 2>/dev/null)" && echo "EMPTY_CWD" || echo "NON_EMPTY"'Hold the result in conversation context. Do not re-run unless the user changes directory, packages are installed, or the project shape changes.
Use the result to produce a one-line status, for example:
Empty workspace detected - defaulting to Expo new app unless the user asked for RN CLIExpo app detected - stream-chat-expo absent - Expo Router present - ready for Chat setupExpo app detected - Expo SDK 56+ - apply RULES.md > Expo Router SDK 56+ rule (no @react-navigation/*)⚠️ react-native-reanimated 4.5.0 + react-native-worklets 0.10.0 detected — known crash pair (Expo SDK 57 pin); bump to ≥4.5.1/≥0.10.2 and rebuild native (RULES.md > Required peer setup)Expo app detected - @stream-io/video-react-native-sdk absent - ready for Video setupExpo app detected - @stream-io/feeds-react-native-sdk absent - ready for Feeds setupRN CLI app detected - ios/android present - stream-chat-react-native installed - checking provider placementRN CLI app detected - both @stream-io/video-react-native-sdk and stream-chat-react-native installed - Chat + Video interop appliesExpo app detected - @stream-io/feeds-react-native-sdk and stream-chat-expo installed - nest StreamFeeds + Chat providers (no sibling mounts)No RN/Expo app detected in a non-empty directory - create a new app in a child directory or ask before reusing this directoryIf there is no RN/Expo project and Track A applies, scaffold one through builder.md > 2. New app scaffold. If Track B/D applies in a non-RN directory, ask before creating a child app because that changes project ownership.
| Track | Module(s) |
|---|---|
| A - New app | builder.md + sdk.md + llms.txt docs lookup + product references (Chat / Video / Feeds) |
| B - Existing app | builder.md + sdk.md + llms.txt docs lookup + product references (Chat / Video / Feeds) |
| C - Reference lookup | sdk.md + references/DOCS.md + relevant product reference files |
| D - Bootstrap / setup | builder.md + sdk.md + llms.txt docs lookup |
| M - Migrate / upgrade | migrate.md + references/DOCS.md (live upgrade guide) + product reference for the migrated SDK |
| S - Migrate from Sendbird | sendbird-migration.md + references/sendbird-notes.md + references/sendbird-symbols.tsv + references/design-matching.md + credentials.md + references/CHAT-REACT-NATIVE.md |
Shared React Native and Expo patterns live in sdk.md.
Product-specific setup, docs lookup, gotchas, and UI blueprints live under references/:
llms.txt docs lookup (Chat, Video, Feeds): references/DOCS.mdreferences/CHAT-REACT-NATIVE.mdreferences/CHAT-REACT-NATIVE-blueprints.mdreferences/VIDEO-REACT-NATIVE.mdreferences/VIDEO-REACT-NATIVE-blueprints.mdreferences/FEEDS-REACT-NATIVE.mdreferences/FEEDS-REACT-NATIVE-blueprints.mdreferences/SIMULATOR-VERIFICATION.mdIf the requested product file is not bundled yet, say so plainly and only switch to live docs if the user asks.
The bundled blueprints cover the common scaffold path only - root providers, auth gate, fresh-app scaffold, channel list, channel/message screen, threads (and the Video/Feeds equivalents). For anything that customizes or extends that path, the live llms.txt-selected page is the source of truth for the current API and recommended pattern. Fetch it before writing code.
Docs-first applies when the request hits any of these:
Mechanism (mirrors the stream-react skill):
match -> run the references/DOCS.md manifest lookup -> WebFetch (or curl -Ls) the selected .md page -> implement to match. On fetch failure, hand to the stream-docs skill; if neither resolves the API, stop and ask the user - never build customization, cookbook, or advanced features from memory.
Enforced by RULES.md > Package version and docs discipline.
Orthogonal to the track above: if a request carries a target appearance - an attached
screenshot, a Figma frame, or "make it look like <app>" - do not
treat it as a set-a-few-colors task. Before writing UI code, run
references/design-matching.md:
it decomposes the reference region by region and plans every difference as one of three axes -
theming (the Theme object), layout (WithComponents slot overrides + props), or
functional (props / config / SDK hooks) - then verifies region-by-region against the reference.
Implement every region, the composer included; a region left at the SDK default is a FAIL, not a
"known cosmetic gap."
This runs in addition to (not instead of) the DOCS.md lookup: fetch the manifest-selected
theming/customization pages to confirm exact theme paths and component names. A plain request
with no target appearance does not trip this flag - build from the blueprints as usual.
Front-loaded traps (the recurring RN design-match failures — internalize before you start; full detail + recipes in references/design-matching.md):
messageInputFloating on <Channel> — never fake a floating pill with a translucent background fill. The composer bar surface is messageComposer.wrapper (container is only an inner row — colouring it paints a band around the buttons). Send/mic lives inside the input pill and swaps at-rest↔typing (reuse OutputButtons, don't hand-roll). The attach + is two things — a trigger and a +↔keyboard stateful icon wired to toggleAttachmentPicker (don't drop in the bordered SDK AttachButton and assume it matches).MessageContent* slots), not a theme key — the inside-the-bubble metadata look many reskins need.AttachmentPicker (tiles on top + gallery below) — override AttachmentPickerSelectionBar, don't build a parallel modal. A bottom bar is also overridable (both AttachmentPickerSelectionBar and AttachmentPickerContent are context slots) — null the bar + override the content with an absolute-overlay bar; the host being a direct import does NOT lock the layout.Channel keyboardVerticalOffset/topInset: pass an explicit 0 for an inside-Channel header — omitting keyboardVerticalOffset passes undefined (it has no SDK default), not 0. Set a non-zero value only for a native header (or a sibling header above <Channel>). Verify keyboard-avoidance by focusing the input to raise the real keyboard — setText doesn't raise it.FORCE_REACT_RENDER_FOR_SETTLED_ANIMATIONS: false in root package.json (both in RULES.md > Required peer setup).The cross-cutting reasoning rules that catch these live in references/design-matching.md — read it for any design-match request. Where each one sits: partial-styling → inner container, name-isn't-the-node, reinvention red flag, structure-before-surface and idiomatic-≠-matching in Step 1 > Region checklist + routing; no magic numbers and ink-vs-declared-size in Step 1 > Getting sizes right / Weight; override-every-cascading-token, pinned-vs-adapted surfaces and glyph knockouts in Step 1 > Follow EVERY color; regression adjacency in Step 3. Two stay here: green-launch ≠ correct in references/SIMULATOR-VERIFICATION.md §7, and assumed-≠-SDK-default in RULES.md > Package version and docs discipline.
Full detail: builder.md - use the new-app path.
| Phase | Name | What you do |
|---|---|---|
| A1 | Detect | Run Project signals. Empty workspace is valid for Track A. |
| A2 | Choose lane and product | Default to Expo if unspecified; use RN CLI when requested. Confirm product (Chat, Video, Feeds, or any combination). |
| A3 | Scaffold | Create the app with current framework tooling; do not explain full RN/Expo environment setup. |
| A4 | Install + wire | Use the manifest-selected Installation docs for each product, verify npm dist-tags, install package and peers, then wire providers and first UI. |
| A5 | Verify | Confirm install, root providers, permissions (Video: camera/mic), auth, and first rendered Chat / Video / Feeds screen. |
Full detail: builder.md - use the existing-project path.
| Phase | Name | What you do |
|---|---|---|
| B1 | Detect | Run Project signals and inspect existing app structure before editing. Note any existing Chat / Video / Feeds packages. |
| B2 | Preserve | Keep Expo/RN CLI lane, package manager, navigation stack, and auth architecture. If the user asks to upgrade/migrate an SDK version, that is Track M -> migrate.md, not a Track B edit. |
| B3 | Integrate | Use llms.txt lookup for the requested area, then load only the Chat / Video / Feeds reference/blueprint sections needed. |
| B4 | Verify | Confirm the requested Stream Chat / Video / Feeds flow builds and renders in the existing app. |
Load only the relevant files for the requested product:
llms.txt manifest lookup rules -> references/DOCS.mdsdk.mdreferences/CHAT-REACT-NATIVE.mdreferences/CHAT-REACT-NATIVE-blueprints.mdreferences/VIDEO-REACT-NATIVE.mdreferences/VIDEO-REACT-NATIVE-blueprints.mdreferences/FEEDS-REACT-NATIVE.mdreferences/FEEDS-REACT-NATIVE-blueprints.mdreferences/VIDEO-REACT-NATIVE.md (read-only review; produce findings before changing any code)If the user asks for exact API details not bundled here, use references/DOCS.md to fetch the right manifest and selected markdown page. If implementation still needs source-level confirmation, inspect the installed package under the target app's node_modules after dependencies are installed. Do not use machine-specific documentation paths.
Use when the user wants package install and shared wiring more than a full feature build. Branch by product:
llms.txt lookup for the matching product's Installation docs and verify current npm dist-tagsstream-chat-react-native or stream-chat-expo; Video: @stream-io/video-react-native-sdk; Feeds: @stream-io/feeds-react-native-sdk + @react-native-community/netinfo)GestureHandlerRootView, place OverlayProvider and Chat, wire useCreateChatClient or the app's backend token providerStreamVideoClient and mount StreamVideouseCreateFeedsClient (returns undefined while connecting), mount <StreamFeeds client={client}> once near the app root, and (typically) wrap an OwnFeedsContextProvider that creates the user + timeline feeds and the self-followFull detail: migrate.md - Read it first; it fetches the live upgrade guide before any edit. Docs-driven and read-only until the guide is fetched - never migrate from memory (RULES.md > Package version and docs discipline). Skip credentials, provisioning, and scaffold; preserve the project's runtime lane, package manager, and lockfile.
| Phase | Name | What you do |
|---|---|---|
| M1 | Detect | Run Project signals + read package.json/lockfile: which Stream packages, their from -> to versions, runtime lane, package manager, and RN/Expo New-Architecture status. |
| M2 | Fetch the guide | From the product manifest (references/DOCS.md) fetch the matching upgrade guide (known entry point: Chat RN v8 -> v9). Hard gate on failure -> stream-docs -> stop and ask. |
| M2.5 | Prerequisites | Clear RN-specific blockers first: New Architecture requirement, new native/peer deps (e.g. react-native-teleport for Chat v9), native rebuild. |
| M3 | Apply | Bump only the targeted packages (each at its own target; bump the lane's Chat wrapper), apply every documented breaking change, ground each symbol in installed node_modules/stream-chat-react-native-core source, grep for renamed symbols, do native config + keyboard cleanup. |
| M4 | Verify | tsc --noEmit -> Metro bundle -> native build -> simulator/device smoke of the core flow. No next build; a green tsc is not a render. Run gate commands from an absolute cd and never piped - a pipe returns the pipe's exit status, not the command's. |
| M5 | Summarize | Packages bumped, breaking changes applied, native/New-Arch changes, files touched, manual follow-ups. Offer (don't auto-run) the next step. |
Full detail: sendbird-migration.md - Read it first. It detects the existing Sendbird integration shape and the Expo-vs-bare flavor, then re-implements each touchpoint in place against the grounded Sendbird<->Stream mapping (references/sendbird-notes.md + references/sendbird-symbols.tsv), and finally offers the separate server-side data migration. Not a scaffold track: do not enter Track A/B/D. The compiler is the oracle - never migrate from memory (references/sendbird-notes.md > Trust model).
| Phase | Name | What you do |
|---|---|---|
| S0 | Detect & inventory | Run Project signals for the flavor (Expo vs bare RN), package manager, New-Arch, navigation. Grep the Sendbird footprint, classify each touchpoint + every @sendbird symbol (mapped / unmapped-known / unknown), build the parity ledger, and capture the visual baseline (simulator screenshots of the original, or code-derived theme) - sendbird-migration.md section 0. |
| S1 | Plan & checkpoint | Assemble the plan (flavor + shape, token path, design bar, gaps). Pause and batch-ask the user on any GAP row, unresolved credentials, or an ambiguous design bar; else proceed. Section 2. |
| S2 | Packages & connection | Install Stream alongside Sendbird (flavor-correct package + peers; wire GestureHandlerRootView / OverlayProvider / Reanimated Babel plugin). Prove a real user connects (useCreateChatClient + tokenProvider) via credentials.md before touching UI. Sections 3-4. |
| S3 | Migrate touchpoints | File-by-file, in place: UI composition (no <Window>; app-owned header), channels, messages/attachments, events ({ unsubscribe } cleanup), pagination (stateless), membership/moderation, offline. Delete hand-rolled machinery for reactive primitives. Then remove all three Sendbird packages. Section 5. |
| S4 | Design parity | Re-author the theme as a JS Theme object (no CSS), then run references/design-matching.md from Step 1 with the baseline as the reference. Section 6. |
| S5 | Verify | Gates in order: tsc --noEmit, native build, zero @sendbird imports, two-user simulator smoke + every interaction driven (gate 4 - handlers are verified there, not by the design gate), design verify loop vs the ledger, ledger closure, README. Run gate commands from an absolute cd and never piped. Section 7. |
| S6 | Offer data migration | Never auto-run. Offer the server-side data migration (../stream/sendbird-data-migration.md); stop if the user only wanted the SDK swap. Section 8. |
1c67ee3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.