firebase-development-project-setup
新しいFirebaseプロジェクトの設定
新しいFirebaseプロジェクトを開始するには、長期的なメンテナンス性に影響する多くのアーキテクチャ上の決定が必要です。このスキルは、CLI設定、アーキテクチャパターン、および本番デプロイから実証されたベストプラクティスを使用したエミュレーター構成をガイドします。
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "firebase-development-project-setup". I need to start a new Firebase project with TypeScript and emulators
النتيجة المتوقعة:
- Step 1: Verify Firebase CLI and login status
- Step 2: Create project directory with git initialization
- Step 3: Run firebase init with Firestore, Functions, Hosting, Emulators
- Step 4: Configure architecture choices (hosting, auth, functions, security)
- Step 5: Set up firebase.json with emulator configuration
- Step 6: Create functions structure based on architecture pattern
- Step 7: Configure Firestore security rules
- Step 8: Set up Vitest with emulator configuration
- Step 9: Start emulators and verify all services
- Step 10: Create initial tests and verify build passes
استخدام "firebase-development-project-setup". Set up a Firebase project with Express API functions and Firebase Auth
النتيجة المتوقعة:
- Creating project structure for Express API architecture
- Setting up middleware, tools, and services directories
- Configuring Firebase Auth with login UI integration
- Creating API key guard for programmatic access
- Installing express, cors, firebase-admin, firebase-functions
- Configuring emulator single-project mode
التدقيق الأمني
آمنThis is a pure documentation skill containing only guidance for Firebase project setup. All 103 static findings are false positives: markdown backticks were misidentified as shell execution, text patterns were misclassified as cryptographic references, and heuristic patterns triggered on standard development documentation. The skill provides only instructional content with no executable code, network calls, or credential access capabilities. Environment file references (lines 77, 139, 141, 172) document proper .gitignore practices and emulator configuration templates, not credential access. Localhost URLs (127.0.0.1:4000) are for Firebase emulator UI only.
عوامل الخطر
🌐 الوصول إلى الشبكة (5)
⚙️ الأوامر الخارجية (73)
📁 الوصول إلى نظام الملفات (1)
درجة الجودة
ماذا يمكنك بناءه
新しいFirebaseプロジェクトの初期化
TypeScriptファンクション、エミュレーターテスト、適切なアーキテクチャパターンで本番対応のFirebaseプロジェクトを開始します。
クラウドファンクションのアーキテクチャ
ユースケースに基づいて適切なファンクションアーキテクチャ(Express API、ドメイングループ化、または個別ファイル)を選択します。
ローカルエミュレーターの設定
本番にデプロイする前に、適切なテストインフラストラクチャでローカル開発用のFirebaseエミュレーターを構成します。
جرّب هذه الموجهات
新しいFirebaseプロジェクトを開始する必要があります。TypeScriptファンクションで初期化し、ローカル開発用のエミュレーターを設定してください。
ファンクションにExpress APIアーキテクチャ、認証にFirebase Auth、複数のホスティングサイトを使用して新しいFirebaseプロジェクトを作成してください。
完全なFirebaseプロジェクトを設定してください:TypeScriptファンクション、ドメイングループ化構造、クライアント書き込みセキュリティモデル、およびVitestテスト構成。
Biomeリンティング、エミュレーター構成、CI/CDデプロイですべての必要な設定ファイル готовな 本番対応のFirebaseプロジェクト構造を作成してください。
أفضل الممارسات
- 最初から常にエミュレーターを構成します - これにより、クラウドコストを発生させることなくテストが可能になります
- アーキテクチャパターンを早期に選択(Express API vs ドメイングループ化 vs 個別ファイル)して一貫性を維持します
- すべてのファンクションにTypeScriptを使用し、すべてのファイルにABOUTMEコメントを追加して検索可能性を高めます
تجنب
- エミュレーター設定をスキップして本番に対して直接テストします - これによりコストが発生し、データがリスクにさらされます
- ファンクション間でアーキテクチャパターンを選択的に一貫性なく使用します - 技術的負債につながります
- 機能を記述する前にCI/CDとテストインフラストラクチャを設定しません
الأسئلة المتكررة
クラウドファンクションにはどのアーキテクチャパターンを選択すればよいですか?
初期化中にどのFirebaseサービスを有効にする必要がありますか?
クラウドコストを発生させずにテストするにはどうすればよいですか?
このスキルを使用するとデータは安全ですか?
Firebase CLIが見つからないエラーが表示されます。なぜですか?
Firebase Consoleとどう異なりますか?
تفاصيل المطور
المؤلف
2389-researchالترخيص
MIT
المستودع
https://github.com/2389-research/claude-plugins/tree/main/firebase-development/skills/project-setupمرجع
main
بنية الملفات
📄 SKILL.md