gemini-live-firebase-migration
Installation
SKILL.md
Gemini Live ⇄ Firebase AI Logic Migration Skill
gemini_live has a compatibility layer, package:gemini_live/compat/firebase_ai.dart, that mirrors the Live API of firebase_ai 4.x: same class names, constructors, methods and defaults. Code written against it compiles on both packages after an import swap.
Full reference: doc/firebase_ai_compat.md.
🧭 Step 0: Identify the direction
Search the project first:
grep -rn "package:firebase_ai\|package:gemini_live" lib test
grep -rn "Firebase.initializeApp\|FirebaseAI\.\(googleAI\|vertexAI\|agentPlatform\)" lib
grep -rn "genAI.live.connect\|LiveConnectParameters\|GeminiLiveSessionController" lib