writing-graphql-operations

Official

Type-safe GraphQL ops with gql.tada.

Authorsaleor
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Guides the creation and maintenance of GraphQL queries and mutations using gql.tada and urql, with a repository pattern, strong error handling, and testing considerations.

Core Features & Use Cases

  • gql.tada for type inference: Automatic TypeScript types from GraphQL.
  • Fragments usage: Reuse field selections across operations.
  • Repository pattern: Clean separation of concerns for data access.
  • Error handling: Consistent GraphQLError/ValidationError patterns.
  • Schema management: Align operations with updated Saleor schemas.

Quick Start

Implement GetEntitiesQuery with gql.tada and wire it into a CategoryRepository for fetch and map results to domain models.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: writing-graphql-operations
Download link: https://github.com/saleor/configurator/archive/main.zip#writing-graphql-operations

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.