zer09/pi-config.bak/firebase-ai-logic-basics

Claude Code and agent skill by zer09/pi-config.bak

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Use when adding Firebase AI Logic, Gemini API calls, multimodal inference, structured output, or secure client-side AI features.

Install

npx vskill@latest install zer09/pi-config.bak/firebase-ai-logic-basics

SKILL.md

The same SKILL.md was published earlier as zer09/pi-config.bak/firebase-ai-logic-basics.

Firebase AI Logic Basics

Use Firebase AI Logic when adding Gemini-powered features through Firebase SDKs. Keep runtime guidance compact and load platform references only when needed.

Hosted service safety

  • Firebase and Google Cloud are external hosted services. Reads, local code edits, and local validation are allowed.
  • Do not enable services, change projects, deploy, alter billing/quota, write secrets, or run live model calls unless the user explicitly requests that exact action.
  • Never hardcode API keys, app credentials, service account JSON, OAuth tokens, or private keys. Use Firebase config files, environment variables, or placeholders.
  • For sensitive prompts or user data, design server-side mediation or App Check patterns instead of exposing privileged credentials to clients.

Workflow

  1. Identify the target platform: Web, Android, iOS, Flutter, or another Firebase-supported client.
  2. Verify the existing Firebase app setup before adding AI Logic code. Use firebase-basics if project/app initialization is unclear.
  3. Load the smallest relevant reference:
  1. Add the minimal SDK initialization and model call needed by the feature.
  2. Validate error handling for auth state, App Check, network failures, quota errors, safety blocks, and unsupported input types.
  3. If structured output, tool use, file input, streaming, or multimodal input is involved, verify current SDK support from local package docs or current Firebase docs before coding.

Implementation reminders

  • Keep client-side AI features least-privileged. Do not put administrative credentials in mobile or web clients.
  • Prefer explicit model names and typed response parsing over loose JSON assumptions.
  • Add user-visible fallback states for blocked, empty, partial, or rate-limited responses.
  • Use Context Mode for large docs, SDK source reads, generated types, or test output.

Maintenance

Update this Local Skill using ../../../docs/skills/firebase-skills-update-process.md. Preserve the local invariants in ../../../docs/skills/local-skill-update-invariants.md.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zer09/pi-config.bak/firebase-ai-logic-basics/badge)](https://verified-skill.com/skills/zer09/pi-config.bak/firebase-ai-logic-basics)

Something wrong with this skill or its page? Tell us.