All skills
firebase avatar

/firebase-basics

@073edf7 official
by firebasefirebase/agent-skills461 stars
102

Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`, `GoogleService-Info.plist`). Use ONLY for CLI login, project creation/switching, or downloading app config files. Don't use for Firebase Hosting deploy, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config.

Use this Skill: https://skilld.dev/gh/firebase/agent-skills/firebase-basics

This session only. Nothing lands on disk.

referenceslocal-env-setup.md

≈686 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Firebase Local Environment Setup

This skill documents the bare minimum setup required for a full Firebase experience for the agent. Before starting to use any Firebase features, you MUST verify that each of the following steps has been completed.

1. Verify Node.js

  • Action: Run node --version.

  • Handling: Ensure Node.js is installed and the version is >= 20. If Node.js is missing or < v20, install it based on the operating system:

    Recommended: Use a Node Version Manager This avoids permission issues when installing global packages.

    For macOS or Linux:

    1. Guide the user to the official nvm repository.
    2. Request the user to manually install nvm and reply when finished. Stop and wait for the user's confirmation.
    3. Make nvm available in the current terminal session by sourcing the appropriate profile:
      # For Bash
      source ~/.bash_profile
      source ~/.bashrc
      
      # For Zsh
      source ~/.zprofile
      source ~/.zshrc
    4. Install Node.js:
      nvm install 24
      nvm use 24

    For Windows:

    1. Guide the user to download and install nvm-windows.
    2. Request the user to manually install nvm-windows and Node.js, and reply when finished. Stop and wait for the user's confirmation.
    3. After the user confirms, verify Node.js is available:
      node --version

    Alternative: Official Installer

    1. Guide the user to download and install the LTS version from nodejs.org.
    2. Request the user to manually install Node.js and reply when finished. Stop and wait for the user's confirmation.

2. Verify Firebase CLI

  • Command: npx -y firebase-tools@latest --version
  • Expected: Successfully outputs a version string.

3. Verify Firebase Authentication

You must be authenticated to manage Firebase projects.

  • Action: Run npx -y firebase-tools@latest login.
  • Handling: If the environment is remote or restricted (no browser access), run npx -y firebase-tools@latest login --no-localhost instead.

4. Install Agent Skills and MCP Server

To fully manage Firebase, the agent needs specific skills and the Firebase MCP server installed. Refer to the main SKILL.md for direct links to the installation instructions specific to your agent environment.


CRITICAL AGENT RULE: Do NOT proceed with any other Firebase tasks until EVERY step above has been successfully verified and completed.

Source: SKILL.md on GitHub

2 warnings2d5 checks · Risk SAFE
  • Gen Agent Trust Hub2d

    The skill facilitates the setup and management of Firebase projects through official CLI tools and environment configuration. It includes automated installation of related agent skills, configuration of MCP servers, and standard developer environment updates such as PATH modifications.

  • Socket2d

    1 alert: gptAnomaly

  • Snyk2d

    Risk: LOW · No issues

  • Runlayer6mo

    1/2 files flagged

  • ZeroLeaks5mo

    1 finding · Score: 69/100

Signed by skilld at 073edf7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 months ago
metadata
{
  "category": "CloudInfrastructureAndServices"
}

README badge

README badge for firebase/agent-skills/firebase-basics