gustavo-em/orchestrator-features/firebase-rn
Claude Code and agent skill by gustavo-em/orchestrator-features
- community
Checking that the SKILL.md file is still in the repository.
Conventions and review checklist for Firebase (Auth, Firestore) in React Native apps: native module wiring, listener lifecycle, security rules, offline behavior, and abuse limits. Use when implementing or reviewing code that touches @react-native-firebase Auth/Firestore, login/session flows, or shared data sync; do not use for UI styling or market questions.
Install
npx vskill@latest install gustavo-em/orchestrator-features/firebase-rnSKILL.md
The same SKILL.md was published earlier as gustavo-em/orchestrator-features/firebase-rn.
Firebase + React Native
Conventions for this codebase. In review, each violation is a finding with file:line.
Wiring (why builds break)
@react-native-firebase/*are NATIVE modules: adding or upgrading one requires a
native rebuild (gradlew installDebug) — JS reload is not enough. "Native module not registered" at runtime means stale binary, not broken JS.
google-services.jsonmust be issued for the app's exactapplicationId; the
google-services gradle plugin must be applied. Never "fix" a mismatch by renaming the app's applicationId.
Auth
- One source of truth for session:
onAuthStateChanged. UI never assumes a user
between mount and the first callback — model the explicit unknown state.
- Every
onAuthStateChanged/onSnapshotsubscription returns its unsubscribe and is
cleaned up on unmount (useEffect return). A leaked listener is a finding.
- Auth errors map to user language by
error.code(wrong-password, user-not-found,
network-request-failed, too-many-requests); never show raw Firebase messages.
too-many-requestsis Firebase anti-abuse, NOT an app bug: back off and tell the
user to wait — do not retry in a loop, do not "fix" the form.
- Sign-out clears in-memory user state but must NOT delete local-only data the user
created before having an account.
Firestore (shared data)
- Model membership explicitly (memberIds array or members subcollection); every read
the UI does must be allowed by a security rule that checks membership — client-side filtering is not access control.
- Conflict policy is last-write-wins unless the brief says otherwise; concurrent
edits must not crash or duplicate.
- Snapshots drive the UI; one-shot
get()only for actions. Handle
hasPendingWrites states so offline writes don't look lost.
- Unbounded queries are findings: paginate or hard-limit list queries.
- Never store secrets or other users' private data in documents readable by members.
Testing constraints (for the orchestrator)
- Repeated wrong-password attempts trip anti-abuse: at most ONE wrong-password
evidence capture per run; use unique throwaway emails per run for signup evidence.
- Prefer the Firebase Auth/Firestore Emulator for heavy automated flows when
configured; against production, keep test volume minimal.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/firebase-rn/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gustavo-em/orchestrator-features/firebase-rn)