firebase-firestore-enterprise-native-mode
firebase/agent-skills
Set up and manage Firestore Enterprise Native Mode with provisioning, security rules, and SDK integration.
What is firebase-firestore-enterprise-native-mode?
Comprehensive guide for deploying Firestore Enterprise Native Mode in Firebase projects. Covers provisioning, data modeling, security rules, SDK usage across Web and Python, and query optimization through indexes. Use this when setting up enterprise Firestore instances, writing security rules, or integrating Firestore into applications.
- Provision Firestore Enterprise Native Mode in Firebase projects
- Design and organize Firestore data models
- Write and deploy Firestore Security Rules for data protection
- Integrate Firestore SDK in Web and Python applications
- Configure and manage indexes for query performance optimization
How to install firebase-firestore-enterprise-native-mode
npx skills add https://github.com/firebase/agent-skills --skill firebase-firestore-enterprise-native-mode- Firebase project with billing enabled for Enterprise tier
- Firebase CLI (optional but recommended, installable via npx)
- Node.js or Python runtime depending on SDK usage
How to use firebase-firestore-enterprise-native-mode
- 1.Review provisioning.md to enable Firestore Enterprise Native Mode in your Firebase project
- 2.Design your data model using guidance in data_model.md
- 3.Write security rules following security_rules.md and deploy via Firebase CLI
- 4.Choose appropriate SDK guide (web_sdk_usage.md or python_sdk_usage.md) for your application
- 5.Implement indexes as needed using indexes.md to optimize query performance
Use cases
- Setting up a new Firestore Enterprise instance with proper security configuration
- Designing a scalable data model for multi-tenant or large-scale applications
- Writing fine-grained security rules to control data access by user role or document ownership
- Integrating Firestore into Node.js/Web or Python backend services
- Optimizing slow queries by creating appropriate composite indexes
- Backend engineers setting up Firebase infrastructure
- Full-stack developers integrating Firestore into applications
- Security engineers implementing data access controls
- DevOps/platform teams managing enterprise Firebase deployments
firebase-firestore-enterprise-native-mode FAQ
No, Firebase CLI is optional but recommended. You can install it via npx -y firebase-tools@latest if needed.
Web SDK and Python SDK are explicitly covered. Guidance for other languages may be available through Firebase documentation.
Use the indexes.md reference to understand index types, check query support tables, and follow best practices for composite indexes.
This skill covers Native Mode specifically. Refer to Firebase documentation for Datastore Mode comparisons.
Full instructions (SKILL.md)
Source of truth, from firebase/agent-skills.
name: firebase-firestore-enterprise-native-mode
description: Comprehensive guide for Firestore enterprise native including provisioning, data model, security rules, and SDK usage. Use this skill when the user needs help setting up Firestore Enterprise with the Native mode, 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 Enterprise Native Mode
This skill provides a complete guide for getting started with Firestore Enterprise Native Mode, including provisioning, data model, security rules, and SDK usage.
Provisioning
To set up Firestore Enterprise Native Mode in your Firebase project and local environment, see provisioning.md.
Data Model
To learn about Firestore data model and how to organize your data, see data_model.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 Firestore Enterprise Native Mode in your application code, see:
Indexes
Indexes help improve query performance and speed up slow queries. 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.