graphql-docs
Installation
SKILL.md
GraphQL questions are easy to answer from stale memory or REST-centric assumptions. Use this skill to ground answers in the official GraphQL documentation at graphql.org and return the closest authoritative page instead of generic API advice.
When to Use
Use this skill when the request is about:
- GraphQL concepts, terminology, and how GraphQL compares to REST
- Schema definition language (SDL), types, fields, arguments, and nullability
- Queries, mutations, subscriptions, variables, fragments, aliases, and directives
- Validation rules, execution, resolvers, and response formats (
data,errors,extensions) - Introspection,
__typename, and schema exploration - Serving GraphQL over HTTP, request/response formats, and status codes
- Authorization, pagination, schema design, and global object identification
- Caching, performance (N+1, batching, DataLoader), and security
- Federation, subgraphs, gateways, and composite schemas
- Building robust clients that handle schema evolution
- GraphQL.js, the specification, and FAQ topics on graphql.org
Do not use this skill for: