GraphQL Schema Generator

СреднийdevelopmentМинимальный контекст: 32K

Designs GraphQL schemas from domain descriptions or existing data models. Produces typed SDL with queries, mutations, subscriptions, input types, enums, and interfaces, following naming conventions, pagination patterns (Relay-style connections), and error-handling best practices. Can also generate resolvers scaffolding and map schemas to existing REST or SQL backends.

Варианты использования

  • Designing a GraphQL schema for a new product domain
  • Adding Relay-style pagination to existing types
  • Generating resolver stubs from an SDL schema
  • Mapping a REST or SQL data model to GraphQL types
  • Reviewing a schema for naming and nullability best practices

Пример промпта

Design a GraphQL schema for a blogging platform with users, posts, comments, and tags.
Requirements:
- Relay-style cursor pagination on posts and comments
- Mutations for creating/updating/deleting posts with input types
- A subscription for new comments on a post
- Proper nullability and an error-handling convention

Output the SDL and a brief explanation of the key design decisions.

Рекомендуемые модели

Совместимые инструменты

claude-codecursorkiroany

Модальности

Вход: text, code
Выход: code, text

Похожие Skills

Автор

OpenModels Community

@openmodelsrun