Codex skills for GraphQL

GraphQL skills cover schema design, resolvers and DataLoader, Apollo Federation 2 and breaking-change checks, plus the GraphQL APIs of GitHub, Linear and Shopify. Codex counts SQL queries per operation before batching, keeps authorization in the service layer so nested paths cannot skip it, and runs GraphQL Inspector or rover subgraph checks before a schema change ships.

Every GraphQL skill in one command

Installs these 9 into ~/.agents/skills/. Add --project after -- to install into the current repository instead.

The installer is a 104-line POSIX shell script. It fetches the skills you name from codexskills.dev and unpacks each into its own folder in your skills directory. No sudo, no telemetry, and every skill page shows the full SKILL.md first. Read install.sh

curl -fsSL codexskills.dev/install.sh | sh -s -- graphql-schema-design graphql-federation graphql-resolvers shopify-apps api-security-testing api-design-review github-api linear-api thegraph-subgraphs

GraphQL FAQ

Is there a Codex skill for fixing GraphQL N+1 queries?

GraphQL Resolvers measures SQL queries per GraphQL operation, then routes relation fields through per-request DataLoaders, including grouped and parameterised loaders. It never creates loaders at module level, which would cache one user's authorized data and serve it to the next. Tests assert that the query count stays constant as lists grow, and expensive queries are rejected by depth and cost limits.

Do these skills cover Apollo Federation 2?

GraphQL Federation adds entities and subgraphs with Federation 2 directives such as @key, @shareable, @requires and @override, using batched __resolveReference lookups. It composes locally with rover supergraph compose, reads the query plan for extra hops and runs subgraph checks before publishing. Fields contributed by another subgraph stay nullable so one subgraph outage does not fail every query.

How does Codex change a GraphQL schema without breaking mobile clients?

GraphQL Schema Design applies a nullability default table instead of marking fields non-null by habit, paginates growing lists with connections and gives each mutation its own input, payload and error union. It runs GraphQL Inspector to catch breaking changes before they reach clients that cannot update. API Design Review uses the same diffing as part of a contract review.

How do I install all 9 GraphQL skills at once?

Pass every name to the installer in one command: curl -fsSL https://codexskills.dev/install.sh | sh -s -- graphql-schema-design graphql-federation graphql-resolvers shopify-apps api-security-testing api-design-review github-api linear-api thegraph-subgraphs. Add --project right after -- to put them in the current repository's .agents/skills/ so your team gets them too.

Which GraphQL skill should I try first?

GraphQL Schema Design is the closest fit for most GraphQL work. Mention it with $graphql-schema-design in a prompt to load it on purpose; after that, Codex picks it up on its own whenever a task matches.

esc