GraphQL API design guide covering schema, resolvers, DataLoader batching, federation, and query-abuse controls.
- CCM score
- 53 of 100
- skills.sh installs
- 245
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and Apollo/urql client integration
- Lists anti-patterns to avoid, including missing DataLoader, unlimited query depth, and authorization placed only in the schema
- Includes a sharp-edges table rating eight issues by severity, with a fix for each, such as disabling introspection in production
- Designed for backend teams building GraphQL APIs that need protection from abusive or expensive client queries
Install
$ npx -y skills add davila7/claude-code-templates --skill graphql -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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.
Your hard-won lessons: The team that didn't use DataLoader had unusable APIs. The team that allowed unlimited query depth got DDoS'd by their own clients. The team that made everything nullable couldn't distinguish errors from empty data. You've l
Capabilities
- graphql-schema-design
- graphql-resolvers
- graphql-federation
- graphql-subscriptions
- graphql-dataloader
- graphql-codegen
- apollo-server
- apollo-client
- urql
Patterns
Schema Design
Type-safe schema with proper nullability
DataLoader for N+1 Prevention
Batch and cache database queries
Apollo Client Caching
Normalized cache with type policies
Anti-Patterns
❌ No DataLoader
❌ No Query Depth Limiting
❌ Authorization in Schema
⚠️ Sharp Edges
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Backend & APIs, Security
- First seen
- Jun 3, 2026
Questions
What does the graphql skill do for a developer?
The graphql skill covers GraphQL schema design, resolvers, DataLoader for N+1 query prevention, federation for microservices, and client integration with Apollo and urql. It frames the GraphQL schema as the API contract and documentation, so the agent can help design it deliberately.
How do I install the graphql skill?
Run npx -y skills add davila7/claude-code-templates --skill graphql -y in a project to install it. Once installed, the graphql skill lets the agent work on GraphQL APIs with batching, query limits and client caching guidance.
Which skills does the graphql skill sit alongside in the Backend and APIs category?
The graphql skill is in the Backend and APIs category on Claude Marketplaces, next to entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. Unlike those, graphql focuses on GraphQL-specific concerns such as DataLoader batching and query depth limits.
Does the graphql skill help prevent slow or abusive GraphQL queries?
Yes, the graphql skill's guidance covers limiting query depth and complexity so clients cannot craft queries that overload the server. It also advises disabling introspection in production and authorizing data inside resolvers and at the field level.
More from davila7/claude-code-templates
All 398- Iterate Pr245
- Playwright E2e Builder245
- Red Team Tools And Methodology244
- Adaptyv242
- Medchem241
- Personal Tool Builder241
- Zarr Python239
- Pylabrobot238
- Qutip237
- Torchdrug237
- Deployment Procedures236
- Gcp Cloud Run235
- Qiskit235
- Shodan Reconnaissance And Pentesting235
- Cloud Penetration Testing234
- Pysam233
- Cross Site Scripting And HTML Injection Testing232
- Pufferlib232
- Cc Skill Strategic Compact231
- Cc Skill Project Guidelines Example230
- Active Directory Attacks228
- Datacommons Client225
- HTML Injection Testing223
- Brenda Database222
Similar to Graphql
More Backend & APIsgolang-graphqlsamber/cc-skills-golang39.2K installsGo GraphQL implementation guidance covering gqlgen and graphql-go, with schema design, resolver, and N+1 rules.
api-design-principleswshobson/agents32.1K installsOpinionated guide covering REST and GraphQL API design principles for building maintainable, developer-friendly interfaces.
api-patternsdavila7/claude-code-templates486 installsAPI design principles and decision guidance covering REST, GraphQL, and tRPC selection, response formats, and versioning.
apollo-graphqlmindrally/skills718 installsGuidelines for GraphQL and React apps using Apollo Client's caching, data fetching, and state management.
vtex-io-graphql-apivtex/skills1.3K installsGraphQL schema and resolver guidance for VTEX IO apps, covering directives, caching, and auth enforcement.
api-design-patternsbobmatnyc/claude-mpm-skills588 installsComprehensive API design reference covering REST, GraphQL, and gRPC style selection, versioning, pagination, and authentication.