mcpField
F
firebase-firestore-basics

firebase-firestore-basics

github.com/firebase数据与数据库4911.6k 次安装1 天前更新
代码仓库

关于 firebase-firestore-basics

firebase-firestore-basics 是帮助开发者入门 Cloud Firestore 的 Skill,涵盖资源配置、安全规则、Web Modular SDK 用法和索引。

主要功能

  1. 01Firestore 项目配置指南
  2. 02Security Rules 编写与部署指南
  3. 03Web Modular SDK 使用指南
  4. 04索引类型与查询支持参考

适用场景

  1. 01在 Firebase 项目中配置 Firestore
  2. 02使用 Security Rules 保护 Firestore 数据
  3. 03在 Web 应用中集成 Firestore
  4. 04查询索引和查询支持情况

安装

复制下面的命令,在终端中运行。

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

安装后在 Claude Code 中输入/firebase-firestore-basics确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

references/
indexes.md
provisioning.md
security_rules.md
web_sdk_usage.md

详细介绍

Firestore 基础

此技能提供 Cloud Firestore 入门完整指南,包括如何配置、保护并将其集成到应用中。

配置

如需了解如何在 Firebase 项目和本地环境中设置 Cloud Firestore,请参阅 provisioning.md。

安全规则

如需了解如何编写和部署 Firestore 安全规则来保护数据,请参阅 security_rules.md。

SDK 用法

如需了解如何在应用代码中使用 Cloud Firestore,请选择平台:

索引

如需查看索引类型、查询支持表格和最佳实践,请参阅 indexes.md。

评论

支持 Markdown