firebase-vertex-ai
Manages end-to-end Firebase and Vertex AI Gemini integrations.
Install
mkdir -p .claude/skills/firebase-vertex-ai && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4211" && unzip -o skill.zip -d .claude/skills/firebase-vertex-ai && rm skill.zipInstalls to .claude/skills/firebase-vertex-ai
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Execute firebase platform expert with Vertex AI Gemini integration forKey capabilities
- →Initialize or validate a Firebase project structure
- →Implement backend integration with Cloud Functions for Vertex AI/Gemini
- →Configure Firestore rules and indexes
- →Configure Storage rules and authentication checks
- →Deploy Firebase Functions and Hosting
- →Add operational guardrails like logging and alerting
How it works
The skill sets up Firebase projects, integrates Vertex AI/Gemini via Cloud Functions with secure secrets handling and IAM, and configures Firestore/Storage rules.
Inputs & outputs
When to use firebase-vertex-ai
- →Setup new Firebase project
- →Deploy AI-powered Cloud Functions
- →Configure Firestore security rules
About this skill
Firebase Vertex AI
Operate Firebase projects end-to-end (Auth, Firestore, Functions, Hosting) and integrate Gemini/Vertex AI safely for AI-powered features.
Overview
Use this skill to design, implement, and deploy Firebase applications that call Vertex AI/Gemini from Cloud Functions (or other GCP services) with secure secrets handling, least-privilege IAM, and production-ready observability.
Prerequisites
- Node.js runtime and Firebase CLI access for the target project
- A Firebase project (billing enabled for Functions/Vertex AI as needed)
- Vertex AI API enabled and permissions to call Gemini/Vertex AI from your backend
- Secrets managed via env vars or Secret Manager (never in client code)
Instructions
- Initialize Firebase (or validate an existing repo): Hosting/Functions/Firestore as required.
- Implement backend integration:
- add a Cloud Function/HTTP endpoint that calls Gemini/Vertex AI
- validate inputs and return structured responses
- Configure data and security:
- Firestore rules + indexes
- Storage rules (if applicable)
- Auth providers and authorization checks
- Deploy and verify:
- deploy Functions/Hosting
- run smoke tests against deployed endpoints
- Add ops guardrails:
- logging/metrics
- alerting for error spikes
- basic cost controls (budgets/quotas) where appropriate
Output
- A deployable Firebase project structure (configs + Functions/Hosting as needed)
- Secure backend code that calls Gemini/Vertex AI (with secrets handled correctly)
- Firestore/Storage rules and index guidance
- A verification checklist (local + deployed) and CI-ready commands
Error Handling
- Auth failures: identify the principal and missing permission/role; fix with least privilege.
- Billing/API issues: detect which API or quota is blocking and provide remediation steps.
- Firestore rule/index problems: provide minimal repro queries and rule fixes.
- Vertex AI call failures: surface model/region mismatches and add retries/backoff for transient errors.
Examples
Example: Gemini-backed chat API on Firebase
- Request: “Deploy Hosting + a Function that powers a Gemini chat endpoint.”
- Result:
/api/chatfunction, Secret Manager wiring, and smoke tests.
Example: Firestore-powered RAG
- Request: “Build a RAG flow that embeds docs and answers with citations.”
- Result: ingestion plan, embedding + index strategy, and evaluation prompts.
Resources
- Full detailed guide (kept for reference):
${CLAUDE_SKILL_DIR}/references/SKILL.full.md - Firebase docs: https://firebase.google.com/docs
- Cloud Functions for Firebase: https://firebase.google.com/docs/functions
- Vertex AI docs: https://cloud.google.com/vertex-ai/docs
When not to use it
- →When billing is not enabled for Functions or Vertex AI
- →When permissions to call Gemini/Vertex AI from the backend are not granted
Prerequisites
Limitations
- →Requires billing enabled for Firebase Functions and Vertex AI
- →Requires Vertex AI API enabled and appropriate permissions
- →Secrets must be managed via environment variables or Secret Manager
How it compares
This skill provides an end-to-end solution for integrating Vertex AI/Gemini into Firebase, including secure deployment and operational guardrails, beyond basic Firebase setup.
Compared to similar skills
firebase-vertex-ai side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| firebase-vertex-ai (this skill) | 1 | 27d | Review | Advanced |
| supabase-developer | 95 | 7mo | Review | Intermediate |
| better-auth-best-practices | 18 | 6mo | No flags | Intermediate |
| workflow | 4 | 2mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
supabase-developer
daffy0208
Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.
better-auth-best-practices
novuhq
Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.
workflow
vercel
Creates durable, resumable workflows using Vercel's Workflow DevKit. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow devkit", or step-based orchestration.
azure-postgres-ts
aiskillstore
Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package.
telegram-mini-app
davila7
Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.
stripe-integration
wshobson
Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.