协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
firebase-basics【开发与工程】Firebase CLI foundation for any project. Use when checking Firebase CLI version, authenticating with Firebase, setting active projects, initializing Firebase services, or running Firebase MCP commands. Triggers: firebase login, firebase use, firebase projects list, firebase init, firebase MCP, Firebase CLI setup, Firebase emulator start.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
NEVER use the naked firebase binary — always npx -y firebase-tools@latest <cmd>.
This guarantees the latest CLI version is used without polluting global node_modules.
Every command in this skill prepends npx -y firebase-tools@latest.
Check the project's CLAUDE.md to understand which Firebase services are in use and any
project-specific constraints (e.g. which services are intentionally NOT used, whether
Firestore is used as a canonical store or a status bus only, etc.).
Firebase project ID should be stored in an environment variable (e.g. FIREBASE_PROJECT_ID)
— never hardcoded.
Local Environment Setup:
npx -y firebase-tools@latest --version
Read references/local-env-setup.md for full setup.
Authentication:
npx -y firebase-tools@latest login
# Headless / remote shell:
npx -y firebase-tools@latest login --no-localhost
Active Project:
npx -y firebase-tools@latest use
# Set project from env var (preferred):
npx -y firebase-tools@latest use --add ${FIREBASE_PROJECT_ID}
npx -y firebase-tools@latest <cmd> — never bare firebasedeveloperknowledge_search_documents before
falling back to web search or memoryFIREBASE_AUTH_EMULATOR_HOST and related emulator
environment variables — without them, Admin SDK calls hit production Firebase with
dev tokensflutter-mobile — Firebase Auth integration in Flutter appsfirebase-hosting-basics — deploy static SPA to Firebase Hostingsecurity-reviewer — Firestore Security Rules audit