Apollo GraphQL/apollo-server — Agent Skills | officialskills.sh
Back to skills

apollo-server

communitydevelopment

Build GraphQL servers using Apollo Server 5.

Setup & Installation

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

What This Skill Does

Build GraphQL servers using Apollo Server 5.x. Covers schema definition, resolver writing, context setup, authentication, plugin creation, and integration with Express, Fastify, or standalone mode.

Gives you working Apollo Server 5.x patterns for schemas, resolvers, auth, and framework integration without digging through migration guides or outdated v4 examples.

When to use it

  • Setting up a new GraphQL API with typed resolvers and schema-first design
  • Adding authentication and per-field authorization to a GraphQL endpoint
  • Solving N+1 query problems with DataLoader in resolver chains
  • Connecting Apollo Server to Express or Fastify for production deployments
  • Writing custom plugins to log requests or measure resolver performance