graphql-design
GraphQL schema design, resolver patterns, subscriptions, DataLoader for N+1 prevention, and error handling
npx skills add rohitg00/awesome-claude-code-toolkit --skill graphql-design --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# GraphQL Design ## Schema Design ```graphql type Query { user(id: ID!): User users(filter: UserFilter, first: Int = 20, after: String): UserConnection! } type Mutation { createUser(input: CreateUserInput!): CreateUserPayload! updateUser(id: ID!, input: UpdateUserInput!): UpdateUserPayload! } type Subscription { orderStatusChanged(orderId: ID!): Order! } type User { id: ID! email: String! name: String! orders(first: Int = 10, after: String): OrderConnection! createdAt: DateTime! } input CreateUserInput { email: String! name: String! } type CreateUserPayload { user: User errors: [UserError!]! } type UserError { field: String! message: String! } type UserConnection { edges: [UserEdge!]! pageInfo: PageInfo! totalCount: Int! } type UserEdge { node: User! cursor: String! } type PageInfo { hasNextPage: Boolean! endCursor: String } ``` Use Relay-style connections for pagination. Return payload types from mutations with both result and errors. ## Resolvers ```typescript const resolvers: Resolvers = { Query: { user: async (_, { id }, ctx) => { return ctx.dataloaders.user.load(id); }, users: async (_, { filter, first, after }, ctx) => { const cursor = after ? decodeCursor(after) : undefined;
- Schema Design
- Resolvers
- DataLoader for N+1 Prevention
- Subscriptions
- Anti-Patterns
- Checklist
What does the graphql-design skill do?
GraphQL schema design, resolver patterns, subscriptions, DataLoader for N+1 prevention, and error handling
How do I install it?
Run `npx skills add rohitg00/awesome-claude-code-toolkit --skill graphql-design --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rohitg00/awesome-claude-code-toolkit, a repository with 2,438 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.