firebase-integration

Integrate Firebase services including Firestore security rules, custom claims, and Cloud Messaging.

2|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/telum-ai/speck --skill firebase-integration-telum-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-integration
Source: https://github.com/telum-ai/speck/tree/main/.cursor/skills/firebase-integration
Command: npx skills add https://github.com/telum-ai/speck --skill firebase-integration-telum-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the integration of Firebase services into your mobile and web applications, addressing common challenges with security rules, authentication, and real-time data synchronization.

Core Features & Use Cases

  • Firestore Security Rules: Provides templates for basic and role-based access control, including data validation.
  • Firebase Auth: Demonstrates setting and reading custom claims for enhanced authorization.
  • Cloud Messaging (FCM): Offers setup guides for Flutter and React Native, and server-side message sending.
  • Offline Persistence: Explains how to enable and manage offline data for Firestore and Realtime Database.
  • Use Case: Securely manage user data in Firestore by implementing granular security rules based on custom user roles defined in Firebase Auth.

Quick Start

Apply this skill to implement Firestore security rules for user document access.

Frequently Asked Questions about firebase-integration

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

FAQPage Schema
How do I write Firestore security rules for role-based access control?

Firestore security rules for role-based access control restrict data access by validating user permissions against custom claims defined in Firebase Auth. This ensures only authorized roles can read or write specific user documents.

How do I set up Firebase Cloud Messaging for push notifications in React Native?

Firebase Cloud Messaging setup for React Native requires configuring the FCM client and establishing server-side message sending logic. This enables reliable push notification delivery across mobile and web applications.

Can I use custom claims in Firebase Auth for authorization on mobile?

Custom claims in Firebase Auth enable granular authorization for mobile and web applications. You can set and read these claims to securely manage user roles and enforce data access policies across your application.

What is the best way to enable offline persistence for Firestore?

Offline persistence for Firestore allows mobile and web applications to cache data locally, ensuring continuous access without a network connection. This pattern optimizes performance and manages data synchronization when connectivity is restored.

Does this Firebase integration approach support both Flutter and React Native?

This Firebase integration approach explicitly supports both Flutter and React Native for mobile and web applications. It provides setup guides for Cloud Messaging and addresses common development scenarios across these frameworks.