firebase/agent-skills

25 skills1.9M installs533 starsGitHub

Install

npx skills add https://github.com/firebase/agent-skills

Skills in this repo

1Firebase Basicsfirebase-basics is a foundational skill for Firebase CLI setup. It verifies the CLI with npx, checks login and handles headless login with --no-localhost. It confirms or sets the active project with firebase use, or creates a new project. It downloads google-services.json and GoogleService-Info.plist through the CLI instead of the console. The skill also sets usage principles, such as always using npx -y firebase-tools@latest and consulting official docs through the MCP tool, and links setup and refresh guides for Claude Code, Cursor, Gemini CLI and other agents. It is for CLI login, project work and config files only.192kinstalls2Firebase Auth Basicsfirebase-auth-basics is a skill for adding Firebase Authentication to an app. It explains users, identity providers and tokens, then walks through provisioning. Google Sign In, anonymous and email/password auth can be enabled from an auth block in firebase.json and deployed with deploy --only auth. Other providers are enabled in the Firebase Console. It warns about authorized redirect URI mistakes, such as including a port number. It links client setup guides for Web, Flutter, Android and iOS, and a security rules guide that uses request.auth in Firestore and Storage rules.191kinstalls3Firebase Hosting BasicsThe firebase-hosting-basics skill guides agents through Firebase Hosting Classic for static web apps, simple single-page applications, and lightweight microservices behind Cloud Functions or Cloud Run rewrites. It contrasts Hosting versus App Hosting, recommending Classic when teams deploy HTML, CSS, and JS static assets or SPAs without server-side rendering and want CLI-controlled builds. Key capabilities include global CDN delivery with SSD edge caching, zero-configuration SSL, preview channels for staging URLs, GitHub Actions automation, and dynamic content via Cloud Functions or Cloud Run integrations. Instructions point to reference docs for firebase.json public directories, redirects, rewrites, headers, deploy flows, preview channels, and release management. Local testing uses npx firebase-tools emulators:start --only hosting, serving the default http://localhost:5000 endpoint. Developers choose this skill when deploying marketing sites, documentation bundles, or client-rendered React and Vue apps where full-stack App Hosting is unnecessary. It explicitly directs SSR and Next.js framework workflows to firebase-app-hosting-basics instead.186kinstalls4Firebase App Hosting BasicsThe firebase-app-hosting-basics skill covers deploying and managing modern full-stack web applications such as Next.js and Angular through Firebase App Hosting. It requires a Blaze pricing plan and walks through firebase.json apphosting blocks with backendId, rootDir, and ignore patterns plus apphosting.yaml environment configuration. Secret management uses npx firebase-tools apphosting:secrets commands to set values and grant runtime access before production deploy. The recommended deploy-from-source flow ends with npx firebase-tools deploy when configuration is ready, while GitHub-connected backends offer optional git push CI/CD for advanced users. Hosting versus App Hosting guidance steers SSR, ISR, and supported framework workloads here while static-only sites remain on Classic Hosting. Reference docs cover configuration fields, CLI commands for GitHub backend setup, and Local Emulator Suite testing paths. Developers adopt App Hosting when they want automated full-stack deploy pipelines without hand-rolling Cloud Run containers for framework-native builds.186kinstalls5Firebase Data ConnectThe firebase-data-connect skill guides agents through Firebase SQL Connect, the renamed Firebase Data Connect service backed by Cloud SQL for PostgreSQL. It covers the standard dataconnect project layout with schema, connector queries, mutations, and multi-platform SDK generation for web, Android, iOS, Flutter, and admin Node clients. Teams reach for it when they need relational data with Firebase auth, row-level security, realtime subscriptions, vector search, or Cloud Functions triggers. The workflow defaults to native GraphQL for type-safe CRUD, filtering, pagination, upserts, and transactions, reserving native SQL for PostGIS, window functions, or other advanced PostgreSQL features. Validation relies on schema review plus `firebase dataconnect:compile`, with emulator-first local development and `deploy --only dataconnect` for production. Reference files map full-text search, seeding, security directives, and starter templates for common CRUD patterns across client platforms.185kinstalls6Firebase Security Rules Auditorfirebase-security-rules-auditor audits Firebase Firestore and Cloud Storage security rules the way a red-team penetration tester would. It works through a six-item checklist: update bypass, authority source, business logic, storage abuse, type safety, and field-level versus identity-level security. It scores rules from 1 (critical) to 5 (secure) and returns JSON with a score, summary and findings, each with a check, severity, issue and recommendation. It does not cover Firebase CLI tasks, Auth, Crashlytics, Remote Config or database queries.155kinstalls7Firebase FirestoreManages Cloud Firestore database setup, queries, and operations including advanced search and relational joins. The skill automatically detects Firestore edition (Standard or Enterprise) and provides edition-specific guidance for provisioning, security rules, SDK usage, and indexes. Use whenever planning Firestore implementation.152kinstalls8Firebase Ai Logic Basicsfirebase-ai-logic-basics is an official Firebase skill for integrating Firebase AI Logic (the Gemini API) into web and mobile apps using client-side SDKs, without a dedicated backend. It covers setup, multimodal inference, structured output, chat sessions, streaming, and security. A developer uses it to add Gemini-powered features while correctly provisioning the service with the Firebase CLI. It stresses that init ailogic is mandatory and that App Check must be set up to prevent quota abuse.152kinstalls9Firebase CrashlyticsProvides comprehensive Firebase Crashlytics setup and configuration for Android and iOS applications. Covers SDK setup, customizing crash reports with custom keys and logs, setting user identifiers, and reporting non-fatal exceptions. Use when setting up crash reporting for mobile apps.148kinstalls10Xcode Project SetupSafely modifies Xcode projects to add Swift Package Manager dependencies and configure iOS development. Uses a native Swift script (not Ruby) to inject SPM packages, handle linker flags for frameworks like Firebase, and link configuration files. Use when iOS projects need dependency installation or configuration.147kinstalls11Firebase Remote Config Basicsfirebase-remote-config-basics is a Firebase Remote Config Android setup skill that assumes firebase-basics prerequisites and walks through Firebase CLI login, project creation, Android app registration, and google-services.json placement.137kinstalls12Extension To Functions CodebaseGuides agents migrating a Firebase Extension repository or installed instance into a standalone Cloud Functions for Firebase codebase or publishable npm package. It covers upgrading triggers from v1 to v2, configuring lifecycle hooks, and applying declarative security natively in code. Use when an extension must become maintainable app-owned functions or a reusable open-source package.72.3kinstalls13Firestore Rules CreationUse firestore-rules-creation in a coding agent to apply its workflow on a real project.41.6kinstalls14Firebase AnalyticsSets up Google Analytics for Firebase on Android and iOS apps. It covers base dependency setup, placing the configuration file, SDK initialization, screen tracking, custom and recommended event logging, and checking events in real time with DebugView. A solo mobile builder reaches for it to measure how users move through the app.12.1kinstalls15Firebase Basicsfirebase-basics is a Firebase skills agent guide for Android onboarding with firebase-tools. It walks through `npx -y firebase-tools@latest login`, `projects:create <UNIQUE_PROJECT_ID> --display-name`, Android app registration, and downloading google-services.json into the app module. Developers reach for it at the start of a Firebase-backed Android app when the cloud project, app record, and local config file are still missing.1.4kinstalls16Firebase Auth Basicsfirebase-auth-basics is a Firebase skills guide for adding Firebase Authentication to Kotlin Android projects using Gradle Kotlin DSL and current Firebase BoM versions. Step one enables the Auth service in the Firebase project with `npx -y firebase-tools@latest init auth` before touching app code. Step two adds the Firebase Authentication dependency in module-level `app/build.gradle.kts`, with explicit guidance to fetch the latest Android BoM from Firebase release notes before pinning versions. The skill targets AI coding agents helping Android developers wire email, Google, or other Firebase Auth providers correctly on first setup. Developers reach for firebase-auth-basics when starting a new Kotlin Android app or migrating Gradle scripts to current Firebase Auth patterns without outdated plugin syntax.1.4kinstalls17Firebase App Hosting BasicsFirebase App Hosting Basics is an official skill from firebase/skills that enables agents to deploy and manage modern full-stack web applications—Next.js, Angular, and similar frameworks with backends—on Firebase App Hosting. It distinguishes App Hosting from static Firebase Hosting: choose App Hosting when the app needs server-side rendering or backend integration, and static Hosting for HTML/CSS/JS-only sites. The skill requires a Firebase Blaze pricing plan before App Hosting is available and guides git-push-to-deploy workflow setup. Developers reach for it when moving a Next.js or Angular project from local development to a managed Firebase deployment pipeline with automated releases.1.1kinstalls18Firebase Hosting Basicsfirebase-hosting-basics is an official Firebase skills package entry that documents the hosting block of firebase.json, covering required and optional attributes developers must set before deploying. It explains the public output directory, default ignore globs such as firebase.json and node_modules, URL redirects with HTTP status codes, and rewrites for SPA routing or Cloud Functions proxies. Developers reach for firebase-hosting-basics when a Firebase Hosting deploy serves wrong paths, broken deep links, or missing assets because firebase.json hosting rules are misconfigured. The skill walks through concrete JSON examples for each attribute so agents generate valid hosting configuration without guessing Firebase Hosting semantics.1.1kinstalls19Firebase Data Connectfirebase-data-connect is a Firebase skill for building complete Firebase Data Connect backends with correct auth, indexing, and relational modeling. It ships working examples such as a movie review app schema covering users, movies, one-to-one metadata, reviews, actors, and timestamp defaults tied to auth.uid and request.time. Developers define @table types, @unique fields, @index columns, and UUID defaults in schema.gql, then generate matching GraphQL queries with proper authorization expressions. The skill targets engineers adopting Firebase’s SQL Connect layer who need copy-paste-correct patterns instead of trial-and-error GraphQL auth. Reach for firebase-data-connect when scaffolding typed, secured data models for web or mobile Firebase apps with relational integrity.1kinstalls20Firebase Ai Logic Basicsfirebase-ai-logic-basics is an official Firebase skill for wiring Firebase AI Logic into web and mobile apps hosted on Firebase. The skill covers prompted server actions, callable Cloud Functions, and client-side hooks that invoke generative models for chat, classification, summarization, or other LLM-powered UX. Developers reach for firebase-ai-logic-basics when they already use Firebase Auth and hosting and want managed Gemini or model access without standing up a separate inference API. The workflow connects Firebase project configuration, secure callable endpoints, and client consumption patterns so AI features ship with Firebase-native security and deployment. Use it when adding conversational UI, content moderation, or lightweight generative helpers inside Firebase-backed products.569installs21Firebase Firestorefirebase-firestore is an official Firebase skill for designing and implementing Cloud Firestore data layers in web and mobile apps. The skill covers collection and document modeling, query patterns, composite index configuration, security rules, and Firebase SDK usage for real-time listeners and offline-friendly reads. Developers reach for firebase-firestore when replacing REST polling with live document sync, when structuring multi-tenant data with rule-based access, or when query performance needs explicit indexes. The workflow connects schema decisions, client SDK integration, and rule hardening so Firestore remains secure and queryable as collections grow. Use it during greenfield Firebase backends or when refactoring ad-hoc JSON blobs into indexed, rule-protected collections.565installs22Firebase Security Rules Auditorfirebase-security-rules-auditor is an official Firebase agent skill that acts as a senior security auditor and penetration tester for Firebase Security Rules. The skill evaluates Firestore, Cloud Storage, and Realtime Database rules against rigorous red-team criteria—rejecting rules that look complex but leave holes in the wall. Developers reach for firebase-security-rules-auditor whenever security rules are created or updated and need verification that reads, writes, and auth boundaries are robust before shipping a Firebase-backed product.552installs23Firebase Crashlyticsfirebase-crashlytics is a Mobile Development skill in firebase/skills covering end-to-end Firebase Crashlytics for Android and iOS apps. The workflow guides Crashlytics provisioning, platform-specific SDK setup via reference docs, and SDK usage features including custom keys, custom logs, user identifiers, and non-fatal exception reporting. Crash data can be read through the MCP server in Firebase CLI, accessible via npx -y firebase-tools@latest. Developers reach for this skill when production crashes need actionable reports with breadcrumbs and release health visibility. Catalog data shows 293 installs. Use it for first-time Crashlytics integration or when triaging symbolicated stack traces from live user sessions.440installs24Firebase Remote Config BasicsCovers Firebase Remote Config fundamentals: defining parameters, setting defaults and conditions, fetching values in client SDKs, and using flags to gate features or tune behavior without shipping new binaries.376installs25Xcode Project Setupxcode-project-setup is an official Firebase skill that safely adds Swift Package Manager dependencies to Xcode projects using the bundled xcode_spm_setup Swift script—never Ruby or manual .pbxproj text edits for new source files. It installs package repositories, links product modules to the app target, optionally attaches GoogleService-Info.plist, and auto-injects -ObjC into OTHER_LDFLAGS for Firebase static frameworks to prevent Auth runtime crashes. Developers reach for xcode-project-setup when an iOS app needs FirebaseCore, FirebaseAuth, FirebaseFirestore, or packages like Alamofire via SPM. The skill requires macOS with Swift installed via swift --version and halts if no .xcodeproj exists. Modern folder synchronization means new .swift files on disk auto-include without pbxproj edits.375installs

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.