Graphql
Use when: design or review GraphQL schemas and resolvers with safe, efficient data access.From its SKILL.md
npx -y skills add kimtth/agent-skill-100-lines-or-less --skill graphqlAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.0 KB, 198 tokens by cl100k_base, as published. Nobody here has run it
Goal: a typed GraphQL schema that is expressive and not abusable.
Use for:
- designing schemas, types, and mutations
- reviewing resolver efficiency and security
- fixing N+1 queries and over-fetching risks
Workflow:
- Design the schema from the client's data needs.
- Model nullability and types precisely.
- Batch and cache resolver data with a dataloader pattern.
- Limit query depth and complexity to prevent abuse.
- Handle errors as typed results where it aids clients.
- Verify with schema tests and performance checks.
Patterns:
- dataloaders to batch and dedupe per request
- pagination via connections/edges
- input types for mutations
- persisted queries for trusted clients
Rules:
- prevent N+1 with batching, not eager joins everywhere
- cap query depth and complexity on public APIs
- never expose internal errors raw to clients
- evolve the schema additively; deprecate before removing
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.