graphql

sickn33/antigravity-awesome-skills · updated Apr 8, 2026

$npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill graphql
0 commentsdiscussion
summary

GraphQL schema design, resolver patterns, and production safety best practices.

  • Covers nine core capabilities including schema design, resolvers, federation, subscriptions, DataLoader, code generation, and Apollo tooling for both server and client
  • Emphasizes critical production hazards: N+1 query problems, unlimited query depth leading to DoS, introspection exposure, and improper authorization scoping
  • Provides patterns for type-safe schemas with intentional nullability, batch query o
skill.md

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

Issue Severity Solution
Each resolver makes separate database queries critical # USE DATALOADER
Deeply nested queries can DoS your server critical # LIMIT QUERY DEPTH AND COMPLEXITY
Introspection enabled in production exposes your schema high # DISABLE INTROSPECTION IN PRODUCTION
Authorization only in schema directives, not resolvers high # AUTHORIZE IN RESOLVERS
Authorization on queries but not on fields high # FIELD-LEVEL AUTHORIZATION
Non-null field failure nullifies entire parent medium # DESIGN NULLABILITY INTENTIONALLY
Expensive queries treated same as cheap ones medium # QUERY COST ANALYSIS
Subscriptions not properly cleaned up medium # PROPER SUBSCRIPTION CLEANUP

Related Skills

Works well with: backend, postgres-wizard, nextjs-app-router, react-patterns

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.628 reviews
  • Kiara Gill· Dec 24, 2024

    Registry listing for graphql matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Shikha Mishra· Dec 16, 2024

    We added graphql from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Jin Johnson· Dec 4, 2024

    Keeps context tight: graphql is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Kaira Lopez· Nov 15, 2024

    graphql reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Rahul Santra· Nov 7, 2024

    Useful defaults in graphql — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Pratham Ware· Oct 26, 2024

    Registry listing for graphql matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Carlos Shah· Oct 6, 2024

    We added graphql from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Sofia Sharma· Sep 21, 2024

    graphql has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Aisha Kim· Aug 12, 2024

    graphql fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Yash Thakker· Jul 23, 2024

    Keeps context tight: graphql is the kind of skill you can hand to a new teammate without a long onboarding doc.

showing 1-10 of 28

1 / 3