Awesome-omni-skill graphql

GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.

install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/graphql-techwavedev" ~/.claude/skills/diegosouzapw-awesome-omni-skill-graphql-29c7ab && rm -rf "$T"
manifest: skills/development/graphql-techwavedev/SKILL.md
source content

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

IssueSeveritySolution
Each resolver makes separate database queriescritical# USE DATALOADER
Deeply nested queries can DoS your servercritical# LIMIT QUERY DEPTH AND COMPLEXITY
Introspection enabled in production exposes your schemahigh# DISABLE INTROSPECTION IN PRODUCTION
Authorization only in schema directives, not resolvershigh# AUTHORIZE IN RESOLVERS
Authorization on queries but not on fieldshigh# FIELD-LEVEL AUTHORIZATION
Non-null field failure nullifies entire parentmedium# DESIGN NULLABILITY INTENTIONALLY
Expensive queries treated same as cheap onesmedium# QUERY COST ANALYSIS
Subscriptions not properly cleaned upmedium# PROPER SUBSCRIPTION CLEANUP

Related Skills

Works well with:

backend
,
postgres-wizard
,
nextjs-app-router
,
react-patterns


🧠 AGI Framework Integration

Adapted for @techwavedev/agi-agent-kit Original source: antigravity-awesome-skills

Hybrid Memory Integration (Qdrant + BM25)

Before executing complex tasks with this skill:

python3 execution/memory_manager.py auto --query "<task summary>"

Decision Tree:

  • Cache hit? Use cached response directly — no need to re-process.
  • Memory match? Inject
    context_chunks
    into your reasoning.
  • No match? Proceed normally, then store results:
python3 execution/memory_manager.py store \
  --content "Description of what was decided/solved" \
  --type decision \
  --tags graphql <relevant-tags>

Note: Storing automatically updates both Vector (Qdrant) and Keyword (BM25) indices.

Agent Team Collaboration

  • Strategy: This skill communicates via the shared memory system.
  • Orchestration: Invoked by
    orchestrator
    via intelligent routing.
  • Context Sharing: Always read previous agent outputs from memory before starting.

Local LLM Support

When available, use local Ollama models for embedding and lightweight inference:

  • Embeddings:
    nomic-embed-text
    via Qdrant memory system
  • Lightweight analysis: Local models reduce API costs for repetitive patterns