What problem does it solve?
This Skill streamlines the creation of robust Firestore databases by generating data models, security rules, indexes, and query patterns, ensuring efficient and secure NoSQL data management.
Core Features & Use Cases
- Data Modeling: Define collection/document structures, embedding vs. referencing strategies, and distributed counters.
- Security Rules: Generate comprehensive, role-based access control rules for enhanced data security.
- Index Generation: Create necessary composite indexes for optimized query performance.
- Query Patterns: Provide examples for CRUD operations, transactions, and real-time listeners.
- Use Case: When starting a new project that requires a NoSQL database, use this Skill to quickly set up the foundational Firestore structure, including how data will be organized, secured, and queried.
Quick Start
Use the gcp-firestore skill to generate Firestore data models and security rules for a 'users' collection with 'orders' subcollection.