🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@cometchat/skills-native

Package Overview
Dependencies
Maintainers
12
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cometchat/skills-native

Deprecated alias for @cometchat/skills@4+. Forwards `cometchat-skills-native add` to `cometchat-skills add --family native`. Update your scripts to use the unified package.

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
12
Created
Source

@cometchat/skills-native

Add CometChat to any React Native project through your AI coding agent. Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and 30+ more agents.

The cometchat dispatcher in this package is identical to the one in @cometchat/skills — install whichever package matches your project, or both for monorepos with web + native. One slash, /cometchat, works for every framework either package supports.

Install

npx @cometchat/skills-native add

Supported IDEs: Claude Code (default), Cursor, Kiro, VS Code Copilot. Use --ide <name> to target a specific one, or --ide all.

Then in your IDE:

/cometchat add chat to my expo app

Supported frameworks

FrameworkStatus
Expo (managed workflow)
Expo Router (file-based routing)
Bare React Native (CLI)

The dispatcher uses cometchat detect to pick the right pattern skills; nothing to configure manually.

What gets installed

The cometchat-skills-native add command writes 13 skills into your IDE's skills directory (.claude/skills/ for Claude Code, .cursor/skills/ for Cursor, etc.):

SkillPurpose
cometchatShared dispatcher — detects framework, runs onboarding, writes integration code, surfaces the iteration menu
cometchat-native-coreInit / login order, four-wrapper provider chain, env vars, anti-patterns
cometchat-native-componentsComponent catalog — names, props, slot views, request builders
cometchat-native-placementWhere to put chat — Stack screen / BottomTab / Modal / BottomSheet / Embedded
cometchat-native-expo-patternsExpo managed workflow — expo install, app.json config, gesture handler, Expo Router
cometchat-native-bare-patternsBare RN — pod install, native modules, iOS Privacy Manifest, permissions
cometchat-native-themingCometChatThemeProvider, dark mode, per-component style objects
cometchat-native-featuresCalls, extensions, AI agent, reactions, polls — what each requires
cometchat-native-customizationCustom text formatters, events, request-builder filtering, DataSource decorators
cometchat-native-productionServer-minted auth tokens, user management CRUD, external-backend recipes
cometchat-native-pushAPNs + FCM setup, dashboard providers, client registration, tap-to-deep-link
cometchat-native-testingJest + RNTL mocking, component tests, E2E with Detox or Maestro, CI
cometchat-native-troubleshootingMetro cache, pod install, iOS privacy manifest, native module linking

What happens

  • Detects your project — Expo managed vs Expo Router vs bare RN; React Native version; existing navigation library; existing auth system
  • Onboards you to CometChat in the terminal — no browser round-trip. Signup, login, app creation all via the CLI.
  • Asks what you're building (messaging, marketplace, SaaS, social, support, or just exploring) and where chat should live — Bottom tab? Stack screen? Modal? BottomSheet?
  • Shows the plan — every file to create, every file to modify, every file untouched — and waits for your approval
  • Writes the provider, four-wrapper chain, chat screen(s), and navigation wiring
  • Saves .env with the correct prefix (EXPO_PUBLIC_* for Expo, plain for bare RN paired with react-native-dotenv) and records your choices in .cometchat/config.json

No templates, no experiences to pick — the agent writes real code that fits your app.

After the first integration

Re-run /cometchat anytime to pick from the iteration menu:

  • Customize look & feel — colors, typography, dark mode toggle wiring (useColorScheme, custom Context, react-native-paper, restyle, tamagui)
  • Add a feature — calls (via @cometchat/calls-sdk-react-native), reactions, polls, AI agent, smart replies
  • Customize a component — custom message bubbles, headers, composer actions, empty states
  • Add another placement — modal, bottom sheet, or another tab on top of the existing integration
  • Set up push notifications — APNs (iOS) + FCM (Android), CometChat dashboard provider config, client registration, foreground/background, tap-to-deep-link
  • Set up production auth — server-minted auth tokens (Express, Hono, Cloud Functions, Firebase Functions)
  • Set up user management — server endpoints for creating/updating/deleting CometChat users
  • Set up testing — Jest + RNTL mocks, component tests, E2E via Detox or Maestro
  • Troubleshoot — Metro cache, pod install, privacy manifest, native module linking

For deeper component customization (custom views, SDK events, request builders), install the docs MCP:

Claude Code:

claude mcp add --transport http cometchat-docs https://www.cometchat.com/docs/mcp

Not required for the initial integration — the skill handles Phase A without it.

CLI

The skills call @cometchat/skills-cli@2.2.0+ under the hood (RN-aware detect, provision setup, doctor, verify). You can also run commands directly:

npx @cometchat/skills-cli detect            # framework + expo_mode + RN version
npx @cometchat/skills-cli auth signup       # create account in terminal
npx @cometchat/skills-cli provision setup \
  --name my-rn-chat --region us \
  --industry online_marketplaces \
  --framework expo                          # or `react-native` for bare

Prerequisites

  • An AI coding agent (Claude Code, Cursor, Kiro, VS Code Copilot, or any skills.sh-compatible agent)
  • Node.js 18+
  • React Native 0.70+ (0.72+ recommended)
  • Expo SDK 49+ (if using Expo)

No CometChat account required before starting — the skill walks you through signup from the terminal.

License

MIT

Keywords

deprecated

FAQs

Package last updated on 03 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts