firebase-firestore

द्वारा firebase

निर्भरताएँ स्थापित करने, डेटा मॉडल लिखने या सुरक्षा नियम कॉन्फ़िगर करने से पहले, आपको हमेशा Firestore इंस्टेंस संस्करण की पहचान करनी चाहिए।

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

Cloud Firestore Database and Operations

[!IMPORTANT] Security Rules Authoring (firestore.rules) Whenever your task requires creating, authoring, or modifying firestore.rules:

  • If subagent delegation AND the firestore-rules-author subagent are available: delegate authoring firestore.rules to the firestore-rules-author subagent rather than writing firestore.rules directly in the main agent.
  • If subagent delegation is unavailable (e.g., subagents not enabled in the IDE) OR firestore-rules-author is not installed: read and follow the firestore-rules-creation skill to write firestore.rules directly.

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:

npx -y firebase-tools@latest firestore:databases:list

A. Instance Found

  1. For each database found, inspect its edition and details:

    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:

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 की और Skills

developing-genkit-dart
firebase
We need to translate the given English text to Hindi. The text describes a unified AI SDK for Dart. We must preserve product names, protocol names, URLs, numbers, technical terms. The name "developing-genkit-dart" is not in the text, so we don't include it. We translate only the text inside <text>. No extra commentary, labels, etc. Let's break down the text: "Unified AI SDK for Dart enabling code generation, structured outputs, tools, flows, and agents. Provides core APIs for generation, tool definition, flow orchestration, embeddings, and streaming with a single interface Includes 8+ plugins for LLM providers (Google Gemini, Anthropic Claude, OpenAI GPT), Firebase AI, Model Context Protocol, Chrome browser integration, and HTTP server hosting via Shelf Built-in CLI with local development UI for flow execution, tracing, model experimentation, and..." We need to translate into Hindi. Keep technical terms like SDK, APIs, plugins, LLM, Google Gemini, Anthropic Claude, OpenAI GPT, Firebase AI, Model Context Protocol, Chrome,
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 परिवर्तनों के कारण
extension-to-functions-codebase
firebase
एक स्थापित Firebase एक्सटेंशन (या एक्सटेंशन स्रोत) को स्टैंडअलोन Cloud Functions for Firebase कोडबेस या प्रकाशन योग्य npm पैकेज में परिवर्तित करने के लिए स्किल,…
firebase-ai-logic
firebase
वेब ऐप्स के लिए क्लाइंट-साइड जेमिनी एकीकरण, जिसमें मल्टीमॉडल अनुमान, स्ट्रीमिंग और ऑन-डिवाइस हाइब्रिड निष्पादन शामिल है। केवल-टेक्स्ट और मल्टीमॉडल इनपुट (चित्र, ऑडियो, वीडियो, PDF) का समर्थन करता है; 20 MB से अधिक की फ़ाइलें क्लाउड स्टोरेज के माध्यम से रूट होती हैं। इसमें स्वचालित इतिहास वाले चैट सत्र, रीयल-टाइम प्रदर्शन के लिए स्ट्रीमिंग प्रतिक्रियाएँ और सं
firebase-ai-logic-basics
firebase
फायरबेस AI लॉजिक (Gemini API) को वेब एप्लिकेशन में एकीकृत करने के लिए आधिकारिक कौशल। सेटअप, मल्टीमॉडल इन्फ्रेंस, संरचित आउटपुट और सुरक्षा को शामिल करता है।
firebase-app-hosting-basics
firebase
Firebase App Hosting के साथ Next.js, Angular और अन्य समर्थित फ्रेमवर्क का उपयोग करके फुल-स्टैक वेब ऐप्स को डिप्लॉय और प्रबंधित करें। Blaze मूल्य योजना पर Firebase प्रोजेक्ट आवश्यक है; सर्वर-साइड रेंडरिंग (SSR) और इंक्रीमेंटल स्टैटिक रीजनरेशन (ISR) वर्कफ़्लो का समर्थन करता है। बैकएंड सेटअप के लिए वैकल्पिक apphosting.yaml के साथ firebase.json कॉन्फ़िगरेशन के माध्यम से डिप्लॉय करें, या GitHub एकीकरण के माध्यम से स्वचालित "git push to deploy
firebase-auth-basics
firebase
Firebase Authentication को कई पहचान प्रदाताओं और सुरक्षित डेटा एक्सेस नियमों के साथ सेट अप करें। ईमेल/पासवर्ड, फ़ोन नंबर, अनाम, फ़ेडरेटेड प्रदाताओं (Google, Facebook, Twitter, GitHub, Microsoft, Apple) और कस्टम ऑथ इंटीग्रेशन का समर्थन करता है। प्रत्येक प्रमाणित उपयोगकर्ता को Firebase सेवाओं तक पहुँचने के लिए एक अद्वितीय ID और JWT-आधारित टोकन (अल्पकालिक ID टोकन और दीर्घकालिक रिफ्रेश टोकन) प्राप्त होते हैं। Google Sign In, अनाम और ईमेल
firebase-basics
firebase
Firebase प्रोजेक्ट सेटअप और AI एजेंट एकीकरण के लिए CLI वर्कफ़्लो। firebase-local-env-setup स्किल और Firebase CLI इंस्टॉलेशन का पूर्व समापन आवश्यक है। मुख्य वर्कफ़्लो में firebase login के माध्यम से प्रमाणीकरण, अद्वितीय आईडी के साथ प्रोजेक्ट निर्माण, और इंटरैक्टिव firebase init कमांड के माध्यम से सेवा आरंभीकरण शामिल है। सेटअप के दौरान फीचर चयन का समर्थन करता है जिसमें Firestore, Functions, और Hosting शामिल हैं, जिसमें स्वचालित कॉन्फ़िगरेशन फ़