graphql-api
Installation
SKILL.md
GraphQL API
Workflow
- Identify schema types, operations, clients, and authorization requirements.
- Design fields around client needs without exposing internal persistence details.
- Implement resolvers with batching or dataloaders to avoid N+1 queries.
- Handle nullability, pagination, filtering, and errors consistently.
- Evolve schema without breaking clients when possible.
Rules
- Enforce authorization in resolvers or service layers.
- Avoid expensive unbounded nested queries.
- Deprecate fields before removing them.
Verification
- Test queries, mutations, auth failure, nullability, and pagination.