graphql-resolvers

Installation
SKILL.md

GraphQL Resolvers

Overview

GraphQL resolvers map schema fields to data fetching logic. This skill should be invoked when building GraphQL APIs that need to connect to databases, external APIs, or any data source.

Core Principles

  • Field Resolution: Each field has a resolver function
  • Parent Access: Resolvers receive parent value for nested fields
  • Async Support: Resolvers can return promises
  • DataLoader: Batch and cache data fetching

Preparation Checklist

  • Understand schema field structure
  • Identify data sources for each field
  • Plan resolver structure
  • Set up DataLoader
Installs
1
GitHub Stars
3
First Seen
2 days ago
graphql-resolvers — heldinhow/awesome-opencode-dev-skills