
Description
Public GraphQL API design is an agent skill for designing a GraphQL API that outside developers can query safely. It starts with a gate: GraphQL is worth using only when several client types genuinely need different shapes of the same data. If it is, the skill covers the schema conventions that keep the graph evolvable, including naming, nullability, a Node interface and input and payload types, along with pagination, typed errors, abuse ceilings and the trust boundary. It also covers persisted queries and guardrail budgets, which depend on whether only first-party apps or third parties use the endpoint. Before designing, it asks batched questions about whether the schema is new or a retrofit, who consumes it, whether a public REST surface must coexist, and whether federation is already in place. It is a design guide for the agent rather than a running service.…
Highlights
- GraphQL-or-not decision gate
- Schema naming, nullability and Node interface
- Pagination and typed error design
- Persisted queries and abuse limits
- Clarifying questions before design
Ratings & Reviews
No ratings yet
Be the first to rate public-graphql-api-design.
People also visit
public-graphql-api-design FAQ
What does the public-graphql-api-design skill produce?
A design for a public GraphQL schema, with conventions, pagination, errors, limits and the trust boundary worked out.
How do I install it?
Run npx skills add https://github.com/samber/developer-platform-skills --skill public-graphql-api-design.
Does the skill say when GraphQL is the wrong choice?
Yes. It starts with a gate: GraphQL earns its place only when several client types need different shapes of the same data.
Has the skill been security audited?
Yes. Gen Agent Trust Hub shows Pass, Socket shows Pass and Snyk shows Pass.
What are the best public-graphql-api-design alternatives?
Popular alternatives to public-graphql-api-design include apollographql/graphql-schema, api-design-principles and api-design-principles. See all public-graphql-api-design alternatives









