firebase-data-connect
Skill by tutur3u
Guides an AI assistant through building Firebase SQL Connect schemas, authorized operations, and generated SDKs. Aimed at developers building apps on Firebase SQL Connect, which was formerly named Firebase Data Connect.
Install firebase-data-connect
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tutur3u/platform /tmp/platform && mkdir -p ~/.claude/skills && cp -r /tmp/platform/.agents/skills/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/tutur3u/platform /tmp/platform && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/platform/.agents/skills/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
Firebase SQL Connect is a relational database service that uses Cloud SQL for PostgreSQL. It provides a GraphQL schema, auto-generated queries and mutations, and type-safe SDKs. This skill walks an assistant through the workflow: defining the data model in schema/schema.gql, writing authorized operations in connector queries and mutations, and generating SDKs. It also notes that Firebase Data Connect was renamed to Firebase SQL Connect.
The skill links to reference files for schema, operations, security, realtime subscriptions, native SQL, search, data seeding, and platform SDKs for Web, Android, iOS, Admin Node.js, and Flutter. It recommends Native GraphQL by default and reserves Native SQL for explicit requests or advanced features such as PostGIS. It is intended for developers building apps on Firebase SQL Connect.
Written from the project's SKILL.md and checked against it.
What it can do
- Data model designDefines GraphQL types with @table, @col, @default, and relationships in schema.gql.
- Authorized operationsWrites queries and mutations with @auth levels, @check, and @redact for row-level security.
- Realtime subscriptionsUses the @refresh directive for polling and event-driven updates, scoped with CEL conditions.
- Native SQL operationsEmbeds raw SQL with _select, _execute, and positional parameters for advanced queries.
- Vector and full-text searchCovers Vector fields, @col(dataType: "vector"), and @searchable search.
- TransactionsUses @transaction and response binding to chain multi-step atomic operations.
- SDK generationConfigures JavaScript, Kotlin, and Swift SDK output in connector.yaml and generates them.
- Schema validationRuns dataconnect:compile to validate the schema and operations.
- Local emulator workflowStarts the dataconnect emulator and seeds local test data in seed_data.gql.
- DeploymentDeploys the SQL Connect service with firebase deploy --only dataconnect.
What you need
- Node.js, to run npx firebase-tools
- A Firebase project with SQL Connect initialized
Try asking
- Design a Firebase SQL Connect schema for a movie app with @table types.
- Write a SQL Connect mutation that upserts a user profile.
- Generate Web and Android SDKs for my SQL Connect connector.
Good to know
- Native SQL has no type safety and requires strict positional parameters.
- seed_data.gql is for local prototyping and test data only.
- Native SQL should only be used when requested or when advanced features are needed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/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 is Firebase SQL Connect?
It is a relational database service using Cloud SQL for PostgreSQL, with a GraphQL schema and generated type-safe SDKs. The skill states it was renamed from Firebase Data Connect.
Should queries use Native GraphQL or Native SQL?
Native GraphQL is the default and should be used for almost all cases. Native SQL is for explicit user requests or advanced features like PostGIS and window functions.
Which client platforms have SDK guides?
The skill includes reference guides for Web (TypeScript), Android (Kotlin), iOS (Swift), Admin (Node.js), and Flutter (Dart).
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 published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is firebase-data-connect safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality B. 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.
