Agent skill · Security

firebase-auth

Use when setting up auth, managing auth state, implementing email/password or social sign-in, handling auth errors, or managing users.

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

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

Facts
Files in the skill folder: 1
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/firebase-auth/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 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

What's inside
Steps it walks through
  1. When to Use
  2. 1. Setup and Configuration
  3. 2. Authentication State Management
  4. 3. Email and Password Authentication
  5. 4. Social Authentication
  6. 5. Phone Number Authentication
  7. 6. Error Handling
  8. 7. User Management
  9. 8. Security Best Practices
  10. 9. Multi-Factor Authentication
  11. 10. Email Link Authentication
  12. References
More from flutter-ai-rules
All skills →
About this skill
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.

Keep going