graphql-api

Installation
SKILL.md

GraphQL API

Overview

GraphQL provides a flexible query language for APIs with precise data requirements. This skill should be invoked when building flexible APIs needing nested data fetching, multiple data source aggregation, or client-controlled queries.

Core Principles

  • Schema-Driven: Define types, queries, mutations in schema
  • Resolver Implementation: Map schema fields to data sources
  • DataLoader: Prevent N+1 queries with batching
  • Validation: Validate inputs and handle errors properly

Preparation Checklist

  • Choose GraphQL server (Apollo, GraphQL Yoga, Mercury)
  • Design schema with types, queries, mutations
  • Plan resolver structure
  • Set up DataLoader for optimization
Installs
1
GitHub Stars
3
First Seen
2 days ago
graphql-api — heldinhow/awesome-opencode-dev-skills