[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-firebase-firebase-basics":3,"mdc--s09tzb-key":38,"related-org-firebase-firebase-basics":945,"related-repo-firebase-firebase-basics":1128},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":27,"repoUrl":28,"updatedAt":29,"license":30,"forks":31,"topics":32,"repo":33,"sourceUrl":36,"mdContent":37},"firebase-basics","build applications with Firebase","Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`, `GoogleService-Info.plist`). Use ONLY for CLI login, project creation\u002Fswitching, or downloading app config files. Don't use for Firebase Hosting deploy, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"firebase","Firebase (Google)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Ffirebase.png",[12,16,19,22,25],{"name":13,"slug":14,"type":15},"Backend","backend","tag",{"name":17,"slug":18,"type":15},"Database","database",{"name":20,"slug":21,"type":15},"Deployment","deployment",{"name":23,"slug":24,"type":15},"Authentication","authentication",{"name":26,"slug":8,"type":15},"Firebase",376,"https:\u002F\u002Fgithub.com\u002Ffirebase\u002Fagent-skills","2026-07-31T05:53:21.570684",null,75,[],{"repoUrl":28,"stars":27,"forks":31,"topics":34,"description":35},[],"Agent Skills for Firebase","https:\u002F\u002Fgithub.com\u002Ffirebase\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Ffirebase-basics","---\nname: firebase-basics\ndescription: >-\n  Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`, `GoogleService-Info.plist`). Use ONLY for CLI login, project creation\u002Fswitching, or downloading app config files. Don't use for Firebase Hosting deploy, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config.\n---\n\n# Prerequisites\n\nComplete these setup steps before proceeding:\n\n1. **Local Environment Setup:** Verify the environment is properly set up so we\n   can use Firebase tools:\n\n   - Run `npx -y firebase-tools@latest --version` to check if the Firebase CLI\n     is installed.\n   - Verify if the Firebase MCP server is installed using your existing tools.\n   - **CRITICAL**: Before configuring any extensions or agent environments\n     below, you MUST read\n     [references\u002Flocal-env-setup.md](references\u002Flocal-env-setup.md).\n   - **DO NOT SKIP** this step: if 'firebase-basics' is the only Firebase skill\n     available to you, you must follow the reference for your agent environment\n     to set up the full suite of Firebase skills:\n     - **Gemini CLI**: Review\n       [references\u002Fsetup\u002Fgemini_cli.md](references\u002Fsetup\u002Fgemini_cli.md)\n     - **Antigravity**: Review\n       [references\u002Fsetup\u002Fantigravity.md](references\u002Fsetup\u002Fantigravity.md)\n     - **Android Studio**: Review\n       [references\u002Fsetup\u002Fandroid_studio.md](references\u002Fsetup\u002Fandroid_studio.md)\n     - **Claude Code**: Review\n       [references\u002Fsetup\u002Fclaude_code.md](references\u002Fsetup\u002Fclaude_code.md)\n     - **Cursor**: Review\n       [references\u002Fsetup\u002Fcursor.md](references\u002Fsetup\u002Fcursor.md)\n     - **GitHub Copilot**: Review\n       [references\u002Fsetup\u002Fgithub_copilot.md](references\u002Fsetup\u002Fgithub_copilot.md)\n     - **Other Agents**: Review\n       [references\u002Fsetup\u002Fother_agents.md](references\u002Fsetup\u002Fother_agents.md)\n\n1. **Authentication:** Ensure you are logged in to Firebase so that commands\n   have the correct permissions. Run `npx -y firebase-tools@latest login`. For\n   environments without a browser (e.g., remote shells), use\n   `npx -y firebase-tools@latest login --no-localhost`.\n\n   - The command should output the current user.\n   - If you are not logged in, follow the interactive instructions from this\n     command to authenticate.\n\n1. **Active Project:** Most Firebase tasks require an active project context.\n\n   > [!IMPORTANT] **For Agents:** Before proceeding with project configuration,\n   > you MUST pause and ask the developer if they prefer to:\n   >\n   > 1. **Provide an existing Firebase Project ID**, or\n   > 1. **Create a new Firebase project**.\n\n   - **If using an existing Project ID:**\n\n     1. Check the current project by running `npx -y firebase-tools@latest use`.\n     1. If the command outputs `Active Project: \u003Cproject-id>`, confirm with the\n        user if this is the intended project.\n     1. If not, or if no project is active, set the project provided by the\n        user:\n        \n        ```bash\n        npx -y firebase-tools@latest use \u003CPROJECT_ID>\n        ```\n\n   - **If creating a new project:** Run the following command to create it:\n\n     ```bash\n     npx -y firebase-tools@latest projects:create \u003Cproject-id> --display-name \"\u003Cdisplay-name>\"\n     ```\n\n     *Note: The `\u003Cproject-id>` must be 6-30 characters, lowercase, and can\n     contain digits and hyphens. It must be globally unique.*\n\n# Firebase Usage Principles\n\nAdhere to these principles:\n\n1. **Use npx for CLI commands:** To ensure you always use the latest version of\n   the Firebase CLI, always prepend commands with `npx -y firebase-tools@latest`\n   instead of just `firebase`. For example, use\n   `npx -y firebase-tools@latest --version`. NEVER suggest the naked `firebase`\n   command as an alternative.\n1. **Prioritize official knowledge:** For any Firebase-related knowledge,\n   consult the `developerknowledge_search_documents` MCP tool before falling\n   back to Google Search or your internal knowledge base. Including \"Firebase\"\n   in your search query significantly improves relevance.\n1. **Follow Agent Skills for implementation guidance:** Skills provide\n   opinionated workflows (CUJs), security rules, and best practices. Always\n   consult them to understand *how* to implement Firebase features correctly\n   instead of relying on general knowledge.\n1. **Use Firebase MCP Server tools instead of direct API calls:** Whenever you\n   need to interact with remote Firebase APIs (such as fetching Crashlytics logs\n   or executing Data Connect queries), use the tools provided by the Firebase\n   MCP Server instead of attempting manual API calls.\n1. **Keep Plugin \u002F Agent Skills updated:** Since Firebase best practices evolve\n   quickly, regularly check for and install updates to their Firebase plugin or\n   Agent Skills. Similarly, if you encounter issues with outdated tools or\n   commands, follow the steps below based on your agent environment:\n   - **Antigravity**: Follow\n     [references\u002Frefresh\u002Fantigravity.md](references\u002Frefresh\u002Fantigravity.md)\n   - **Gemini CLI**: Follow\n     [references\u002Frefresh\u002Fgemini-cli.md](references\u002Frefresh\u002Fgemini-cli.md)\n   - **Claude Code**: Follow\n     [references\u002Frefresh\u002Fclaude.md](references\u002Frefresh\u002Fclaude.md)\n   - **Cursor**: Follow\n     [references\u002Frefresh\u002Fother-agents.md](references\u002Frefresh\u002Fother-agents.md)\n   - **Android Studio**: Follow\n     [references\u002Frefresh\u002Fandroid_studio.md](references\u002Frefresh\u002Fandroid_studio.md)\n   - **Others**: Follow\n     [references\u002Frefresh\u002Fother-agents.md](references\u002Frefresh\u002Fother-agents.md)\n1. **Automate Config File Retrieval:** When setting up iOS or Android apps, do\n   NOT direct users to the Firebase Console to download `google-services.json`\n   or `GoogleService-Info.plist`. Instead, use the Firebase CLI to fetch the\n   config programmatically:\n   - For Android:\n     `npx -y firebase-tools@latest apps:sdkconfig ANDROID \u003CAPP_ID> --project \u003CPROJECT_ID>`\n   - For iOS:\n     `npx -y firebase-tools@latest apps:sdkconfig IOS \u003CAPP_ID> --project \u003CPROJECT_ID>`\n     Save the output to the appropriate location (e.g.,\n     `app\u002Fgoogle-services.json` for Android, or a path to be linked by\n     `xcode-project-setup` for iOS).\n\n# References\n\n- **Initialize Firebase:** See\n  [references\u002Ffirebase-service-init.md](references\u002Ffirebase-service-init.md)\n  when you need to initialize new Firebase services using the CLI.\n- **Exploring Commands:** See\n  [references\u002Ffirebase-cli-guide.md](references\u002Ffirebase-cli-guide.md) to\n  discover and understand CLI functionality.\n- **SDK Setup:** For detailed guides on adding Firebase to your app:\n  - **Web**: See [references\u002Fweb_setup.md](references\u002Fweb_setup.md)\n  - **Android**: See [references\u002Fandroid_setup.md](references\u002Fandroid_setup.md)\n  - **iOS**: See [references\u002Fios_setup.md](references\u002Fios_setup.md)\n\n# Common Issues\n\n- **Login Issues:** If the browser fails to open during the login step, use\n  `npx -y firebase-tools@latest login --no-localhost` instead.\n- **Genkit:** If using Genkit, install the skills:\n  \n  ```bash\n  npx skills add genkit-ai\u002Fskills\n  ```\n",{"data":39,"body":40},{"name":4,"description":6},{"type":41,"children":42},"root",[43,52,58,517,523,528,776,782,874,880,939],{"type":44,"tag":45,"props":46,"children":48},"element","h1",{"id":47},"prerequisites",[49],{"type":50,"value":51},"text","Prerequisites",{"type":44,"tag":53,"props":54,"children":55},"p",{},[56],{"type":50,"value":57},"Complete these setup steps before proceeding:",{"type":44,"tag":59,"props":60,"children":61},"ol",{},[62,227,265],{"type":44,"tag":63,"props":64,"children":65},"li",{},[66,72,74],{"type":44,"tag":67,"props":68,"children":69},"strong",{},[70],{"type":50,"value":71},"Local Environment Setup:",{"type":50,"value":73}," Verify the environment is properly set up so we\ncan use Firebase tools:",{"type":44,"tag":75,"props":76,"children":77},"ul",{},[78,92,97,115],{"type":44,"tag":63,"props":79,"children":80},{},[81,83,90],{"type":50,"value":82},"Run ",{"type":44,"tag":84,"props":85,"children":87},"code",{"className":86},[],[88],{"type":50,"value":89},"npx -y firebase-tools@latest --version",{"type":50,"value":91}," to check if the Firebase CLI\nis installed.",{"type":44,"tag":63,"props":93,"children":94},{},[95],{"type":50,"value":96},"Verify if the Firebase MCP server is installed using your existing tools.",{"type":44,"tag":63,"props":98,"children":99},{},[100,105,107,113],{"type":44,"tag":67,"props":101,"children":102},{},[103],{"type":50,"value":104},"CRITICAL",{"type":50,"value":106},": Before configuring any extensions or agent environments\nbelow, you MUST read\n",{"type":44,"tag":108,"props":109,"children":111},"a",{"href":110},"references\u002Flocal-env-setup.md",[112],{"type":50,"value":110},{"type":50,"value":114},".",{"type":44,"tag":63,"props":116,"children":117},{},[118,123,125],{"type":44,"tag":67,"props":119,"children":120},{},[121],{"type":50,"value":122},"DO NOT SKIP",{"type":50,"value":124}," this step: if 'firebase-basics' is the only Firebase skill\navailable to you, you must follow the reference for your agent environment\nto set up the full suite of Firebase skills:\n",{"type":44,"tag":75,"props":126,"children":127},{},[128,143,157,171,185,199,213],{"type":44,"tag":63,"props":129,"children":130},{},[131,136,138],{"type":44,"tag":67,"props":132,"children":133},{},[134],{"type":50,"value":135},"Gemini CLI",{"type":50,"value":137},": Review\n",{"type":44,"tag":108,"props":139,"children":141},{"href":140},"references\u002Fsetup\u002Fgemini_cli.md",[142],{"type":50,"value":140},{"type":44,"tag":63,"props":144,"children":145},{},[146,151,152],{"type":44,"tag":67,"props":147,"children":148},{},[149],{"type":50,"value":150},"Antigravity",{"type":50,"value":137},{"type":44,"tag":108,"props":153,"children":155},{"href":154},"references\u002Fsetup\u002Fantigravity.md",[156],{"type":50,"value":154},{"type":44,"tag":63,"props":158,"children":159},{},[160,165,166],{"type":44,"tag":67,"props":161,"children":162},{},[163],{"type":50,"value":164},"Android Studio",{"type":50,"value":137},{"type":44,"tag":108,"props":167,"children":169},{"href":168},"references\u002Fsetup\u002Fandroid_studio.md",[170],{"type":50,"value":168},{"type":44,"tag":63,"props":172,"children":173},{},[174,179,180],{"type":44,"tag":67,"props":175,"children":176},{},[177],{"type":50,"value":178},"Claude Code",{"type":50,"value":137},{"type":44,"tag":108,"props":181,"children":183},{"href":182},"references\u002Fsetup\u002Fclaude_code.md",[184],{"type":50,"value":182},{"type":44,"tag":63,"props":186,"children":187},{},[188,193,194],{"type":44,"tag":67,"props":189,"children":190},{},[191],{"type":50,"value":192},"Cursor",{"type":50,"value":137},{"type":44,"tag":108,"props":195,"children":197},{"href":196},"references\u002Fsetup\u002Fcursor.md",[198],{"type":50,"value":196},{"type":44,"tag":63,"props":200,"children":201},{},[202,207,208],{"type":44,"tag":67,"props":203,"children":204},{},[205],{"type":50,"value":206},"GitHub Copilot",{"type":50,"value":137},{"type":44,"tag":108,"props":209,"children":211},{"href":210},"references\u002Fsetup\u002Fgithub_copilot.md",[212],{"type":50,"value":210},{"type":44,"tag":63,"props":214,"children":215},{},[216,221,222],{"type":44,"tag":67,"props":217,"children":218},{},[219],{"type":50,"value":220},"Other Agents",{"type":50,"value":137},{"type":44,"tag":108,"props":223,"children":225},{"href":224},"references\u002Fsetup\u002Fother_agents.md",[226],{"type":50,"value":224},{"type":44,"tag":63,"props":228,"children":229},{},[230,235,237,243,245,251,252],{"type":44,"tag":67,"props":231,"children":232},{},[233],{"type":50,"value":234},"Authentication:",{"type":50,"value":236}," Ensure you are logged in to Firebase so that commands\nhave the correct permissions. Run ",{"type":44,"tag":84,"props":238,"children":240},{"className":239},[],[241],{"type":50,"value":242},"npx -y firebase-tools@latest login",{"type":50,"value":244},". For\nenvironments without a browser (e.g., remote shells), use\n",{"type":44,"tag":84,"props":246,"children":248},{"className":247},[],[249],{"type":50,"value":250},"npx -y firebase-tools@latest login --no-localhost",{"type":50,"value":114},{"type":44,"tag":75,"props":253,"children":254},{},[255,260],{"type":44,"tag":63,"props":256,"children":257},{},[258],{"type":50,"value":259},"The command should output the current user.",{"type":44,"tag":63,"props":261,"children":262},{},[263],{"type":50,"value":264},"If you are not logged in, follow the interactive instructions from this\ncommand to authenticate.",{"type":44,"tag":63,"props":266,"children":267},{},[268,273,275,319],{"type":44,"tag":67,"props":269,"children":270},{},[271],{"type":50,"value":272},"Active Project:",{"type":50,"value":274}," Most Firebase tasks require an active project context.",{"type":44,"tag":276,"props":277,"children":278},"blockquote",{},[279,297],{"type":44,"tag":53,"props":280,"children":281},{},[282,288,290,295],{"type":44,"tag":283,"props":284,"children":285},"span",{},[286],{"type":50,"value":287},"!IMPORTANT",{"type":50,"value":289}," ",{"type":44,"tag":67,"props":291,"children":292},{},[293],{"type":50,"value":294},"For Agents:",{"type":50,"value":296}," Before proceeding with project configuration,\nyou MUST pause and ask the developer if they prefer to:",{"type":44,"tag":59,"props":298,"children":299},{},[300,310],{"type":44,"tag":63,"props":301,"children":302},{},[303,308],{"type":44,"tag":67,"props":304,"children":305},{},[306],{"type":50,"value":307},"Provide an existing Firebase Project ID",{"type":50,"value":309},", or",{"type":44,"tag":63,"props":311,"children":312},{},[313,318],{"type":44,"tag":67,"props":314,"children":315},{},[316],{"type":50,"value":317},"Create a new Firebase project",{"type":50,"value":114},{"type":44,"tag":75,"props":320,"children":321},{},[322,423],{"type":44,"tag":63,"props":323,"children":324},{},[325,330],{"type":44,"tag":67,"props":326,"children":327},{},[328],{"type":50,"value":329},"If using an existing Project ID:",{"type":44,"tag":59,"props":331,"children":332},{},[333,345,358],{"type":44,"tag":63,"props":334,"children":335},{},[336,338,344],{"type":50,"value":337},"Check the current project by running ",{"type":44,"tag":84,"props":339,"children":341},{"className":340},[],[342],{"type":50,"value":343},"npx -y firebase-tools@latest use",{"type":50,"value":114},{"type":44,"tag":63,"props":346,"children":347},{},[348,350,356],{"type":50,"value":349},"If the command outputs ",{"type":44,"tag":84,"props":351,"children":353},{"className":352},[],[354],{"type":50,"value":355},"Active Project: \u003Cproject-id>",{"type":50,"value":357},", confirm with the\nuser if this is the intended project.",{"type":44,"tag":63,"props":359,"children":360},{},[361,363],{"type":50,"value":362},"If not, or if no project is active, set the project provided by the\nuser:",{"type":44,"tag":364,"props":365,"children":370},"pre",{"className":366,"code":367,"language":368,"meta":369,"style":369},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx -y firebase-tools@latest use \u003CPROJECT_ID>\n","bash","",[371],{"type":44,"tag":84,"props":372,"children":373},{"__ignoreMap":369},[374],{"type":44,"tag":283,"props":375,"children":378},{"class":376,"line":377},"line",1,[379,385,391,396,401,407,412,418],{"type":44,"tag":283,"props":380,"children":382},{"style":381},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[383],{"type":50,"value":384},"npx",{"type":44,"tag":283,"props":386,"children":388},{"style":387},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[389],{"type":50,"value":390}," -y",{"type":44,"tag":283,"props":392,"children":393},{"style":387},[394],{"type":50,"value":395}," firebase-tools@latest",{"type":44,"tag":283,"props":397,"children":398},{"style":387},[399],{"type":50,"value":400}," use",{"type":44,"tag":283,"props":402,"children":404},{"style":403},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[405],{"type":50,"value":406}," \u003C",{"type":44,"tag":283,"props":408,"children":409},{"style":387},[410],{"type":50,"value":411},"PROJECT_I",{"type":44,"tag":283,"props":413,"children":415},{"style":414},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[416],{"type":50,"value":417},"D",{"type":44,"tag":283,"props":419,"children":420},{"style":403},[421],{"type":50,"value":422},">\n",{"type":44,"tag":63,"props":424,"children":425},{},[426,431,433,499,503],{"type":44,"tag":67,"props":427,"children":428},{},[429],{"type":50,"value":430},"If creating a new project:",{"type":50,"value":432}," Run the following command to create it:",{"type":44,"tag":364,"props":434,"children":436},{"className":366,"code":435,"language":368,"meta":369,"style":369},"npx -y firebase-tools@latest projects:create \u003Cproject-id> --display-name \"\u003Cdisplay-name>\"\n",[437],{"type":44,"tag":84,"props":438,"children":439},{"__ignoreMap":369},[440],{"type":44,"tag":283,"props":441,"children":442},{"class":376,"line":377},[443,447,451,455,460,464,469,474,479,484,489,494],{"type":44,"tag":283,"props":444,"children":445},{"style":381},[446],{"type":50,"value":384},{"type":44,"tag":283,"props":448,"children":449},{"style":387},[450],{"type":50,"value":390},{"type":44,"tag":283,"props":452,"children":453},{"style":387},[454],{"type":50,"value":395},{"type":44,"tag":283,"props":456,"children":457},{"style":387},[458],{"type":50,"value":459}," projects:create",{"type":44,"tag":283,"props":461,"children":462},{"style":403},[463],{"type":50,"value":406},{"type":44,"tag":283,"props":465,"children":466},{"style":387},[467],{"type":50,"value":468},"project-i",{"type":44,"tag":283,"props":470,"children":471},{"style":414},[472],{"type":50,"value":473},"d",{"type":44,"tag":283,"props":475,"children":476},{"style":403},[477],{"type":50,"value":478},">",{"type":44,"tag":283,"props":480,"children":481},{"style":387},[482],{"type":50,"value":483}," --display-name",{"type":44,"tag":283,"props":485,"children":486},{"style":403},[487],{"type":50,"value":488}," \"",{"type":44,"tag":283,"props":490,"children":491},{"style":387},[492],{"type":50,"value":493},"\u003Cdisplay-name>",{"type":44,"tag":283,"props":495,"children":496},{"style":403},[497],{"type":50,"value":498},"\"\n",{"type":44,"tag":500,"props":501,"children":502},"br",{},[],{"type":44,"tag":504,"props":505,"children":506},"em",{},[507,509,515],{"type":50,"value":508},"Note: The ",{"type":44,"tag":84,"props":510,"children":512},{"className":511},[],[513],{"type":50,"value":514},"\u003Cproject-id>",{"type":50,"value":516}," must be 6-30 characters, lowercase, and can\ncontain digits and hyphens. It must be globally unique.",{"type":44,"tag":45,"props":518,"children":520},{"id":519},"firebase-usage-principles",[521],{"type":50,"value":522},"Firebase Usage Principles",{"type":44,"tag":53,"props":524,"children":525},{},[526],{"type":50,"value":527},"Adhere to these principles:",{"type":44,"tag":59,"props":529,"children":530},{},[531,570,588,605,615,707],{"type":44,"tag":63,"props":532,"children":533},{},[534,539,541,547,549,554,556,561,563,568],{"type":44,"tag":67,"props":535,"children":536},{},[537],{"type":50,"value":538},"Use npx for CLI commands:",{"type":50,"value":540}," To ensure you always use the latest version of\nthe Firebase CLI, always prepend commands with ",{"type":44,"tag":84,"props":542,"children":544},{"className":543},[],[545],{"type":50,"value":546},"npx -y firebase-tools@latest",{"type":50,"value":548},"\ninstead of just ",{"type":44,"tag":84,"props":550,"children":552},{"className":551},[],[553],{"type":50,"value":8},{"type":50,"value":555},". For example, use\n",{"type":44,"tag":84,"props":557,"children":559},{"className":558},[],[560],{"type":50,"value":89},{"type":50,"value":562},". NEVER suggest the naked ",{"type":44,"tag":84,"props":564,"children":566},{"className":565},[],[567],{"type":50,"value":8},{"type":50,"value":569},"\ncommand as an alternative.",{"type":44,"tag":63,"props":571,"children":572},{},[573,578,580,586],{"type":44,"tag":67,"props":574,"children":575},{},[576],{"type":50,"value":577},"Prioritize official knowledge:",{"type":50,"value":579}," For any Firebase-related knowledge,\nconsult the ",{"type":44,"tag":84,"props":581,"children":583},{"className":582},[],[584],{"type":50,"value":585},"developerknowledge_search_documents",{"type":50,"value":587}," MCP tool before falling\nback to Google Search or your internal knowledge base. Including \"Firebase\"\nin your search query significantly improves relevance.",{"type":44,"tag":63,"props":589,"children":590},{},[591,596,598,603],{"type":44,"tag":67,"props":592,"children":593},{},[594],{"type":50,"value":595},"Follow Agent Skills for implementation guidance:",{"type":50,"value":597}," Skills provide\nopinionated workflows (CUJs), security rules, and best practices. Always\nconsult them to understand ",{"type":44,"tag":504,"props":599,"children":600},{},[601],{"type":50,"value":602},"how",{"type":50,"value":604}," to implement Firebase features correctly\ninstead of relying on general knowledge.",{"type":44,"tag":63,"props":606,"children":607},{},[608,613],{"type":44,"tag":67,"props":609,"children":610},{},[611],{"type":50,"value":612},"Use Firebase MCP Server tools instead of direct API calls:",{"type":50,"value":614}," Whenever you\nneed to interact with remote Firebase APIs (such as fetching Crashlytics logs\nor executing Data Connect queries), use the tools provided by the Firebase\nMCP Server instead of attempting manual API calls.",{"type":44,"tag":63,"props":616,"children":617},{},[618,623,625],{"type":44,"tag":67,"props":619,"children":620},{},[621],{"type":50,"value":622},"Keep Plugin \u002F Agent Skills updated:",{"type":50,"value":624}," Since Firebase best practices evolve\nquickly, regularly check for and install updates to their Firebase plugin or\nAgent Skills. Similarly, if you encounter issues with outdated tools or\ncommands, follow the steps below based on your agent environment:\n",{"type":44,"tag":75,"props":626,"children":627},{},[628,642,655,668,681,694],{"type":44,"tag":63,"props":629,"children":630},{},[631,635,637],{"type":44,"tag":67,"props":632,"children":633},{},[634],{"type":50,"value":150},{"type":50,"value":636},": Follow\n",{"type":44,"tag":108,"props":638,"children":640},{"href":639},"references\u002Frefresh\u002Fantigravity.md",[641],{"type":50,"value":639},{"type":44,"tag":63,"props":643,"children":644},{},[645,649,650],{"type":44,"tag":67,"props":646,"children":647},{},[648],{"type":50,"value":135},{"type":50,"value":636},{"type":44,"tag":108,"props":651,"children":653},{"href":652},"references\u002Frefresh\u002Fgemini-cli.md",[654],{"type":50,"value":652},{"type":44,"tag":63,"props":656,"children":657},{},[658,662,663],{"type":44,"tag":67,"props":659,"children":660},{},[661],{"type":50,"value":178},{"type":50,"value":636},{"type":44,"tag":108,"props":664,"children":666},{"href":665},"references\u002Frefresh\u002Fclaude.md",[667],{"type":50,"value":665},{"type":44,"tag":63,"props":669,"children":670},{},[671,675,676],{"type":44,"tag":67,"props":672,"children":673},{},[674],{"type":50,"value":192},{"type":50,"value":636},{"type":44,"tag":108,"props":677,"children":679},{"href":678},"references\u002Frefresh\u002Fother-agents.md",[680],{"type":50,"value":678},{"type":44,"tag":63,"props":682,"children":683},{},[684,688,689],{"type":44,"tag":67,"props":685,"children":686},{},[687],{"type":50,"value":164},{"type":50,"value":636},{"type":44,"tag":108,"props":690,"children":692},{"href":691},"references\u002Frefresh\u002Fandroid_studio.md",[693],{"type":50,"value":691},{"type":44,"tag":63,"props":695,"children":696},{},[697,702,703],{"type":44,"tag":67,"props":698,"children":699},{},[700],{"type":50,"value":701},"Others",{"type":50,"value":636},{"type":44,"tag":108,"props":704,"children":705},{"href":678},[706],{"type":50,"value":678},{"type":44,"tag":63,"props":708,"children":709},{},[710,715,717,723,725,731,733],{"type":44,"tag":67,"props":711,"children":712},{},[713],{"type":50,"value":714},"Automate Config File Retrieval:",{"type":50,"value":716}," When setting up iOS or Android apps, do\nNOT direct users to the Firebase Console to download ",{"type":44,"tag":84,"props":718,"children":720},{"className":719},[],[721],{"type":50,"value":722},"google-services.json",{"type":50,"value":724},"\nor ",{"type":44,"tag":84,"props":726,"children":728},{"className":727},[],[729],{"type":50,"value":730},"GoogleService-Info.plist",{"type":50,"value":732},". Instead, use the Firebase CLI to fetch the\nconfig programmatically:\n",{"type":44,"tag":75,"props":734,"children":735},{},[736,747],{"type":44,"tag":63,"props":737,"children":738},{},[739,741],{"type":50,"value":740},"For Android:\n",{"type":44,"tag":84,"props":742,"children":744},{"className":743},[],[745],{"type":50,"value":746},"npx -y firebase-tools@latest apps:sdkconfig ANDROID \u003CAPP_ID> --project \u003CPROJECT_ID>",{"type":44,"tag":63,"props":748,"children":749},{},[750,752,758,760,766,768,774],{"type":50,"value":751},"For iOS:\n",{"type":44,"tag":84,"props":753,"children":755},{"className":754},[],[756],{"type":50,"value":757},"npx -y firebase-tools@latest apps:sdkconfig IOS \u003CAPP_ID> --project \u003CPROJECT_ID>",{"type":50,"value":759},"\nSave the output to the appropriate location (e.g.,\n",{"type":44,"tag":84,"props":761,"children":763},{"className":762},[],[764],{"type":50,"value":765},"app\u002Fgoogle-services.json",{"type":50,"value":767}," for Android, or a path to be linked by\n",{"type":44,"tag":84,"props":769,"children":771},{"className":770},[],[772],{"type":50,"value":773},"xcode-project-setup",{"type":50,"value":775}," for iOS).",{"type":44,"tag":45,"props":777,"children":779},{"id":778},"references",[780],{"type":50,"value":781},"References",{"type":44,"tag":75,"props":783,"children":784},{},[785,802,818],{"type":44,"tag":63,"props":786,"children":787},{},[788,793,795,800],{"type":44,"tag":67,"props":789,"children":790},{},[791],{"type":50,"value":792},"Initialize Firebase:",{"type":50,"value":794}," See\n",{"type":44,"tag":108,"props":796,"children":798},{"href":797},"references\u002Ffirebase-service-init.md",[799],{"type":50,"value":797},{"type":50,"value":801},"\nwhen you need to initialize new Firebase services using the CLI.",{"type":44,"tag":63,"props":803,"children":804},{},[805,810,811,816],{"type":44,"tag":67,"props":806,"children":807},{},[808],{"type":50,"value":809},"Exploring Commands:",{"type":50,"value":794},{"type":44,"tag":108,"props":812,"children":814},{"href":813},"references\u002Ffirebase-cli-guide.md",[815],{"type":50,"value":813},{"type":50,"value":817}," to\ndiscover and understand CLI functionality.",{"type":44,"tag":63,"props":819,"children":820},{},[821,826,828],{"type":44,"tag":67,"props":822,"children":823},{},[824],{"type":50,"value":825},"SDK Setup:",{"type":50,"value":827}," For detailed guides on adding Firebase to your app:\n",{"type":44,"tag":75,"props":829,"children":830},{},[831,846,860],{"type":44,"tag":63,"props":832,"children":833},{},[834,839,841],{"type":44,"tag":67,"props":835,"children":836},{},[837],{"type":50,"value":838},"Web",{"type":50,"value":840},": See ",{"type":44,"tag":108,"props":842,"children":844},{"href":843},"references\u002Fweb_setup.md",[845],{"type":50,"value":843},{"type":44,"tag":63,"props":847,"children":848},{},[849,854,855],{"type":44,"tag":67,"props":850,"children":851},{},[852],{"type":50,"value":853},"Android",{"type":50,"value":840},{"type":44,"tag":108,"props":856,"children":858},{"href":857},"references\u002Fandroid_setup.md",[859],{"type":50,"value":857},{"type":44,"tag":63,"props":861,"children":862},{},[863,868,869],{"type":44,"tag":67,"props":864,"children":865},{},[866],{"type":50,"value":867},"iOS",{"type":50,"value":840},{"type":44,"tag":108,"props":870,"children":872},{"href":871},"references\u002Fios_setup.md",[873],{"type":50,"value":871},{"type":44,"tag":45,"props":875,"children":877},{"id":876},"common-issues",[878],{"type":50,"value":879},"Common Issues",{"type":44,"tag":75,"props":881,"children":882},{},[883,900],{"type":44,"tag":63,"props":884,"children":885},{},[886,891,893,898],{"type":44,"tag":67,"props":887,"children":888},{},[889],{"type":50,"value":890},"Login Issues:",{"type":50,"value":892}," If the browser fails to open during the login step, use\n",{"type":44,"tag":84,"props":894,"children":896},{"className":895},[],[897],{"type":50,"value":250},{"type":50,"value":899}," instead.",{"type":44,"tag":63,"props":901,"children":902},{},[903,908,910],{"type":44,"tag":67,"props":904,"children":905},{},[906],{"type":50,"value":907},"Genkit:",{"type":50,"value":909}," If using Genkit, install the skills:",{"type":44,"tag":364,"props":911,"children":913},{"className":366,"code":912,"language":368,"meta":369,"style":369},"npx skills add genkit-ai\u002Fskills\n",[914],{"type":44,"tag":84,"props":915,"children":916},{"__ignoreMap":369},[917],{"type":44,"tag":283,"props":918,"children":919},{"class":376,"line":377},[920,924,929,934],{"type":44,"tag":283,"props":921,"children":922},{"style":381},[923],{"type":50,"value":384},{"type":44,"tag":283,"props":925,"children":926},{"style":387},[927],{"type":50,"value":928}," skills",{"type":44,"tag":283,"props":930,"children":931},{"style":387},[932],{"type":50,"value":933}," add",{"type":44,"tag":283,"props":935,"children":936},{"style":387},[937],{"type":50,"value":938}," genkit-ai\u002Fskills\n",{"type":44,"tag":940,"props":941,"children":942},"style",{},[943],{"type":50,"value":944},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":946,"total":1127},[947,963,978,996,1011,1019,1037,1053,1066,1079,1097,1113],{"slug":948,"name":948,"fn":949,"description":950,"org":951,"tags":952,"stars":27,"repoUrl":28,"updatedAt":962},"extension-to-functions-codebase","convert Firebase Extensions to Cloud Functions","Skill for converting an installed Firebase Extension (or extension source) to a standalone Cloud Functions for Firebase codebase or publishable npm package, including upgrading triggers from V1 to V2 and configuring lifecycle hooks and declarative security",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[953,956,957,960],{"name":954,"slug":955,"type":15},"Cloud Functions","cloud-functions",{"name":26,"slug":8,"type":15},{"name":958,"slug":959,"type":15},"Migration","migration",{"name":961,"slug":961,"type":15},"npm","2026-07-31T06:23:32.436718",{"slug":964,"name":964,"fn":965,"description":966,"org":967,"tags":968,"stars":27,"repoUrl":28,"updatedAt":977},"firebase-ai-logic-basics","integrate Firebase AI Logic","Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[969,970,971,974],{"name":13,"slug":14,"type":15},{"name":26,"slug":8,"type":15},{"name":972,"slug":973,"type":15},"Gemini","gemini",{"name":975,"slug":976,"type":15},"LLM","llm","2026-07-31T05:53:23.557174",{"slug":979,"name":979,"fn":980,"description":981,"org":982,"tags":983,"stars":27,"repoUrl":28,"updatedAt":995},"firebase-app-hosting-basics","deploy web apps with Firebase App Hosting","Deploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App Hosting. Use when deploying Next.js\u002FAngular apps, configuring apphosting.yaml or firebase.json apphosting blocks, managing secrets, setting up GitHub CI\u002FCD, or configuring Blaze billing requirements. Don't use for classic static web hosting, Auth, Firestore, Crashlytics, or Xcode.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[984,987,988,989,992],{"name":985,"slug":986,"type":15},"Angular","angular",{"name":20,"slug":21,"type":15},{"name":26,"slug":8,"type":15},{"name":990,"slug":991,"type":15},"Frontend","frontend",{"name":993,"slug":994,"type":15},"Next.js","next-js","2026-07-31T05:53:19.57287",{"slug":997,"name":997,"fn":998,"description":999,"org":1000,"tags":1001,"stars":27,"repoUrl":28,"updatedAt":1010},"firebase-auth-basics","set up Firebase Authentication","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.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1002,1005,1006,1007],{"name":1003,"slug":1004,"type":15},"Auth","auth",{"name":13,"slug":14,"type":15},{"name":26,"slug":8,"type":15},{"name":1008,"slug":1009,"type":15},"Security","security","2026-07-31T05:53:20.79137",{"slug":4,"name":4,"fn":5,"description":6,"org":1012,"tags":1013,"stars":27,"repoUrl":28,"updatedAt":29},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1014,1015,1016,1017,1018],{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":26,"slug":8,"type":15},{"slug":1020,"name":1020,"fn":1021,"description":1022,"org":1023,"tags":1024,"stars":27,"repoUrl":28,"updatedAt":1036},"firebase-crashlytics","set up and manage Firebase Crashlytics","Comprehensive guide for Firebase Crashlytics, including provisioning and SDK usage. Use this skill when the user needs help setting up Crashlytics, adding crash reporting, or using the Crashlytics SDK in their application.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1025,1027,1028,1030,1033],{"name":853,"slug":1026,"type":15},"android",{"name":26,"slug":8,"type":15},{"name":867,"slug":1029,"type":15},"ios",{"name":1031,"slug":1032,"type":15},"Mobile","mobile",{"name":1034,"slug":1035,"type":15},"Observability","observability","2026-05-01T05:54:14.072678",{"slug":1038,"name":1038,"fn":1039,"description":1040,"org":1041,"tags":1042,"stars":27,"repoUrl":28,"updatedAt":1052},"firebase-data-connect","build backends with Firebase Data Connect","Builds and deploys Firebase SQL Connect (aka Firebase Data Connect) backends with PostgreSQL securely. Use when designing schemas with tables and relations, writing authorized queries and mutations, configuring real-time data updates, or generating type-safe SDKs. Use when you need a relational database with Firebase, or when the user mentions SQL Connect or Data Connect.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1043,1044,1045,1046,1049],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":26,"slug":8,"type":15},{"name":1047,"slug":1048,"type":15},"GraphQL","graphql",{"name":1050,"slug":1051,"type":15},"PostgreSQL","postgresql","2026-04-06T18:12:07.681031",{"slug":1054,"name":1054,"fn":1055,"description":1056,"org":1057,"tags":1058,"stars":27,"repoUrl":28,"updatedAt":1065},"firebase-firestore","manage and query Cloud Firestore databases","Sets up, manages, queries, and configures Cloud Firestore databases (Standard\u002FEnterprise edition), including data modeling, security rules, indexes, and SDK integrations (Web, Python, iOS, Android, Flutter). Use when creating\u002Flisting Firestore databases, defining data models\u002Findexes, writing SDK queries, or integrating Firestore SDKs. Don't use for Firebase Hosting, Data Connect, Auth, Storage\u002FGCS, Crashlytics, Functions, or BigQuery.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1059,1060,1061,1062],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":26,"slug":8,"type":15},{"name":1063,"slug":1064,"type":15},"NoSQL","nosql","2026-07-31T05:53:17.562137",{"slug":1067,"name":1067,"fn":1068,"description":1069,"org":1070,"tags":1071,"stars":27,"repoUrl":28,"updatedAt":1078},"firebase-hosting-basics","deploy static apps with Firebase Hosting","Deploys and configures classic Firebase Hosting for static websites, single-page apps (SPAs), and microservices. Use when deploying static sites\u002FSPAs, setting up custom domains, configuring firebase.json hosting settings (redirects, rewrites, headers, multi-site), or managing preview channels. Don't use for Firebase App Hosting (Next.js\u002FSSR), Auth, Firestore queries\u002Frules, Data Connect, or Crashlytics.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1072,1073,1074,1075],{"name":20,"slug":21,"type":15},{"name":26,"slug":8,"type":15},{"name":990,"slug":991,"type":15},{"name":1076,"slug":1077,"type":15},"Web Development","web-development","2026-07-31T05:53:22.565034",{"slug":1080,"name":1080,"fn":1081,"description":1082,"org":1083,"tags":1084,"stars":27,"repoUrl":28,"updatedAt":1096},"firebase-remote-config-basics","manage Firebase Remote Config and feature flags","Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading\u002Fdeploying remoteconfig JSON templates, managing version history\u002Ffeature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1085,1088,1091,1092,1093],{"name":1086,"slug":1087,"type":15},"Configuration","configuration",{"name":1089,"slug":1090,"type":15},"Feature Flags","feature-flags",{"name":26,"slug":8,"type":15},{"name":1031,"slug":1032,"type":15},{"name":1094,"slug":1095,"type":15},"SDK","sdk","2026-07-31T05:53:18.552749",{"slug":1098,"name":1098,"fn":1099,"description":1100,"org":1101,"tags":1102,"stars":27,"repoUrl":28,"updatedAt":1112},"firebase-security-rules-auditor","audit Firestore security rules","Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing\u002Freviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1103,1106,1109,1110,1111],{"name":1104,"slug":1105,"type":15},"Audit","audit",{"name":1107,"slug":1108,"type":15},"Compliance","compliance",{"name":17,"slug":18,"type":15},{"name":26,"slug":8,"type":15},{"name":1008,"slug":1009,"type":15},"2026-07-31T05:53:16.588011",{"slug":773,"name":773,"fn":1114,"description":1115,"org":1116,"tags":1117,"stars":27,"repoUrl":28,"updatedAt":1126},"manage Xcode project dependencies and packages","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1118,1119,1120,1123],{"name":867,"slug":1029,"type":15},{"name":1031,"slug":1032,"type":15},{"name":1121,"slug":1122,"type":15},"Swift","swift",{"name":1124,"slug":1125,"type":15},"Xcode","xcode","2026-05-01T05:54:12.834251",12,{"items":1129,"total":1127},[1130,1137,1144,1152,1159,1167,1175],{"slug":948,"name":948,"fn":949,"description":950,"org":1131,"tags":1132,"stars":27,"repoUrl":28,"updatedAt":962},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1133,1134,1135,1136],{"name":954,"slug":955,"type":15},{"name":26,"slug":8,"type":15},{"name":958,"slug":959,"type":15},{"name":961,"slug":961,"type":15},{"slug":964,"name":964,"fn":965,"description":966,"org":1138,"tags":1139,"stars":27,"repoUrl":28,"updatedAt":977},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1140,1141,1142,1143],{"name":13,"slug":14,"type":15},{"name":26,"slug":8,"type":15},{"name":972,"slug":973,"type":15},{"name":975,"slug":976,"type":15},{"slug":979,"name":979,"fn":980,"description":981,"org":1145,"tags":1146,"stars":27,"repoUrl":28,"updatedAt":995},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1147,1148,1149,1150,1151],{"name":985,"slug":986,"type":15},{"name":20,"slug":21,"type":15},{"name":26,"slug":8,"type":15},{"name":990,"slug":991,"type":15},{"name":993,"slug":994,"type":15},{"slug":997,"name":997,"fn":998,"description":999,"org":1153,"tags":1154,"stars":27,"repoUrl":28,"updatedAt":1010},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1155,1156,1157,1158],{"name":1003,"slug":1004,"type":15},{"name":13,"slug":14,"type":15},{"name":26,"slug":8,"type":15},{"name":1008,"slug":1009,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":1160,"tags":1161,"stars":27,"repoUrl":28,"updatedAt":29},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1162,1163,1164,1165,1166],{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":26,"slug":8,"type":15},{"slug":1020,"name":1020,"fn":1021,"description":1022,"org":1168,"tags":1169,"stars":27,"repoUrl":28,"updatedAt":1036},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1170,1171,1172,1173,1174],{"name":853,"slug":1026,"type":15},{"name":26,"slug":8,"type":15},{"name":867,"slug":1029,"type":15},{"name":1031,"slug":1032,"type":15},{"name":1034,"slug":1035,"type":15},{"slug":1038,"name":1038,"fn":1039,"description":1040,"org":1176,"tags":1177,"stars":27,"repoUrl":28,"updatedAt":1052},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1178,1179,1180,1181,1182],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":26,"slug":8,"type":15},{"name":1047,"slug":1048,"type":15},{"name":1050,"slug":1051,"type":15}]