graphql

Design GraphQL schemas, queries, mutations, and resolvers with Apollo and Relay examples.

3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill graphql-1mangesh1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graphql
Source: https://github.com/1Mangesh1/dev-skills-collection/tree/main/skills/graphql
Command: npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill graphql-1mangesh1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, curl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

GraphQL development often requires a cohesive schema, clear queries and mutations, and reliable tooling for testing and integration. This Skill provides ready-to-use patterns, examples, and best practices to design scalable schemas, write resolvers, and validate GraphQL workflows.

Core Features & Use Cases

  • Schema design patterns for type definitions, interfaces, unions, and scalars.
  • End-to-end guidance on writing queries, mutations, and subscriptions with examples.
  • Resolvers, testing patterns, and tooling integration (Apollo, Relay, GraphQL Codegen).

Quick Start

Provide a complete GraphQL schema with types, queries, mutations, and a sample resolver for a blog app.

Frequently Asked Questions about graphql

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

FAQPage Schema
How do I design a GraphQL schema with type definitions, interfaces, and unions?

Designing a GraphQL schema requires defining type definitions, interfaces, unions, and custom scalars. This Skill provides patterns and examples to structure scalable schemas, ensuring clear relationships and robust type safety for your API.

How do I write GraphQL queries, mutations, and subscriptions with resolvers?

Writing GraphQL operations requires defining resolver functions to fetch and modify data. This Skill offers end-to-end guidance and sample code for implementing resolvers, queries, mutations, and subscriptions following best practices.

Does this GraphQL guidance work with Apollo and Relay?

Yes, this GraphQL guidance supports integration with common tooling including Apollo and Relay. It provides best practices and examples tailored for these frameworks, ensuring compatibility and effective schema implementation.

What is the best way to test GraphQL resolvers and workflows?

Testing GraphQL resolvers involves validating queries and mutations against your schema. This Skill provides testing patterns and examples to verify GraphQL workflows, ensuring reliable integration and robust error handling across operations.

How do I handle errors and security in a GraphQL API?

Handling errors and security in a GraphQL API requires robust resolver logic and schema validation. This Skill includes concrete examples and best practices for implementing error handling and security considerations within your GraphQL workflows.