apollo-server
Skill by apollographql
Guides developers building GraphQL servers with Apollo Server 5.x. It covers project setup, schemas, resolvers, context, authentication, plugins, data sources and troubleshooting.
Install apollo-server
Built from the published package, never by AI.
git clone --depth 1 https://github.com/apollographql/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/apollo-server ~/.claude/skills/apollo-serverRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/apollographql/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/apollo-server ~/.gemini/antigravity-cli/skills/apollo-serverAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The apollo-server skill is a guide for building GraphQL servers with Apollo Server 5.x. It covers project setup, schema definition, resolvers, and context creation. It also points to reference files on authentication and authorization, plugins, data sources, error handling, and troubleshooting. The guide includes code examples for the standalone server and for Express.
The guide is aimed at developers working with Node.js and TypeScript. The source says it works with Express v4 and v5, standalone, Fastify, and serverless environments. It recommends the standalone server for prototyping and a web framework such as Express, Koa, or Fastify for production. The skill is published by apollographql under the MIT license.
Written from the project's SKILL.md and checked against it.
What it can do
- Project setupShows how to install Apollo Server and start a standalone or Express server.
- Schema designCovers scalars, object types, input types, enums, and interfaces.
- ResolversExplains the resolver signature and shows query, field, and mutation examples.
- Context setupShows how to create typed per-request context for resolvers.
- Authentication and authorizationGuides where to handle authentication in context and authorization in resolvers.
- Plugins and data sourcesCovers server and request lifecycle hooks, RESTDataSource, and DataLoader.
- Error handlingExplains GraphQLError use and error formatting.
- TroubleshootingLists common Apollo Server errors, performance issues, and fixes.
What you need
- Node.js v20 or later
- TypeScript 4.7 or later
- npm
Try asking
- Set up a new Apollo Server 5 project with Express and TypeScript
- Write resolvers and a schema for a books GraphQL API
- Add authentication to my Apollo Server context and resolvers
Good to know
- The guide recommends the standalone server for prototyping only.
- It targets Apollo Server 5.x patterns and says not to use v4 or earlier patterns.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/apollo-server/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(npm:*) Bash(npx:*) Bash(node:*) Read Write Edit Glob Grep
-
SKILL.md7 KB -
references/context-and-auth.md10 KB -
references/data-sources.md9 KB -
references/error-handling.md10 KB -
references/plugins.md11 KB
Show all 7 files
-
references/resolvers.md8 KB -
references/troubleshooting.md10 KB
Alternatives to apollo-server
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
apollo-server: common questions
Which Node.js and TypeScript versions does apollo-server need?
The skill's compatibility field lists Node.js v20 or later and TypeScript 4.7 or later.
Which frameworks does this skill support?
The source says it works with Express v4 and v5, standalone, Fastify, and serverless environments.
Should I use the standalone server in production?
The source recommends a fuller web framework such as Express, Koa, or Fastify for production, and the standalone server for prototyping.
How do I install apollo-server?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is apollo-server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is apollo-server safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to apollo-server?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
