本文へ移動
cccskills
無料GitHub で公開

mobile-firebase

Integrates and reviews Firebase across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform. Covers Auth, databases, Storage, Functions, FCM, Analytics, Crashlytics, Remote Config, App Check and KMP shared-to-platform SDK boundaries. Use for any Firebase setup, bug, security rule, emulator, configuration file or product integration.

インストール方法を見る

含まれるファイル(59)

  • SKILL.md3.6 KB
  • references/android.md2.2 KB
  • references/android/ai-logic.md1.6 KB
  • references/android/analytics.md1.8 KB
  • references/android/app-check.md1.6 KB
  • references/android/auth.md2.2 KB
  • references/android/crashlytics.md1.6 KB
  • references/android/firestore.md1.9 KB
  • references/android/functions.md1.6 KB
  • references/android/in-app-messaging.md1.4 KB
  • references/android/messaging.md1.8 KB
  • references/android/realtime-database.md1.9 KB
  • references/android/remote-config.md1.7 KB
  • references/android/sql-connect.md1.6 KB
  • references/android/storage.md1.6 KB
  • references/flutter.md1.9 KB
  • references/flutter/ai-logic.md2.7 KB
  • references/flutter/analytics.md3.3 KB
  • references/flutter/app-check.md4.3 KB
  • references/flutter/auth.md7.2 KB
  • references/flutter/crashlytics.md5.2 KB
  • references/flutter/firestore.md6.2 KB
  • references/flutter/functions.md4.0 KB
  • references/flutter/in-app-messaging.md3.5 KB
  • references/flutter/messaging.md5.9 KB
  • references/flutter/realtime-database.md5.7 KB
  • references/flutter/remote-config.md3.8 KB
  • references/flutter/setup-flutterfire.md4.2 KB
  • references/flutter/sql-connect.md2.2 KB
  • references/flutter/storage.md4.0 KB
  • references/ios.md1.5 KB
  • references/ios/ai-logic.md1.4 KB
  • references/ios/analytics.md1.7 KB
  • references/ios/app-check.md1.5 KB
  • references/ios/auth.md2.1 KB
  • references/ios/crashlytics.md1.9 KB
  • references/ios/firestore.md1.9 KB
  • references/ios/functions.md1.5 KB
  • references/ios/in-app-messaging.md1.3 KB
  • references/ios/messaging.md2.4 KB
  • references/ios/realtime-database.md1.7 KB
  • references/ios/remote-config.md1.5 KB
  • references/ios/sql-connect.md1.6 KB
  • references/ios/storage.md1.5 KB
  • references/kotlin-multiplatform.md1.4 KB
  • references/react-native.md2.2 KB
  • references/react-native/ai-logic.md1.5 KB
  • references/react-native/analytics.md1.6 KB
  • references/react-native/app-check.md1.5 KB
  • references/react-native/auth.md2.1 KB
  • references/react-native/crashlytics.md1.6 KB
  • references/react-native/firestore.md1.6 KB
  • references/react-native/functions.md1.3 KB
  • references/react-native/in-app-messaging.md1.2 KB
  • references/react-native/messaging.md2.0 KB
  • references/react-native/realtime-database.md1.6 KB
  • references/react-native/remote-config.md1.4 KB
  • references/react-native/sql-connect.md913 B
  • references/react-native/storage.md1.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Mobile Firebase

One skill for Firebase on every mobile stack. This file holds what is true for every platform and product; setup, APIs and pitfalls live in the references.

1. Pick the references

Detect the stack first, then read the platform guide (shared setup and the product list) and only the product guides the task needs:

ProjectRead
Flutterreferences/flutter.md
Native Android (Kotlin), or the Android side of Kotlin Multiplatformreferences/android.md
Native iOS (Swift)references/ios.md
React Native or Exporeferences/react-native.md
Kotlin Multiplatform shared API and Android/iOS Firebase boundariesreferences/kotlin-multiplatform.md

In a Flutter or React Native app, native code in android/ and ios/ (a notification service, an app extension) follows the native guides.

2. Configuration files are not secrets, but they are not protection either

