agentsclimarketplace

Firebase auth

Skill GDvega/super-android-kotlin-firebase-skill/skills/firebase-auth

A modular Agent Skills repository for Android, Kotlin, Jetpack Compose and Firebase development.

Install
npx -y skills add GDvega/super-android-kotlin-firebase-skill --skill firebase-auth

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use for Firebase Auth email/password, Google Sign-In, anonymous auth, auth state, user profile, error handling and authorization-aware UI/data flows.

SKILL.md

2.6 KB, as published. Nobody here has run it

Purpose

Implement authentication without leaking SDK details or weakening authorization.

When to use

  • Adding login, signup or logout.
  • Handling auth state in ViewModel/UI.
  • Linking user profile data.
  • Mapping Firebase Auth errors safely.

Inputs to inspect

  • Required providers and UX flow.
  • Auth state handling.
  • User profile model.
  • Firestore/Storage rules that depend on auth.

Required workflow

  1. Define providers and session UX.
  2. Create or update an AuthRepository boundary.
  3. Expose auth state to ViewModel.
  4. Map errors to user-safe messages.
  5. Add fakes/tests and rule checks.

Rules

  • Do not store passwords or tokens manually.
  • Do not call FirebaseAuth directly from reusable Composables.
  • Never trust UI checks as authorization.
  • Rules must validate request.auth.uid.
  • Keep errors useful but not secret-revealing.

Related existing skills

Local skills to invoke

  • firebase-core
  • firestore
  • security-privacy
  • ui-state-design
  • testing

External companion skills to use when installed

Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.

  • firebase/agent-skills — use for deeper Firebase product, Firestore, Security Rules or emulator workflow guidance when installed.

Files commonly touched

  • AuthRepository.kt
  • AuthViewModel.kt
  • login Compose screens
  • firestore.rules
  • storage.rules
  • tests/fakes

Commands to validate

./gradlew test
./gradlew assembleDebug
firebase emulators:exec "npm test"

Common mistakes to avoid

  • Persisting provider tokens.
  • Showing raw Firebase exception internals.
  • Creating profile documents without rules.
  • Ignoring anonymous account upgrade flows.

Checklist

  • AuthRepository boundary exists.
  • Auth state observable.
  • Rules checked.
  • Errors mapped.
  • Tests/fakes added.

Example prompts

  • Use $super-android-kotlin-firebase to add Google Sign-In and email login.
  • Use $super-android-kotlin-firebase to review auth state handling.

Expected response style

Respond with: brief diagnosis, change plan, affected files, code or diff summary, validation commands, tests added or recommended, risks, and next step. For review tasks, lead with findings ordered by severity.

References

  • ../../docs/audits/FUENTES_LOCALES.md
  • references/auth-state-and-rules.md
  • templates/auth-repository-template.md

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.