firebase-data-connect
Use when setting up Data Connect, writing GraphQL queries/mutations, configuring generated SDKs, handling offline, or applying security rules.
npx skills add evanca/flutter-ai-rules --skill firebase-data-connect --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 Data Connect Skill This skill defines how to correctly use Firebase Data Connect in Flutter applications. ## When to Use Use this skill when: * Setting up and configuring Firebase Data Connect in a Flutter project. * Designing schemas, queries, and mutations for Data Connect. * Implementing generated SDK calls for typed queries and mutations. * Handling network failures, data inconsistencies, and offline scenarios. * Applying security and performance best practices. --- ## 1. Setup and Configuration ### Step 1: Install the package ``` flutter pub add firebase_data_connect ``` ### Step 2: Import and initialize ```dart import 'package:firebase_data_connect/firebase_data_connect.dart'; import 'package:firebase_core/firebase_core.dart'; import 'firebase_options.dart'; await Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform, ); ``` ### Step 3: Define a schema in `dataconnect/schema/schema.gql` ```graphql type Movie @table { id: UUID! @default(expr: "uuidV4()") title: String! releaseYear: Int genre: String rating: Float description: String } ``` ### Step 4: Define queries and mutations in `dataconnect/connector/queries.gql` ```graphql query ListMovies @au
- When to Use
- 1. Setup and Configuration
- Step 1: Install the package
- Step 2: Import and initialize
- Step 3: Define a schema in dataconnect/schema/schema.gql
- Step 4: Define queries and mutations in dataconnect/connector/queries.gql
- Step 5: Generate the typed Flutter SDK
- 2. Executing Queries and Mutations
- Real-Time Listeners
- 3. Performance and Caching
- 4. Error Handling
- 5. Security
- References
What does the firebase-data-connect skill do?
Use when setting up Data Connect, writing GraphQL queries/mutations, configuring generated SDKs, handling offline, or applying security rules.
How do I install it?
Run `npx skills add evanca/flutter-ai-rules --skill firebase-data-connect --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.
