firebase-firestore

Installation
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
SKILL.md

Cloud Firestore Database and Operations

[!IMPORTANT] Security Rules Authoring (firestore.rules) Whenever setting up a Firestore-backed app or creating/modifying firestore.rules, configure "firestore": { "rules": "firestore.rules" } in firebase.json and deploy firestore.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-author subagent are available: delegate authoring firestore.rules to the firestore-rules-author subagent rather than writing firestore.rules directly in the main agent.
  • If subagent delegation is unavailable (e.g., subagents not enabled in the IDE) OR firestore-rules-author is not installed: read and follow the firestore-rules-creation skill to write firestore.rules directly.

Before setting up dependencies, writing data models, or configuring security rules, you MUST always identify the Firestore instance edition.

Installs
142.1K
GitHub Stars
506
First Seen
Apr 30, 2026