graphql-api

Use only when designing, implementing, or modifying GraphQL schemas, queries, mutations, resolvers, dataloaders, authorization, pagination, schema evolution, and GraphQL error behavior.

yiweiwan/skills2 installsMITSynced Aug 22

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: graphql-api
description: Use only when designing, implementing, or modifying GraphQL schemas, queries, mutations, resolvers, dataloaders, authorization, pagination, schema evolution, and GraphQL error behavior.
license: MIT
---

# GraphQL API

## Workflow

1. Identify schema types, operations, clients, and authorization requirements.
2. Design fields around client needs without exposing internal persistence details.
3. Implement resolvers with batching or dataloaders to avoid N+1 queries.
4. Handle nullability, pagination, filtering, and errors consistently.
5. 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.

More API Design skills

← All API Design skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY