In short.
Firebase Authentication Basics is an instruction skill for coding assistants and developers adding Firebase sign-in, but its snippets need adaptation to support a complete sign-in and data access flow. It covers provider configuration, client SDK usage and platform pitfalls. The Flutter example starts initialization without waiting for completion, and the field-based ownership rule lacks conditions for creating documents and preserving ownership during updates. Runtime behavior, current dependency compatibility and operating costs are unverified.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected skills/firebase-auth-basics folder at commit 99954a30898bb5ddc8152ee10e124dc3b4106bf7: SKILL.md and its five reference files. The repository LICENSE is included as related rights evidence outside that folder. External linked pages, other skills and sibling folders are excluded. No code or commands were executed. Builds, deployments, emulator behavior, provider sign-in, runtime compatibility, performance and security in an actual application remain unverified.
The overview
Identity
The resource is the firebase-auth-basics instruction skill in the firebase/agent-skills repository [https://github.com/firebase/agent-skills/tree/main/skills/firebase-auth-basics]. Its metadata names Google LLC as author and Identity as its category. It consists of a SKILL.md entry and five references covering Web, Android, Flutter, iOS and authentication in security rules.
Assessment
The strongest fit is a developer who has chosen Firebase and wants an assistant to implement routine authentication tasks. Concrete SDK calls, provider configuration and platform warnings make it useful beyond a conceptual introduction. Its usefulness depends on reviewing the examples: the Flutter initialization sequence is internally inconsistent, and the security rules are introductory fragments rather than a complete access policy. No execution results establish that the examples work together.
Users
Beginners get explanations of users, identity providers and tokens, followed by implementation examples. Experienced developers get platform-specific reminders, including Android dependency resolution, Swift initialization order and Flutter Web differences. Readers still need enough knowledge of their application framework to integrate dependencies, handle errors and connect authentication state to the interface. A specific compatible assistant host or host version is not documented.
Capabilities
The Web reference supplies email/password registration, popup sign-in for Google and several other providers, anonymous authentication, email-link authentication, auth-state observation, sign-out and emulator connection. Android and iOS references cover email/password registration, sign-in and sign-out. Flutter focuses on Google sign-in across Web and mobile.
The main guide describes phone and custom authentication without implementing them. Security examples cover signed-in checks, ownership checks and verified-email claims. Broader account administration and a complete sign-in interface are not supplied.
Using it
Requirements
The entry lists a Firebase project and an installed, authenticated Firebase CLI as prerequisites, although its compatibility metadata says the CLI is optional. Web examples assume an initialized Firebase app. Android requires project registration, google-services.json and the Google services Gradle plugin. iOS requires FirebaseAuth and prior FirebaseApp.configure() execution.
Several prerequisites depend on other skills, including firebase-basics and xcode-project-setup. Detailed Firestore and Storage rules authoring also points elsewhere. Those resources are outside the supplied scope, and assistant installation instructions are not established here.
Mechanism
The skill gives an assistant instructions and reference snippets for configuring providers, calling Firebase client SDKs and applying access rules. The guide explains that Firebase Authentication identifies users by uid and issues identity tokens after sign-in. It describes ID tokens as one-hour JSON Web Tokens and refresh tokens as longer-lived credentials.
Security rules use request.auth to inspect authenticated identity and claims. Authentication establishes who is requesting access; the application's rules must still define which data that user may read or change. Custom-backend token verification is mentioned conceptually but not implemented.
Setup
The main workflow describes an auth.providers block in firebase.json followed by npx -y firebase-tools@latest deploy --only auth. It says CLI provisioning covers Google, anonymous and email/password authentication; other providers use the Firebase Console. The documented deployment changes backend authentication configuration.
Client setup then follows the platform reference. Web initializes getAuth and can connect immediately to an authentication emulator. Android adds FirebaseAuth through Gradle. iOS configures Firebase before accessing Auth.auth(). Flutter separates Web popup sign-in from mobile GoogleSignIn usage. The material also explains authorized-domain formatting for local Web development. These commands and configurations have not been executed.
Example
An illustrative application is a Web app with Google login and a private /users/{userId} document. The references provide getAuth(app), GoogleAuthProvider and signInWithPopup for login, onAuthStateChanged for updating the interface, and a rule condition requiring request.auth != null && request.auth.uid == userId. These are building blocks for connecting sign-in to access control; provider configuration, application code and complete rules still need integration. No completed application or end-to-end result is established.
Assessment & evidence
Limitations
The Flutter text requires initialization to finish before GoogleSignIn use, but its AuthService constructor calls initialize() without awaiting completion or exposing a readiness step. Completion before authenticate() is therefore not guaranteed by the example, creating a potential initialization race.
The field-based ownership rule checks existing resource.data.owner_uid for both reads and writes. It supplies no create-specific condition based on proposed document data and no update condition preserving ownership. The simpler signed-in rule also grants broad access wherever applied. These fragments require rules tailored to each operation and data model.
No supplied results establish successful builds, provider compatibility, complete account-management coverage, performance or security in an actual application.
Reasoning
Its practical value comes from connecting provider setup, platform SDK calls and identity-based rules in one skill. Auth-state listeners and platform warnings address integration details that a short sign-in snippet would miss. The dependency on outside setup instructions, uneven provider coverage and identifiable gaps in examples support treating it as an implementation aid requiring project-specific review. Faster development or fewer defects are plausible benefits, but neither is measured in the supplied evidence.
Alternatives
The resource documents Firebase Console configuration as an alternative to CLI provisioning, particularly for providers outside the stated CLI coverage. It also mentions ready-made Firebase authentication UI libraries without naming or evaluating them. No comparison with competing authentication services or other assistant skills is supplied, so relative cost, completeness and ease of use are unknown.
Evidence
The source snapshot is identified by repository commit 99954a30898bb5ddc8152ee10e124dc3b4106bf7. Its original entry is available at [https://raw.githubusercontent.com/firebase/agent-skills/99954a30898bb5ddc8152ee10e124dc3b4106bf7/skills/firebase-auth-basics/SKILL.md]. The supplied material includes the entry, all five local references and the repository LICENSE.
These files establish the written instructions, examples and licensing terms. They contain no execution receipts, build results, benchmark measurements or demonstrated user journeys. Statements about runtime success remain unverified.
Access & freshness
Costs
The supplied Apache license grants royalty-free rights to the covered material. It does not establish the cost of operating Firebase Authentication or using a coding assistant. Service prices, phone-verification charges, quotas, billing prerequisites and total operating cost are unknown.
Rights
The captured repository license is Apache License 2.0. It permits use, modification and redistribution, including commercial reuse, subject to its conditions. Redistribution requires a license copy, preservation of applicable notices and prominent change notices in modified files. Relevant NOTICE attributions must accompany redistributed derivatives if such a file is present.
The license includes a conditional patent grant, provides no general trademark permission and disclaims warranties. No separate NOTICE file is supplied. The repository license does not establish the separate terms governing Firebase services, SDKs or identity providers.
Freshness
The snapshot was captured on 15 November 2026 at 15:57:16.207 UTC. That date does not establish when the instructions were written or last maintained. The Flutter reference discusses google_sign_in 7.x and specifically 7.2.0; the Android reference directs consumers to retrieve dependency versions, while CLI examples use firebase-tools@latest. No resolved dependency set or evidence of compatibility with current releases is supplied.
Actions
Before using the examples, establish the assistant's skill-loading procedure, complete Firebase app setup and confirm dependency versions. Follow the reference for the target platform and provider. For Flutter mobile, make initialization completion explicit before authentication calls. Define and validate separate access conditions for document creation, reading, updates and deletion, including ownership changes.
Use the emulator guidance and target-platform checks to validate sign-in, sign-out, unauthorized-domain failures and data access. Confirm service pricing and quotas separately. These are recommended next steps; no results from them are available.
