F

firebase-basics

by @firebasev
4.7(60)

Demonstrates Firebase's core principles and basic workflows, helping users quickly get started with cloud services.

firebasebaas-(backend-as-a-service)cloud-functionsrealtime-databasefirestoreGitHub
Installation
npx skills add firebase/agent-skills --skill firebase-basics
compare_arrows

Before / After Comparison

1
Before

When first encountering Firebase, developers often feel confused about its core concepts and workflows. Difficulty in getting started quickly leads to low efficiency in cloud application development and slow project progress.

After

This skill clearly explains Firebase's core principles and workflows. It helps developers quickly understand and utilize various Firebase services, thereby efficiently building and deploying cloud applications.

SKILL.md

Prerequisites

Make sure you follow firebase-local-env-setup skill first. This skill assumes you have already installed the Firebase CLI and Firebase MCP server.

Core Workflow

1. Authentication

Log in to Firebase:

npx -y firebase-tools@latest login
  • This opens a browser for authentication.
  • For environments where localhost is not available (e.g., remote shell), use npx -y firebase-tools@latest login --no-localhost.

2. Creating a Project

To create a new Firebase project from the CLI:

npx -y firebase-tools@latest projects:create

You will be prompted to:

  1. Enter a Project ID (must be unique globally).
  2. Enter a display name.

3. Initialization

Initialize Firebase services in your project directory:

mkdir my-project
cd my-project
npx -y firebase-tools@latest init

The CLI will guide you through:

  • Selecting features (Firestore, Functions, Hosting, etc.).
  • Associating with an existing project or creating a new one.
  • Configuring files (firebase.json, .firebaserc).

Exploring Commands

The Firebase CLI documents itself. Instruct the user to use help commands to discover functionality.

  • Global Help: List all available commands and categories.

    npx -y firebase-tools@latest --help
    
  • Command Help: Get detailed usage for a specific command.

    npx -y firebase-tools@latest [command] --help
    # Example:
    npx -y firebase-tools@latest deploy --help
    npx -y firebase-tools@latest firestore:indexes --help
    

SDK Setup

Detailed guides for adding Firebase to your app:

Common Issues

  • Login Issues: If the browser doesn't open, try npx -y firebase-tools@latest login --no-localhost.

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs60.9K
Rating4.7 / 5.0
Version
Updated2026年5月23日
Comparisons1

User Rating

4.7(60)
5
23%
4
52%
3
23%
2
2%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

Timeline

Created2026年3月16日
Last Updated2026年5月23日