db-firebase

Generate Firestore schemas, security rules, queries, and Cloud Functions.

1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/sitharaj88/claude-skills --skill db-firebase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-firebase
Source: https://github.com/sitharaj88/claude-skills/tree/main/skills/db-firebase
Command: npx skills add https://github.com/sitharaj88/claude-skills --skill db-firebase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers build applications using Firebase and Firestore by generating necessary configurations and code snippets for data modeling, security rules, queries, Cloud Functions, and real-time listeners.

Core Features & Use Cases

  • Data Modeling: Design efficient Firestore schemas with collections and subcollections.
  • Security Rules: Generate robust security rules to protect your data.
  • Client Queries: Create queries for web, React Native, Flutter, iOS, and Android using the Firebase JS SDK v9+.
  • Cloud Functions: Develop server-side logic for data synchronization and event handling.
  • Indexes: Define composite indexes for optimized querying.

Quick Start

Use the db-firebase skill to generate Firestore security rules for a user profile collection.

Frequently Asked Questions about db-firebase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Firestore security rules for my collections?

Generate robust Firestore security rules by defining access control conditions for your collections. This Skill outputs production-ready rule configurations that protect your data based on user authentication and document-level validation logic.

What's the best way to structure a Firestore database schema?

Structure a Firestore database schema by designing collections and subcollections for efficient querying. This Skill generates optimized data models that address data modeling requirements and support real-time data synchronization across your application.

Can I use this to create Firebase Cloud Functions for server-side logic?

Yes, you can create Firebase Cloud Functions for server-side logic. This Skill generates production-ready code using the Admin SDK to handle event triggers, data synchronization, and backend processing tasks efficiently.

Does this support client-side queries for React Native and Flutter?

Yes, client-side queries support React Native and Flutter, as well as web, iOS, and Android. The Skill generates query code using the Firebase JS SDK v9+ to fetch and synchronize data across these platforms.

When do I need composite indexes in Firestore?

You need composite indexes in Firestore when executing queries that filter and order by multiple fields. This Skill defines these composite indexes automatically to ensure your queries run with optimized performance.