Summary
Cloud Firestore database setup, configuration, and query execution across Standard and Enterprise editions.
- Detects existing Firestore instances and their editions, then routes to appropriate guides for Standard or Enterprise configurations
- Covers database provisioning, security rules, data modeling, SDK integration across web, Android, iOS, and Flutter platforms, and index management
- Defaults to Enterprise edition for new databases and supports location selection with resource colocation recommendations
- Works with Firebase CLI but does not require it as a prerequisite
Cloud Firestore Database and Operations
[!IMPORTANT] Security Rules Authoring (
firestore.rules) Whenever setting
up a Firestore-backed app or creating/modifyingfirestore.rules, configure"firestore": { "rules": "firestore.rules" }infirebase.jsonand deployfirestore.rules
(npx -y firebase-tools@latest deploy --only firestore:rules), even if server
routes use the Admin SDK:
- If subagent delegation AND the
firestore-rules-authorsubagent are
available: delegate authoringfirestore.rulesto thefirestore-rules-authorsubagent rather than writingfirestore.rules
directly in the main agent.- If subagent delegation is unavailable (e.g., subagents not enabled in
the IDE) ORfirestore-rules-authoris not installed: read and follow
thefirestore-rules-creationskill to writefirestore.rulesdirectly.
Before setting up dependencies, writing data models, or configuring security
rules, you MUST always identify the Firestore instance edition.
Installs: 152.1K | GitHub stars: 533 | First seen: Apr 30, 2026


