live-dev-storage-init
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselive-dev-storage-init
live-dev-storage-init
This skill handles backend resource provisioning specifically for Firebase and Firestore database setup.
bashresources/*.js本Skill专门处理Firebase和Firestore数据库设置的后端资源配置。
bashresources/*.js1. Firebase & Firestore Provisioning
1. Firebase & Firestore 配置
Configure or verify Firebase resources in this order:
| Resource | Skip if | Constraints |
|---|---|---|
| Firebase project | | Project ids are globally unique → generate |
| Firestore database | it already exists | id is the literal |
| file exists | |
| never skip | author before deploying: |
- Blaze-plan features (Cloud Functions, outbound calls from triggers) need a card entered in the Console — the CLI cannot do it. This is the only legitimate console visit. On any billing/plan error: stop → name the single step → link → resume on confirmation.
https://console.firebase.google.com/project/<id>/usage/details - Local QA verification using Firestore emulator should follow rules in .
references/react-firestore-rules.md
按以下顺序配置或验证Firebase资源:
| 资源 | 可跳过条件 | 约束 |
|---|---|---|
| Firebase项目 | 已存在 | 项目ID全局唯一 → 生成格式为 |
| Firestore数据库 | 已存在 | ID为字面量 |
| 文件已存在 | |
| 不可跳过 | 部署前编写规则: |
- Blaze计划功能(Cloud Functions、触发器的出站调用)需要在控制台中绑定银行卡 — CLI无法完成此操作。这是唯一需要访问控制台的合法场景。遇到任何计费/计划错误时:停止操作 → 明确说明这一步骤 → 链接→ 确认后再继续。
https://console.firebase.google.com/project/<id>/usage/details - 使用Firestore模拟器进行本地QA验证时,请遵循中的规则。
references/react-firestore-rules.md