dnd-graphql

Implement GraphQL resolver, query, mutation, and subscription patterns for D&D 5e applications.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/optioni/dungeons-and-dragons --skill dnd-graphql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dnd-graphql
Source: https://github.com/optioni/dungeons-and-dragons/tree/main/.claude/skills/dnd-graphql
Command: npx skills add https://github.com/optioni/dungeons-and-dragons --skill dnd-graphql

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill addresses the challenge of implementing GraphQL resolvers, queries, mutations, and subscriptions for Dungeons & Dragons (D&D) 5e applications, providing a structured approach for developers to handle relay pagination, connection types, decorators, guards, and filter inputs.

Core Features & Use Cases

  • GraphQL Patterns: Offers guidance on using GraphQL infrastructure for D&D 5e applications.
  • Relay Connection Pattern: Provides the pattern for creating custom Relay connection types.
  • Filter Input Convention: Defines conventions for where inputs and logical combinators.
  • OrderBy Input Convention: Outlines how to define and use order by inputs for entities.
  • Auth Patterns: Covers global authentication guard usage and token handling.
  • Use Case: A developer is tasked with implementing a GraphQL API for a D&D application. This skill assists in structuring and implementing the necessary GraphQL components.

Quick Start

Activate the dnd-graphql skill to learn the best practices for integrating GraphQL into your D&D 5e application.

Frequently Asked Questions about dnd-graphql

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement GraphQL resolvers and queries for a D&D 5e application?

You implement GraphQL resolvers and queries for a D&D 5e application by applying structured patterns for Relay pagination, connection types, decorators, guards, and filter inputs. This provides a standardized way to handle data fetching and mutations.

What is the best way to structure GraphQL filter inputs and logical combinators?

The best way to structure GraphQL filter inputs is to follow a defined convention that specifies where inputs and logical combinators are placed. This ensures queries for entities remain consistent and maintainable.

How do I set up Relay pagination and custom connection types in GraphQL?

Set up Relay pagination and custom connection types in GraphQL by using a specific pattern designed for creating custom connection types. This allows efficient data traversal for large lists of entities.

Do I need to know the D&D 5e API to use GraphQL decorators and guards?

Yes, you need working knowledge of the D&D 5e API and GraphQL to use decorators and guards effectively. These authentication patterns cover global guard usage and token handling for securing your application.

How do I define and use orderBy inputs for GraphQL entities?

Define and use orderBy inputs for GraphQL entities by following an outlined convention for sorting query results. This standardizes how clients request ordered data from your API.