
Firebase Data Connect
This skill helps Claude build Firebase backends with PostgreSQL through GraphQL schemas, handling everything from table definitions to type-safe SDK generation across Web, iOS, Android, and Flutter. It defaults to GraphQL operations for type safety but can drop into raw SQL when you need PostgreSQL-specific features like PostGIS or window functions. The workflow is structured around schema definition, authorized operations with row-level security, and real-time subscriptions. Particularly solid on the security model since Firebase Data Connect (now SQL Connect) is secure by default, requiring explicit auth directives. If you're tired of managing your own Postgres infrastructure or want Firebase Auth integration with relational data, this handles the boilerplate and generates client code that actually knows your schema.
- GitHub stars
- 348
- last updated
- Jun 10, 2026
Install
$ npx -y skills add firebase/agent-skills --skill firebase-data-connect --agent claude-codeInstalls into .claude/skills of the current project.
Files
Firebase SQL Connect
Firebase SQL Connect is a relational database service using Cloud SQL for PostgreSQL with GraphQL schema, auto-generated queries/mutations, and type-safe SDKs.
[!NOTE] Product Rename: Firebase Data Connect was renamed to Firebase SQL Connect. All instructions, references, and examples in this skill repository referring to "Data Connect" or "Firebase Data Connect" apply to "SQL Connect" and "Firebase SQL Connect" as well.
Project Structure
dataconnect/
├── dataconnect.yaml # Service configuration
├── seed_data.gql # LOCAL ONLY — prototype/test data
├── schema/
│ └── schema.gql # Data model (types with @table)
└── connector/
├── connector.yaml # Connector config + SDK generation
├── queries.gql # Queries
└── mutations.gql # Mutations
Key Tools for Validation
Rely on these two mechanisms to ensure project correctness:
- Review GraphQL Schema: Both user-defined and generated extensions (in
.dataconnect/schema/main/). - Validate Operations: Run
npx -y firebase-tools@latest dataconnect:compileagainst the schema.
Sponsors
Details
- Repository
- github.com/firebase/agent-skills
- Categories
- Backend & APIs, Documentation, AI & Agent Building, Databases
- License
- Apache-2.0
- First seen
- Jun 11, 2026
More from firebase/agent-skills
All 23- Firebase Basics183.3K
- Firebase Auth Basics182.2K
- Firebase Hosting Basics177.5K
- Firebase App Hosting Basics176.9K
- Firebase Data Connect175.9K
- Firebase Security Rules Auditor146.2K
- Firebase Ai Logic Basics142.9K
- Firebase Firestore142.8K
- Firebase Crashlytics138.9K
- Xcode Project Setup137.9K
- Firebase Remote Config Basics128.4K
- Extension To Functions Codebase63.5K
- Developing Genkit Js62.5K
- Developing Genkit Dart62.2K
- Developing Genkit Go49.5K
- Firebase Firestore Standard37K
- Firebase Firestore Enterprise Native Mode36K
- Firebase Ai Logic34.5K
- Developing Genkit Python33.6K
- Firestore Security Rules Auditor20.4K
- Firebase Local Env Setup5.1K
- Firebase Firestore Basics1.6K