PluginBench
Skill
Official
Pass
Audit score 90

firebase-firestore-basics

firebase/agent-skills

Complete guide to Cloud Firestore setup, security rules, and SDK integration.

What is firebase-firestore-basics?

This skill provides comprehensive documentation for getting started with Cloud Firestore, including project provisioning, writing and deploying security rules, and integrating the Firestore SDK into your application. Use it when you need to set up Firestore, configure access controls, or implement database operations in your 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 the modular SDK
  • Query and manage Firestore data through application code
  • Configure and manage Firestore indexes for optimal query performance

How to install firebase-firestore-basics

npx skills add https://github.com/firebase/agent-skills --skill firebase-firestore-basics
Prerequisites
  • Firebase project created in Firebase Console
  • Firebase CLI installed (npm install -g firebase-tools)
  • Node.js and npm installed for SDK integration
Claude Code
Cursor
Windsurf
Cline

How to use firebase-firestore-basics

  1. 1.Review provisioning.md to set up Cloud Firestore in your Firebase project
  2. 2.Configure security rules using security_rules.md and deploy them via Firebase CLI
  3. 3.Choose your platform documentation (web_sdk_usage.md for web applications)
  4. 4.Implement Firestore operations in your application code using the appropriate SDK
  5. 5.Check indexes.md to understand index requirements and optimize query performance

Use cases

Good for
  • Setting up a new Firestore database for a Firebase project
  • Implementing authentication-based security rules to restrict data access by user
  • Adding real-time database operations to a web application
  • Configuring indexes to support complex queries and improve performance
  • Migrating an existing application to use Firestore
Who it's for
  • Full-stack developers building Firebase applications
  • Backend developers implementing data access controls
  • Web developers integrating real-time databases
  • DevOps engineers provisioning Firebase infrastructure

firebase-firestore-basics FAQ

Do I need the Firebase CLI to use this skill?

The skill works best with Firebase CLI installed, but it is not strictly required. Install it with `npm install -g firebase-tools` for full functionality.

What platforms does the SDK usage guide cover?

The skill currently provides detailed guidance for Web applications using the Firestore Modular SDK.

How do I secure my Firestore data?

Use the security_rules.md reference to write Firestore Security Rules that control who can read and write data, then deploy them through the Firebase CLI.

What should I do if my queries are slow?

Refer to indexes.md to check if your queries require indexes and configure them appropriately for optimal performance.

Full instructions (SKILL.md)

Source of truth, from firebase/agent-skills.


name: firebase-firestore-basics description: Comprehensive guide for Firestore basics 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. Install it by running npm install -g firebase-tools.

Firestore Basics

This skill provides a complete guide for getting started with Cloud Firestore, 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:

Indexes

For checking index types, query support tables, and best practices, see indexes.md.