firebase avatar

Firebase Data Connect

A comprehensive assistant for building Firebase SQL Connect (formerly Data Connect) backends with PostgreSQL and GraphQL. It handles the full workflow from schema design with table directives and relationships to writing type-safe queries and mutations, plus generating SDKs for web, mobile, and Flutter. The skill emphasizes GraphQL-first development over raw SQL, walks through proper authorization patterns, and covers advanced features like vector search and full-text search. Solid for anyone building relational apps on Firebase who wants to skip the SQL boilerplate and get type-safe client code generated automatically.

skills.sh installs
175.9K
GitHub stars
508
last updated
Aug 21, 2026

Install

$ npx -y skills add firebase/agent-skills --skill firebase-data-connect --agent claude-code

Installs 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:

  1. Review GraphQL Schema: Both user-defined and generated extensions (in .dataconnect/schema/main/).
  2. Validate Operations: Run npx -y firebase-tools@latest dataconnect:compile against the schema.

Sponsors

Details

Repository
github.com/firebase/agent-skills
Categories
Backend & APIs, Documentation, AI & Agent Building, Databases

More from firebase/agent-skills

All 23
1firebase avatarfirebase-security-rules-auditorfirebase/agent-skillsAudits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource e146.2Kskills.sh installs
2better-auth avatarbetter-auth-best-practicesbetter-auth/skillsComplete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.131.4Kskills.sh installs
3intellectronica avatarnotion-apiintellectronica/agent-skillsThis skill provides comprehensive instructions for interacting with the Notion API via REST calls. This skill should be used whenever the user asks to interact 102.5Kskills.sh installs
4addyosmani avatarapi-and-interface-designaddyosmani/agent-skillsGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defini72.4Kskills.sh installs
5wshobson avatarnodejs-backend-patternswshobson/agentsBuild production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, an49.8Kskills.sh installs
6samber avatargolang-databasesamber/cc-skills-golangComprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connec42.5Kskills.sh installs