firebase-ai
Use when setting up firebase_ai, generating text/chat with Gemini, streaming AI output, building multimodal prompts, or handling AI errors.
npx skills add evanca/flutter-ai-rules --skill firebase-ai --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Firebase AI Skill This skill defines how to correctly use Firebase AI Logic in Flutter applications. ## When to Use Use this skill when: * Setting up and configuring Firebase AI in a Flutter project. * Generating text content or chat responses with Gemini models. * Implementing streaming AI responses for real-time UI updates. * Sending multimodal prompts (text + images) to Gemini. * Handling errors, offline scenarios, and rate limits for AI operations. * Applying security and privacy considerations for AI features. --- ## 1. Setup and Configuration ``` flutter pub add firebase_ai ``` ```dart import 'package:firebase_ai/firebase_ai.dart'; import 'package:firebase_core/firebase_core.dart'; import 'firebase_options.dart'; // Initialize FirebaseApp await Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform, ); // Initialize the Gemini Developer API backend service final model = FirebaseAI.googleAI().generativeModel(model: 'gemini-2.5-flash'); ``` - Ensure the Firebase project is configured for AI services via the Firebase AI Logic page in the Firebase Console. - Initialize Firebase before using any Firebase AI features. - Use `FirebaseAI.googleAI()` for the **Gemin
- When to Use
- 1. Setup and Configuration
- 2. Generating Content
- Single-turn text generation
- Multi-turn chat
- Streaming responses
- Multimodal prompts (text + image)
- 3. Error Handling
- 4. Security and Privacy
- References
What does the firebase-ai skill do?
Use when setting up firebase_ai, generating text/chat with Gemini, streaming AI output, building multimodal prompts, or handling AI errors.
How do I install it?
Run `npx skills add evanca/flutter-ai-rules --skill firebase-ai --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From evanca/flutter-ai-rules, a repository with 604 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
