firebase-auth
Use when setting up auth, managing auth state, implementing email/password or social sign-in, handling auth errors, or managing users.
npx skills add evanca/flutter-ai-rules --skill firebase-auth --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 Authentication Skill This skill defines how to correctly use Firebase Authentication in Flutter applications. ## When to Use Use this skill when: * Setting up Firebase Authentication in a Flutter project. * Listening to authentication state changes. * Implementing email/password, phone number, or social sign-in. * Managing user profiles, account linking, or MFA. * Handling authentication errors (including iOS `recaptcha-sdk-not-linked` for phone auth). * Applying security best practices for auth flows. --- ## 1. Setup and Configuration ``` flutter pub add firebase_auth ``` ```dart import 'package:firebase_auth/firebase_auth.dart'; ``` - Enable desired authentication providers in the **Firebase console** before using them. - Initialize Firebase before using any Firebase Authentication features. **Local emulator for testing:** ```dart Future<void> main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp(); await FirebaseAuth.instance.useAuthEmulator('localhost', 9099); // ... } ``` --- ## 2. Authentication State Management Use the appropriate stream based on what you need to observe: | Stream | Fires when | |---|---| | `authStateChanges()` | U
- When to Use
- 1. Setup and Configuration
- 2. Authentication State Management
- 3. Email and Password Authentication
- 4. Social Authentication
- 5. Phone Number Authentication
- 6. Error Handling
- 7. User Management
- 8. Security Best Practices
- 9. Multi-Factor Authentication
- 10. Email Link Authentication
- References
What does the firebase-auth skill do?
Use when setting up auth, managing auth state, implementing email/password or social sign-in, handling auth errors, or managing users.
How do I install it?
Run `npx skills add evanca/flutter-ai-rules --skill firebase-auth --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.
