New advertisers: 50% off your first month with code FIRSTMONTHSee slots
firebase avatar

Firebase Firestore

Standard and Enterprise Cloud Firestore setup, data modeling, indexes, and SDK integration guidance for multiple platforms.

skills.sh installs
146.3K
GitHub stars
522
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers database listing, edition detection, creation in Enterprise mode, and routing to edition-specific reference guides
  • Includes SDK usage references for Web, Python, Android, iOS, and Flutter, plus data model and index guides
  • Requires reading the relevant Enterprise SDK reference before writing any application code for that platform
  • Delegates firestore.rules authoring to the firestore-rules-author subagent, falling back to firestore-rules-creation when unavailable

Install

$ npx -y skills add firebase/agent-skills --skill firebase-firestore -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

1. Instance Selection and Edition Detection

Run the following command to list current Firestore databases:

Details

Repository
github.com/firebase/agent-skills
Categories
Databases, Backend & APIs
First seen
May 16, 2026

More from firebase/agent-skills

All 17

Similar to Firebase Firestore

More Databases