graphql

Solid

GraphQL schema design, resolvers, directives, subscriptions, and best practices for API development.

API & Backend 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

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

Skill Content

# GraphQL Skill Expert assistance for designing and implementing GraphQL APIs. ## Capabilities - Design GraphQL schemas with SDL - Implement resolvers and data loaders - Create custom directives - Set up subscriptions for real-time - Handle authentication and authorization - Optimize query performance ## Usage Invoke this skill when you need to: - Design GraphQL API schemas - Implement resolvers - Add real-time subscriptions - Create custom directives - Optimize N+1 queries ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | typeName | string | Yes | GraphQL type name | | operations | array | No | queries, mutations, subscriptions | | directives | array | No | Custom directives | ## Schema Design Patterns ### Type Definitions ```graphql # schema.graphql # Scalars scalar DateTime scalar JSON # Enums enum Role { USER ADMIN } enum SortOrder { ASC DESC } # Types type User { id: ID! name: String! email: String! role: Role! posts: [Post!]! createdAt: DateTime! updatedAt: DateTime! } type Post { id: ID! title: String! content: String! published: Boolean! author: User! comments: [Comment!]! createdAt: DateTime! } type Comment { id: ID! content: String! author: User! post: Post! createdAt: DateTime! } # Pagination type PageInfo { hasNextPage: Boolean! hasPreviousPage: Boolean! startCursor: String endCursor: String } type UserEdge { node: User! cursor: String!...

Details

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

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Featured

graphql

GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server.

39,350 Updated today
sickn33
API & Backend Listed

graphql-design

【GraphQL设计】设计 GraphQL Schema,包含类型定义、查询/变更设计、分页方案、错误处理、性能优化(N+1防护)。 触发时机: - 用户要求"设计GraphQL API"、"GraphQL Schema" - 从 REST 迁移到 GraphQL - 需要优化 GraphQL 性能 输出可执行的 Schema 定义。

0 Updated 2 days ago
afine907
API & Backend Solid

graphql

GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.

27,705 Updated today
davila7
API & Backend Listed

graphql

GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.

335 Updated today
aiskillstore
AI & Automation Listed

graphql-architect

Use when designing GraphQL schemas, implementing Apollo Federation, or building real-time subscriptions. Invoke for schema design, resolvers with DataLoader, query optimization, federation directives.

2 Updated today
zacklecon