firebase/agent-skills · Official

firebase-firestore

>- 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. Don't use for Firebase Hosting, Data Connect, Auth, Storage/GCS, Crashlytics, Functions, or BigQuery.

All-time #307 Trending #352 Hot #6450 First seen Apr 30, 2026
8-week activity · all time api

Installation

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

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

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub SAFE

Analyzed May 9, 2026

This skill provides comprehensive automation and guidance for managing Cloud Firestore databases. It utilizes official Firebase CLI tools for administrative tasks and includes extensive defensive guidance for creating secure database rules. A minor security surface is noted regarding the analysis of project code for rule generation.

snyk MEDIUM

Analyzed May 9, 2026

[MEDIUM] W012: Unverifiable external dependency detected (runtime URL that controls agent).

socket Score 0.9000 · 0 alerts

Analyzed May 9, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from firebase/agent-skills · top by installs.

npx skills add firebase/agent-skills

Browse all from firebase/agent-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 437
License LICENSE
Default branch main
Open issues 10
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

CompatibilityThis skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
More metadata
category
Databases

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,964 B
  • docs SUMMARY.md 464 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 108,022 installs

SKILL.md

Cloud Firestore Database and Operations

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: bash npx -y firebase-tools@latest firestore:databases:list

A. Instance Found

  1. For each database found, inspect its edition and details:

bash npx -y firebase-tools@latest firestore:databases:get <database-id>

  1. Ask the user which database instance they wish to target or if they would

prefer to create a new instance.

  1. Once the target instance is established:

- If the edition is STANDARD, follow the guides under references/standard/. - If the edition is ENTERPRISE or native mode, follow the guides under references/enterprise/.

B. No Instance Found (or New Requested)

If no databases exist or the user requests a new one, default to provisioning an Enterprise edition database and ask the user what location to use. Run npx -y firebase-tools@latest firestore:locations to get the list of options. Suggest colocating with other resources if applicable.

Once the location is determined, create the database: bash npx -y firebase-tools@latest firestore:databases:create <database-id> --edition="enterprise" --location="<selected-location>"

Proceed with using the guides under references/enterprise/.


2. Specialized Guides

Based on the identified or created instance edition, open and read the corresponding reference guides:

Standard Edition (references/standard/)

  • Provisioning: Read [provisioning.md](references/standard/provisioning.md)
  • Security Rules: Read

[securityrules.md](references/standard/securityrules.md)

  • SDK Usage: Read [websdkusage.md](references/standard/websdkusage.md),

[androidsdkusage.md](references/standard/androidsdkusage.md), [iossetup.md](references/standard/iossetup.md), or [fluttersetup.md](references/standard/fluttersetup.md)

  • Indexes: Read [indexes.md](references/standard/indexes.md)

Enterprise Edition / Native Mode (references/enterprise/)

  • Provisioning: Read

[provisioning.md](references/enterprise/provisioning.md)

  • Data Model: Read [datamodel.md](references/enterprise/datamodel.md)
  • Security Rules: Read

[securityrules.md](references/enterprise/securityrules.md)

  • SDK Usage:

> [!CRITICAL] Mandatory Reference Reading Before writing or modifying any > application code for Firestore Enterprise Edition, you MUST read at > least one of the relevant reference documents below for the target > platform/language to understand specific architectural requirements and > pipeline initialization patterns.

Read [websdkusage.md](references/enterprise/websdkusage.md), [pythonsdkusage.md](references/enterprise/pythonsdkusage.md), [androidsdkusage.md](references/enterprise/androidsdkusage.md), [iossetup.md](references/enterprise/iossetup.md), or [fluttersetup.md](references/enterprise/fluttersetup.md)

  • Indexes: Read [indexes.md](references/enterprise/indexes.md)