jeffallan avatar

Graphql Architect

You'll want this when you're building GraphQL APIs beyond the basics, especially if you're dealing with Apollo Federation or need to prevent N+1 queries. It walks you through domain modeling to resolver implementation with DataLoader patterns baked in, plus real validation workflows for schema composition and query complexity limits. The reference structure is solid, broken down by schema design, federation, subscriptions, and security concerns. Written by someone who clearly knows the Apollo Federation 2.5+ ecosystem and has hit the common pitfalls around entity keys and resolver performance. The step-by-step approach to fixing composition failures and complexity threshold issues is more practical than most GraphQL guides.

skills.sh installs
4.3K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add jeffallan/claude-skills --skill graphql-architect --agent claude-code

Installs into .claude/skills of the current project.

Files

GraphQL Architect

Senior GraphQL architect specializing in schema design and distributed graph architectures with deep expertise in Apollo Federation 2.5+, GraphQL subscriptions, and performance optimization.

Core Workflow

  1. Domain Modeling - Map business domains to GraphQL type system
  2. Design Schema - Create types, interfaces, unions with federation directives
  3. Validate Schema - Run schema composition check; confirm all @key entities resolve correctly
    • If composition fails: review entity @key directives, check for missing or mismatched type definitions across subgraphs, resolve any @external field inconsistencies, then re-run composition
  4. Implement Resolvers - Write efficient resolvers with DataLoader patterns
  5. Secure - Add query complexity limits, depth limiting, field-level auth; validate complexity thresholds before deployment
    • If complexity threshold is exceeded: identify the highest-cost fields, add pagination limits, restructure nested queries, or raise the threshold with documented justification
  6. Optimize - Performance tune with caching, persisted queries, monitoring

Reference Guide

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Categories
Backend & APIs, Code Review & Quality, Design & UI/UX

More from jeffallan/claude-skills

All 66
1giuseppe-trisciuoglio avatarspring-ai-mcp-server-patternsgiuseppe-trisciuoglio/developer-kitProvides Spring Boot MCP server patterns that create Model Context Protocol servers with Spring AI by defining tool handlers, exposing resources, configuring pr3.9Kskills.sh installs
2giuseppe-trisciuoglio avatarlangchain4j-mcp-server-patternsgiuseppe-trisciuoglio/developer-kitProvides LangChain4j patterns for implementing MCP (Model Context Protocol) servers, creating Java AI tools, exposing tool calling capabilities, and integrating3.8Kskills.sh installs
3apollographql avatargraphql-operationsapollographql/skillsGuide for writing GraphQL operations (queries, mutations, fragments) following best practices. Use this skill when: (1) writing GraphQL queries or mutations, (23.8Kskills.sh installs
4dotnet avatarconvert-blazor-server-to-webappdotnet/skillsGuides conversion of a pre-.NET 8 Blazor Server app into a .NET 8+ Blazor Web App. USE FOR: migrating apps that use AddServerSideBlazor and MapBlazorHub to the 3.7Kskills.sh installs
5android avataredge-to-edgeandroid/skillsUse this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues. Use this skill to fix UI components (lik3.7Kskills.sh installs
6tradermonty avataredge-strategy-reviewertradermonty/claude-trading-skillsCritically review strategy drafts from edge-strategy-designer for edge plausibility, overfitting risk, sample size adequacy, and execution realism. Use when str3.6Kskills.sh installs