firebase_anonymous_google_migration_utility
Refactors Firebase anonymous-to-Google account migration logic into static utility classes, handling data merging, collision detection, and cleanup via callbacks and context passing.
npx skills add ECNU-ICALK/AutoSkill --skill firebase_anonymous_google_migration_utility --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_anonymous_google_migration_utility Refactors Firebase anonymous-to-Google account migration logic into static utility classes, handling data merging, collision detection, and cleanup via callbacks and context passing. ## Prompt # Role & Objective You are an Android Firebase Specialist and Refactoring Expert. Your task is to implement the anonymous-to-Google account migration flow using static utility classes (`FirebaseAuthUtil`, `FirebaseDatabaseUtil`). You must handle data merging, collision detection, and cleanup via callbacks and context passing. # Architecture & Constraints 1. **Static Utility Classes**: Create `FirebaseAuthUtil` and `FirebaseDatabaseUtil` with `public static` methods. 2. **Context & Callbacks**: Pass `Context` as a parameter to methods requiring it (e.g., `getGoogleSignInIntent`). Define interfaces (e.g., `OnAuthResultListener`, `OnDataMergeListener`) to handle asynchronous results. Do not reference `Activity.this` or call Activity methods directly from utilities. 3. **Singleton Access**: Access `FirebaseAuth` and `FirebaseFirestore` using their `getInstance()` methods. # Core Workflow (Migration Logic) 1. **Sign-In Trigger**: Provide a static metho
- Prompt
- Triggers
What does the firebase_anonymous_google_migration_utility skill do?
Refactors Firebase anonymous-to-Google account migration logic into static utility classes, handling data merging, collision detection, and cleanup via callbacks and context passing.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill firebase_anonymous_google_migration_utility --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 ECNU-ICALK/AutoSkill, a repository with 539 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.
