gql-sdk-creation

Create GraphQL SDK operation packages with NX generators in monorepos.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jordanfbrown/dotfiles --skill gql-sdk-creation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gql-sdk-creation
Source: https://github.com/jordanfbrown/dotfiles/tree/main/claude/dot-claude/skills/gql-sdk-creation
Command: npx skills add https://github.com/jordanfbrown/dotfiles --skill gql-sdk-creation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create standardized GraphQL SDK operation packages in a front-end monorepo to streamline adding new operations with consistent scaffolding.

Core Features & Use Cases

  • NX-based generator usage for gql-sdk-operation to produce query/mutation packages with libraryOwner and operation type.
  • Generates and organizes files for queries, fragments, and type generation, plus export wiring for packages.
  • Use Case: When your frontend needs to add a new GraphQL operation, run the generator and integrate it into the monorepo with supported schemas.

Quick Start

Run the NX generator to create a new gql-sdk-operation package and follow up with updating generated files, downloading schemas, generating types, and exporting the package.

Frequently Asked Questions about gql-sdk-creation

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

FAQPage Schema
How do I generate a GraphQL SDK package in an NX monorepo?

To generate a GraphQL SDK package in an NX monorepo, run the NX generator to scaffold query and mutation operation files, then update generated files and export the package. This automates file scaffolding for new GraphQL operations.

What does automated GraphQL SDK scaffolding include for frontend monorepos?

Automated GraphQL SDK scaffolding includes generating and organizing files for queries, fragments, and type generation. It also handles downloading schemas and wiring package exports with proper error handling across NX-powered workspaces.

Does this GraphQL SDK generator work with NX workspaces and specific operation types?

Yes, this GraphQL SDK generator works with NX workspaces by using the gql-sdk-operation generator. It accepts libraryOwner and operation type parameters to produce standardized query and mutation packages for supported schemas.

What is the best way to standardize GraphQL query and mutation scaffolding across NX workspaces?

The best way to standardize GraphQL query and mutation scaffolding across NX workspaces is using an NX generator to create SDK operation packages. This ensures consistent file generation, schema downloads, and type exports for every new operation.

Do I need NX to auto-generate GraphQL operation packages with fragments and type generation?

Yes, you need NX to auto-generate GraphQL operation packages, as the generator applies specifically to NX-powered workspaces. It relies on NX generator usage to scaffold queries, fragments, and type generation files within the monorepo.