firebase-data-connect Skill for Claude: Build Firebase SQL Connect Backends
firebase-data-connect, from Google's Firebase team, guides your agent to build Firebase SQL Connect backends on PostgreSQL with GraphQL schemas and typed SDKs.
- Installs
- 172.2K
- on skills.sh
- Stars
- 497
- on GitHub
- Files
- 16
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
firebase-data-connect makes the agent build Firebase SQL Connect, the new name for Firebase Data Connect. It is a relational service on Cloud SQL for PostgreSQL with a GraphQL schema, generated queries and mutations, and typed SDKs.
The agent follows a fixed workflow: define the data model in schema.gql, write authorized queries and mutations, then generate SDKs for your platform. It defaults to native GraphQL and uses native SQL only when you ask or need things like PostGIS or window functions. The SKILL.md also covers vector and full-text search, realtime subscriptions, upserts, transactions, Cloud Functions triggers and data seeding.
Local work uses the emulator. Putting it on Cloud SQL is a separate deploy step.
Good for
- Developers who want a relational Postgres backend with generated typed SDKs
- Teams writing authorized queries and mutations with row-level checks
- Mobile and web developers using generated Kotlin, Swift, TypeScript or Dart SDKs
Install firebase-data-connect
Claude Code
- 1
Copy this prompt.
Install the firebase-data-connect skill in Claude Code. Run this command: claude plugin marketplace add firebase/agent-skills claude plugin install firebase@firebase Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js 20+, Google account.
The plugin route is the one the Firebase skills recommend for Claude Code. It installs all 13 skills in the repo and a Firebase MCP server, which .mcp.json starts with npx -y firebase-tools@15.32.1 mcp --dir . (version at review time). Restart Claude Code afterwards. The skills CLI route installs only the skills named. Every route needs Node.js 20 or newer, and the skills run the Firebase CLI through npx, so you also sign in to Firebase with a Google account. The README writes the marketplace as firebase/skills; the repository is firebase/agent-skills, the name the vendor Claude Code setup guide uses.
From the vendor's docs. Source.
What's in the skill
When it loads
Builds and deploys Firebase SQL Connect (aka Firebase Data Connect) backends with PostgreSQL securely. Use when designing schemas with tables and relations, writing authorized queries and mutations, configuring real-time data updates, or generating type-safe SDKs. Use when you need a relational database with Firebase, or when the user mentions SQL Connect or Data Connect.
Sections in SKILL.md
- Project Structure
- Key Tools for Validation
- Operation Strategies: GraphQL vs. Native SQL
- Development Workflow
- 1. Define Data Model (schema/schema.gql)
- 2. Define Authorized Operations (connector/queries.gql, connector/mutations.gql)
- 3. Use type-safe SDK in your apps
- Feature Capability Map
- Deployment & CLI
- How to initialize SQL Connect in a Firebase project
- How to build apps using SQL Connect locally
- How to deploy SQL Connect to Cloud SQL
- Examples
Key facts
- Installs on skills.sh
- 172,235 as of 2026-11-02
- GitHub stars (whole repo)
- 497 as of 2026-11-02
- Last repo commit
- 2026-10-30
- skills.sh audits
- Gen Agent Trust Hub pass, Socket warn, Snyk pass
- Category
- Databases
What it includes
dataconnect/ with schema, connector, queries, mutations
dataconnect.yaml, seed_data.gql (local only), schema/schema.gql, connector/connector.yaml, queries.gql and mutations.gql.
Project structure@table, @col, @ref, data types
Reference: schema.md. Covers relations (one-to-many, many-to-many) and types such as UUID, Vector and JSON.
1. Define the data modelQueries, mutations, @auth, @check, @transaction
References: operations.md, security.md, realtime.md, native_sql.md. Covers filters, upserts, auth levels PUBLIC, USER and NO_ACCESS, subscriptions with @refresh, and raw SQL with positional parameters.
2. Write authorized operationsdataconnect:sdk:generate for web, Android, iOS, Flutter
SDK output folders are set in connector.yaml. Guides exist for web (TypeScript), Android (Kotlin), iOS (Swift), Admin Node.js and Flutter (Dart).
Runs code ·
3. Generate typed SDKsdataconnect:compile against the schema
The skill names reviewing the generated schema and running dataconnect:compile as its two checks.
Runs code ·
ValidateEmulator, seed data, compile, generate
emulators:start --only dataconnect, then write schema and operations, seed test data and validate.
Runs code ·
Run locallydeploy --only dataconnect to Cloud SQL
Initialise with init dataconnect, and push to Cloud SQL with deploy --only dataconnect.
Runs code ·
DeploySearch, seeding, Cloud Functions, templates
A table maps features to reference files, including vector search, full-text search, data seeding, Cloud Functions triggers (onMutationExecuted) and starter templates.
Feature map and examples
From the official docs
Permissions
Medium risk
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
The deploy step changes your cloud database
deploy --only dataconnect sends schema and connectors to Cloud SQL for PostgreSQL. Review schema changes first. github.com
It writes generated SDK code into your app folders
dataconnect:sdk:generate writes into the output folders set in connector.yaml, for example a web app src folder or an Android source folder. github.com
It runs the latest Firebase CLI through npx
Commands use npx -y firebase-tools@latest, which downloads and runs the newest published package each time. You sign in to Firebase with your Google account. github.com
The plugin route adds a Firebase MCP server
The Firebase plugin ships an .mcp.json that starts `npx -y firebase-tools@15.32.1 mcp --dir .` with IS_FIREBASE_MCP=true, so a Firebase MCP server runs in your project folder. The pinned version was 15.32.1 at review time. The skills CLI route does not add it. github.com
Technical details
| Talks to | Firebase and Google Cloud through the Firebase CLI |
|---|---|
| Scopes |
|
Questions
What does firebase-data-connect do?
It guides your agent to build a Firebase SQL Connect backend: a PostgreSQL database with a GraphQL schema, authorized queries and mutations, and typed client SDKs.
Is Data Connect the same as SQL Connect?
Yes. The SKILL.md says Firebase Data Connect was renamed Firebase SQL Connect, and everything it says about Data Connect applies to SQL Connect.
How do I install firebase-data-connect in Claude Code?
Use the install box above. The plugin route installs every Firebase skill and the MCP server. The skills CLI route installs only this skill, selected by its SKILL.md name, firebase-data-connect. In the repo its folder is skills/firebase-data-connect-basics, so look for that folder name on GitHub.
GraphQL or native SQL?
The skill defaults to native GraphQL for type safety. It uses native SQL only when you ask for it or need things like PostGIS or window functions.
Does it need an API key?
No API key is named in the SKILL.md. The Firebase CLI signs in with your Google account (npx -y firebase-tools@latest login), and most tasks need an active Firebase project.
Is firebase-data-connect safe to use?
Local work uses the emulator. The deploy step pushes schema and operations to Cloud SQL for PostgreSQL in your project, so check the active project and read the schema before you approve it.
Information
updated Nov 2, 2026
- Repository
- firebase/agent-skills
- Folder
skills/firebase-data-connect-basics
Sources
Docs, issue trackers and discussions this page is built from.
Show all 5Hide
- agent-skills README · github.com
- firebase-basics Claude Code setup · github.com
- Firebase plugin .mcp.json · github.com
- firebase-basics Cursor setup · github.com
- firebase-data-connect SKILL.md · github.com