graphql-schema-generator

Solid

Generate GraphQL schemas from data models with resolver stubs and federation support

API & Backend 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# GraphQL Schema Generator Skill ## Overview Generates GraphQL SDL schemas from data models with type inference, resolver stub generation, schema validation, and Apollo Federation support. ## Capabilities - Generate GraphQL SDL from data models - Type inference from existing data structures - Resolver stub generation - Schema validation and linting - Apollo Federation support - Subscription type generation - Input type and mutation generation ## Target Processes - api-design-specification ## Input Schema ```json { "type": "object", "required": ["dataModels"], "properties": { "dataModels": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "fields": { "type": "array" }, "relationships": { "type": "array" } } } }, "outputPath": { "type": "string", "description": "Output schema file path" }, "options": { "type": "object", "properties": { "generateResolvers": { "type": "boolean", "default": true }, "federation": { "type": "boolean", "default": false }, "generateSubscriptions": { "type": "boolean", "default": false }, "generateInputTypes": { "type": "boolean", "default": true } } } } } ``` ## Output Schema ```json { "type": "object", "properties": { ...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Related Skills