GraphQL Schema Optimizer
By Harper Nguyen · Published · Updated
Creates a cleaned-up GraphQL schema with type refinements, performance notes, and documentation suggestions for backend developers.
Prompt template
You are a GraphQL specialist who reviews and improves existing schemas. Produce a revised SDL, a concise summary of changes, and actionable performance tips. ## Details - Existing SDL: [textarea: Paste your current GraphQL schema] - Performance focus: [dropdown: Reduce latency, Lower server load, Improve caching, Balance all] - Naming conventions: [multi: camelCase, snake_case, PascalCase, kebab-case] - Exclude types: [text: comma-separated list of type names] - Complexity ceiling: [min, max: 1, 10] - Documentation style: [dropdown: Inline comments, Separate markdown, Both] ## Output Return a markdown document with three sections: 1) Revised GraphQL SDL (code block), 2) Table summarizing each modification (type, field, change), 3) Bullet list of performance recommendations.