firebase-basics

Configure Firebase CLI environments, authentication, and projects for agent-driven Firebase workflows.

Updated Aug 5, 2024
One-click install
npx skills add https://github.com/nikhilkakarla/nikhilkakarla.github.io --skill firebase-basics-nikhilkakarla
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: firebase-basics
Source: https://github.com/nikhilkakarla/nikhilkakarla.github.io/tree/main/.agents/skills/firebase-basics
Command: npx skills add https://github.com/nikhilkakarla/nikhilkakarla.github.io --skill firebase-basics-nikhilkakarla

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires firebase-tools, and includes references (resource) components.

What problem does it solve? Setting up Firebase tooling for AI agents involves many manual steps: installing Node.js, the Firebase CLI, authenticating, selecting a project, and wiring up the Firebase MCP server across different agent environments. This Skill standardizes that entire process so Firebase tasks work reliably from the first command. ## Core Features & Use Cases - Environment Verification: Checks Node.js version, Firebase CLI availability via npx, and login status before any Firebase work begins. - Project Management: Guides creating or selecting an active Firebase project with the CLI, including project ID constraints. - Agent-Specific Setup: Provides per-agent installation guides for the Firebase MCP server and skills across Antigravity, Gemini CLI, Claude Code, Cursor, GitHub Copilot, and other agents. - Use Case: A developer asks their AI assistant to deploy a Firestore-backed web app. The Skill first verifies the CLI and login, sets the active project, then walks through firebase init and web SDK configuration. ## Quick Start Set up my Firebase environment and initialize a new Firebase project for my web app.

Frequently Asked Questions about firebase-basics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up the Firebase CLI for the first time?▼

Verify Node.js version 20 or higher, then run npx -y firebase-tools@latest --version to confirm the CLI works. Authenticate with npx -y firebase-tools@latest login, or use the --no-localhost flag in remote environments without a browser.

How do I create a Firebase project from the command line?▼

Run npx -y firebase-tools@latest projects:create <project-id> --display-name "<name>". The project ID must be 6-30 characters, lowercase, globally unique, and may contain digits and hyphens.

How do I configure the Firebase MCP server in Cursor or Claude Code?▼

Add a firebase entry to the mcpServers object in your agent's MCP config file with command npx and args -y firebase-tools@latest mcp. Claude Code users can instead install the Firebase plugin via claude plugin install firebase@firebase.

Why does Firebase login fail in a remote shell environment?▼

The default login flow opens a browser, which fails in headless or remote environments. Use npx -y firebase-tools@latest login --no-localhost instead to authenticate through a manual code-based flow.

How do I add Firebase to an existing web app?▼

Register a web app with npx -y firebase-tools@latest apps:create web my-web-app, install the firebase npm package, then fetch your config with apps:sdkconfig and initialize it with initializeApp from the modular SDK.