firebase-basics

Configure Firebase CLI projects and access reference guides for Firebase services.

Updated Dec 9, 2025
One-click install
npx skills add https://github.com/Aki2022/skills --skill firebase-basics-aki2022
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-basics
Source: https://github.com/Aki2022/skills/tree/main/firebase-basics
Command: npx skills add https://github.com/Aki2022/skills --skill firebase-basics-aki2022

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires firebase-tools, and includes references (resource) components.

What problem does it solve? Working with Firebase requires correct CLI setup, authentication, and project context before any real work can begin, and outdated patterns often lead to broken configurations. This Skill enforces a mandatory prerequisite workflow and provides curated reference material so Firebase tasks start from a correct, up-to-date foundation. ## Core Features & Use Cases - Mandatory environment setup: Verifies NPM, installs the latest Firebase agent skills, logs into the Firebase CLI, and sets an active project before any implementation begins. - Comprehensive reference library: Covers core concepts, CLI usage, client and Admin SDKs, the Firebase MCP server, Terraform-based IaC provisioning, and IAM/security features. - Use Case: You are building a web app that needs Firestore and Authentication. Use this Skill to log in to the Firebase CLI, select your project, then consult the security rules and client SDK references to configure the services correctly. ## Quick Start Ask the assistant to set up the Firebase CLI, log in, and connect your Firebase project before starting implementation.

Frequently Asked Questions about firebase-basics

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

FAQPage Schema
How do I set up the Firebase CLI for a new project?

Run npx -y firebase-tools@latest login to authenticate in the browser, then use npx -y firebase-tools@latest use --add <PROJECT_ID> to set an active project. If no project exists, create one with firebase-tools projects:create.

How do I manage Firebase resources with Terraform?

Use the google or google-beta Terraform providers with resources like google_firebase_project, google_firestore_database, and google_firebaserules_ruleset. Always set type = "FIRESTORE_NATIVE" when provisioning Firestore databases.

Does Firebase support both client-side and server-side SDKs?

Yes. Client SDKs exist for iOS, Android, Web, Flutter, Unity, and C++, while Admin SDKs for Node.js, Java, Python, and Go provide privileged server-side access to Firebase services.

How do I configure the Firebase MCP server for my AI agent?

Add a firebase entry to your agent's mcpServers configuration with command "npx" and args ["-y", "firebase-tools@latest", "mcp"]. Merge it into the existing file without removing other configured servers.

What is the difference between Firebase Spark and Blaze pricing plans?

Spark is the no-cost plan requiring no billing account, offering generous no-cost quotas. Blaze is pay-as-you-go, requiring a linked billing account to access more products and higher usage levels.

Why are Firebase Security Rules critical for Firestore?

Security Rules restrict client-side access to Firestore and Cloud Storage data to authorized users only, preventing unauthorized reads and writes. They are defined in files like firestore.rules and deployed via the Firebase CLI.