Install any skill in seconds. Free to start, no credit card required.
Get Started Free →rohitg00/graphql-design
GraphQL schema design, resolver patterns, subscriptions, DataLoader for N+1 prevention, and error handling
Passed 18 of 22 test cases with the skill, and 15 of 22 without it.
and 2 more in the full report
3 fixed15 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
We are building a product catalog API in GraphQL where users can browse paginated lists of products and retrieve associated reviews for each item. Could you provide the GraphQL schema for querying products and reviews, along with the TypeScript resolvers and batch loading setup to handle nested database queries efficiently?
| Checked | Without skill | With skill |
|---|---|---|
| The reviews field on the Product type uses Relay-style cursor pagination arguments such as first and after | Missed | Passed |
| The reviews field returns a ReviewConnection type rather than a bare array of Review objects | Missed | Passed |
The instructions your model reads when the skill loads.
type Query {
user(id: ID!): User
users(filter: UserFilter, first: Int = 20, after: String): UserConnection!
}
type Mutation {
createUser(input: CreateUserInput!): CreateUserPayload!
updateUser(id: ID!, input: UpdateUserInput!): UpdateUserPayload!
}
type Subscription {
orderStatusChanged(orderId: ID!): Order!
}
type User {
id: ID!
email: String!
name: String!
orders(first: Int = 10, after: String): OrderConnection!
createdAt: DateTime!
}
input CreateUserInput {
email: String!
name: String!
}
type CreateUserPayload {
user: User
errors: [UserError!]!
}
type UserError {
field: String!
message: String!
test cases passed, vs 15 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.