/ionic-capacitor-skills:ionic-firebasefrom ionic-capacitor-skills
Wires Firebase Auth (email/password, Google, Apple) and Cloud Firestore into an Ionic Capacitor app. Covers setup, native config files, auth flows, and Firestore read/write/realtime/offline.
Ships in ionic-capacitor-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The default backend for most Ionic apps. Auth handles sign-up / sign-in (including social providers); Firestore handles persistent data with realtime sync and offline support.
google-services.json, GoogleService-Info.plist): setup.mdTwo viable approaches:
| Approach | When to pick |
|---|---|
Firebase JS SDK (firebase npm package) | Web-first, simple cases, web/mobile parity. Works in browser, iOS WKWebView, Android WebView. Auth popups can be tricky on native. |
Capacitor Firebase plugins (@capacitor-firebase/*) | Native auth dialogs (Google sign-in via native sheets), offline Firestore via native SDKs, push via native FCM. More setup, much better UX. |
Recommendation: use the JS SDK for v1 (faster), migrate to @capacitor-firebase/* plugins when you hit native UX gaps (especially Google Sign-In, which is rough via web-only on Android).
This skill covers both — pick whichever fits.
apiKey, projectId, etc.) is safe to ship — Security Rules do the gating. See ../ionic-shared/references/environments-and-keys.md.npm install firebase
# OR for native plugins:
npm install @capacitor-firebase/app @capacitor-firebase/authentication @capacitor-firebase/firestore
npx cap sync
google-services.json / GoogleService-Info.plist also covers FCM. Wire push handling itself via ../ionic-shared/references/push-notifications.md — the plugin (@capacitor/push-notifications) is independent of Firebase Auth/Firestore but uses the same native config files.../ionic-deep-links/. Firebase Dynamic Links is shut down — your own deep-link infra is the path.@capacitor-firebase/authentication (this skill, auth.md). Don't also install @capacitor-community/apple-sign-in — see ../ionic-apple-sign-in/SKILL.md for when to use the standalone plugin instead.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub erkamyaman/ionic-capacitor-skills --plugin ionic-capacitor-skills18 skills in this plugin
/capacitor-foldableBuild Capacitor apps that adapt to foldable devices, iPhone Duo and Android foldables, with @erkamyaman/capacitor-foldable. Trigger when laying out around the crease or fold, reading the hinge angle or posture, using window size classes, polyfilling the Device Posture and Viewport Segments APIs, telling the outer display from the inner one, using rear display or dual screen on an Android foldable, moving an Ionic tab bar where iPhone Duo puts native bars, or testing on the iPhone Duo simulator or a foldable emulator./ionic-analyticsAdd product analytics to an Ionic Capacitor app — Firebase Analytics or PostHog. Trigger when adding event tracking, screen views, funnel analytics, A/B testing, or user behavior tracking to an Ionic mobile app./ionic-angularBuild a production-ready Ionic Capacitor mobile app with Angular standalone components, lazy-loaded routes, services for cross-cutting concerns, and @ngx-translate/core for i18n. Trigger when the user wants to create an Ionic Angular app, scaffold pages (onboarding, paywall, tabs, settings), or wire RevenueCat / AdMob / push notifications into an Angular Ionic project./ionic-app-icon-splashGenerate every iOS and Android app icon and splash screen size from a single source PNG using @capacitor/assets. Trigger when adding app icons, generating splash screens, replacing the default Capacitor icon, or shipping any Ionic Capacitor app to a store (icons are non-optional)./ionic-apple-sign-inAdd "Sign in with Apple" to an Ionic Capacitor app via @capacitor-community/apple-sign-in. Trigger when adding social login on iOS, integrating Apple ID as a sign-in method, or when App Review requires Sign in with Apple alongside other social logins./ionic-attRequest iOS App Tracking Transparency (ATT) permission so AdMob can serve personalized ads on iOS 14+ without App Review rejecting the build. Trigger when adding ATT, IDFA permission, or "iOS personalized ads" to an Ionic Capacitor app.Other plugins' skills for the same job