Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.
中文简介正在准备中。当前显示原文说明。
Firebase for web and mobile apps: projects per environment, Authentication, Firestore and Storage security rules tested in the Emulator Suite, App Check, Cloud Functions, Hosting, and cost guards. Set up or review a Firebase project.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
In Firebase the client talks to the database directly, so security rules are the backend's authorization layer. Most Firebase incidents are rules that allow too much, and most surprise bills are reads nobody counted.
| Mode | Does |
|---|---|
setup | Projects per environment, SDK config, Auth, Emulator Suite, deploy targets |
rules | Writes or reviews Firestore and Storage rules, with tests in the emulator |
functions | Cloud Functions for Firebase: triggers, secrets, regions, deploys |
review | Checks a project against Phase 6 and gives a verdict |
Read firebase.json, .firebaserc, firestore.rules, storage.rules, firestore.indexes.json and the functions folder first. Check firebase --version (firebase-tools) and the SDK versions in the lockfile: APIs differ between majors.
.firebaserc and selected with firebase use <alias>. Never test against production.apiKey, projectId…) identifies the project and is not a secret; protection comes from rules, App Check and API key restrictions in Google Cloud, not from hiding it.firebase emulators:start) for Auth, Firestore, Storage and Functions in local development and in CI tests.// firestore.rules
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /users/{userId} {
allow read: if request.auth != null && request.auth.uid == userId;
// request.resource is the document as it will be after a write: keep write checks in their own rule
allow update: if request.auth != null && request.auth.uid == userId
&& request.resource.data.get('role', null) == resource.data.get('role', null);
allow create: if request.auth != null && request.auth.uid == userId;
}
match /{document=**} {
allow read, write: if false; // deny by default
}
}
}
allow read, write: if true or rules based only on request.auth != null (any signed-in user can read everyone's data) are findings.@firebase/rules-unit-testing against the emulator, in CI, for both allowed and denied cases. Storage rules get the same treatment.request.auth.token.region near the database, maxInstances to cap cost, minInstances only where cold starts hurt.defineSecret (stored in Secret Manager), never in source or plain environment config.firebase deploy --only functions:<name>,firestore:rules.firebase hosting:channel:deploy <name>) for PR previews; App Hosting for frameworks like Next.js where supported.| Area | Baseline |
|---|---|
| Rules | Deny by default, ownership checks, write validation, tests in CI |
| App Check | Enforced on data services used by clients |
| Environments | Separate projects; no production credentials in dev |
| Cost | On the pay-as-you-go plan, a budget alert in Google Cloud Billing; queries paginated and indexed; no listeners on large collections; maxInstances on functions |
| Backups | Firestore scheduled backups or PITR enabled for production (/backup-strategy) |
| Verdict | When |
|---|---|
| PASS | Baseline met and rules tested |
| CONCERNS | App Check not enforced, no budget alert, untested rules, functions without maxInstances |
| FAIL | Rules that let any user read or write other users' data, if true on real data, production used for testing, Admin credentials in client code |
firebase deploy to production and before changing rules there./accessibility and /frontend-dev for the client app./backup-strategy for Firestore backups and restores./supply-chain-security for the functions' dependencies.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.
中文简介正在准备中。当前显示原文说明。
Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.
中文简介正在准备中。当前显示原文说明。
Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.
中文简介正在准备中。当前显示原文说明。
Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.
中文简介正在准备中。当前显示原文说明。
Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.
中文简介正在准备中。当前显示原文说明。
Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.
中文简介正在准备中。当前显示原文说明。