firebase-firestore

Provisions and manages Cloud Firestore databases, security rules, and SDK queries.

2|Updated Mar 7, 2025
One-click install
npx skills add https://github.com/AbdelrhmanUZaki/KnowledgeNuggets --skill firebase-firestore-abdelrhmanuzaki
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: firebase-firestore
Source: https://github.com/AbdelrhmanUZaki/KnowledgeNuggets/tree/main/2-setup/shared/gemini/config/plugins/firebase/skills/firebase_firestore
Command: npx skills add https://github.com/AbdelrhmanUZaki/KnowledgeNuggets --skill firebase-firestore-abdelrhmanuzaki

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires firebase-tools, and includes references (resource) components.

What problem does it solve? Setting up Cloud Firestore correctly requires choosing the right database edition, provisioning instances, writing security rules, and configuring SDKs across platforms, which is error-prone without guided steps. ## Core Features & Use Cases - Instance Detection and Provisioning: Lists existing Firestore databases, detects Standard versus Enterprise editions, and creates new Enterprise instances in a chosen location via the Firebase CLI. - Edition-Specific Guidance: Routes to dedicated reference guides for provisioning, data modeling, security rules, indexes, and SDK setup based on the detected edition. - Multi-Platform SDK Setup: Provides setup instructions for Web, Android, iOS, Flutter, and Python clients. - Use Case: A developer starting a new mobile app asks to set up Firestore; the skill checks for existing databases, creates an Enterprise instance in the right region, then walks through security rules and Flutter SDK integration. ## Quick Start Set up a Cloud Firestore database for my project and configure security rules and the web SDK.

Frequently Asked Questions about firebase-firestore

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Cloud Firestore database with the Firebase CLI?▼

Run npx firebase-tools firestore:databases:create with a database ID, edition, and location. Use firestore:locations first to list available regions, and colocate with other resources when possible.

What is the difference between Firestore Standard and Enterprise editions?▼

The skill detects the edition via firestore:databases:get and routes to different guides. Standard and Enterprise editions have separate provisioning, security rules, data model, and SDK setup instructions under their respective reference directories.

Does Firestore setup require the Firebase CLI?▼

The Firebase CLI is recommended but not strictly required. It can be invoked without installation using npx -y firebase-tools@latest for database listing, creation, and inspection commands.

Which client SDKs does Firestore support for app development?▼

The skill provides setup guides for Web, Android, iOS, and Flutter across both editions, plus a Python SDK guide for the Enterprise edition. Each guide covers platform-specific integration steps.

How do I configure Firestore security rules?▼

After identifying your database edition, read the security_rules.md guide under references/standard or references/enterprise. The rules configuration differs by edition, so detecting the edition first is mandatory.