firebase-firestore

作成者: firebase

Before setting up dependencies, writing data models, or configuring security rules, you MUST always identify the Firestore instance edition.

npx skills add https://github.com/firebase/skills --skill firebase-firestore

Cloud Firestore Database and Operations

Before setting up dependencies, writing data models, or configuring security rules, you MUST always identify the Firestore instance edition.

1. Instance Selection and Edition Detection

Run the following command to list current Firestore databases: bash npx -y firebase-tools@latest firestore:databases:list

A. Instance Found

  1. For each database found, inspect its edition and details: bash npx -y firebase-tools@latest firestore:databases:get <database-id>
  2. Ask the user which database instance they wish to target or if they would prefer to create a new instance.
  3. Once the target instance is established:
    • If the edition is STANDARD, follow the guides under references/standard/.
    • If the edition is ENTERPRISE or native mode, follow the guides under references/enterprise/.

B. No Instance Found (or New Requested)

If no databases exist or the user requests a new one, default to provisioning an Enterprise edition database and ask the user what location to use. Run npx -y firebase-tools@latest firestore:locations to get the list of options. Suggest colocating with other resources if applicable.

Once the location is determined, create the database: bash npx -y firebase-tools@latest firestore:databases:create <database-id> --edition="enterprise" --location="<selected-location>"

Proceed with using the guides under references/enterprise/.


2. Specialized Guides

Based on the identified or created instance edition, open and read the corresponding reference guides:

Standard Edition (references/standard/)

Enterprise Edition / Native Mode (references/enterprise/)

firebaseのその他のスキル

firebase-remote-config-basics
firebase
Firebase Remote Configの包括的なガイド。テンプレート管理とSDKの使用方法を含みます。ユーザーがRemote Configのセットアップ、機能フラグの管理、またはアプリの動作を動的に更新する際に、このスキルを使用してください。
officialdevelopmentapi
developing-genkit-dart
firebase
Dart向け統合AI SDK。コード生成、構造化出力、ツール、フロー、エージェントを実現。単一インターフェースで生成、ツール定義、フローオーケストレーション、埋め込み、ストリーミングのコアAPIを提供。LLMプロバイダー(Google Gemini、Anthropic Claude、OpenAI GPT)、Firebase AI、Model Context Protocol、Chromeブラウザ統合、Shelf経由のHTTPサーバーホスティング向け8以上のプラグインを含む。フロー実行、トレース、モデル実験などのためのローカル開発UIを備えた組み込みCLI。
official
developing-genkit-go
firebase
GoでGenkitを使用してAIを活用したアプリケーションを開発します。ユーザーがGenkitを使ってGoでAI機能、エージェント、フロー、ツールを構築するよう依頼した場合や、作業中に使用します。
official
developing-genkit-js
firebase
Genkitのフロー、ツール、マルチモデルサポートを使用して、AIを活用したNode.js/TypeScriptアプリケーションを構築します。Genkitはプロバイダーに依存せず、プラグインを介してGoogle AI、OpenAI、Anthropic、Ollama、その他のLLMプロバイダーをサポートします。Zodを使用して型安全なスキーマでフローを定義し、生成リクエストを実行し、TypeScriptでマルチステップのAIワークフローを構成します。Genkit CLI v1.29.0以上が必要です。最近の主要なAPI変更により、現在のパターンについては、以前の知識ではなく、genkit docs:readおよびcommon-errors.mdを参照する必要があります...
official
developing-genkit-python
firebase
PythonでGenkitを使用したAI搭載アプリケーションを開発します。ユーザーがGenkit、AIエージェント、フロー、またはPythonのツールについて質問した場合、またはGenkitに遭遇した場合に使用します…
official
firebase-ai-logic
firebase
クライアントサイドのGemini統合で、マルチモーダル推論、ストリーミング、デバイス上のハイブリッド実行を備えたウェブアプリ向け。テキストのみおよびマルチモーダル入力(画像、音声、動画、PDF)をサポート。20MBを超えるファイルはCloud Storage経由でルーティング。自動履歴付きチャットセッション、リアルタイム表示のためのストリーミング応答、構造化JSON出力の強制を含む。ChromeのGemini Nanoを介したデバイス上のハイブリッド推論を提供し、クラウド実行への自動フォールバックを備える。本番環境ではApp Checkが必要。
official
firebase-ai-logic-basics
firebase
Firebase AI Logic(Gemini API)をウェブアプリケーションに統合するための公式スキル。セットアップ、マルチモーダル推論、構造化出力、セキュリティをカバーします。
official
firebase-app-hosting-basics
firebase
Firebase App Hostingを使用して、Next.js、Angular、その他サポートされているフレームワークを用いたフルスタックWebアプリをデプロイおよび管理します。FirebaseプロジェクトがBlaze料金プランである必要があり、サーバーサイドレンダリング(SSR)およびインクリメンタル静的再生成(ISR)ワークフローをサポートします。バックエンド設定用のオプションのapphosting.yamlを伴うfirebase.json設定を介してデプロイするか、GitHub統合を通じて自動化された「git push to deploy」を有効にします。機密キーへの安全なアクセスのためのCLIコマンドによるシークレット管理を含みます。
official