firebase-firestore-standard
Comprehensive guide for Firestore Standard Edition, including provisioning, security rules, and SDK usage. Use this skill when the user needs help setting up Firestore, writing security rules, or using the Firestore SDK in their application.
npx skills add firebase/agent-skills --skill firebase-firestore-standardBefore / After 效果对比
1 组1允许所有用户读写数据的 Firestore 安全规则:`match /{document=**} { allow read, write: if true; }`1基于用户认证和数据所有权限制访问的 Firestore 安全规则:`match /users/{userId}/documents/{documentId} { allow read: if request.auth.uid == userId; allow write: if request.auth.uid == userId; }`description SKILL.md
name: firebase-firestore-standard
description: Comprehensive guide for Firestore Standard Edition, including provisioning, security rules, and SDK usage. Use this skill when the user needs help setting up Firestore, writing security rules, or using the Firestore SDK in their application.
compatibility: This skill is best used with the Firebase CLI, but does not require it. Install it by running npm install -g firebase-tools.
Firestore Standard Edition
This skill provides a complete guide for getting started with Cloud Firestore Standard Edition, including provisioning, securing, and integrating it into your application.
Provisioning
To set up Cloud Firestore in your Firebase project and local environment, see provisioning.md.
Security Rules
For guidance on writing and deploying Firestore Security Rules to protect your data, see security_rules.md.
SDK Usage
To learn how to use Cloud Firestore in your application code, choose your platform:
- Web (Modular SDK): web_sdk_usage.md
Indexes
For checking index types, query support tables, and best practices, see indexes.md.
forum用户评价 (0)
发表评价
暂无评价,来写第一条吧
统计数据
用户评分
为此 Skill 评分