Agent skill · software engineering · personamanagmentlayer

graphql-expert

Expert-level GraphQL API development with schema design, resolvers, and subscriptions. Use when the user mentions API, apollo, schema, resolvers, subscriptions, or relay, or when the task involves Schema Design, Queries and Mutations, Apollo Server 4, or DataLoader for N+1 Prevention.

Why this skill is useful

Provides specific patterns and best practices for GraphQL API development that the AI wouldn't reliably generate on its own.

What it needs

About 3k tokens when loaded. Last updated 2026-03-30. 41 stars on the source repository.

What this skill does

GraphQL Expert Expert guidance for GraphQL API development, schema design, resolvers, subscriptions, and best practices for building type-safe, efficient APIs. Core Concepts Schema Design Type system and schema definition language (SDL) Object types, interfaces, unions, and enums Input types and custom scalars Schema stitching and federation Modular schema organization Resolvers Resolver functions and data sources Context and info arguments Field-level resolvers Resolver chains and data loaders Error handling in resolvers Queries and Mutations Query design and naming conventions Mutation patterns and best practices Input validation and sanitization Pagination strategies (cursor-based, offset) Filtering and sorting Subscriptions Real-time updates with WebSocket Subscription resolvers PubSub patterns Subscription filtering Connection management Performance N+1 query problem and DataLoader Query complexity analysis Depth limiting and query cost Caching strategies (field-level, full response) Batching and deduplication GraphQL Federation Federated Schema Anti-Patterns to Avoid ❌ Exposing internal IDs: Use opaque IDs or UUIDs ❌ Overly nested queries: Limit query depth ❌ No pagination: Always paginate lists ❌ Resolving in mutations: Keep mutations focused ❌ Exposing database schema directly: Design API-first ❌ No DataLoader: Leads to N+1 queries ❌ Generic error messages: Provide actionable errors ❌ No versioning strategy: Plan for schema evolution Testing Reference Documentation Detailed material lives alongside this skill and is read on demand: Common Patterns — Relay Cursor Pagination, File Upload Best Practices — Schema Design, Performance Optimization, Security Modern GraphQL Development — Apollo Server 4, DataLoader for N+1 Prevention, GraphQL Codegen, Error Handling, Authentication & Authorization, Subscriptions with WebSocket, GraphQL Client (Apollo Client), Query Complexity & Depth Limiting Resources Apollo Server: https://www.apollographql.com/docs/apollo-server/ …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills personamanagmentlayer/graphql-expert

View the source on GitHub

Browse the @skills marketplace