FI

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.zip

Installs 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 for
70 charsno explicit “when” trigger
Advanced

Key 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

You give it
Firebase project configuration and desired AI-powered features
You get back
Deployable Firebase project with secure Vertex AI/Gemini integration, configured rules, and verification checklist

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

  1. Initialize Firebase (or validate an existing repo): Hosting/Functions/Firestore as required.
  2. Implement backend integration:
    • add a Cloud Function/HTTP endpoint that calls Gemini/Vertex AI
    • validate inputs and return structured responses
  3. Configure data and security:
    • Firestore rules + indexes
    • Storage rules (if applicable)
    • Auth providers and authorization checks
  4. Deploy and verify:
    • deploy Functions/Hosting
    • run smoke tests against deployed endpoints
  5. 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/chat function, 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

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

Node.js runtime and Firebase CLI access for the target projectA Firebase project (billing enabled for Functions/Vertex AI as needed)Vertex AI API enabled and permissions to call Gemini/Vertex AI from your backendSecrets managed via env vars or Secret Manager

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.

SkillInstallsUpdatedSafetyDifficulty
firebase-vertex-ai (this skill)127dReviewAdvanced
supabase-developer957moReviewIntermediate
better-auth-best-practices186moNo flagsIntermediate
workflow42moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

Search skills

Search the agent skills registry