What problem does it solve? Building mobile-first applications with Firebase Firestore requires correctly handling real-time synchronization, offline persistence, access control, and atomic multi-document operations, which are easy to misconfigure and can lead to security holes or data inconsistency. ## Core Features & Use Cases - Security Rules Authoring: Declarative field-level access control with role-based patterns, custom claims, data validation, and emulator-based rule testing. - Offline & Real-time Patterns: Persistent IndexedDB caching with multi-tab managers, snapshot listeners with metadata tracking, and sync status indicators. - Transactions & Batch Operations: Atomic writes, distributed sharded counters, idempotent operations, and chunked bulk updates. - Use Case: When building a collaborative task management app, use this Skill to configure offline persistence, subscribe to real-time task updates with pending-write indicators, and enforce per-user Security Rules. ## Quick Start Ask the AI to set up a Firestore database with offline persistence, real-time listeners, and role-based Security Rules for your application.