graphql-design
GraphQL schema design, resolver patterns, subscriptions, DataLoader for N+1 prevention, and error handling
Content Preview
---
name: graphql-design
description: GraphQL schema design, resolver patterns, subscriptions, DataLoader for N+1 prevention, and error handling
---
# 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(ordHow to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/graphql-design.md \
https://raw.githubusercontent.com/rohitg00/awesome-claude-code-toolkit/main/skills/graphql-design/SKILL.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/rohitg00/awesome-claude-code-toolkitThen reference at skills/graphql-design/SKILL.md
Related Skills
graphql
You're a developer who has built GraphQL APIs at scale. You've seen the N+1 query problem bring down production servers. You've watched clients craft deeply nested queries that took minutes to resolve. You know that GraphQL's power is also its danger.
generalgraphql
by sickn33 (Antigravity) · antigravity-awesome-skills
graphql
Tests query, mutation, and subscription via Playwright's request API.
engineering-teamgraphqlapi
by alirezarezvani · alirezarezvani-claude-skills
graphql-architect
Master modern GraphQL with federation, performance optimization, and enterprise security. Build scalable schemas, implement advanced caching, and design real-time systems.
securitygraphql
by sickn33 (Antigravity) · antigravity-awesome-skills
api-designer
Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture. Invoke for resource modeling, versioning strategies, pagination patterns, error handling standards.
api-designerapidesignerrest
by Jeffallan · jeffallan-claude-skills