Firebase Emulator Suiteの起動・停止・管理ワークフロー。「エミュレーター」「Firebase」「Firestore」「Auth」「ローカル開発」などのキーワードで自動適用。
Manages Firebase Emulator Suite for local development. Starts, stops, and checks status of emulators when you mention "Firebase" or "emulator" in your requests.
/plugin marketplace add no-problem-dev/claude-code-plugins/plugin install firebase-emulator@no-problem-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Firebase Emulator Suite のローカル開発環境管理ワークフロー。
| コマンド | 用途 |
|---|---|
/firebase-emulator:emulator-start | エミュレーター起動(バックグラウンド) |
/firebase-emulator:emulator-stop | エミュレーター停止 |
/firebase-emulator:emulator-status | 状態確認 |
開発開始 → emulator-start(バックグラウンド起動)
↓
iOS/Backend 開発
↓
開発終了 → emulator-stop(リソース解放)
| 変数 | 説明 | デフォルト |
|---|---|---|
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 でプロジェクトを初期化
Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.