Agent skill
firebase-basics
Use this skill whenever you are working on a project that uses Firebase products or services, especially for mobile or web apps.
Install this agent skill to your Project
npx add-skill https://github.com/google/skills/tree/main/skills/cloud/firebase-basics
SKILL.md
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.
-
Leverage the planning phase
If you use a planning mode (e.g., maintaining a
task.mdfile), you MUST include a task to check and installfirebase/agent-skillsas your very first item. -
Ensure NPM is installed.
bash## Check if NPM is installed npm --versionIf 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.
-
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:
bashnpx -y skills add firebase/agent-skills -yIf 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:
-
Log in to the Firebase CLI.
Run this command:
bashnpx -y firebase-tools@latest loginThen, ask the user to complete the login flow in the browser.
-
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:
bashnpx -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:
bashnpx -y firebase-tools@latest use --add <PROJECT_ID> -
If no: Create a new Firebase project by running:
bashnpx -y firebase-tools@latest projects:create <PROJECT_ID> --display-name <DISPLAY_NAME>
-
-
Reference directory
- Firebase core concepts
- Firebase CLI usage
- Firebase client library usage
- Firebase CLI and MCP server
- Firebase IaC usage
- Firebase security-related features
- Additional Published Skills
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gke-basics
Plan, create, and configure production-ready Google Kubernetes Engine (GKE) clusters using the golden path Autopilot configuration. Covers Day-0 checklist, Autopilot vs Standard, networking (private clusters, VPC-native, Gateway API), security (Workload Identity, Secret Manager, RBAC hardening), observability, scaling, cost optimization, and AI/ML inference. WHEN: create GKE cluster, provision GKE environment, design GKE networking, secure GKE, optimize GKE cost, GKE autoscaling, GKE inference, GKE upgrade, GKE observability, GKE multi-tenancy, GKE batch, GKE HPC, GKE compute class.
cloud-run-basics
Manages Cloud Run services, jobs, and worker pools. Use when you need to deploy applications responding to HTTP requests (services), run event-triggered or scheduled tasks (jobs), or handle always-on pull-based background processing (worker pools).
google-cloud-recipe-onboarding
Guidance for a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource.
alloydb-basics
Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB model context protocol (MCP) tools for automated database operations.
gemini-api
Guides the usage of the Gemini API on Agent Platform with the Google Gen AI SDK. Use when the user asks about using Gemini in an enterprise environment or explicitly mentions Vertex AI, Google Cloud, or Agent Platform. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like Live API, tools, multimedia generation, caching, and batch prediction.
google-cloud-waf-cost-optimization
Generates cost optimization guidance for Google Cloud workloads based on the Google Cloud Well-Architected Framework (WAF). Use this skill to evaluate a workload, identify cost requirements and constraints, and provide actionable recommendations for build, deploy, and manage the workload cost-efficiently in Google Cloud.
Didn't find tool you were looking for?