firebase-development:debug
Firebase開発の問題をデバッグする
Firebase開発の問題は、体系的なアプローチなしではトラブルシューティングが難しい場合があります。このスキルは、エミュレータの問題、ルール違反、関数エラー、認証の問題、デプロイメントの失敗を診断するための段階的なワークフローを提供します。
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "firebase-development:debug". Firebase emulators are not starting. I see port conflict errors.
Résultat attendu:
- Firebaseエミュレータのポート競合をデバッグするお手伝いをします。以下に体系的なアプローチを示します:
- 1. lsofコマンドを使用して使用中のポートを特定する
- 2. 競合するプロセスを終了させる
- 3. 再起動前に既存のエミュレータデータをエクスポートする
- 4. 適切な構成でエミュレータを再起動する
- 各ステップの詳細を説明リーはありますか?
Audit de sécurité
SûrThis is a pure documentation skill containing only markdown text and workflow guidance. No executable code, scripts, network calls, or file system access. The skill provides debugging instructions for Firebase development issues.
Score de qualité
Ce que vous pouvez construire
エミュレータの起動問題
Firebaseエミュレータが起動しない場合のポート競合と初期化エラーを解決する
ルール違反
PERMISSION_DENIEDエラーを診断し、Firestoreセキュリティルールを修正する
関数デプロイメントの失敗
Cloud Functionsエラーとデプロイメント構成問題をデバッグする
Essayez ces prompts
Firebase emulators are not starting. I see port conflict errors. Help me debug this issue.
Getting PERMISSION_DENIED errors when trying to write to Firestore in the emulator. Debug my security rules.
My Cloud Function is not executing. It times out and shows no errors. Help me debug this.
Firebase Auth is not working in the emulator. Tokens are being rejected. Debug my auth setup.
Bonnes pratiques
- テストデータを保持するため、再起動前に常にエミュレータデータをエクスポートしてください
- デプロイ前にエミュレータUIのルールズプレイグラウンドを使用してルールをテストしてください
- 将来の参照のためにdocs/debugging-notes.mdにデバッグステップと解決策を文書化してください
Éviter
- まずデータをエクスポートせずにemulatorにkill -9を使用する
- ルールズプレイグラウンドをスキップしてルール問題を推測する
- デバッグではなく本番でテストする