backend-graphql-patterns
Installation
SKILL.md
Backend GraphQL Patterns
Purpose
Design production GraphQL schemas with resolvers, DataLoader batching, and auth.
Agent Protocol
Trigger
Exact user phrases: "GraphQL", "schema", "resolver", "query", "mutation", "subscription", "Apollo", "Relay", "GraphQL federation", "GraphQL gateway", "data loader", "N+1 GraphQL", "GraphQL authorization", "GraphQL pagination", "GQL schema design", "GraphQL error handling".
Input Context
Before activating, verify:
- Schema size (number of types, depth of nesting)
- Data sources (primary database, REST APIs, gRPC services, external APIs)
- Authentication and authorization model (RBAC, ABAC, claims-based)
- Client types consuming the API (web SPA, mobile native, third-party, internal services)
Output Artifact
GraphQL schema design with resolver patterns and DataLoader setup as formatted text.