firebase-firestore-standard
firebase/agent-skills
Complete guide for setting up, securing, and using Cloud Firestore Standard Edition
What is firebase-firestore-standard?
This skill provides comprehensive documentation for Cloud Firestore Standard Edition, covering project provisioning, security rules configuration, and SDK integration. Use it when setting up Firestore, writing security rules, or implementing Firestore in your application code.
- Provision Cloud Firestore in Firebase projects and local environments
- Write and deploy Firestore Security Rules to protect data access
- Integrate Firestore SDK into web applications using modular SDK
- Configure and manage Firestore indexes for query optimization
- Query and manage data through the Firestore SDK
How to install firebase-firestore-standard
npx skills add https://github.com/firebase/agent-skills --skill firebase-firestore-standard- Firebase project created in Firebase Console
- Node.js and npm installed (for Firebase CLI access)
- Basic understanding of NoSQL database concepts
How to use firebase-firestore-standard
- 1.Review provisioning.md to set up Cloud Firestore in your Firebase project
- 2.Configure security rules using security_rules.md and deploy them via Firebase CLI
- 3.Choose your platform documentation (web_sdk_usage.md for web applications)
- 4.Implement Firestore SDK calls in your application code
- 5.Check indexes.md to understand index types and optimize query performance
Use cases
- Setting up a new Firestore database for a web application
- Writing security rules to restrict data access by user role or authentication status
- Implementing real-time data synchronization in a web app using Firestore listeners
- Configuring indexes to optimize complex queries
- Migrating an existing application to use Firestore as the backend database
- Backend developers setting up Firebase projects
- Full-stack developers building web applications with Firestore
- Security engineers writing and reviewing Firestore access rules
- DevOps engineers provisioning Firebase infrastructure
firebase-firestore-standard FAQ
No, this skill does not require Firebase CLI, but it can be accessed via `npx -y firebase-tools@latest` for deploying rules and managing your project.
This skill provides guidance for Web applications using the modular SDK. Platform-specific documentation is organized by SDK type.
Use the security_rules.md reference to write Firestore Security Rules that control read and write access based on authentication and user properties.
Consult indexes.md to understand index types, check if your queries require indexes, and configure composite indexes for complex queries.
Full instructions (SKILL.md)
Source of truth, from firebase/agent-skills.
name: firebase-firestore-standard
description: Comprehensive guide for Firestore Standard Edition, including provisioning, security rules, and SDK usage. Use this skill when the user needs help setting up Firestore, writing security rules, or using the Firestore SDK in their application.
compatibility: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through npx -y firebase-tools@latest.
Firestore Standard Edition
This skill provides a complete guide for getting started with Cloud Firestore Standard Edition, including provisioning, securing, and integrating it into your application.
Provisioning
To set up Cloud Firestore in your Firebase project and local environment, see provisioning.md.
Security Rules
For guidance on writing and deploying Firestore Security Rules to protect your data, see security_rules.md.
SDK Usage
To learn how to use Cloud Firestore in your application code, choose your platform:
- Web (Modular SDK): web_sdk_usage.md
Indexes
For checking index types, query support tables, and best practices, see indexes.md.
Related skills
More from firebase/agent-skills and the wider catalog.
firebase-basics
Firebase CLI setup, authentication, and project management for agent workflows
firebase-auth-basics
Set up Firebase Authentication for user sign-in, management, and secure data access.
firebase-hosting-basics
Deploy static web apps, SPAs, and microservices to Firebase Hosting with a single command.
firebase-app-hosting-basics
Deploy full-stack Next.js and Angular apps with Firebase App Hosting.
firebase-data-connect
Build and deploy PostgreSQL-backed Firebase backends with GraphQL, auto-generated queries, and type-safe SDKs.
developing-genkit-js
Develop AI-powered applications using Genkit in Node.js/TypeScript with flows, tools, and multi-provider support.