Skip to main content
Back to registry

graphql-schema

apollographql/skills

This guide covers best practices for designing GraphQL schemas that are intuitive, performant, and maintainable. Schema design is primarily a server-side concern that directly impacts API usability.

Installs788
Install command
npx skills add https://github.com/apollographql/skills --skill graphql-schema
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
This guide covers best practices for designing GraphQL schemas that are intuitive, performant, and maintainable. Schema design is primarily a server-side concern that directly impacts API usability. Best Practice: Use [Type!]! for lists - empty list over null, no null items. Detailed documentation for specific topics: - Think about what queries clients will write - Organize types around use cases, not database tables - Expose capabilities, not implementation details - Use clear, descriptive names - Make nullability intentional - Document with descriptions - Plan for backwards compatibility - Use deprecation before removal - Avoid breaking changes - Types - Type design patterns, interfaces, unions, and custom scalars - Naming - Naming conventions for types, fields, and arguments - Pagination - Connection pattern and cursor-based pagination - Errors - Error modeling and result types - Security - Security best practices for schema design - Define types based on domain concepts, not data storage - Use interfaces for shared fields across types - Use unions for mutually exclusive types - Keep types focused (single responsibility) - Avoid deep nesting - flatten when possible - Fields should be named from client's perspective - Return the most specific type possible - Make expensive fields explicit (consider arguments) - Use arguments for filtering, sorting, pagination - Use single...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does graphql-schema do?

This guide covers best practices for designing GraphQL schemas that are intuitive, performant, and maintainable. Schema design is primarily a server-side concern that directly impacts API usability.

Is graphql-schema good?

graphql-schema does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does graphql-schema work with?

graphql-schema currently lists compatibility with codex, gemini-cli, opencode, kimi-cli, github-copilot, claude-code.

What are alternatives to graphql-schema?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install graphql-schema?

npx skills add https://github.com/apollographql/skills --skill graphql-schema

Related skills

More from apollographql/skills

Related skills

Alternatives in Software Engineering