Skip to content
Back to skills

Graphql Builder

ASecurity

Error: --type required. Use when you need graphql builder capabilities. Triggers on: graphql builder, type, entity, fields, relations, lang.

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
securitygoapibackenddocumentation

Works with

  • cursor
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned May 30, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill graphql-builder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Graphql Builder?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Graphql Builder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-graphql-builder/badge)](https://www.skillsdirectory.com/skills/dvcrn-graphql-builder)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: graphql-builder
description: "Error: --type required. Use when you need graphql builder capabilities. Triggers on: graphql builder, type, entity, fields, relations, lang."
---

# graphql-builder

Generate complete GraphQL schemas, type definitions, resolvers, queries, mutations, and subscriptions from natural language descriptions. Supports custom scalars, enums, interfaces, unions, input types, pagination (Relay-style cursor and offset), authentication directives, field validation, N+1 query prevention with DataLoader patterns, and subscription setup. Outputs production-ready schema files with proper documentation and examples.

## Commands

| Command | Description |
|---------|-------------|
| `schema` | Generate a complete GraphQL schema from description |
| `type` | Generate type definitions with fields and relations |
| `resolver` | Generate resolver functions (Query/Mutation/Field) |
| `query` | Generate query operations with variables |
| `mutation` | Generate mutation operations with input types |
| `subscription` | Generate subscription definitions |
| `enum` | Generate enum type definitions |
| `interface` | Generate interface and implementing types |
| `pagination` | Add Relay-style cursor pagination |
| `auth` | Add authentication/authorization directives |

## Usage

```
# Generate complete schema for a blog API
graphql-builder schema --domain "blog with users, posts, comments, tags"

# Generate type definitions
graphql-builder type --name User --fields "id:ID!,name:String!,email:String!,posts:[Post!]!"

# Generate resolvers for a type
graphql-builder resolver --type User --operations "getUser,listUsers,createUser,updateUser"

# Generate query with pagination
graphql-builder query --name listPosts --pagination cursor --filters "status,author"

# Generate mutation with validation
graphql-builder mutation --name createPost --input "title:String!,body:String!,tags:[String!]"

# Generate subscription
graphql-builder subscription --name onPostCreated --type Post

# Add authentication directives
graphql-builder auth --strategy jwt --roles "admin,editor,viewer"
```

## Examples

### E-commerce Schema
```
graphql-builder schema --domain "e-commerce with products, categories, orders, users, reviews, cart"
```

### Social Media Schema
```
graphql-builder schema --domain "social media with users, posts, comments, likes, follows, messages"
```

### SaaS Schema
```
graphql-builder schema --domain "SaaS with organizations, users, projects, tasks, billing"
```

## Features

- **Full schema generation** — Types, queries, mutations, subscriptions
- **Relay pagination** — Cursor-based connection types
- **Authentication** — JWT/session-based auth directives
- **Validation** — Input validation with custom directives
- **DataLoader** — N+1 prevention patterns
- **Documentation** — Inline descriptions and examples
- **Resolvers** — Complete resolver implementations

## Keywords

graphql, schema, api, query, mutation, subscription, resolver, type system, api design, backend
---
💬 Feedback & Feature Requests: https://bytesagain.com/feedback
Powered by BytesAgain | bytesagain.com

Files in this skill

  • SKILL.md3.1 KB
  • scripts/main.sh11.2 KB
  • tips.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.