In short.
This is an instruction skill from the firebase/agent-skills repository that teaches an AI coding agent to set up and use Cloud Firestore, for developers building web, Android, iOS, Flutter or Python apps; its main catch is that it directs the agent to run Firebase CLI commands that create databases and deploy configuration to a real cloud project, and it depends on companion skills that were not captured with it. Technically, SKILL.md makes the agent list existing databases with the Firebase CLI, read each database's edition, and then follow either the Standard or the Enterprise reference guides. For new databases it defaults to Enterprise edition. Pipeline guidance in the Enterprise guides differs by platform: the Web guide makes server-side pipeline queries the default, with standard queries and listeners kept for real-time or offline needs; the Android guide mandates pipelines for joins, aggregations and search; the Python guide shows ordinary queries plus a pipeline example; and the Flutter guide presents ordinary queries and streams. The files were read but nothing was executed, so none of the commands or code samples were tested, and the evidence gives no cost, benchmark or effectiveness data.
Researched and written by an AI model and checked by a second AI model. How it works
This report covers the firebase-firestore skill folder at [https://github.com/firebase/agent-skills/tree/main/skills/firebase-firestore], captured at revision 99954a30898bb5ddc8152ee10e124dc3b4106bf7. It includes SKILL.md and all 14 reference files (8 Enterprise, 6 Standard), read in full. The repository-root Apache License 2.0 file was retained as the related notice. No NOTICE file or per-folder licence was captured. Excluded: linked pages, other folders in the repository, and the companion skills and subagent the files mention (firestore-rules-creation, firestore-rules-author, firebase_basics, xcode-project-setup). Nothing was executed or tested: no CLI command, SDK snippet or agent workflow was run. Firestore pricing, API stability and emulator support for Enterprise features are not established, and the limits stated in the guides were not checked independently.
The overview
What this resource is
The resource is the firebase-firestore skill, a folder of Markdown instructions at [https://github.com/firebase/agent-skills/tree/main/skills/firebase-firestore], captured at repository revision 99954a30898bb5ddc8152ee10e124dc3b4106bf7. Its frontmatter names it firebase-firestore, lists Google LLC as author and gives the category Databases.
It is an instruction skill, meaning an AI coding agent loads it as guidance rather than running it as a program. The folder holds one SKILL.md router and 14 reference guides: eight under references/enterprise (provisioning, data model, indexes, and Web, Python, Android, iOS and Flutter SDK guides) and six under references/standard (provisioning, indexes, and Web, Android, iOS and Flutter guides).
Overall assessment
On the evidence this is a substantial, vendor-authored guide with concrete commands, configuration files and SDK snippets for two Firestore editions. It covers Web, Android, iOS and Flutter client development, plus Enterprise Python server development. It looks useful to anyone who wants an agent to scaffold Firestore consistently instead of improvising from memory.
The main reservations are that it relies on companion skills that are not in this folder, tells the agent to create and deploy cloud resources, and ships with no tests or examples of agent output. Its query guidance depends on the platform. The Enterprise Web guide makes pipelines the default, with exceptions for real-time or offline needs. The Enterprise Android guide mandates them for joins, aggregations and search. The Python guide includes ordinary queries and a pipeline example, and the Flutter guide presents ordinary queries and streams. The captured text does not apply the Web or Android rules to Python or Flutter. Nothing here was run, so its real behaviour with any given agent is unknown.
Who it is for
The target reader is a developer, or a developer's AI coding agent, building an app on Cloud Firestore. The description lists adding or migrating app databases, creating and listing databases, defining data models and indexes, and writing SDK queries. The guides cover Web (the modular v9+ SDK), Android with Kotlin, iOS with Swift and Flutter. For Enterprise only, they also cover a Python SDK for backend or server environments.
Beginners can read the guides directly: the data model guide explains documents, collections, subcollections and collection groups in plain terms. However, the skill is written as instructions to an agent and assumes you already have a Firebase project and are comfortable approving CLI commands. The description says not to use it for Data Connect, BigQuery, or standalone Hosting, Auth, Storage, Crashlytics or Functions work.
What it helps with
Edition detection and routing: it lists databases with firestore:databases:list, inspects each one with firestore:databases:get, asks the user which instance to target, and picks the Standard or Enterprise guides based on the reported edition. If no database exists, it asks for a location and creates an Enterprise database.
Provisioning: the guides for both editions describe writing firebase.json, a locked-down firestore.rules (allow read, write: if false) and an empty firestore.indexes.json, then deploying and optionally running the local emulator. Enterprise provisioning adds database-creation flags for Firestore data access, MongoDB-compatible access and realtime updates.
Indexes: the Standard guide explains automatic single-field indexes, manual composite indexes, field exemptions and write-rate concerns. The Enterprise guide says no indexes are created by default, so queries fall back to full collection scans, and it documents dense, sparse and unique indexes in firestore.indexes.json.
SDK code: CRUD, transactions, real-time listeners and queries for the listed platforms. The Enterprise guides add pipeline queries, including joins via define and addFields and full-text search with a search stage. The Web guide also covers vector search with findNearest. The Enterprise iOS and Python guides show only basic pipeline calls.
Security rules: the skill only provides the starter lock-down file and hands real rules authoring to other components, which are described under requirements.
Using it
What you need to use it
The skill implies an agent that can load SKILL.md-style skills and run shell commands, but the evidence does not name supported agents or versions. SKILL.md says the skill is best used with the Firebase CLI but does not require it. Its command-based steps do need a working CLI, which SKILL.md says can be run through npx -y firebase-tools@latest, so Node.js and npm are implied. The Enterprise provisioning guide writes some commands as bare firebase commands. That alone does not show that a global installation is required.
You need a Firebase or Google Cloud project and an authenticated CLI. The Android guides say the Firebase CLI must be authenticated and the project registered with a google-services.json file and the Google services Gradle plugin, and they point to a firebase_basics/references/android_setup skill for that. The iOS guides point to an xcode-project-setup skill for adding the Swift Package Manager dependency. Flutter needs flutter pub add cloud_firestore and FlutterFire configured. The Python guide uses Google Application Default Credentials; it does not give a package installation step.
Rules authoring is delegated. SKILL.md hands firestore.rules authoring to a firestore-rules-author subagent only when subagent delegation is available and that subagent is installed. If either is missing, it tells the agent to read and follow the firestore-rules-creation skill. None of these companion pieces are in the captured folder, so the rules workflow cannot be judged from this evidence.
How it works
SKILL.md acts as a router. It opens with a note on security rules, then says the agent must always identify the Firestore instance edition before setting up dependencies, writing data models or configuring rules. The agent runs the list command, inspects each database and asks the user which one to target. It then follows references/standard/ for STANDARD databases or references/enterprise/ for ENTERPRISE or native mode. The wording is ambiguous because it links native mode to the Enterprise guides. The evidence does not show how an agent should handle a Standard database in native mode.
The Enterprise SDK section carries a mandatory reading rule: before writing Firestore application code, the agent must read at least one of the platform guides. Those guides then add their own rules. The Web guide says pipelines should always be the default and tells the agent to read pipelines.d.ts under node_modules/@firebase/firestore/dist. It treats standard where() queries and listeners as an exception, allowed when real-time or offline behaviour is required and explained in the agent's response. The Android guide goes further with 'zero tolerance' language that forbids standard collection queries as the primary approach for relational joins, aggregations or search. It requires the agent to name the pipeline stages it used in its task summary. It also tells the agent to extract pipeline.docs.txt and expressions.docs.txt from the Maven sources JAR for the resolved firebase-firestore version.
SDK versions are looked up at run time rather than pinned. The Android guides tell the agent to query Google Maven metadata for the latest BoM and firebase-firestore versions with curl, or to use gradle dependencyInsight when the dependency already exists. The iOS guides add two hard rules. Never import FirebaseFirestoreSwift, because the guides say it was merged into FirebaseFirestore from SDK v11. Never initialise Firestore inline before FirebaseApp.configure() runs.
Setup
The evidence does not give an install procedure for the skill itself, such as a copy path or a plugin command for a specific agent. The skill is a folder, so setup depends on how your agent loads skills, which the evidence does not cover.
Once the skill is loaded, the workflow for a new Standard database is: create firebase.json pointing at firestore.rules and firestore.indexes.json, create those two files, and run deploy --only firestore. The guide says this deploy is required for the database to exist in the cloud. For a new Enterprise database, the agent runs firestore:databases:create with edition enterprise, a chosen location and a database ID other than (default). It then writes firebase.json with the edition, database and location, and deploys. Local development uses emulators:start --only firestore, typically on port 8080, with the Emulator UI usually on port 4000. The guides do not say whether the emulator supports Enterprise features such as pipelines.
Worked example from the files
This walk-through is drawn from the guides, not from a run. A user asks an agent to add Firestore to a web app. The agent runs npx -y firebase-tools@latest firestore:databases:list. If no database exists, it asks the user to pick a location from firestore:locations, then creates an Enterprise database named, for example, my-database-id. It writes firebase.json with a firestore block naming the rules file, the indexes file, edition enterprise, the database ID and the location, and writes the lock-down firestore.rules. It then reads the Enterprise Web guide, initialises with getFirestore(app, "<database-id>"), and builds a pipeline such as db.pipeline().collection("articles").search({ query: documentMatches("machine learning"), sort: score().descending() }).limit(5), run through execute(). The guide says the search stage was introduced in Firebase v12.13.0.
In the same guide, real-time features such as a task list use standard onSnapshot listeners, with the reason documented, because the guide makes pipelines the default and listeners the exception. Whether a particular agent follows this sequence faithfully is unknown.
Assessment & evidence
Limitations and risks
Missing companions: security rules authoring, Android project setup (firebase_basics) and Xcode project setup (xcode-project-setup) are delegated to skills or a subagent that are not in this folder. The Android guides also reference paths with an underscore, such as firebase_firestore/references/enterprise/provisioning, while the folder is named firebase-firestore. Whether those paths resolve is unknown.
Coverage gaps: the description lists an Admin SDK, but the only server guide is the Enterprise Python one. There is no Standard Python guide, no Node.js, Java or Go Admin guide, no Flutter pipeline guidance, and no data model guide for Standard edition.
Platform-specific query guidance: the Enterprise guides do not share one query rule. The Web guide makes pipelines the default and allows standard queries and listeners when real-time snapshots or offline querying are required. The Android guide uses 'zero tolerance' language to mandate pipelines for relational joins, aggregations and search. The iOS guide shows basic pipeline calls alongside ordinary CRUD and listeners. The Python guide includes ordinary queries and a short pipeline example. The Flutter guide presents ordinary where, orderBy and snapshots queries and streams. The captured text does not apply the Web or Android rules to Python or Flutter, so an agent working on those platforms gets different guidance. The Android pipeline snippets build a pipeline but do not show it being executed. The evidence does not say whether the pipeline API is generally available or still changing. The instruction to read the d.ts file and the sources-JAR docs suggests the skill does not fully document the API itself.
Cloud-changing actions: the skill tells the agent to create databases and deploy rules and indexes. It even says to deploy firestore.rules when server routes use only the Admin SDK. It does not say to ask for confirmation before deploying. The starter rules deny all access, which is a safe default, but real rules come from the missing companion.
Supply chain and drift: many commands use npx -y firebase-tools@latest, which fetches whatever the latest CLI is without prompting or pinning. Code samples are fragments. For example, the Standard Android sample uses AppCompatActivity with Compose setContent without full imports, and the Flutter service catches errors with print and returns an empty list. Figures such as the roughly 500 writes per second index limit are claims from the guides and were not checked.
Effectiveness: no tests, evaluations or sample agent transcripts are included, and nothing was executed.
Why it is rated this way
The skill earns a positive rating because it is specific. It gives real commands, file formats and SDK patterns. It flags known pitfalls: the FirebaseFirestoreSwift import, crashes from inline initialisation before FirebaseApp.configure(), the SwiftUI listener lifecycle, and index hot spots from sequential values. It also tells agents to look up SDK versions at run time instead of trusting memory. Guardrails like these tend to reduce stale or invented code, though this report did not measure that.
Three things hold it back. It depends on components that are not included. The Enterprise Web and Android guides set strict pipeline rules that no tests or sample agent output in the captured files back up. And it takes actions that change a cloud project. Query guidance also differs by platform, so readers should check the guide for their own platform rather than assume one rule applies everywhere. Treated as a well-organised starting point, with a person reviewing what the agent does, it should be useful. It is not a self-contained, verified Firestore workflow.
Alternatives
The evidence does not compare this skill with other products, so any ranking would be speculation. Realistic options include reading Google's own Firestore documentation and writing the setup by hand. You could also use the companion skills this one names (firestore-rules-creation, firebase_basics, xcode-project-setup), which were not reviewed here. Or you could use a general coding agent without a Firestore skill, accepting that it may rely on out-of-date SDK knowledge.
According to its own text, what sets this skill apart is edition-aware routing between Standard and Enterprise, creating Enterprise databases by default, and a pipeline-first query style in the Enterprise Web and Android guides. If you only need plain Standard-edition CRUD on one platform, the Standard guides are short enough to read directly without an agent.
Evidence base
The findings rest on the 15 files in the skill folder (SKILL.md plus 14 reference guides) and the repository LICENSE, all captured at revision 99954a30898bb5ddc8152ee10e124dc3b4106bf7 on 2026-11-13. Statements about commands, flags, file formats, rules and code samples quote or paraphrase those files. Nothing was run, so the evidence says nothing about behaviour: what an agent will do, whether commands succeed, whether the emulator supports a feature, or whether snippets compile.
The guides also state limits. The data-model guide gives a 1 MiB maximum document size. The Standard indexes guide gives a limit of roughly 500 writes per second per collection when a sequentially increasing field is indexed, and 40k index entries per document. These are claims from the source, and their current accuracy was not checked independently. Firestore pricing and API stability are not covered in the captured files and remain unknown.
Access & freshness
Costs
No price for the skill appears in the evidence. It is a set of text files in a public repository, and its licence grants a no-charge copyright licence. The cost of the AI agent or model that would use it is not stated and is unknown.
Using it can create Cloud Firestore resources, but the captured files give no Firestore pricing, free tier, billing-plan requirement or Enterprise-edition charge, so those costs are unknown. Check them with Firebase directly before letting an agent create an Enterprise database. The Enterprise indexes guide says that without indexes a query performs a full collection scan, which can be slow and expensive on large collections. The Standard guide mentions storage costs from indexing. Neither gives figures.
Rights and licence
The captured repository LICENSE at this revision is the standard Apache License 2.0 text. It grants a perpetual, worldwide, no-charge copyright licence to reproduce, modify and distribute the work, plus a patent grant. This is subject to conditions such as passing on a copy of the licence and marking modified files. Under section 6, it does not grant permission to use the licensor's trade names, trademarks, service marks or product names, except as needed for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file. The appendix boilerplate in the captured file is unfilled, and no NOTICE file or per-folder licence was captured.
The SKILL.md metadata names Google LLC as author. The licence file sits at the repository root, outside the skill folder, so the evidence shows a repository-level licence rather than a licence statement inside the skill folder. The skill drives Google and Firebase products whose own terms are separate and not covered here.
Freshness
The captured revision is 99954a30898bb5ddc8152ee10e124dc3b4106bf7, taken on 2026-11-13. The evidence contains no release tag, changelog or commit date, so how recent the content is, and how often it changes, is unknown.
Several parts are time-sensitive. The Web guide ties full-text search to Firebase v12.13.0. The iOS guides say the Swift features merged into FirebaseFirestore from SDK v11. The Android guides resolve the newest versions at run time. Many commands use npx -y firebase-tools@latest. Enterprise provisioning also uses bare firebase commands, whose CLI version depends on the environment. Flags such as --edition, --firestore-data-access, --mongodb-compatible-data-access and --realtime-updates may change as the CLI changes. Re-check against current Firebase documentation before relying on exact syntax.
Suggested next steps
Try it first in a throwaway or development Firebase project, not production. Ask your agent to show each CLI command before running it, especially firestore:databases:create and deploy. Check the Firebase pricing page for the Enterprise edition before accepting the default.
If you use their areas, make sure the companion skills are installed: firestore-rules-creation or firestore-rules-author, firebase_basics and xcode-project-setup. Read any generated firestore.rules yourself before deploying, since the skill's own starter file denies all access.
Choose your edition deliberately. With Standard, expect ordinary queries and automatic indexes. With Enterprise, plan indexes up front. Also confirm that your SDK versions and emulator support the pipeline features you want, because the evidence does not establish this. Consider pinning firebase-tools if you need reproducible runs.
