Skip to main content
Back to registry

graphql-operations

apollographql/skills

This guide covers best practices for writing GraphQL operations (queries, mutations, subscriptions) as a client developer. Well-written operations are efficient, type-safe, and maintainable.

Installs723
Install command
npx skills add https://github.com/apollographql/skills --skill graphql-operations
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
This guide covers best practices for writing GraphQL operations (queries, mutations, subscriptions) as a client developer. Well-written operations are efficient, type-safe, and maintainable. Detailed documentation for specific topics: - Queries - Query patterns and optimization - Mutations - Mutation patterns and error handling - Fragments - Fragment organization and reuse - Variables - Variable usage and types - Tooling - Code generation and linting - ALWAYS name your operations (no anonymous queries/mutations) - ALWAYS use variables for dynamic values - ALWAYS request only the fields you need - ALWAYS include id field for cacheable types - NEVER hardcode values in operations - NEVER duplicate field selections across files - PREFER fragments for reusable field selections - PREFER colocating fragments with components - USE descriptive operation names that reflect purpose - USE @include / @skip for conditional fields

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does graphql-operations do?

This guide covers best practices for writing GraphQL operations (queries, mutations, subscriptions) as a client developer. Well-written operations are efficient, type-safe, and maintainable.

Is graphql-operations good?

graphql-operations does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does graphql-operations work with?

graphql-operations currently lists compatibility with codex, gemini-cli, opencode, amp, github-copilot, claude-code.

What are alternatives to graphql-operations?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install graphql-operations?

npx skills add https://github.com/apollographql/skills --skill graphql-operations

Related skills

More from apollographql/skills

Related skills

Alternatives in Software Engineering