google-services.json, GoogleService-Info.plist and the Firebase web config identify the project; they ship inside every app and anyone can extract them. What protects data is:

  • Security rules for Firestore, Realtime Database and Storage. Rules that allow reads or writes to everyone (allow read, write: if true, or test-mode rules left in production) are a critical finding.
  • App Check, so only the genuine app calls Firebase backends and AI Logic.
  • Server-side authorization in Cloud Functions: check auth and inputs; never trust the app.
  • API key restrictions in Google Cloud for the keys in those files.

3. Environments

Use separate Firebase projects for development and production, selected by build flavor, scheme or configuration — not by editing the config file before a release. Keep production data out of debug builds and out of tests.

4. Local Emulator Suite

Develop and test against the Firebase Local Emulator Suite (Auth, Firestore, Realtime Database, Storage, Functions) instead of production. Connect each product to the emulator before its first call, only in debug builds. The Android emulator reaches the host at 10.0.2.2.

5. Cost and performance

  • Real-time listeners bill reads on every change: listen to narrow queries, paginate, and remove listeners when screens go away.
  • Offline persistence is on by default for Firestore on mobile; design UI for pending writes instead of waiting for the server.
  • Keep Remote Config fetches and SDK initialization off the launch path when possible.

6. Privacy

Analytics, Crashlytics and Messaging collect data covered by store privacy disclosures (App Store privacy details and privacy manifests, Google Play Data safety). Never send personal data (emails, names, phone numbers) as analytics parameters, crash keys or user properties, and honor consent before enabling collection where the law requires it.

Output

When integrating, list the files changed, the console steps the user must do (enable a provider, upload an APNs key, create an index) and how to verify it works. When reviewing, report rules, App Check and privacy issues first, with file:line.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Audits and fixes mobile accessibility across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform, including shared Compose UI and native hosts. Covers TalkBack/VoiceOver labels, roles, state, reading order, touch targets, text scaling, contrast and focus. Use for a11y audits, screen-reader bugs or accessible UI implementation.

日本語の概要は準備中です。原文の説明を表示しています。

wrsilva/reis-mobile72026年9月24日 更新

Builds native Android apps with the Android team's guides — Jetpack Compose UI, adaptive layouts, edge-to-edge, Compose styles, migrating XML views to Compose, Navigation 3 and predictive back; Android Gradle Plugin 9 upgrades, R8 keep rule analysis, profiling with Android Studio and Perfetto, and the Android CLI; Google Play policy compliance, Play Billing upgrades and the Engage SDK; Credential Manager restore and verified email; CameraX and Media3 Cast; App Functions and the ML Kit GenAI Prompt API; Wear OS, Android TV and display glasses. Use when writing, upgrading or auditing native Android (Kotlin) code for any of these topics, even if the user does not name the library.

日本語の概要は準備中です。原文の説明を表示しています。

wrsilva/reis-mobile72026年9月24日 更新

Designs and reviews mobile architecture across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform. Covers state ownership, data flow, modules, dependency boundaries, navigation, offline data and KMP shared source sets versus host apps. Use when structuring a feature, choosing state management, refactoring layers or deciding where a real class or screen belongs.

日本語の概要は準備中です。原文の説明を表示しています。

wrsilva/reis-mobile72026年9月24日 更新

Reviews mobile code for production bugs across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform, including KMP source-set and host API contracts. Covers lifecycle, concurrency, UI state and native boundaries with file:line evidence. Use for a code review, PR, project audit, quality check or /reis-mobile:review.

日本語の概要は準備中です。原文の説明を表示しています。

wrsilva/reis-mobile72026年9月24日 更新

Diagnoses build and runtime failures across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform. Covers pub/Dart, Gradle/AGP, Xcode/CocoaPods, Metro, KMP source sets and iOS frameworks, crashes and deep links. Use for failing builds, app launches, stack traces or /reis-mobile:debug.

日本語の概要は準備中です。原文の説明を表示しています。

wrsilva/reis-mobile72026年9月24日 更新

Detects the mobile stack of the current project (Flutter, Android, iOS, React Native, Kotlin Multiplatform), its languages and target platforms, using the reis-mobile detector. Use when you need to know which mobile stack a project uses before reviewing, debugging or changing it, or when the user asks "what stack is this project?".

日本語の概要は準備中です。原文の説明を表示しています。

wrsilva/reis-mobile72026年9月24日 更新

wrsilva のスキルをすべて見る

このスキルの問題を報告する