This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Rocket.Chat React Native mobile client. Single-package React Native app (not a monorepo) using pnpm. Supports iOS 16.4+ and Android 7.0+.
Read CONTEXT.md.
corepack enable # First-time per machine: activates the pinned pnpm version
bundle install # First-time per worktree: gems vendor into vendor/bundle; pod-install fails with Bundler::GemNotFound without it
pnpm pod-install # Required before any iOS buildEverything else is a standard package.json script.
- Before committing: Run
pnpm format-lint(repo-wide; takes no file list) andpnpm test <paths>for modified files. Nothing enforces this locally — CI is the only gate. - Reviewing: apply
CODING_STANDARDS.md.
- Local-first data flow: the UI reads from WatermelonDB, sagas sync it with the server.
- Redux + Redux-Saga holds global/server state, but Zustand backs several feature-local stores. Don't assume Redux.
CI triggers and manual gates: see .github/README.md.