skmtc-graphql

Author GraphQL SDL generators with operation entries, enrichment routing, and mutation schemas.

19|Updated Aug 27, 2025
One-click install
npx skills add https://github.com/skmtc/skmtc --skill skmtc-graphql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skmtc-graphql
Source: https://github.com/skmtc/skmtc/tree/main/deno/docs/skills/skmtc-graphql
Command: npx skills add https://github.com/skmtc/skmtc --skill skmtc-graphql

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers author SKMTC generators for GraphQL SDL without incorrectly applying OpenAPI-specific operation, enrichment, or mutation-argument patterns.

Core Features & Use Cases

  • GraphQL Entry Authoring: Create generator entries with the toGqlOperationEntry factory and process query or mutation operations correctly.
  • Enrichment Routing: Resolve enrichment settings using the GraphQL routing structure based on generator ID, root kind, field name, and variant.
  • Mutation Schema Synthesis: Convert GraphQL mutation arguments into object schemas with synthesizeArgsObject for normalized model insertion.
  • Language Integration: Coordinate GraphQL operation projections with target-language companion factories while preserving the shared SKMTC generator engine rules.
  • Use Case: Build a TypeScript generator that accepts GraphQL SDL, supports selected mutations, synthesizes their argument schemas, and emits language-specific operation projections with correctly routed enrichments.

Quick Start

Use the skmtc-graphql skill alongside skmtc-generator to implement a GraphQL SDL generator with correct entries, enrichment routing, mutation argument synthesis, and target-language projections.

Frequently Asked Questions about skmtc-graphql

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

FAQPage Schema
How do I generate TypeScript code from GraphQL SDL with correct mutations?

GraphQL SDL code generation relies on routing enrichments based on generator ID, root kind, and field variants. This structure ensures operations and mutations are processed correctly across different generator pipelines.

How do I route enrichments for GraphQL queries and mutations correctly?

To route enrichments for GraphQL queries and mutations, resolve settings using the GraphQL routing structure based on generator ID, root kind, field name, and variant. This prevents incorrectly applying OpenAPI-specific patterns to your schema.

How do I convert GraphQL mutation arguments into object schemas?

To convert GraphQL mutation arguments into object schemas, use a mutation schema synthesis function. This normalizes the arguments for model insertion, allowing your code generation pipeline to process inputs consistently.

What is the best way to build a GraphQL SDL generator pipeline in TypeScript?

The best way to build a GraphQL SDL generator pipeline is to coordinate operation projections with target-language companion factories. This preserves shared generator engine rules while emitting language-specific GraphQL queries and mutations.

Why are my GraphQL mutation argument schemas failing during code generation?

GraphQL mutation argument schemas fail during code generation when OpenAPI-specific operation patterns are incorrectly applied. You must use dedicated GraphQL operation entry factories and synthesize arguments into object schemas for correct processing.

Do I need a separate generator engine to handle GraphQL operation projections?

You need a shared generator engine to handle GraphQL operation projections alongside target-language companion factories. This coordinates the generation of queries and mutations while maintaining correct enrichment routing.