From firebase-emulator
Firebase Emulator Suite の起動・停止・管理ワークフロー。「エミュレーター」「Firebase」「Firestore」「Auth」「ローカル開発」などのキーワードで自動適用。
How this skill is triggered — by the user, by Claude, or both
Slash command
/firebase-emulator:firebase-emulator-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Firebase Emulator Suite のローカル開発環境管理ワークフロー。
Firebase Emulator Suite のローカル開発環境管理ワークフロー。
| スキル | 用途 | 使いどころ |
|---|---|---|
| emulator-control | 起動・停止・状態確認 | 「エミュレーター起動」「停止」「状態」 |
開発開始 → emulator-control(起動)
↓
iOS / Backend 開発
↓
開発終了 → emulator-control(停止)
| 変数 | 説明 | デフォルト |
|---|---|---|
FIREBASE_PROJECT_ID | プロジェクトID | 自動検出 |
EMULATOR_PORT_FIRESTORE | Firestore ポート | 8090 |
EMULATOR_PORT_AUTH | Auth ポート | 9099 |
EMULATOR_PORT_STORAGE | Storage ポート | 9199 |
EMULATOR_PORT_UI | UI ポート | 4000 |
以下の順序で Firebase 設定を検出:
FIREBASE_DIRfirebase.jsonfirebase/ サブディレクトリ起動後、ブラウザで確認:
http://localhost:4000
let settings = Firestore.firestore().settings
settings.host = "localhost:8090"
settings.isSSLEnabled = false
Firestore.firestore().settings = settings
os.Setenv("FIRESTORE_EMULATOR_HOST", "localhost:8090")
os.Setenv("FIREBASE_AUTH_EMULATOR_HOST", "localhost:9099")
Port 8090 is already in use
対処: 既存のプロセスを終了
lsof -ti :8090 | xargs kill -9
Error: No Firebase project directory found
対処: firebase init でプロジェクトを初期化
npx claudepluginhub no-problem-dev/claude-code-plugins --plugin firebase-emulatorSets up Firebase CLI, authenticates, and configures active projects. Use when initializing Firebase or setting up google-services.json / GoogleService-Info.plist.
Guides Firebase usage including Auth, Firestore, Realtime DB, Cloud Functions, Storage, and Hosting. Covers security rules, data modeling for query patterns, and denormalization.
Designs, implements, and deploys Firebase apps with secure Vertex AI Gemini integration in Cloud Functions for Auth, Firestore, Storage, Hosting.