# firebase-firestore

> Claude/Codex skill by [@firebase](https://omgskills.com/library/firebase/index.md) · 472 stars · Updated 2026-10-18

Sets up, manages, queries, and configures Cloud Firestore databases (Standard/Enterprise edition), including data modeling, security rules, indexes, and SDK integrations (Web, Python, iOS, Android, Flutter). Use when creating/listing Firestore databases, defining data models/indexes, writing SDK queries, or integrating Firestore SDKs. For authoring or modifying Firestore Security Rules (firestore.rules), delegate to the firestore-rules-author subagent if subagent delegation is available, or use firestore-rules-creation otherwise. Don't use for Firebase Hosting, Data Connect, Auth, Storage/GCS, Crashlytics, Functions, or BigQuery.

## Install

```sh
git clone https://github.com/firebase/agent-skills /tmp/agent-skills && ln -s /tmp/agent-skills/skills/firebase-firestore ~/.claude/skills/firebase-firestore
```

## From README

Cloud Firestore Database and Operations \[!IMPORTANT\] Security Rules Authoring (firestore.rules) Whenever your task requires creating, authoring, or modifying firestore.rules: 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. Instance Selection and Edition Detection Run the following command to list current Firestore databases: A.

## Links

- HTML page: https://omgskills.com/library/firebase/skills/firebase-firestore/
- GitHub: https://github.com/firebase/agent-skills
- Author: [@firebase](https://omgskills.com/library/firebase/index.md)

## More from this repo

- [extension-to-functions-codebase](https://omgskills.com/library/firebase/agent-skills/skills/extension-to-functions-codebase/index.md) — Skill for converting an installed Firebase Extension (or extension source) into a standalone Cloud Functions for...
   - [@firebase](https://omgskills.com/library/firebase/index.md) · 491 stars
- [firebase-app-hosting-basics](https://omgskills.com/library/firebase/skills/firebase-app-hosting-basics/index.md) — Deploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App...
   - [@firebase](https://omgskills.com/library/firebase/index.md) · 491 stars
- [firebase-basics](https://omgskills.com/library/firebase/skills/firebase-basics/index.md) — Provides foundational Firebase CLI setup, CLI installation, version checks (\`firebase-tools@latest --version\`), CLI...
   - [@firebase](https://omgskills.com/library/firebase/index.md) · 491 stars
