{"id":"1cc57986-84e0-4c48-923c-d4d66a8b0bd0","shortId":"7kWgXt","kind":"skill","title":"Firebase","tagline":"Antigravity Awesome Skills skill by Sickn33","description":"# Firebase\n\nFirebase gives you a complete backend in minutes - auth, database, storage,\nfunctions, hosting. But the ease of setup hides real complexity. Security rules\nare your last line of defense, and they're often wrong. Firestore queries are\nlimited, and you learn this after you've designed your data model.\n\nThis skill covers Firebase Authentication, Firestore, Realtime Database, Cloud\nFunctions, Cloud Storage, and Firebase Hosting. Key insight: Firebase is\noptimized for read-heavy, denormalized data. If you're thinking relationally,\nyou're thinking wrong.\n\n2025 lesson: Firestore pricing can surprise you. Reads are cheap until they're\nnot. A poorly designed listener can cost more than a dedicated database. Plan\nyour data model for your query patterns, not your data relationships.\n\n## Principles\n\n- Design data for queries, not relationships\n- Security rules are mandatory, not optional\n- Denormalize aggressively - duplication is cheap, joins are expensive\n- Batch writes and transactions for consistency\n- Use offline persistence wisely - it's not free\n- Cloud Functions for what clients shouldn't do\n- Environment-based config, never hardcode keys in client\n\n## Capabilities\n\n- firebase-auth\n- firestore\n- firebase-realtime-database\n- firebase-cloud-functions\n- firebase-storage\n- firebase-hosting\n- firebase-security-rules\n- firebase-admin-sdk\n- firebase-emulators\n\n## Scope\n\n- general-backend-architecture -> backend\n- payment-processing -> stripe\n- email-sending -> email\n- advanced-auth-flows -> authentication-oauth\n- kubernetes-deployment -> devops\n\n## Tooling\n\n### Core\n\n- firebase - When: Client-side SDK Note: Modular SDK - tree-shakeable\n- firebase-admin - When: Server-side / Cloud Functions Note: Full access, bypasses security rules\n- firebase-functions - When: Cloud Functions v2 Note: v2 functions are recommended\n\n### Testing\n\n- @firebase/rules-unit-testing - When: Testing security rules Note: Essential - rules bugs are security bugs\n- firebase-tools - When: Emulator suite Note: Local development without hitting production\n\n### Frameworks\n\n- reactfire - When: React + Firebase Note: Hooks-based, handles subscriptions\n- vuefire - When: Vue + Firebase Note: Vue-specific bindings\n- angularfire - When: Angular + Firebase Note: Official Angular bindings\n\n## Patterns\n\n### Modular SDK Import\n\nImport only what you need for smaller bundles\n\n**When to use**: Client-side Firebase usage\n\n# MODULAR IMPORTS:\n\n\"\"\"\nFirebase v9+ uses modular SDK. Import only what you need.\nThis enables tree-shaking and smaller bundles.\n\"\"\"\n\n// WRONG: v8-compat style (larger bundle)\nimport firebase from 'firebase/compat/app';\nimport 'firebase/compat/firestore';\nconst db = firebase.firestore();\n\n// RIGHT: v9+ modular (tree-shakeable)\nimport { initializeApp } from 'firebase/app';\nimport { getFirestore, collection, doc, getDoc } from 'firebase/firestore';\n\nconst app = initializeApp(firebaseConfig);\nconst db = getFirestore(app);\n\n// Get a document\nconst docRef = doc(db, 'users', 'userId');\nconst docSnap = await getDoc(docRef);\n\nif (docSnap.exists()) {\n  console.log(docSnap.data());\n}\n\n// Query with constraints\nimport { query, where, orderBy, limit } from 'firebase/firestore';\n\nconst q = query(\n  collection(db, 'posts'),\n  where('published', '==', true),\n  orderBy('createdAt', 'desc'),\n  limit(10)\n);\n\n### Security Rules Design\n\nSecure your data with proper rules from day one\n\n**When to use**: Any Firestore database\n\n# FIRESTORE SECURITY RULES:\n\n\"\"\"\nRules are your last line of defense. Every read and write\ngoes through them. Get them wrong, and your data is exposed.\n\"\"\"\n\nrules_version = '2';\nservice cloud.firestore {\n  match /databases/{database}/documents {\n\n    // Helper functions\n    function isSignedIn() {\n      return request.auth != null;\n    }\n\n    function isOwner(userId) {\n      return request.auth.uid == userId;\n    }\n\n    function isAdmin() {\n      return request.auth.token.admin == true;\n    }\n\n    // Users collection\n    match /users/{userId} {\n      // Anyone can read public profile\n      allow read: if true;\n\n      // Only owner can write their own data\n      allow write: if isOwner(userId);\n\n      // Private subcollection\n      match /private/{document=**} {\n        allow read, write: if isOwner(userId);\n      }\n    }\n\n    // Posts collection\n    match /posts/{postId} {\n      // Anyone can read published posts\n      allow read: if resource.data.published == true\n                  || isOwner(resource.data.authorId);\n\n      // Only authenticated users can create\n      allow create: if isSignedIn()\n                    && request.resource.data.authorId == request.auth.uid;\n\n      // Only author can update/delete\n      allow update, delete: if isOwner(resource.data.authorId);\n    }\n\n    // Admin-only collection\n    match /admin/{document=**} {\n      allow read, write: if isAdmin();\n    }\n  }\n}\n\n### Data Modeling for Queries\n\nDesign Firestore data structure around query patterns\n\n**When to use**: Designing Firestore schema\n\n# FIRESTORE DATA MODELING:\n\n\"\"\"\nFirestore is NOT relational. You can't JOIN.\nDesign your data for how you'll QUERY it, not how it relates.\n\"\"\"\n\n// WRONG: Normalized (SQL thinking)\n// users/{userId}\n// posts/{postId} with authorId field\n// To get \"posts by user\" - need to query posts collection\n\n// RIGHT: Denormalized for queries\n// users/{userId}/posts/{postId} - subcollection\n// OR\n// posts/{postId} with embedded author data\n\n// Document structure for a post\nconst post = {\n  id: 'post123',\n  title: 'My Post',\n  content: '...',\n\n  // Embed frequently-needed author data\n  author: {\n    id: 'user456',\n    name: 'Jane Doe',\n    avatarUrl: '...'\n  },\n\n  // Arrays for IN queries (max 30 items for 'in')\n  tags: ['javascript', 'firebase'],\n\n  // Maps for compound queries\n  stats: {\n    likes: 42,\n    comments: 7,\n    views: 1000\n  },\n\n  // Timestamps\n  createdAt: serverTimestamp(),\n  updatedAt: serverTimestamp(),\n\n  // Booleans for filtering\n  published: true,\n  featured: false\n};\n\n// Query patterns this enables:\n// - Get post with author info: 1 read (no join needed)\n// - Posts by tag: where('tags', 'array-contains', 'javascript')\n// - Featured posts: where('featured', '==', true)\n// - Recent posts: orderBy('createdAt', 'desc')\n\n// When author updates their name, update all their posts\n// This is the tradeoff: writes are more complex, reads are fast\n\n### Real-time Listeners\n\nSubscribe to data changes with proper cleanup\n\n**When to use**: Real-time features\n\n# REAL-TIME LISTENERS:\n\n\"\"\"\nonSnapshot creates a persistent connection. Always unsubscribe\nwhen component unmounts to prevent memory leaks and extra reads.\n\"\"\"\n\n// React hook for real-time document\nfunction useDocument(path) {\n  const [data, setData] = useState(null);\n  const [loading, setLoading] = useState(true);\n  const [error, setError] = useState(null);\n\n  useEffect(() => {\n    const docRef = doc(db, path);\n\n    // Subscribe to document\n    const unsubscribe = onSnapshot(\n      docRef,\n      (snapshot) => {\n        if (snapshot.exists()) {\n          setData({ id: snapshot.id, ...snapshot.data() });\n        } else {\n          setData(null);\n        }\n        setLoading(false);\n      },\n      (err) => {\n        setError(err);\n        setLoading(false);\n      }\n    );\n\n    // Cleanup on unmount\n    return () => unsubscribe();\n  }, [path]);\n\n  return { data, loading, error };\n}\n\n// Usage\nfunction UserProfile({ userId }) {\n  const { data: user, loading } = useDocument(`users/${userId}`);\n\n  if (loading) return <Spinner />;\n  return <div>{user?.name}</div>;\n}\n\n// Collection with query\nfunction usePosts(limit = 10) {\n  const [posts, setPosts] = useState([]);\n\n  useEffect(() => {\n    const q = query(\n      collection(db, 'posts'),\n      where('published', '==', true),\n      orderBy('createdAt', 'desc'),\n      limit(limit)\n    );\n\n    const unsubscribe = onSnapshot(q, (snapshot) => {\n      const results = snapshot.docs.map(doc => ({\n        id: doc.id,\n        ...doc.data()\n      }));\n      setPosts(results);\n    });\n\n    return () => unsubscribe();\n  }, [limit]);\n\n  return posts;\n}\n\n### Cloud Functions Patterns\n\nServer-side logic with Cloud Functions v2\n\n**When to use**: Backend logic, triggers, scheduled tasks\n\n# CLOUD FUNCTIONS V2:\n\n\"\"\"\nCloud Functions run server-side code triggered by events.\nV2 uses more standard Node.js patterns and better scaling.\n\"\"\"\n\nimport { onRequest } from 'firebase-functions/v2/https';\nimport { onDocumentCreated } from 'firebase-functions/v2/firestore';\nimport { onSchedule } from 'firebase-functions/v2/scheduler';\nimport { getFirestore } from 'firebase-admin/firestore';\nimport { initializeApp } from 'firebase-admin/app';\n\ninitializeApp();\nconst db = getFirestore();\n\n// HTTP function\nexport const api = onRequest(\n  { cors: true, region: 'us-central1' },\n  async (req, res) => {\n    // Verify auth token\n    const token = req.headers.authorization?.split('Bearer ')[1];\n    if (!token) {\n      res.status(401).json({ error: 'Unauthorized' });\n      return;\n    }\n\n    try {\n      const decoded = await getAuth().verifyIdToken(token);\n      // Process request with decoded.uid\n      res.json({ userId: decoded.uid });\n    } catch (error) {\n      res.status(401).json({ error: 'Invalid token' });\n    }\n  }\n);\n\n// Firestore trigger - on document create\nexport const onUserCreated = onDocumentCreated(\n  'users/{userId}',\n  async (event) => {\n    const snapshot = event.data;\n    const userId = event.params.userId;\n\n    if (!snapshot) return;\n\n    const userData = snapshot.data();\n\n    // Send welcome email, create related documents, etc.\n    await db.collection('notifications').add({\n      userId,\n      type: 'welcome',\n      message: `Welcome, ${userData.name}!`,\n      createdAt: FieldValue.serverTimestamp()\n    });\n  }\n);\n\n// Scheduled function (every day at midnight)\nexport const dailyCleanup = onSchedule(\n  { schedule: '0 0 * * *', timeZone: 'UTC' },\n  async (event) => {\n    const cutoff = new Date();\n    cutoff.setDate(cutoff.getDate() - 30);\n\n    // Delete old documents\n    const oldDocs = await db.collection('logs')\n      .where('createdAt', '<', cutoff)\n      .limit(500)\n      .get();\n\n    const batch = db.batch();\n    oldDocs.docs.forEach(doc => batch.delete(doc.ref));\n    await batch.commit();\n\n    console.log(`Deleted ${oldDocs.size} old logs`);\n  }\n);\n\n### Batch Operations\n\nAtomic writes and transactions for consistency\n\n**When to use**: Multiple document updates that must succeed together\n\n# BATCH WRITES AND TRANSACTIONS:\n\n\"\"\"\nBatches: Multiple writes that all succeed or all fail.\nTransactions: Read-then-write operations with consistency.\nMax 500 operations per batch/transaction.\n\"\"\"\n\nimport {\n  writeBatch, runTransaction, doc, getDoc,\n  increment, serverTimestamp\n} from 'firebase/firestore';\n\n// Batch write - no reads, just writes\nasync function createPostWithTags(post, tags) {\n  const batch = writeBatch(db);\n\n  // Create post\n  const postRef = doc(collection(db, 'posts'));\n  batch.set(postRef, {\n    ...post,\n    createdAt: serverTimestamp()\n  });\n\n  // Update tag counts\n  for (const tag of tags) {\n    const tagRef = doc(db, 'tags', tag);\n    batch.set(tagRef, {\n      count: increment(1),\n      lastUsed: serverTimestamp()\n    }, { merge: true });\n  }\n\n  await batch.commit();\n  return postRef.id;\n}\n\n// Transaction - read and write atomically\nasync function likePost(postId, userId) {\n  return runTransaction(db, async (transaction) => {\n    const postRef = doc(db, 'posts', postId);\n    const likeRef = doc(db, 'posts', postId, 'likes', userId);\n\n    const postSnap = await transaction.get(postRef);\n    if (!postSnap.exists()) {\n      throw new Error('Post not found');\n    }\n\n    const likeSnap = await transaction.get(likeRef);\n    if (likeSnap.exists()) {\n      throw new Error('Already liked');\n    }\n\n    // Increment like count and add like document\n    transaction.update(postRef, {\n      likeCount: increment(1)\n    });\n\n    transaction.set(likeRef, {\n      userId,\n      createdAt: serverTimestamp()\n    });\n\n    return postSnap.data().likeCount + 1;\n  });\n}\n\n### Social Login (Google, GitHub, etc.)\n\nOAuth provider setup and authentication flows\n\n**When to use**: Social login implementation\n\n# SOCIAL LOGIN WITH FIREBASE AUTH\n\nimport {\n  getAuth, signInWithPopup, signInWithRedirect,\n  GoogleAuthProvider, GithubAuthProvider, OAuthProvider\n} from \"firebase/auth\";\n\nconst auth = getAuth();\n\n// GOOGLE\nconst googleProvider = new GoogleAuthProvider();\ngoogleProvider.addScope(\"email\");\ngoogleProvider.setCustomParameters({ prompt: \"select_account\" });\n\nasync function signInWithGoogle() {\n  try {\n    const result = await signInWithPopup(auth, googleProvider);\n    return result.user;\n  } catch (error) {\n    if (error.code === \"auth/account-exists-with-different-credential\") {\n      return handleAccountConflict(error);\n    }\n    throw error;\n  }\n}\n\n// GITHUB\nconst githubProvider = new GithubAuthProvider();\ngithubProvider.addScope(\"read:user\");\n\n// APPLE (Required for iOS apps!)\nconst appleProvider = new OAuthProvider(\"apple.com\");\nappleProvider.addScope(\"email\");\nappleProvider.addScope(\"name\");\n\n### Popup vs Redirect Auth\n\nWhen to use popup vs redirect for OAuth\n\n**When to use**: Choosing authentication flow\n\n# Popup: Desktop, SPA (simpler, can be blocked)\n# Redirect: Mobile, iOS Safari (always works)\n\nasync function signIn(provider) {\n  if (/iPhone|iPad|Android/i.test(navigator.userAgent)) {\n    return signInWithRedirect(auth, provider);\n  }\n  try {\n    return await signInWithPopup(auth, provider);\n  } catch (e) {\n    if (e.code === \"auth/popup-blocked\") {\n      return signInWithRedirect(auth, provider);\n    }\n    throw e;\n  }\n}\n\n// Check redirect result on page load\nuseEffect(() => {\n  getRedirectResult(auth).then(r => r && setUser(r.user));\n}, []);\n\n### Account Linking\n\nLink multiple providers to one account\n\n**When to use**: User has accounts with different providers\n\nimport { fetchSignInMethodsForEmail, linkWithCredential } from \"firebase/auth\";\n\nasync function handleAccountConflict(error) {\n  const email = error.customData?.email;\n  const pendingCred = OAuthProvider.credentialFromError(error);\n  const methods = await fetchSignInMethodsForEmail(auth, email);\n\n  if (methods.includes(\"google.com\")) {\n    alert(\"Sign in with Google to link accounts\");\n    const result = await signInWithPopup(auth, new GoogleAuthProvider());\n    await linkWithCredential(result.user, pendingCred);\n    return result.user;\n  }\n}\n\n// Link new provider\nawait linkWithPopup(auth.currentUser, new GithubAuthProvider());\n\n// Unlink provider (keep at least one!)\nawait unlink(auth.currentUser, \"github.com\");\n\n### Auth State Persistence\n\nControl session lifetime\n\n**When to use**: Managing user sessions\n\nimport { setPersistence, browserLocalPersistence, browserSessionPersistence } from \"firebase/auth\";\n\n// LOCAL: survives browser close (default)\n// SESSION: cleared on tab close\n\nasync function signInWithRememberMe(email, pass, remember) {\n  await setPersistence(auth, remember ? browserLocalPersistence : browserSessionPersistence);\n  return signInWithEmailAndPassword(auth, email, pass);\n}\n\n// React auth hook\nfunction useAuth() {\n  const [user, setUser] = useState(null);\n  const [loading, setLoading] = useState(true);\n  useEffect(() => onAuthStateChanged(auth, u => { setUser(u); setLoading(false); }), []);\n  return { user, loading };\n}\n\n### Email Verification and Password Reset\n\nComplete email auth flow\n\n**When to use**: Email/password authentication\n\nimport { sendEmailVerification, sendPasswordResetEmail, reauthenticateWithCredential } from \"firebase/auth\";\n\n// Sign up with verification\nasync function signUp(email, password) {\n  const result = await createUserWithEmailAndPassword(auth, email, password);\n  await sendEmailVerification(result.user);\n  return result.user;\n}\n\n// Password reset\nawait sendPasswordResetEmail(auth, email);\n\n// Change password (requires recent auth)\nconst cred = EmailAuthProvider.credential(user.email, currentPass);\nawait reauthenticateWithCredential(user, cred);\nawait updatePassword(user, newPass);\n\n### Token Management for APIs\n\nHandle ID tokens for backend calls\n\n**When to use**: Authenticating with backend APIs\n\nimport { getIdToken, onIdTokenChanged } from \"firebase/auth\";\n\n// Get token (auto-refreshes if expired)\nconst token = await getIdToken(auth.currentUser);\n\n// API helper with auto-retry\nasync function apiCall(url, opts = {}) {\n  const token = await getIdToken(auth.currentUser);\n  const res = await fetch(url, {\n    ...opts,\n    headers: { ...opts.headers, Authorization: \"Bearer \" + token }\n  });\n  if (res.status === 401) {\n    const newToken = await getIdToken(auth.currentUser, true);\n    return fetch(url, { ...opts, headers: { ...opts.headers, Authorization: \"Bearer \" + newToken }});\n  }\n  return res;\n}\n\n// Sync to cookie for SSR\nonIdTokenChanged(auth, async u => {\n  document.cookie = u ? \"__session=\" + await u.getIdToken() : \"__session=; max-age=0\";\n});\n\n// Check admin claim\nconst { claims } = await auth.currentUser.getIdTokenResult();\nconst isAdmin = claims.admin === true;\n\n## Collaboration\n\n### Delegation Triggers\n\n- user needs complex OAuth flow -> authentication-oauth (Firebase Auth handles basics, complex flows need OAuth skill)\n- user needs payment integration -> stripe (Firebase + Stripe common pattern)\n- user needs email functionality -> email (Firebase doesn't include email - use SendGrid, Resend, etc.)\n- user needs container deployment -> devops (Beyond Firebase Hosting - Kubernetes, Docker)\n- user needs relational data model -> postgres-wizard (Firestore is wrong choice for highly relational data)\n- user needs full-text search -> elasticsearch-search (Firestore doesn't support full-text search - use Algolia/Elastic)\n\n## Related Skills\n\nWorks well with: `nextjs-app-router`, `react-patterns`, `authentication-oauth`, `stripe`\n\n## When to Use\n- User mentions or implies: firebase\n- User mentions or implies: firestore\n- User mentions or implies: firebase auth\n- User mentions or implies: cloud functions\n- User mentions or implies: firebase storage\n- User mentions or implies: realtime database\n- User mentions or implies: firebase hosting\n- User mentions or implies: firebase emulator\n- User mentions or implies: security rules\n- User mentions or implies: firebase admin\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.","tags":["firebase","antigravity","awesome","skills","sickn33"],"capabilities":["skill","source-sickn33","category-antigravity-awesome-skills"],"categories":["antigravity-awesome-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/sickn33/antigravity-awesome-skills/firebase","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under sickn33/antigravity-awesome-skills","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill:v1","enrichmentVersion":1,"enrichedAt":"2026-04-25T11:40:43.596Z","embedding":null,"createdAt":"2026-04-18T20:33:06.363Z","updatedAt":"2026-04-25T11:40:43.596Z","lastSeenAt":"2026-04-25T11:40:43.596Z","tsv":"'/admin':604 '/app':1044 '/databases':503 '/documents':505 '/firestore':1037 '/iphone':1507 '/posts':564,679 '/private':553 '/users':527 '/v2/firestore':1023 '/v2/https':1016 '/v2/scheduler':1030 '0':1158,1159,1863 '1':759,1072,1298,1372,1381 '10':453,930 '1000':737 '2':499 '2025':93 '30':720,1170 '401':1076,1098,1827 '42':733 '500':1183,1239 '7':735 'access':262 'account':1426,1546,1553,1559,1596 'add':1138,1365 'admin':207,253,600,1036,1043,1865,2039 'admin-on':599 'advanc':227 'advanced-auth-flow':226 'age':1862 'aggress':144 'alert':1589 'algolia/elastic':1962 'allow':534,545,555,571,583,593,606 'alreadi':1359 'alway':830,1500 'android/i.test':1509 'angular':325,329 'angularfir':323 'antigrav':2 'anyon':529,566 'api':1053,1767,1780,1798 'apical':1806 'app':405,411,1461,1970 'appl':1457 'apple.com':1466 'appleprovid':1463 'appleprovider.addscope':1467,1469 'architectur':216 'around':619 'array':715,770 'array-contain':769 'ask':2073 'async':1061,1114,1162,1258,1312,1320,1427,1502,1568,1656,1723,1804,1852 'atom':1201,1311 'auth':17,185,228,1065,1403,1414,1435,1474,1513,1519,1528,1540,1584,1601,1628,1664,1670,1674,1690,1706,1732,1744,1750,1851,1887,1997 'auth.currentuser':1615,1626,1797,1813,1832 'auth.currentuser.getidtokenresult':1870 'auth/account-exists-with-different-credential':1443 'auth/popup-blocked':1525 'authent':62,231,579,1391,1487,1712,1777,1884,1976 'authentication-oauth':230,1883,1975 'author':590,687,706,708,757,784,1822,1840 'authorid':661 'auto':1789,1802 'auto-refresh':1788 'auto-retri':1801 'avatarurl':714 'await':423,1084,1135,1176,1192,1303,1338,1351,1433,1517,1582,1599,1604,1613,1624,1662,1730,1735,1742,1756,1760,1795,1811,1816,1830,1857,1869 'awesom':3 'backend':14,215,217,983,1772,1779 'base':175,311 'basic':1889 'batch':151,1186,1199,1217,1221,1252,1264 'batch.commit':1193,1304 'batch.delete':1190 'batch.set':1275,1294 'batch/transaction':1242 'bearer':1071,1823,1841 'better':1008 'beyond':1923 'bind':322,330 'block':1495 'boolean':743 'boundari':2081 'browser':1648 'browserlocalpersist':1642,1666 'browsersessionpersist':1643,1667 'bug':287,290 'bundl':342,370,377 'bypass':263 'call':1773 'capabl':182 'catch':1095,1439,1521 'category-antigravity-awesome-skills' 'central1':1060 'chang':810,1746 'cheap':102,147 'check':1532,1864 'choic':1939 'choos':1486 'claim':1866,1868 'claims.admin':1873 'clarif':2075 'cleanup':813,897 'clear':1652,2048 'client':169,181,242,347 'client-sid':241,346 'close':1649,1655 'cloud':66,68,165,193,258,270,969,977,988,991,2002 'cloud.firestore':501 'code':997 'collabor':1875 'collect':399,443,525,562,602,672,924,939,1272 'comment':734 'common':1902 'compat':374 'complet':13,1704 'complex':29,799,1880,1890 'compon':833 'compound':729 'config':176 'connect':829 'consist':156,1206,1237 'console.log':428,1194 'const':384,404,408,415,421,440,694,852,857,862,868,876,911,931,936,950,955,1046,1052,1067,1082,1109,1116,1119,1125,1154,1164,1174,1185,1263,1269,1284,1288,1322,1328,1336,1349,1413,1417,1431,1450,1462,1572,1576,1580,1597,1678,1683,1728,1751,1793,1809,1814,1828,1867,1871 'constraint':432 'contain':771,1920 'content':701 'control':1631 'cooki':1847 'cor':1055 'core':238 'cost':112 'count':1282,1296,1363 'cover':60 'creat':582,584,826,1107,1131,1267 'createdat':450,739,781,946,1145,1180,1278,1376 'createpostwithtag':1260 'createuserwithemailandpassword':1731 'cred':1752,1759 'criteria':2084 'currentpass':1755 'cutoff':1165,1181 'cutoff.getdate':1169 'cutoff.setdate':1168 'dailycleanup':1155 'data':56,83,120,128,132,459,494,544,611,617,629,641,688,707,809,853,904,912,1931,1943 'databas':18,65,117,190,471,504,2015 'date':1167 'day':464,1150 'db':385,409,418,444,871,940,1047,1266,1273,1291,1319,1325,1331 'db.batch':1187 'db.collection':1136,1177 'decod':1083 'decoded.uid':1091,1094 'dedic':116 'default':1650 'defens':37,481 'deleg':1876 'delet':595,1171,1195 'denorm':82,143,674 'deploy':235,1921 'desc':451,782,947 'describ':2052 'design':54,109,131,456,615,625,639 'desktop':1490 'develop':299 'devop':236,1922 'differ':1561 'doc':400,417,870,958,1189,1246,1271,1290,1324,1330 'doc.data':961 'doc.id':960 'doc.ref':1191 'docker':1927 'docref':416,425,869,879 'docsnap':422 'docsnap.data':429 'docsnap.exists':427 'document':414,554,605,689,848,875,1106,1133,1173,1211,1367 'document.cookie':1854 'doe':713 'doesn':1910,1954 'duplic':145 'e':1522,1531 'e.code':1524 'eas':24 'elasticsearch':1951 'elasticsearch-search':1950 'els':887 'email':223,225,1130,1422,1468,1573,1575,1585,1659,1671,1699,1705,1726,1733,1745,1906,1908,1913 'email-send':222 'email/password':1711 'emailauthprovider.credential':1753 'emb':702 'embed':686 'emul':211,295,2027 'enabl':364,753 'environ':174,2064 'environment-bas':173 'environment-specif':2063 'err':892,894 'error':863,906,1078,1096,1100,1345,1358,1440,1446,1448,1571,1579 'error.code':1442 'error.customdata':1574 'essenti':285 'etc':1134,1386,1917 'event':1000,1115,1163 'event.data':1118 'event.params.userid':1121 'everi':482,1149 'expens':150 'expert':2069 'expir':1792 'export':1051,1108,1153 'expos':496 'extra':840 'fail':1229 'fals':749,891,896,1695 'fast':802 'featur':748,773,776,820 'fetch':1817,1835 'fetchsigninmethodsforemail':1564,1583 'field':662 'fieldvalue.servertimestamp':1146 'filter':745 'firebas':1,8,9,61,71,75,184,188,192,196,199,202,206,210,239,252,267,292,307,317,326,349,353,379,726,1014,1021,1028,1035,1042,1402,1886,1900,1909,1924,1986,1996,2008,2020,2026,2038 'firebase-admin':251,1034,1041 'firebase-admin-sdk':205 'firebase-auth':183 'firebase-cloud-funct':191 'firebase-emul':209 'firebase-funct':266,1013,1020,1027 'firebase-host':198 'firebase-realtime-databas':187 'firebase-security-rul':201 'firebase-storag':195 'firebase-tool':291 'firebase.firestore':386 'firebase/app':396 'firebase/auth':1412,1567,1645,1718,1785 'firebase/compat/app':381 'firebase/compat/firestore':383 'firebase/firestore':403,439,1251 'firebase/rules-unit-testing':279 'firebaseconfig':407 'firestor':43,63,95,186,470,472,616,626,628,631,1103,1936,1953,1991 'flow':229,1392,1488,1707,1882,1891 'found':1348 'framework':303 'free':164 'frequent':704 'frequently-need':703 'full':261,1947,1958 'full-text':1946,1957 'function':20,67,166,194,259,268,271,275,507,508,513,519,849,908,927,970,978,989,992,1015,1022,1029,1050,1148,1259,1313,1428,1503,1569,1657,1676,1724,1805,1907,2003 'general':214 'general-backend-architectur':213 'get':412,489,664,754,1184,1786 'getauth':1085,1405,1415 'getdoc':401,424,1247 'getfirestor':398,410,1032,1048 'getidtoken':1782,1796,1812,1831 'getredirectresult':1539 'github':1385,1449 'github.com':1627 'githubauthprovid':1409,1453,1617 'githubprovid':1451 'githubprovider.addscope':1454 'give':10 'goe':486 'googl':1384,1416,1593 'google.com':1588 'googleauthprovid':1408,1420,1603 'googleprovid':1418,1436 'googleprovider.addscope':1421 'googleprovider.setcustomparameters':1423 'handl':312,1768,1888 'handleaccountconflict':1445,1570 'hardcod':178 'header':1820,1838 'heavi':81 'helper':506,1799 'hide':27 'high':1941 'hit':301 'hook':310,843,1675 'hooks-bas':309 'host':21,72,200,1925,2021 'http':1049 'id':696,709,884,959,1769 'implement':1398 'impli':1985,1990,1995,2001,2007,2013,2019,2025,2031,2037 'import':334,335,352,358,378,382,393,397,433,1010,1017,1024,1031,1038,1243,1404,1563,1640,1713,1781 'includ':1912 'increment':1248,1297,1361,1371 'info':758 'initializeapp':394,406,1039,1045 'input':2078 'insight':74 'integr':1898 'invalid':1101 'io':1460,1498 'ipad':1508 'isadmin':520,610,1872 'isown':514,548,559,576,597 'issignedin':509,586 'item':721 'jane':712 'javascript':725,772 'join':148,638,762 'json':1077,1099 'keep':1620 'key':73,179 'kubernet':234,1926 'kubernetes-deploy':233 'larger':376 'last':34,478 'lastus':1299 'leak':838 'learn':49 'least':1622 'lesson':94 'lifetim':1633 'like':732,1334,1360,1362,1366 'likecount':1370,1380 'likepost':1314 'likeref':1329,1353,1374 'likesnap':1350 'likesnap.exists':1355 'limit':46,437,452,929,948,949,966,1182,2040 'line':35,479 'link':1547,1548,1595,1610 'linkwithcredenti':1565,1605 'linkwithpopup':1614 'listen':110,806,824 'll':645 'load':858,905,914,919,1537,1684,1698 'local':298,1646 'log':1178,1198 'logic':975,984 'login':1383,1397,1400 'manag':1637,1765 'mandatori':140 'map':727 'match':502,526,552,563,603,2049 'max':719,1238,1861 'max-ag':1860 'memori':837 'mention':1983,1988,1993,1999,2005,2011,2017,2023,2029,2035 'merg':1301 'messag':1142 'method':1581 'methods.includes':1587 'midnight':1152 'minut':16 'miss':2086 'mobil':1497 'model':57,121,612,630,1932 'modular':246,332,351,356,389 'multipl':1210,1222,1549 'must':1214 'name':711,787,923,1470 'navigator.useragent':1510 'need':339,362,668,705,763,1879,1892,1896,1905,1919,1929,1945 'never':177 'new':1166,1344,1357,1419,1452,1464,1602,1611,1616 'newpass':1763 'newtoken':1829,1842 'nextj':1969 'nextjs-app-rout':1968 'node.js':1005 'normal':653 'note':245,260,273,284,297,308,318,327 'notif':1137 'null':512,856,866,889,1682 'oauth':232,1387,1482,1881,1885,1893,1977 'oauthprovid':1410,1465 'oauthprovider.credentialfromerror':1578 'offici':328 'offlin':158 'often':41 'old':1172,1197 'olddoc':1175 'olddocs.docs.foreach':1188 'olddocs.size':1196 'onauthstatechang':1689 'ondocumentcr':1018,1111 'one':465,1552,1623 'onidtokenchang':1783,1850 'onrequest':1011,1054 'onschedul':1025,1156 'onsnapshot':825,878,952 'onusercr':1110 'oper':1200,1235,1240 'opt':1808,1819,1837 'optim':77 'option':142 'opts.headers':1821,1839 'orderbi':436,449,780,945 'output':2058 'owner':539 'page':1536 'pass':1660,1672 'password':1702,1727,1734,1740,1747 'path':851,872,902 'pattern':125,331,621,751,971,1006,1903,1974 'payment':219,1897 'payment-process':218 'pendingcr':1577,1607 'per':1241 'permiss':2079 'persist':159,828,1630 'plan':118 'poor':108 'popup':1471,1478,1489 'post':445,561,570,658,665,671,683,693,695,700,755,764,774,779,791,932,941,968,1261,1268,1274,1277,1326,1332,1346 'post123':697 'postgr':1934 'postgres-wizard':1933 'postid':565,659,680,684,1315,1327,1333 'postref':1270,1276,1323,1340,1369 'postref.id':1306 'postsnap':1337 'postsnap.data':1379 'postsnap.exists':1342 'prevent':836 'price':96 'principl':130 'privat':550 'process':220,1088 'product':302 'profil':533 'prompt':1424 'proper':461,812 'provid':1388,1505,1514,1520,1529,1550,1562,1612,1619 'public':532 'publish':447,569,746,943 'q':441,937,953 'queri':44,124,134,430,434,442,614,620,646,670,676,718,730,750,926,938 'r':1542,1543 'r.user':1545 're':40,86,90,105 'react':306,842,1673,1973 'react-pattern':1972 'reactfir':304 'read':80,100,483,531,535,556,568,572,607,760,800,841,1232,1255,1308,1455 'read-heavi':79 'read-then-writ':1231 'real':28,804,818,822,846 'real-tim':803,817,821,845 'realtim':64,189,2014 'reauthenticatewithcredenti':1716,1757 'recent':778,1749 'recommend':277 'redirect':1473,1480,1496,1533 'refresh':1790 'region':1057 'relat':88,634,651,1132,1930,1942,1963 'relationship':129,136 'rememb':1661,1665 'req':1062 'req.headers.authorization':1069 'request':1089 'request.auth':511 'request.auth.token.admin':522 'request.auth.uid':517,588 'request.resource.data.authorid':587 'requir':1458,1748,2077 'res':1063,1815,1844 'res.json':1092 'res.status':1075,1097,1826 'resend':1916 'reset':1703,1741 'resource.data.authorid':577,598 'resource.data.published':574 'result':956,963,1432,1534,1598,1729 'result.user':1438,1606,1609,1737,1739 'retri':1803 'return':510,516,521,900,903,920,921,964,967,1080,1124,1305,1317,1378,1437,1444,1511,1516,1526,1608,1668,1696,1738,1834,1843 'review':2070 'right':387,673 'router':1971 'rule':31,138,204,265,283,286,455,462,474,475,497,2033 'run':993 'runtransact':1245,1318 'safari':1499 'safeti':2080 'scale':1009 'schedul':986,1147,1157 'schema':627 'scope':212,2051 'sdk':208,244,247,333,357 'search':1949,1952,1960 'secur':30,137,203,264,282,289,454,457,473,2032 'select':1425 'send':224,1128 'sendemailverif':1714,1736 'sendgrid':1915 'sendpasswordresetemail':1715,1743 'server':256,973,995 'server-sid':255,972,994 'servertimestamp':740,742,1249,1279,1300,1377 'servic':500 'session':1632,1639,1651,1856,1859 'setdata':854,883,888 'seterror':864,893 'setload':859,890,895,1685,1694 'setpersist':1641,1663 'setpost':933,962 'setup':26,1389 'setus':1544,1680,1692 'shake':367 'shakeabl':250,392 'shouldn':170 'sickn33':7 'side':243,257,348,974,996 'sign':1590,1719 'signin':1504 'signinwithemailandpassword':1669 'signinwithgoogl':1429 'signinwithpopup':1406,1434,1518,1600 'signinwithredirect':1407,1512,1527 'signinwithrememberm':1658 'signup':1725 'simpler':1492 'skill':4,5,59,1894,1964,2043 'smaller':341,369 'snapshot':880,954,1117,1123 'snapshot.data':886,1127 'snapshot.docs.map':957 'snapshot.exists':882 'snapshot.id':885 'social':1382,1396,1399 'source-sickn33' 'spa':1491 'specif':321,2065 'split':1070 'sql':654 'ssr':1849 'standard':1004 'stat':731 'state':1629 'stop':2071 'storag':19,69,197,2009 'stripe':221,1899,1901,1978 'structur':618,690 'style':375 'subcollect':551,681 'subscrib':807,873 'subscript':313 'substitut':2061 'succeed':1215,1226 'success':2083 'suit':296 'support':1956 'surpris':98 'surviv':1647 'sync':1845 'tab':1654 'tag':724,766,768,1262,1281,1285,1287,1292,1293 'tagref':1289,1295 'task':987,2047 'test':278,281,2067 'text':1948,1959 'think':87,91,655 'throw':1343,1356,1447,1530 'time':805,819,823,847 'timestamp':738 'timezon':1160 'titl':698 'togeth':1216 'token':1066,1068,1074,1087,1102,1764,1770,1787,1794,1810,1824 'tool':237,293 'tradeoff':795 'transact':154,1204,1220,1230,1307,1321 'transaction.get':1339,1352 'transaction.set':1373 'transaction.update':1368 'treat':2056 'tree':249,366,391 'tree-shak':248,365,390 'tri':1081,1430,1515 'trigger':985,998,1104,1877 'true':448,523,537,575,747,777,861,944,1056,1302,1687,1833,1874 'type':1140 'u':1691,1693,1853,1855 'u.getidtoken':1858 'unauthor':1079 'unlink':1618,1625 'unmount':834,899 'unsubscrib':831,877,901,951,965 'updat':594,785,788,1212,1280 'update/delete':592 'updatedat':741 'updatepassword':1761 'url':1807,1818,1836 'us':1059 'us-central1':1058 'usag':350,907 'use':157,345,355,468,624,816,982,1002,1209,1395,1477,1485,1556,1636,1710,1776,1914,1961,1981,2041 'useauth':1677 'usedocu':850,915 'useeffect':867,935,1538,1688 'usepost':928 'user':419,524,580,656,667,677,913,916,922,1112,1456,1557,1638,1679,1697,1758,1762,1878,1895,1904,1918,1928,1944,1982,1987,1992,1998,2004,2010,2016,2022,2028,2034 'user.email':1754 'user456':710 'userdata':1126 'userdata.name':1144 'userid':420,515,518,528,549,560,657,678,910,917,1093,1113,1120,1139,1316,1335,1375 'userprofil':909 'usest':855,860,865,934,1681,1686 'utc':1161 'v2':272,274,979,990,1001 'v8':373 'v8-compat':372 'v9':354,388 'valid':2066 've':53 'verif':1700,1722 'verifi':1064 'verifyidtoken':1086 'version':498 'view':736 'vs':1472,1479 'vue':316,320 'vue-specif':319 'vuefir':314 'welcom':1129,1141,1143 'well':1966 'wise':160 'without':300 'wizard':1935 'work':1501,1965 'write':152,485,541,546,557,608,796,1202,1218,1223,1234,1253,1257,1310 'writebatch':1244,1265 'wrong':42,92,371,491,652,1938","prices":[{"id":"dde10d2b-d296-4acb-86c1-67af97072055","listingId":"1cc57986-84e0-4c48-923c-d4d66a8b0bd0","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"sickn33","category":"antigravity-awesome-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T20:33:06.363Z"}],"sources":[{"listingId":"1cc57986-84e0-4c48-923c-d4d66a8b0bd0","source":"github","sourceId":"sickn33/antigravity-awesome-skills/firebase","sourceUrl":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/firebase","isPrimary":false,"firstSeenAt":"2026-04-18T21:37:14.770Z","lastSeenAt":"2026-04-25T06:51:08.251Z"},{"listingId":"1cc57986-84e0-4c48-923c-d4d66a8b0bd0","source":"skills_sh","sourceId":"sickn33/antigravity-awesome-skills/firebase","sourceUrl":"https://skills.sh/sickn33/antigravity-awesome-skills/firebase","isPrimary":true,"firstSeenAt":"2026-04-18T20:33:06.363Z","lastSeenAt":"2026-04-25T11:40:43.596Z"}],"details":{"listingId":"1cc57986-84e0-4c48-923c-d4d66a8b0bd0","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"sickn33","slug":"firebase","source":"skills_sh","category":"antigravity-awesome-skills","skills_sh_url":"https://skills.sh/sickn33/antigravity-awesome-skills/firebase"},"updatedAt":"2026-04-25T11:40:43.596Z"}}