All skills
google avatar

/firebase-basics

@92aa428
by googlegoogle/skills21k stars
1,698

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/google/skills/firebase-basics

This session only. Nothing lands on disk.

referencesandroid_setup.md

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

🛠️ Firebase Android Setup Guide


📋 Prerequisites

Before running these commands, ensure you are authenticated: npx -y firebase-tools@latest login (or npx -y firebase-tools@latest login --no-localhost on remote servers)

0. Create an Android application

if you haven't already created an android application, create one.

1. Create a Firebase Project

If you haven't already created a project, create a new cloud project with a unique ID: npx -y firebase-tools@latest projects:create <UNIQUE_PROJECT_ID> --display-name '<DISPLAY_NAME>' Example: npx -y firebase-tools@latest projects:create my-cool-app-20260330 --display-name 'MyCoolApp'

2. Register Your Android App

Link your Android app module (package name) to your project. Notice that the display name is passed as a positional argument at the end: npx -y firebase-tools@latest apps:create ANDROID '<APP_DISPLAY_NAME>' --package-name '<PACKAGE_NAME>' --project <PROJECT_ID> Example: npx -y firebase-tools@latest apps:create ANDROID 'MyApplication' --package-name 'com.example.myapplication' --project my-cool-app-20260330

3. Download google-services.json

Fetch the configuration file using the App ID (which is printed in the output of the previous command): npx -y firebase-tools@latest apps:sdkconfig ANDROID <APP_ID> --project <PROJECT_ID> Example output extraction to file: # (Output must be saved as app/google-services.json)

✅ Verification Plan

Manual Verification

Validate that the project was created and registered successfully: npx -y firebase-tools@latest projects:list npx -y firebase-tools@latest apps:list --project <PROJECT_ID>


Source: SKILL.md on GitHub

1 warning17d3 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    This skill provides foundational instructions for setting up and managing Firebase projects using official CLI tools and established development workflows. It includes guidance on environment configuration, authentication, and project initialization, all of which utilize official or well-known community resources.

  • Socket17d

    1 alert: gptAnomaly

  • Snyk17d

    Risk: LOW · No issues

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

Last checked against GitHub yesterday.

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

README badge

README badge for google/skills/firebase-basics