Cloud Firestore 开发
原名:firebase-firestore
设计 Firestore 数据结构、查询、事务、索引和访问方式。
中文 Skills 技能说明
适合实时应用和文档型数据;先从访问模式决定集合与索引,核对事务、一致性、费用和安全规则,避免把管理员凭据放到客户端。能力依赖用户自己的 Firebase 或 Google Cloud 项目;中国大陆可用性、区域、账号、费用、应用商店和数据跨境要求需由使用方自行确认。执行前应读取项目现状和官方文档,输出目标、依据、影响、验证结果与回退方式;没有真实证据时要明确说明未知,不编造配置或成功状态。 创建、修改、部署、发布、迁移、删除或产生费用的操作,必须先展示具体目标和差异并获得人工确认。 代码、日志、连接串、令牌、客户信息和业务数据按敏感内容处理,只读取任务所需范围,上传或外发前完成授权、脱敏和最小化。
上游能力依据
上游原始适用说明:Sets up, manages, queries, and configures Cloud Firestore databases (Standard/Enterprise edition), including data modeling, security rules, indexes, and SDK integrations (Web, Python, iOS, Android, Flutter). Use when creating/listing Firestore databases, defining data models/indexes, writing SDK queries, or integrating Firestore SDKs. Don't use for Firebase Hosting, Data Connect, Auth, Storage/GCS, Crashlytics, Functions, or BigQuery.
上游 SKILL.md 主要章节(保留原文标题):
- 1. Instance Selection and Edition Detection
- A. Instance Found
- B. No Instance Found (or New Requested)
- 2. Specialized Guides
- Standard Edition (references/standard/)
- Enterprise Edition / Native Mode (references/enterprise/)
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- Google LLC 与 firebase/agent-skills contributors
- 中文翻译
- CEOFans翻译
- 许可证
- Apache-2.0
- 上游来源
- https://github.com/firebase/agent-skills/tree/a0b4e143f40c1ebe05fe5f9a4787fecd4da8f478/skills/firebase-firestore
适用范围
平台:linux、macos、windows;标签:软件开发、Cloud Firestore 开发
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。