Agent skill · Security

firebase-cloud-firestore

Use when setting up Firestore, designing schemas, doing CRUD, creating listeners, paginating queries, configuring indexes, enabling offline persistence, or writing security rules.

evancagithub.com/evancaGitHub ↗
claude-codecodexcursorwindsurfMIT
Install
npx skills add evanca/flutter-ai-rules --skill firebase-cloud-firestore --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/firebase-cloud-firestore/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 604
Language: Shell

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Firebase Cloud Firestore Skill This skill defines how to correctly implement Cloud Firestore in Flutter applications, covering data modeling, queries, real-time updates, security rules, and scale optimization. ## When to Use Use this skill when: * Setting up and configuring Cloud Firestore in a Flutter project. * Designing document and collection structure or planning subcollections. * Performing read, write, batch, or transaction operations. * Implementing real-time listeners or paginated queries. * Optimizing for scale and avoiding write hotspots. * Writing or debugging Firestore security rules. --- ## 1. Database Selection Choose **Cloud Firestore** when the app needs: - Rich, hierarchical data models with subcollections. - Complex queries: chaining filters, combining filtering and sorting on a property. - Transactions that atomically read and write data from any part of the database. - High availability (typical uptime 99.999%) or critical-level reliability. - Automatic scaling to millions of concurrent users. Use **Realtime Database** instead for simple data models requiring simple lookups and extremely low-latency synchronization (typical response times under 10ms). --- ##

What's inside
Steps it walks through
  1. When to Use
  2. 1. Database Selection
  3. 2. Setup and Configuration
  4. 3. Document Structure
  5. 4. Indexing
  6. 5. Read and Write Operations
  7. Read All Documents in a Collection
  8. Query with Filters
  9. Cursor-Based Pagination
  10. Write with Server Timestamp
  11. Batch Write (Atomic, Up to 500 Operations)
  12. Transaction
  13. 6. Designing for Scale
  14. 7. Real-time Updates
More from flutter-ai-rules
All skills →
About this skill
What does the firebase-cloud-firestore skill do?

Use when setting up Firestore, designing schemas, doing CRUD, creating listeners, paginating queries, configuring indexes, enabling offline persistence, or writing security rules.

How do I install it?

Run `npx skills add evanca/flutter-ai-rules --skill firebase-cloud-firestore --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From evanca/flutter-ai-rules, a repository with 604 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going