skills/flutter/flutter-firebase/SKILL.md
Integrate Firebase services including Authentication, Firestore, Cloud Messaging, Crashlytics, and Analytics. Use when adding backend capabilities, push notifications, crash reporting, or remote configuration to a Flutter app.
npx skillsauth add dhruvanbhalara/skills flutter-firebaseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
firebase_core for initialization — call Firebase.initializeApp() before runApp()flutterfire configure for platform-specific setupapp-config skill)injectable for consistent DIfirebase_auth for user managementAuthRepository — no direct FirebaseAuth usage in BLoCs or UIFirebaseAuth.instance.authStateChanges() stream in AuthBlocflutter_secure_storage — never in SharedPreferences or source codecloud_firestore for remote data persistenceget, set, update, delete, snapshots)fromFirestore / toFirestore factory methods.withConverter<T>() for type-safe collection referencesallow read, write: if false; and open only what's neededrequest.auth != null for authenticated-only collectionsfirebase_messaging for push notificationsonTokenRefresh streamfirebase_crashlytics for crash reportingFlutterError.onError = FirebaseCrashlytics.instance.recordFlutterFatalErrorPlatformDispatcher.instance.onErrorCrashlytics.instance.setCustomKey('userId', id)firebase_analytics for user behavior trackinganalytics.logEvent(name: 'purchase_completed')analytics.setUserProperty(name: 'plan', value: 'premium')FirebaseAnalyticsObserver in GoRouterfirebase_remote_config for feature flags and A/B testingdevelopment
Perform REST API networking operations (GET, POST, PUT, DELETE) using the lightweight and robust standard `http` package, including platform configurations and background parsing models.
development
Configure internationalization and localization support using Flutter's built-in l10n system, App Resource Bundle (ARB) files, and ICU formatting syntax.
development
Create model classes with fromJson/toJson using dart:convert and Dart 3 pattern matching. Use when manually mapping JSON to classes, parsing HTTP responses, or choosing between manual and code-generated serialization.
data-ai
Diagnose and fix Flutter layout constraint violations (RenderFlex overflow, unbounded height/width, ParentData misuse). Use when encountering layout exceptions, yellow-black overflow stripes, or red error screens.