Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.
.claude/skills/firebase-auth-basics/SKILL.md| Model | Eval pass | Runs |
|---|---|---|
| gemini-3.6-flash | 100% | 4 |
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 271% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -7% | 0% |
npx -y firebase-tools@latest projects:create (see firebase-basics).
firebase-basics).Firebase Authentication provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app.
A user is an entity that can sign in to your app. Each user is identified by a unique ID (uid) which is guaranteed to be unique across all providers. User properties include:
uid: Unique identifier.email: User's email address (if available).displayName: User's display name (if available).photoURL: URL to user's photo (if available).emailVerified: Boolean indicating if the email is verified.Firebase Auth supports multiple ways to sign in:
Microsoft, Apple, etc.
accounts later.
Google Sign In is recommended as a good and secure default provider.
When a user signs in, they receive an ID Token (JWT). This token is used to identify the user when making requests to Firebase services (Realtime Database, Cloud Storage, Firestore) or your own backend.
Only Google Sign In, anonymous auth, and email/password auth can be enabled via CLI. For other providers, use the Firebase Console.
Configure Firebase Authentication in firebase.json by adding an 'auth' block:
{
"auth": {
"authorizedDomains": ["localhost"],
"providers": {
"anonymous": true,
"emailPassword": true,
"googleSignIn": {
"oAuthBrandDisplayName": "Your Brand Name",
"supportEmail": "support@example.com"
}
}
}
}> !NOTE] If the Google Sign-In popup opens and immediately closes with the > error [firebase_auth/unauthorized-domain], it means the domain is not > authorized. For local development, ensure localhost is included in the > Authorized Domains list in the Firebase Console or via the > authorizedDomains field in firebase.json. CRITICAL: Do NOT include the > protocol or port number in the Authorized Domains list (e.g., use localhost, > NOT http://localhost:9090).
CRITICAL: After configuring firebase.json, you MUST deploy the auth configuration to the Firebase backend for the changes to take effect. This is essential for auth providers like Google Sign-In, email/password, etc. to auto-generate the necessary OAuth clients for your app platforms. Run:
bashnpx -y firebase-tools@latest deploy --only auth
Enable other providers in the Firebase Console.
https://console.firebase.google.com/project/_/authentication/providers
Web See references/client_sdk_web.md.
Flutter See references/flutter_setup.md. Android (Kotlin) See references/client_sdk_android.md.
Secure your data using request.auth in Firestore/Storage rules.
See references/security_rules.md.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 6,520 | 3,465 | -47% | 1 | 1 | 0% | 1,233 | 1,625 | +32% | 0 | 0 | — |
case-02 | fail→pass | 14,050 | 8,139 | -42% | 1 | 1 | 0% | 2,605 | 2,545 | -2% | 0 | 0 | — |
case-03 | fail→pass | 17,484 | 7,678 | -56% | 1 | 1 | 0% | 3,071 | 2,369 | -23% | 0 | 0 | — |
case-04 | pass→pass | 12,871 | 7,716 | -40% | 1 | 1 | 0% | 2,105 | 2,223 | +6% | 0 | 0 | — |
case-05 | pass→pass | 9,681 | 4,128 | -57% | 1 | 1 | 0% | 1,855 | 1,709 | -8% | 0 | 0 | — |
case-06 | pass→pass | 10,410 | 9,217 | -11% | 1 | 1 | 0% | 2,280 | 2,884 | +26% | 0 | 0 | — |
case-07 | pass→pass | 5,003 | 3,968 | -21% | 1 | 1 | 0% | 948 | 1,688 | +78% | 0 | 0 | — |
case-08 | pass→pass | 10,105 | 8,112 | -20% | 1 | 1 | 0% | 1,939 | 2,476 | +28% | 0 | 0 | — |
case-09 | pass→pass | 9,366 | 1,570 | -83% | 1 | 1 | 0% | 1,366 | 1,137 | -17% | 0 | 0 | — |
case-10 | pass→pass | 9,487 | 3,185 | -66% | 1 | 1 | 0% | 837 | 1,461 | +75% | 0 | 0 | — |
case-11 | pass→pass | 7,454 | 5,220 | -30% | 1 | 1 | 0% | 1,289 | 1,543 | +20% | 0 | 0 | — |
case-12 | fail→pass | 2,953 | 3,362 | +14% | 1 | 1 | 0% | 370 | 1,374 | +271% | 0 | 0 | — |
case-13 | fail→pass | 8,198 | 2,490 | -70% | 1 | 1 | 0% | 1,491 | 1,393 | -7% | 0 | 0 | — |
case-14 | pass→pass | 10,321 | 6,057 | -41% | 1 | 1 | 0% | 1,771 | 2,005 | +13% | 0 | 0 | — |
case-15 | pass→pass | 7,962 | 2,788 | -65% | 1 | 1 | 0% | 1,361 | 1,358 | -0% | 0 | 0 | — |
case-16 | fail→pass | 4,224 | 2,375 | -44% | 1 | 1 | 0% | 786 | 1,378 | +75% | 0 | 0 | — |
case-17 | fail→pass | 10,562 | 5,933 | -44% | 1 | 1 | 0% | 1,769 | 1,913 | +8% | 0 | 0 | — |
case-18 | pass→pass | 4,036 | 3,822 | -5% | 1 | 1 | 0% | 811 | 1,600 | +97% | 0 | 0 | — |
case-19 | fail→pass | 5,831 | 2,734 | -53% | 1 | 1 | 0% | 1,064 | 1,490 | +40% | 0 | 0 | — |
case-20 | fail→fail | 10,137 | 2,766 | -73% | 1 | 1 | 0% | 1,733 | 1,423 | -18% | 0 | 0 | — |
case-21 | pass→pass | 7,927 | 3,347 | -58% | 1 | 1 | 0% | 1,256 | 1,455 | +16% | 0 | 0 | — |
case-22 | pass→pass | 6,285 | 3,387 | -46% | 1 | 1 | 0% | 1,148 | 1,518 | +32% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +36 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 7/23/2026 | +23% |
Other measured skills in the registry, with their headline benchmark lift.