01
It starts by itself
operations change. Runs in GitHub Actions or Claude Code routine.
- ↻ operations change
push touching .graphql documents
Operations match the schema and lint.
Install the GraphQL Operations Guide skill and make it a habit: follow https://gethabit.dev/skills/apollographql/graphql-operations.md
4K installs118 starsMIT licenceSource on GitHub ↗

GraphQL Operations Guide
by apollographql · 4K installs
The skill
GraphQL Operations Guide (the graphql-operations skill) guides writing queries, mutations and fragments against the project schema: named operations, variables, lean field selection, fragments and type generation.
Only when you ask.
The habit
Operations match the schema and lint.
↻ Runs by itselfoperations change
When does it start? How does it check its work? What does it remember?
Stops after one change set per run, with at most 2 fix retries.
Your agent finds the schema from codegen.ts, graphql.config or apollo.config, or the SDL files.
It confirms every field, argument and enum value used is defined by the schema.
It confirms each operation is named and uses variables instead of hardcoded values.
It flags over-fetching and confirms id is requested on cacheable types.
It runs type generation to confirm the operations are type-safe.
It runs the GraphQL linter and records any findings in the run log.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the GraphQL Operations Guide skill helps.
No. It writes operations against the existing schema and leaves the server schema unchanged unless you ask.
Named operations are easier to trace, cache and lint; the skill treats anonymous operations as a thing to avoid.
Copy the prompt at the top into your agent. It installs the skill from apollographql/skills and sets up the habit. Or run npx skills add apollographql/skills --skill graphql-operations.
Yes. It is published under MIT. Habit is free too.
Install the GraphQL Operations Guide skill and make it a habit: follow https://gethabit.dev/skills/apollographql/graphql-operations.md
All apollographql skills →More code skills →
Works in
Made by apollographql, published under MIT. Habit links to the original and never changes it. Is this your skill?