graphql-schema-designer
SkillDev toolsDesigns ergonomic, performant GraphQL schemas with Relay pagination, input validation, and N+1 prevention.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the graphql-schema-designer skill
What this skill tells your AI
The instructions your AI receives, as published by codebygarv/ai-skills in skills/development/graphql-schema-designer/SKILL.md and read by ahel’s review.
Purpose
Design clean, evolvable, and performant GraphQL schemas following best practices for naming, mutations, connection pagination, error modeling, and batch resolution (DataLoader).
When to Use
- Designing new GraphQL types, queries, and mutations.
- Refactoring sprawling, unprincipled GraphQL schemas.
- Preventing N+1 database queries and performance bottlenecks in nested resolvers.
What to Analyze
- Schema Design & Naming: Verb-noun conventions for mutations, scalar types, and deprecation strategies.
- Pagination Pattern: Relay Cursor Connections (
first,after,edges,node,pageInfo). - Mutation Design: Single input object argument (
input: DoSomethingInput!), and return payload witherrorsunion. - N+1 Resolver Prevention: DataLoader batching strategies for related entity fields.
- Security & Complexity: Query depth limits and field complexity calculations.
Output Format
- Schema Definition Language (SDL): Complete
.graphqltypes, inputs, and payloads. - DataLoader Specification: Batching pattern needed for nested resolvers.
- Usage Example: Sample query/mutation with expected JSON response.
- Evolution Guide: How to safely deprecate and extend fields without breaking existing mobile/web clients.
Avoid
- Mirroring database tables 1:1 into GraphQL types without domain abstraction.
- Using offset-based pagination in public or high-throughput GraphQL APIs.
Signals
- GitHub stars
- 26
- Forks
- 1
- Last commit
- Aug 2026
Others that do the same job
Advanced
- Item type
- skill
- Key
graphql-schema-designer-codebygarv- Source
- github.com/codebygarv/ai-skills
github.com/codebygarv/ai-skills