using-firebase

Guide Firebase projects through Firestore, Cloud Functions, hosting, and security workflows.

Updated Apr 2, 2025
One-click install
npx skills add https://github.com/xbg-solutions/boilerplate_sveltekit --skill using-firebase-xbg-solutions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-firebase
Source: https://github.com/xbg-solutions/boilerplate_sveltekit/tree/main/.claude/skills/firebase/cloud-functions
Command: npx skills add https://github.com/xbg-solutions/boilerplate_sveltekit --skill using-firebase-xbg-solutions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comprehensive Firebase development guidance for GCP-hosted applications, covering Firestore CRUD, advanced queries and data modeling, Cloud Functions (1st and 2nd gen), Firebase CLI operations, emulator setup, hosting rewrites and headers, security rules, authentication integration, and GCP service integrations. Use when planning or deploying Firebase-based projects to reduce setup time and enforce consistent patterns across teams.

Core Features & Use Cases

  • End-to-end guidance for building and deploying Firebase apps, including Firestore schemas, function triggers, hosting configurations, and security rules.
  • Practical workflows for using the Firebase CLI, local emulators, secret management, and multi-codebase deployments across environments.
  • Real-world example: bootstrap a new project, wire Cloud Functions to Firestore, set up hosting rewrites, and configure security with standard rules.

Quick Start

Ask me to walk you through setting up a Firebase project with Cloud Functions, Firestore, hosting, and security rules.

Frequently Asked Questions about using-firebase

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

FAQPage Schema
How do I set up Firebase Cloud Functions with Firestore triggers?

Firebase Cloud Functions with Firestore triggers are set up by defining function logic that responds to document changes. This workflow provides end-to-end guidance for wiring triggers, configuring local emulators, and managing deployments across environments.

What's the best way to configure Firebase security rules for production?

Configuring Firebase security rules for production involves defining access conditions based on authentication state and data structure. This guide provides structured patterns and standard rules to enforce secure configurations and protect Firestore data.

How do I use Firebase local emulators for testing Cloud Functions?

Firebase local emulators test Cloud Functions by simulating Firestore, Functions, and Hosting environments locally. This workflow outlines emulator setup steps to validate triggers and security rules before deploying to production.

Can I manage multiple Firebase deployment environments using the CLI?

Multiple Firebase deployment environments are managed using the Firebase CLI with distinct project configurations. This guide covers multi-codebase deployments, CLI operations, and secret management to maintain consistent setups across environments.

How do I configure Firebase hosting rewrites for Cloud Functions?

Firebase hosting rewrites for Cloud Functions are configured in the hosting settings to route client requests directly to function endpoints. This guide provides practical examples for setting up rewrites and custom headers.

Do I need to use secret management for Firebase Cloud Functions?

Secret management for Firebase Cloud Functions is required to securely handle API keys and sensitive credentials. This workflow explains how to implement secret management for safe development and production environments.