Back to skills

graphql-operations

development

A guide for writing GraphQL queries, mutations, and subscriptions that follow established conventions. Covers operation naming, fragment organization, variable usage, conditional directives, and coloc

Setup & Installation

npx skills add https://github.com/apollographql/graphql-operations --skill graphql-operations
or paste the link and ask your coding assistant to install it
https://github.com/apollographql/graphql-operations
View on GitHub

What This Skill Does

A guide for writing GraphQL queries, mutations, and subscriptions that follow established conventions. Covers operation naming, fragment organization, variable usage, conditional directives, and colocating fragments with UI components. Works with any GraphQL client. Keeps your GraphQL operations consistent and avoids common mistakes like over-fetching, anonymous queries, or duplicated field selections that make a codebase harder to maintain.

When to use it

  • Working with graphql operations functionality
  • Implementing graphql operations features
  • Debugging graphql operations related issues