firebase-cloud-functions
Use when calling callable functions (httpsCallable), passing data to server-side logic, handling function errors/timeouts, configuring regions, or testing with the Emulator Suite.
npx skills add evanca/flutter-ai-rules --skill firebase-cloud-functions --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Firebase Cloud Functions Skill This skill defines how to correctly call Firebase Cloud Functions from Flutter applications. ## When to Use Use this skill when: * Implementing callable Cloud Functions in a Flutter project. * Passing structured data to server-side functions and processing results. * Handling errors, timeouts, and retries for function calls. * Configuring region-specific function deployments. * Testing Cloud Functions locally with the Firebase Emulator Suite. --- ## 1. Setup and Configuration ``` flutter pub add cloud_functions ``` ```dart import 'package:cloud_functions/cloud_functions.dart'; // After Firebase.initializeApp(): final functions = FirebaseFunctions.instance; ``` - Initialize Firebase before using any Cloud Functions features. - For region-specific deployments, specify the region: ```dart final functions = FirebaseFunctions.instanceFor(region: 'europe-west1'); ``` - Deploy callable functions to Firebase **before** attempting to call them from the Flutter app. - Consider implementing **App Check** to prevent abuse of Cloud Functions. --- ## 2. Calling Functions Use `httpsCallable` to reference a function, then `call` to invoke it: ```dart final result =
- When to Use
- 1. Setup and Configuration
- 2. Calling Functions
- 3. Error Handling
- 4. Performance Optimization
- 5. Testing and Development
- References
What does the firebase-cloud-functions skill do?
Use when calling callable functions (httpsCallable), passing data to server-side logic, handling function errors/timeouts, configuring regions, or testing with the Emulator Suite.
How do I install it?
Run `npx skills add evanca/flutter-ai-rules --skill firebase-cloud-functions --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From evanca/flutter-ai-rules, a repository with 604 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
