integrating-firebase
Skill7 starsChanged 8 months agoMITView on GitHub
Firebase integration for Flutter including Auth, Firestore, FCM, Cloud Storage, Analytics, and Crashlytics. Use when implementing serverless backend features, real-time sync, or push notifications.
In this repository41 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- skill-creatorSkill
- flutter-dbSkill
- flutter-routingSkill
- flutter-state-managementSkill
- configuring-codemagicSkill
- applying-effective-dartSkill
- deploying-with-fastlaneSkill
- implementing-fl-chartSkill
- integrating-google-adsSkill
- animating-flutter-widgetsSkill
- routing-with-autorouteSkill
- implementing-flutter-blocSkill
- configuring-deep-linksSkill
- persisting-data-with-driftSkill
- building-flutter-production-appsSkill
- generating-flutter-uiSkill
- routing-with-gorouterSkill
- managing-hive-storageSkill
- using-flutter-hooksSkill
- running-flutter-isolatesSkill
- managing-flutter-provider-stateSkill
- implementing-responsive-layoutsSkill
- implementing-riverpodSkill
- managing-secure-storageSkill
- flutter-setupSkill
- managing-shared-preferencesSkill
- implementing-flutter-social-authSkill
- flutter-testingSkill
- using-fpdartSkill
- generating-freezed-modelsSkill
- configuring-github-actionsSkill
- building-jaspr-web-appsSkill
- testing-with-marionetteSkill
- implementing-openapi-in-dartSkill
- integrating-revenuecatSkill
- integrating-sentrySkill
- developing-serverpod-backendSkill
- building-shadcn-flutter-uiSkill
- integrating-supabaseSkill
- converting-ts-to-dartSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
If you are initializing Firebase for the first time, setting up the flutterfire_cli, or resolving native iOS/Android Firebase compilation …
- Very specific: line 20
If you are implementing login, email/password verification, social sign-ins (Google, Apple), or managing User sessions, you MUST read:
- Distinctive: line 24
If you are configuring Apple Push Notification service (APNs), handling FCM background handlers, or requesting notification permissions, …
- Distinctive: line 28
If you are reading/writing data, defining Freezed models, or navigating NoSQL document structures (Firestore) vs JSON trees (RTDB), you …
- Very specific: line 32
If you are uploading images/videos, generating download URLs, or restructuring storage Reference trees, you MUST read:
- Very specific: line 36
If you are logging custom analytical events, setting up global FlutterError and PlatformDispatcher error trapping, you MUST read:
- Distinctive: line 40
If you want to protect your Firebase backend from unauthorized access using DeviceCheck (iOS) and Play Integrity (Android), you MUST read:
- Distinctive: line 44
If you are building a highly secure app and need to bypass Firestore Rules or protect third-party API keys (like Stripe) using a …
- Distinctive: line 48
If you are designing the database schema or querying massive datasets, to prevent uncontrolled Firebase billing costs, you MUST read:
- Very specific: line 52
Never hardcode configurations: All Firebase configs MUST be generated by the flutterfire_cli.
- Very specific: line 53
Review the Cost chapter: Before designing any Firestore schema, review cost.md to avoid queries that lead to billing disasters.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flutter with Firebase Integration Guide
Goal
Production architecture for integrating Google Firebase with Flutter. This skill points to specific implementation chapters — read the relevant one before writing any Firebase code.
Workflow & References
1. Core Setup & Initialization (firebase_core)
If you are initializing Firebase for the first time, setting up the flutterfire_cli, or resolving native iOS/Android Firebase compilation errors, you MUST read:
setup.md
2. Authentication (firebase_auth)
If you are implementing login, email/password verification, social sign-ins (Google, Apple), or managing User sessions, you MUST read:
auth.md
3. Push Notifications (firebase_messaging)
If you are configuring Apple Push Notification service (APNs), handling FCM background handlers, or requesting notification permissions, you MUST read:
messaging.md
4. Databases (cloud_firestore, firebase_database)
If you are reading/writing data, defining Freezed models, or navigating NoSQL document structures (Firestore) vs JSON trees (RTDB), you MUST read:
database.md
5. File Storage (firebase_storage)
If you are uploading images/videos, generating download URLs, or restructuring storage Reference trees, you MUST read:
storage.md
6. Observability (firebase_analytics, firebase_crashlytics)
If you are logging custom analytical events, setting up global FlutterError and PlatformDispatcher error trapping, you MUST read:
analytics-crashlytics.md
7. Security (firebase_app_check)
If you want to protect your Firebase backend from unauthorized access using DeviceCheck (iOS) and Play Integrity (Android), you MUST read:
app-check.md
8. Advanced Architecture: Serverpod Mini BFF If you are building a highly secure app and need to bypass Firestore Rules or protect third-party API keys (like Stripe) using a Backend-for-Frontend (BFF), you MUST read:
serverpod-mini.md
9. Pricing & Cost Optimization If you are designing the database schema or querying massive datasets, to prevent uncontrolled Firebase billing costs, you MUST read:
cost.md
Constraints
- Never hardcode configurations: All Firebase configs MUST be generated by the
flutterfire_cli. - Review the Cost chapter: Before designing any Firestore schema, review
cost.mdto avoid queries that lead to billing disasters.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

