graphql
Installation
SKILL.md
GraphQL
Patterns for schema design, resolver implementation, N+1 prevention, and client-side queries. Applies to Apollo Server, Pothos, graphql-yoga, and Apollo Client.
When to Use
- Designing a GraphQL schema
- Implementing resolvers on the server
- Writing queries, mutations, or fragments on the client
- Diagnosing N+1 query problems or over-fetching
Don't use for:
- REST API design (use express or hono)
- tRPC (type-safe RPC, different paradigm)
- Database query optimization (use relevant ORM skill)