firebase-data-connect
Skill by SamarthaKV29
Builds and deploys Firebase SQL Connect backends on Cloud SQL for PostgreSQL. It is for developers who need a relational database with Firebase and want a GraphQL schema with type-safe SDKs.
Install firebase-data-connect
Built from the published package, never by AI.
git clone --depth 1 https://github.com/SamarthaKV29/antigravity-god-mode /tmp/antigravity-god-mode && mkdir -p ~/.claude/skills && cp -r /tmp/antigravity-god-mode/plugins/firebase/skills/firebase_data_connect_basics ~/.claude/skills/firebase-data-connectRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/SamarthaKV29/antigravity-god-mode /tmp/antigravity-god-mode && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/antigravity-god-mode/plugins/firebase/skills/firebase_data_connect_basics ~/.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, also called Firebase Data Connect, is a relational database service. It uses Cloud SQL for PostgreSQL with a GraphQL schema, auto-generated queries and mutations, and type-safe SDKs. This skill guides an AI assistant through designing tables and relations, writing authorized queries and mutations, configuring real-time data updates, and generating SDKs. The source notes that Firebase Data Connect was renamed to Firebase SQL Connect.
The skill tells the assistant to default to native GraphQL operations. Native SQL is for cases where the user asks for it or the task needs advanced PostgreSQL features, such as PostGIS or window functions. It covers the workflow of starting the emulator, compiling the schema, generating SDKs, and deploying with the Firebase CLI. It is aimed at developers building apps on Firebase who need a relational database.
Written from the project's SKILL.md and checked against it.
What it can do
- Data modelingDefines tables and relations in a GraphQL schema using @table, @col and @default.
- Authorized operationsWrites queries and mutations with @auth levels, @check and @redact for access control.
- Upserts and transactionsUses _upsert for insert-or-update and @transaction for multi-step atomic operations.
- Real-time subscriptionsConfigures @refresh for time-based polling and event-driven updates with CEL conditions.
- Vector and full-text searchSupports Vector columns and @searchable fields for search features.
- Native SQLEmbeds raw SQL with _select, _selectFirst and _execute for advanced PostgreSQL features.
- Type-safe SDKsGenerates SDKs for Web, Android, iOS, Admin Node.js and Flutter from connector.yaml.
- Local emulatorStarts the dataconnect emulator and validates schema and operations with the Firebase CLI.
What you need
- Firebase project
- Firebase CLI (firebase-tools, run with npx)
- Cloud SQL for PostgreSQL, used through Firebase deployment
Try asking
- Design a SQL Connect schema for a movie app with tables and relations
- Write an authorized query that returns only the signed-in user's records
- Generate type-safe Web and Android SDKs from my connector config
Good to know
- Native SQL has no type safety and needs strict positional parameters like $1.
- Native GraphQL is the default and should be used for almost all cases.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/firebase/skills/firebase_data_connect_basics/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 that uses Cloud SQL for PostgreSQL with a GraphQL schema. The source says it was formerly named Firebase Data Connect.
When should I use native SQL instead of GraphQL?
The source says to use native SQL only when the user requests it or the task needs PostgreSQL extensions, window functions or complex aggregations. Native GraphQL is the default.
How do I deploy SQL Connect?
The source says to run the Firebase CLI deploy command with --only dataconnect to deploy to Cloud SQL.
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 NOASSERTION licence. The service it connects to may have its own pricing.
Is firebase-data-connect safe to use?
It scores 74 of 100. Grades: maintenance A, licence F, 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.
