Agent skill

firebase-ai

Use when setting up firebase_ai, generating text/chat with Gemini, streaming AI output, building multimodal prompts, or handling AI errors.

evancagithub.com/evancaGitHub ↗
claude-codecodexcursorwindsurfMIT
Install
npx skills add evanca/flutter-ai-rules --skill firebase-ai --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/firebase-ai/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 604
Language: Shell

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When to Use
  2. 1. Setup and Configuration
  3. 2. Generating Content
  4. Single-turn text generation
  5. Multi-turn chat
  6. Streaming responses
  7. Multimodal prompts (text + image)
  8. 3. Error Handling
  9. 4. Security and Privacy
  10. References
More from flutter-ai-rules
All skills →
About this skill
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.

Keep going