firebase-data-connect
Skill by aiskillstore
Guides an AI assistant through building and deploying Firebase Data Connect backends on Cloud SQL for PostgreSQL. It covers schema design, GraphQL operations, authorization, and SDK generation for web, Android, iOS, and Flutter apps.
Install firebase-data-connect
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aiskillstore/marketplace /tmp/marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/marketplace/skills/firebase/firebase-data-connect ~/.claude/skills/firebase-data-connectRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/aiskillstore/marketplace /tmp/marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/marketplace/skills/firebase/firebase-data-connect ~/.gemini/antigravity-cli/skills/firebase-data-connectAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install firebase-data-connect in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill describes how to build Firebase Data Connect backends. Firebase Data Connect is a relational database service that uses Cloud SQL for PostgreSQL, with a GraphQL schema, auto-generated queries and mutations, and type-safe SDKs. The skill sets out a step-by-step workflow: define the data model in schema.gql, write operations in queries.gql and mutations.gql, add authorization, and generate SDKs.
The skill lists the project structure, including dataconnect.yaml, a schema folder and a connector folder, and gives common Firebase CLI commands for init, the local emulator, SDK generation and deployment. It points to separate reference files for schema, operations, security, SDKs, advanced features and configuration. It is aimed at developers building apps on Firebase who want a relational backend with generated client code.
Written from the project's SKILL.md and checked against it.
What it can do
- Schema designDefine GraphQL types as tables using @table, @col, @default and relationships such as @ref.
- Queries and mutationsWrite queries with filtering, ordering and pagination, and mutations for create, update and delete.
- UpsertsUse _upsert mutations to insert or update records, such as user profiles.
- TransactionsGroup multi-step operations atomically with @transaction and response binding.
- AuthorizationSet access levels with @auth (PUBLIC, USER, NO_ACCESS) and add row-level rules with @check and @redact.
- Vector searchStore and query vector data using the Vector type and @col(dataType: "vector").
- Full-text searchEnable full-text search on fields with @searchable.
- SDK generationGenerate type-safe client code for Android (Kotlin), iOS (Swift), Web (TypeScript) and Flutter (Dart).
- Local emulatorRun Data Connect locally with the firebase-tools emulator before deploying.
What you need
- Node.js to run npx firebase-tools commands
- A Firebase project with Data Connect set up
- Cloud SQL for PostgreSQL, used by Firebase Data Connect
Try asking
- Design a Data Connect schema for a blog with users, posts and comments.
- Write a Data Connect upsert mutation for user profiles.
- Add @auth rules so users can only read their own orders in Data Connect.
Good to know
- The reference files and examples.md that the skill links to are not included in the source, so the detailed syntax is not shown here.
- Requires the Firebase tools CLI and a Firebase project to deploy.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/firebase/firebase-data-connect/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to firebase-data-connect
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
firebase-data-connect: common questions
What database does Firebase Data Connect use?
The source says Firebase Data Connect uses Cloud SQL for PostgreSQL as its relational database.
Which app platforms get generated SDKs?
The source lists SDK generation for Android (Kotlin), iOS (Swift), Web (TypeScript) and Flutter (Dart).
How are access rules set in Data Connect?
The source says access is set with @auth levels PUBLIC, USER or NO_ACCESS, and row-level security uses @check and @redact.
How do I install firebase-data-connect?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is firebase-data-connect free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is firebase-data-connect safe to use?
It scores 68 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to firebase-data-connect?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
