What problem does it solve? Wiring Firebase into a Flutter app by hand is error-prone: hand-edited firebase_options.dart files, auth streams chosen at random, SDK types leaking into the UI, and Firestore security rules left wide open. This Skill connects a Flutter app to Firebase deterministically and generates repository layers plus security rules that act as the real backend firewall. ## Core Features & Use Cases - Deterministic Firebase setup: Runs flutterfire configure to generate firebase_options.dart and registers apps per platform, initializing Firebase in main.dart. - Decoupled repositories: Generates AuthRepository (with the correct stream chosen per use case: authStateChanges, idTokenChanges, or userChanges), FirestoreRepository with withConverter typing, and StorageRepository — no Firebase SDK types leak beyond the repository layer. - Default-deny security rules: Writes firestore.rules and storage.rules with owner-scoped access, separating create from read/update/delete, plus verification via flutter analyze, mocktail repository tests, and rules unit tests in the emulator. - Use Case: You have a Flutter app scaffolded with Riverpod and need login plus cloud data storage. This Skill configures Firebase Auth and Firestore, generates the repositories, and ships audited security rules. ## Quick Start Connect this Flutter app to Firebase with authentication and Firestore, generating the repositories and default-deny security rules.