graphql-operations
graphql operations
What it does
- 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
Requirements & configuration
- 1. Request Only What You Need
- ALWAYS request only the fields you need
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
graphql-operations FAQ
What does the graphql-operations skill do?
> Guide for writing GraphQL operations (queries, mutations, fragments) following best practices. Use this skill when: (1) writing GraphQL queries or mutations, (2) organizing operations with fragments, (3) optimizing data fetching patterns, (4) setting up type generation or linting, (5) reviewing operations for efficiency. Queries - Query patterns and optimization Mutations - Mutation patterns and error handling
What does graphql-operations require?
1. Request Only What You Need ALWAYS request only the fields you need
How do I install graphql-operations?
Run: npx -y skills add https://github.com/apollographql/skills --skill graphql-operations --agent claude-code — the source lives at github.com/apollographql/skills.
Maintain graphql-operations?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[graphql-operations on getagentictools](https://getagentictools.com/skills/apollographql-skills-graphql-operations?ref=badge) npx agentictools info skills/apollographql-skills-graphql-operations The second line is the CLI lookup for this page — handy in READMEs and docs.