Catalog
google/firebase-basics

google

firebase-basics

Use this skill whenever you are working on a project that uses Firebase products or services, especially for mobile or web apps.

global
category:Serverless
New~811
v1.1Saved Jun 28, 2026

Firebase Basics

CRITICAL Mandatory prerequisites

Before attempting to fulfill any user request regarding Firebase, you MUST follow these steps in order. Do not proceed to implementation until these are completed. Failure to follow these instructions may result in using outdated patterns and lack of access to essential reference materials.

  1. Leverage the planning phase

    If you use a planning mode (e.g., maintaining a task.md file), you MUST include a task to check and install firebase/agent-skills as your very first item.

  2. Ensure NPM is installed.

    ## Check if NPM is installed
    npm --version
    

    If NPM is not installed, guide the user to download and install the LTS version from https://nodejs.org/en/download.

    Then, request the user to manually install Node.js and to reply with a confirmation that the installation is finished. Stop and wait for the user's confirmation.

  3. Verify and install Agent Skills for Firebase

    You MUST ensure the full set of skills is installed to avoid using outdated patterns. Run this command:

    npx -y skills add firebase/agent-skills -y
    

    If the skills are already installed, this command will ensure they are up to date. Do not skip this step.

Quick start

After completing the mandatory prerequisites above, proceed with these steps to set up your environment:

  1. Log in to the Firebase CLI.

    Run this command:

    npx -y firebase-tools@latest login
    

    Then, ask the user to complete the login flow in the browser.

  2. Set an active project for the CLI.

    Most Firebase tasks require an active project context. Check the current project for the Firebase CLI by running this command:

    npx -y firebase-tools@latest use
    
    • If the command outputs Active Project: <PROJECT_ID>, you can proceed with your task.

    • If the command does not output an active project, ask the user if they have an existing Firebase project ID.

      • If yes: Set the ID as the active project and add a default alias by running:

        npx -y firebase-tools@latest use --add <PROJECT_ID>
        
      • If no: Create a new Firebase project by running:

        npx -y firebase-tools@latest projects:create <PROJECT_ID> --display-name <DISPLAY_NAME>
        

Reference directory

If you need product information that's not found in these references, check the other skills for Firebase that you have installed, or use the search_documents tool of the Developer Knowledge MCP server.

Files8
8 files · 30.7 KB

Select a file to preview

Overall Score

81/100

Grade

B

Good

Safety

82

Quality

82

Clarity

85

Completeness

76

Summary

The firebase-basics skill is an onboarding and reference guide for Firebase development. It establishes mandatory prerequisites (NPM/Node.js installation, Firebase CLI login, project setup) before guiding agents to implement Firebase tasks. The skill is primarily informational and does not execute destructive operations, access credentials, or exfiltrate data. It provides structured links to reference documents covering core concepts, CLI usage, client libraries, security features, and IaC patterns.

Detected Capabilities

shell execution (npx commands)npm package installationinteractive user prompts (browser login)file reading (reference documents)external URL navigation

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

firebase project setupfirebase cli loginfirebase authenticationfirebase environment setupconfigure firebase cliinitialize firebase projectfirebase sdk integration

Risk Signals

INFO

npx command execution for firebase-tools and agent-skills installation

SKILL.md: Lines ~23, ~57
INFO

User redirection to external login (browser-based Firebase authentication)

SKILL.md: Quick start section, Line ~54
INFO

References to external Firebase documentation (firebase.google.com domains)

Multiple reference files

Referenced Domains

External domains referenced in skill content, detected by static analysis.

firebase.google.comgithub.comnodejs.orgwww.apache.org

Use Cases

  • Setting up a new Firebase project with CLI authentication
  • Configuring local development environment for Firebase
  • Understanding Firebase service architecture and pricing models
  • Integrating Firebase into web, mobile, or backend applications
  • Deploying Firebase resources using IaC (Terraform)
  • Implementing Firebase security features (IAM, Security Rules, App Check)

Quality Notes

  • Excellent structure with mandatory prerequisites clearly marked as **CRITICAL** — prevents misuse by requiring explicit setup steps
  • Clear branching logic for project setup (existing vs. new projects) with explicit user prompts
  • Comprehensive reference library organized by domain (core concepts, CLI, client libraries, security, IaC)
  • Good documentation of regional availability and pricing models to manage user expectations
  • Strong emphasis on security best practices (least privilege, Firebase App Check, environment separation)
  • Clear guidance on using latest CLI versions via npx to prevent outdated patterns
  • MCP server configuration steps are well-documented with example JSON for multiple IDE platforms
  • Some reference file paths in additional-skills.md point to external GitHub repository — appropriate for a baseline skill
Model: claude-haiku-4-5-20251001Analyzed: Jun 28, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

  1. v1.1

    Content updated

    ✦ AIRemoves blank line before Quick start section header.

    2026-06-28

    Latest
  2. v1.0

    2026-05-02

    Initial version

Use google/firebase-basics in your dev environment

Command Palette

Search for a command to run...