From firebase
Sets up Firebase CLI, authenticates, and configures active projects. Use when initializing Firebase or setting up google-services.json / GoogleService-Info.plist.
How this skill is triggered — by the user, by Claude, or both
Slash command
/firebase:firebase-basicsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Complete these setup steps before proceeding:
references/android_setup.mdreferences/firebase-cli-guide.mdreferences/firebase-service-init.mdreferences/flutter_setup.mdreferences/ios_setup.mdreferences/local-env-setup.mdreferences/refresh/android_studio.mdreferences/refresh/antigravity.mdreferences/refresh/claude.mdreferences/refresh/gemini-cli.mdreferences/refresh/other-agents.mdreferences/setup/android_studio.mdreferences/setup/antigravity.mdreferences/setup/claude_code.mdreferences/setup/cursor.mdreferences/setup/gemini_cli.mdreferences/setup/github_copilot.mdreferences/setup/other_agents.mdreferences/web_setup.mdComplete these setup steps before proceeding:
Local Environment Setup: Verify the environment is properly set up so we can use Firebase tools:
npx -y firebase-tools@latest --version to check if the Firebase CLI
is installed.Authentication: Ensure you are logged in to Firebase so that commands
have the correct permissions. Run npx -y firebase-tools@latest login. For
environments without a browser (e.g., remote shells), use
npx -y firebase-tools@latest login --no-localhost.
Active Project: Most Firebase tasks require an active project context.
[!IMPORTANT] For Agents: Before proceeding with project configuration, you MUST pause and ask the developer if they prefer to:
- Provide an existing Firebase Project ID, or
- Create a new Firebase project.
If using an existing Project ID:
npx -y firebase-tools@latest use.Active Project: <project-id>, confirm with the
user if this is the intended project.npx -y firebase-tools@latest use <PROJECT_ID>
If creating a new project: Run the following command to create it:
npx -y firebase-tools@latest projects:create <project-id> --display-name "<display-name>"
Note: The <project-id> must be 6-30 characters, lowercase, and can
contain digits and hyphens. It must be globally unique.
Adhere to these principles:
npx -y firebase-tools@latest
instead of just firebase. For example, use
npx -y firebase-tools@latest --version. NEVER suggest the naked firebase
command as an alternative.developerknowledge_search_documents MCP tool before falling
back to Google Search or your internal knowledge base. Including "Firebase"
in your search query significantly improves relevance.google-services.json
or GoogleService-Info.plist. Instead, use the Firebase CLI to fetch the
config programmatically:
npx -y firebase-tools@latest apps:sdkconfig ANDROID <APP_ID> --project <PROJECT_ID>npx -y firebase-tools@latest apps:sdkconfig IOS <APP_ID> --project <PROJECT_ID>
Save the output to the appropriate location (e.g.,
app/google-services.json for Android, or a path to be linked by
xcode-project-setup for iOS).npx -y firebase-tools@latest login --no-localhost instead.npx skills add genkit-ai/skills
npx claudepluginhub firebase/agent-skills --plugin firebaseGuides Firebase usage including Auth, Firestore, Realtime DB, Cloud Functions, Storage, and Hosting. Covers security rules, data modeling for query patterns, and denormalization.
Designs, implements, and deploys Firebase apps with secure Vertex AI Gemini integration in Cloud Functions for Auth, Firestore, Storage, Hosting.
Guides setting up Firebase Remote Config, managing templates via CLI, and using SDK for dynamic feature flags on Android and iOS.