Install
openclaw skills install graphql-schemaDeep GraphQL schema workflow—modeling types, queries and mutations, N+1 and complexity limits, errors and pagination, federation risks, and evolution. Use when designing or reviewing GraphQL APIs.
openclaw skills install graphql-schemaGraphQL concentrates complexity on the server: resolver graphs, N+1 fetches, schema evolution, and field-level authorization.
Trigger conditions:
Initial offer:
Use six stages: (1) domain modeling, (2) operations surface, (3) performance patterns, (4) errors & partial results, (5) security & authz, (6) versioning & evolution). Confirm client patterns (Apollo, Relay) and gateway (if any).
Goal: Types reflect domain concepts; avoid dumping everything on Query; use input objects for mutations with validation.
Goal: Queries for reads; mutations for writes; subscriptions only when justified (scaling and operational cost).
Goal: DataLoader or batching for N+1; query complexity/depth/cost limits; optional persisted queries for public APIs.
Goal: Document semantics of errors alongside partial data; map domain failures to structured extensions.
Goal: Enforce authorization at field/object level—not only at the top resolver.
Goal: Prefer additive changes; @deprecated with migration window; in federation, clear ownership of types and entities.