
firebase/agent-skills
21 skills927k installs7.2k starsGitHub
Install
npx skills add https://github.com/firebase/agent-skillsSkills in this repo
1Firebase BasicsFirebase-basics is an agent skill that walks solo builders through standing up Firebase for an Android application using firebase-tools from the command line. It sequences authentication, cloud project creation with a unique ID, Android app registration tied to package name, and downloading google-services.json into the app module—exactly the friction points that block first mobile backend integration. The readme is procedural rather than architectural: npx-pinned firebase-tools commands, examples for project and app IDs, and a verification section so you can confirm the wiring before you add Auth, Firestore, or Analytics. Use it in Build when you are integrating mobile with Google’s backend stack and want repeatable CLI steps instead of clicking through consoles alone. It is Android-specific basics, not a full Firebase feature tour; advanced security rules, multi-environment setups, and iOS parity live in follow-on work or other skills.76.3kinstalls2Firebase Auth Basicsfirebase-auth-basics is a guided agent skill for solo builders implementing Firebase Authentication in web or mobile-backed products. It explains how users are represented (unique uid and profile fields), which identity providers Firebase supports—from email/password through major OAuth providers and phone verification—and how anonymous sessions can later link to permanent accounts. The skill expects a Firebase project and CLI login aligned with firebase-basics, and it steers the agent toward correct SDK usage and auth rules so protected data stays behind verified users. It fits indie SaaS, mobile clients, or API-backed apps where you want managed auth without building a custom identity server. Use it when the user explicitly needs sign-in flows, user management, or rule-based access—not for unrelated hosting or Firestore modeling alone.75.7kinstalls3Firebase Hosting BasicsFirebase Hosting Basics teaches your agent how to work with Firebase Hosting (Classic)—the path for static assets, single-page apps without server-side rendering, and light dynamic backends through Cloud Functions or Cloud Run. Solo builders choose it when they want fast global CDN delivery, built-in TLS, preview channels for stakeholder review, and optional GitHub Actions automation without adopting Firebase App Hosting. The skill clearly separates Hosting from App Hosting so you do not pick the wrong product for Next.js SSR. It fits Prism’s Ship phase when you are ready to put a validated frontend online, and supports Operate iteration when you redeploy fixes. Expect Firebase CLI familiarity, a firebase.json project, and google-cloud project linkage rather than abstract planning alone.73.9kinstalls4Firebase App Hosting BasicsFirebase App Hosting Basics is an agent skill for solo builders who need Google-managed hosting for modern full-stack frameworks—not a static file bucket. It walks the agent through when to pick App Hosting over classic Firebase Hosting, the Blaze plan requirement, and practical deploy steps starting with an apphosting stanza in firebase.json. The skill fits indie teams shipping Next.js or Angular with server-side rendering, incremental static regeneration, or backend-adjacent runtimes who want automated deploys from source rather than bespoke build pipelines. Agents use it during launch preparation and early production operations to configure backends, ignore paths, and recommend source-based deployment as the default path. It does not replace deep performance tuning or multi-cloud architecture decisions, but it gives a concrete Firebase-native path from repo to live URL with clear guardrails on pricing and framework fit.73.6kinstalls5Firebase Data ConnectFirebase Data Connect is an agent skill that equips solo builders to design relational data layers on Firebase using GraphQL schema definitions, constraints, and generated query patterns. The bundled material centers on a complete movie-and-reviews domain: users tied to auth, movies with metadata, actors via join tables, and reviews with uniqueness per user per movie. Agents invoke it while scaffolding backend structure for SaaS or mobile companions that need Postgres semantics, indexes, and server-enforced access levels rather than ad hoc Firestore documents. It helps translate product entities into @table types, defaults like uuidV4() and request.time, and public or authenticated query stubs. The skill is example-heavy rather than a full CLI reference, so it pairs best with official Data Connect tooling docs when running connectors and migrations. Outcomes are a coherent schema.gql and queries.gql starting point aligned with Firebase’s SQL-backed connect model.73.2kinstalls6Developing Genkit JsDeveloping Genkit JS is an agent skill for solo and indie builders who are implementing AI features in Node.js or TypeScript with Firebase Genkit. It applies when you are defining flows, attaching model plugins, wiring tools, or debugging schema validation and type errors after Genkit’s major API shift. The skill treats the CLI as part of the contract: you confirm genkit is installed at at least version 1.29.0, install or upgrade genkit-cli globally when needed, and follow the setup guide for new codebases. It gives a concrete starter flow using zod schemas, googleAI, and ai.generate so you can run something end-to-end quickly. Critically, it instructs the agent not to guess APIs and instead read current JS docs via genkit docs:read for get-started and flows topics, plus common-error references when things fail. That combination reduces broken scaffolding and mismatched types in agent-driven coding sessions across Claude Code, Cursor, and Codex.62.2kinstalls7Developing Genkit DartDeveloping Genkit Dart is an agent skill for solo and indie builders who want Firebase Genkit in Dart or Flutter without piecing together scattered SDK docs. It activates when you ask to build AI agents, use Genkit flows, or integrate LLMs into a Dart app. The skill anchors on core framework patterns—initialization, generation, structured outputs, tools, flows, embeddings, and streaming—by loading the canonical genkit.md reference when implementation details matter. It also steers you through the recommended Genkit CLI for a local developer UI, execution tracing, and model playground workflows wrapped around your run command. Because Genkit is plugin-heavy, the skill’s main value is disciplined pointer-to-reference behavior: verify each plugin against its dedicated reference rather than inventing APIs. That makes it a practical Build-phase integration companion for mobile-first or cross-platform agents where you need repeatable codegen and documentation alignment in one session.61.9kinstalls8Developing Genkit Godeveloping-genkit-go is a Firebase-published agent skill for solo builders shipping AI features in Go with Genkit. It applies when you need flows, agents, prompts, streaming, structured outputs, or tool calling behind a unified provider interface—typical for indie APIs and internal agents served over HTTP. The SKILL.md includes a complete hello-world: init Genkit with Google AI, DefineFlow for text generation, mount flow handlers, and start a local server. A feature matrix steers you to deeper references for initialization, prompts, tools, streaming, and model plugins instead of dumping everything inline. Use it while implementing backend agent tooling; skip if your stack is Python-only or you only need a no-code chat widget. Complexity sits at intermediate-to-advanced because you must be comfortable with Go, context, and HTTP wiring.49.3kinstalls9Firebase Security Rules AuditorFirebase Security Rules Auditor turns your agent into a senior penetration-style reviewer for Firestore rulesets. Solo builders shipping Firebase-backed SaaS or mobile apps invoke it immediately after changing firestore.rules or emulator-tested policies, so “complex-looking” rules still get probed for update bypasses, trust in client-supplied role fields, and gaps between intended collaboration flows and what reads and writes actually allow. The methodology stresses comparing create and update paths, questioning whether authority comes from tamperable request.resource.data, and verifying limits that prevent storage abuse. It complements automated tests by reasoning about attack sequences a rule author might miss. Primary placement is Ship security, with repeat use in Operate when production incidents or feature flags force rule churn—without substituting for Firebase console monitoring or App Check configuration.40.3kinstalls10Firebase Ai Logic Basicsfirebase-ai-logic-basics is a Firebase agent skill for solo builders shipping Flutter apps who want Google Gemini through Firebase AI Logic. It stresses a CLI-first backend path: provision AI Logic with Firebase CLI, then configure the Flutter client with FlutterFire—manual Console-only setup is discouraged. The readme walks through pubspec dependencies, async Firebase initialization, auth gating, and correct package choices after the Vertex AI rename. It is meant when you are adding generative features to an existing Firebase mobile stack, not when you only need generic prompt engineering. Following the sequence avoids the common failure mode where the app compiles but every model call fails with permission errors because the project never ran the AI Logic init step.39.7kinstalls11Firebase FirestoreFirebase-firestore is a narrow Firebase agent skill for solo builders shipping Android apps in Kotlin who need Cloud Firestore wired correctly on day one. It walks through enabling Firestore in the Firebase project with the CLI, declaring BoM-backed Gradle dependencies in the app module, and initializing `FirebaseFirestore` inside Activities or Fragments. The guide states that Enterprise Native Mode uses the same Android SDK as standard Firestore, so you are not learning a parallel client. Prism tags it under Build backend because it is about data layer setup rather than store listing or analytics. Indie mobile founders often stall on Firebase console steps and version drift; this skill chains CLI provisioning with copy-paste Kotlin patterns. It is intentionally Android-specific—web or Python enterprise flows belong in the broader enterprise-native skill in the same catalog family.37kinstalls12Firebase Firestore Standardfirebase-firestore-standard is a comprehensive Firestore agent skill for solo builders who need Cloud Firestore Standard Edition from empty project to safe, queryable data in app code. It modularizes provisioning, security rules deployment, platform SDK guides starting with web modular SDK, and index strategy so agents do not invent incompatible query shapes. Security rules and indexes are treated as first-class because indie launches often leak data or hit missing-index errors under load. The skill fits when the user explicitly asks to set up Firestore, harden rules, or use the client SDK—not for unrelated Firebase products unless cross-linked from other Firebase skills. CLI access through npx keeps the workflow approachable for one-person teams without global tooling sprawl.36.7kinstalls13Firebase CrashlyticsFirebase Crashlytics is an agent skill that helps solo builders add production-grade crash and stability reporting to Android or iOS apps inside a Firebase project. It covers provisioning expectations—a Firebase project, a registered app, and optionally the Firebase CLI MCP server for querying crash data—and routes implementers to platform-specific SDK setup guides for Android and iOS. Beyond installation, the skill summarizes SDK capabilities that make reports debuggable: custom keys, breadcrumb-style logs, user identifiers, and non-fatal exception capture, with pointers to official customization documentation. It is best used when the user asks to set up Crashlytics, integrate the SDK, or improve crash signal quality, often alongside firebase-basics for foundational Firebase configuration. While initial SDK work happens during Build or Ship, the skill’s primary journey shelf is Operate errors because the operational loop is monitoring, triage, and fix verification. Intermediate complexity reflects multi-platform setup, CLI tooling, and correct Firebase app linkage.36.1kinstalls14Xcode Project Setupxcode-project-setup is a Firebase-maintained agent skill aimed at solo and small-team iOS builders who need reliable Xcode plus Swift Package Manager wiring without hand-clicking every target setting. When you add Firebase SDKs or restructure an app repo, the skill guides automation that leans on XcodeProj to read and write project files, pin transitive packages, and keep SwiftPM configuration consistent with what Xcode expects. The ingested fragment shows a dedicated Swift executable package, standard gitignore for Xcode artifacts, and resolved versions for PathKit, AEXML, Spectre, and XcodeProj 8.27.7—signals that the workflow is script-driven on macOS rather than documentation-only. Use it during mobile client build-out before you run on-device tests or App Store prep. It is not a substitute for Apple’s human interface guidelines or full CI signing pipelines.35.8kinstalls15Firebase Firestore Enterprise Native ModeFirebase-firestore-enterprise-native-mode is the comprehensive Firebase agent skill for solo builders who need Firestore Enterprise Native Mode beyond a single-platform snippet. It orchestrates provisioning in the Firebase project and local environment, explains how to structure documents and collections, and points to dedicated references for security rules, web SDK usage, Python SDK usage, and indexes. That split keeps agents from improvising insecure rules or wrong query shapes when shipping a SaaS API, mobile companion, or internal tool. Use it when the user asks to set up enterprise native Firestore, write rules, or integrate clients—not when they only need Android Gradle wiring. Multi-phase tagging reflects that data modeling stays in Build while rule hardening overlaps Ship security. Compatible with Claude Code and Cursor workflows that already use npx for Firebase tools without a global install.35.8kinstalls16Firebase Ai LogicFirebase AI Logic is Google’s client-SDK path for calling Gemini from mobile and web apps backed by Firebase, without operating a separate inference backend. This official agent skill walks solo builders through prerequisites, platform selection, initialization, and production-minded concerns such as structured responses, multimodal inputs, and security boundaries. It explicitly contrasts the Gemini Developer API’s free tier and pay-as-you-go model with the Vertex AI Gemini API on the Blaze plan for heavier production loads. Builders shipping SaaS dashboards, companion apps, or agent-adjacent features in Claude Code or Cursor can treat the skill as a checklist against drifting into the wrong provider or skipping platform-specific setup. Use it when you already chose Firebase and need consistent Gemini integration guidance rather than ad-hoc API snippets.34.1kinstalls17Developing Genkit PythonDeveloping Genkit Python is an agent skill for builders who want Google’s Genkit framework in Python for flows, tools, and generation—not ad-hoc `requests` to Gemini. It targets solo and indie devs using Claude Code, Cursor, or Codex who are building agent-backed apps, internal automations, or API surfaces that need a consistent plugin model and async `generate` patterns. Invoke it when the user mentions Genkit, Python AI agents, flows, tools, or when stack traces point at imports, plugin registration, or model ID mistakes. The skill emphasizes a minimal hello-world, environment keys, always-latest Flash aliases, and a disciplined workflow so the agent does not hallucinate a moving SDK. Because model providers and entry patterns also matter at ship and operate time, placement is multi-phase with the primary shelf under build agent-tooling.33.5kinstalls18Firebase Remote Config Basicsfirebase-remote-config-basics is a setup-oriented agent skill for Android developers adopting Firebase Remote Config after core Firebase project wiring. It assumes you have completed firebase-basics: CLI login, project creation, and an Android app with google-services.json in the module root—or you fetch config via firebase-tools apps:sdkconfig. The guide walks Kotlin Gradle changes at project and app levels, enabling the Google Services plugin and dependencies needed to fetch and apply remote parameters, with Analytics emphasized for audience-based conditions. Solo builders shipping indie Android apps use it to add feature flags and gradual rollouts without rewriting navigation graphs by hand. It does not replace console flag design or iOS/Web variants; scope is Android integration scaffolding your agent can apply consistently.26kinstalls19Firestore Security Rules AuditorFirestore-security-rules-auditor is a checker skill for solo builders and small teams shipping Firebase-backed apps who need rules treated like production attack surface, not syntax sugar. It positions the agent as a senior penetration tester hunting the hole in the wall: update bypasses after a valid create, trust placed in user-supplied document fields, rules that break legitimate collaboration, and missing limits on strings or arrays. Run it whenever firestore.rules change and before you ship client SDKs that assume those rules hold. It complements manual testing and Firebase console simulators by forcing adversarial reasoning across create, update, read, and delete paths. Output is structured security assessment aligned to the documented scoring criteria rather than a green check for pretty expressions.20.3kinstalls20Firebase Local Env SetupFirebase Local Environment Setup is an agent skill for solo builders who are adding Firebase to a project for the first time. It walks through the bare minimum checklist: confirm Node.js at v20 or newer (with nvm on macOS/Linux or equivalent on Windows), install the Firebase CLI, and complete initial login—stopping at human confirmation steps where the skill requires it. The skill is intentionally narrow: it is only for greenfield machine setup, not day-two changes. If your CLI is already installed, versions drift, or auth breaks, the skill directs you to firebase-basics instead. That split keeps first-run onboarding predictable and avoids mixing one-off installs with maintenance. Use it once per developer machine before your agent scaffolds emulators, deploy targets, or SDK wiring.5kinstalls21Firebase Firestore Basicsfirebase-firestore-basics is a Firebase agent skill for solo builders adding Cloud Firestore to a web or mobile-backed SaaS without stitching docs from memory. It walks provisioning in the Firebase project and local environment, deploying security rules that match your data model, and using the modular web SDK for reads and writes. Index guidance clarifies automatic single-field coverage versus composite indexes you must define for compound queries— a common source of silent query failures. Use when you are standing up persistence, hardening access before launch, or debugging slow queries during build. It pairs naturally with Firebase CLI workflows but does not mandate the CLI for every step. The skill is reference-oriented: it points to focused markdown references rather than replacing Firebase's full console and emulator documentation.1.3kinstalls