ngql

Translate natural-language GraphQL intents into NGql query-builder C# code.

Updated May 2, 2026
One-click install
npx skills add https://github.com/dolifer/claude-plugins --skill ngql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ngql
Source: https://github.com/dolifer/claude-plugins/tree/main/plugins/ngql/skills/ngql
Command: npx skills add https://github.com/dolifer/claude-plugins --skill ngql

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Translates the user's GraphQL intent into NGql query-builder C# code. Use when the user asks to 'build a query', pastes a GraphQL operation or curl that needs porting to NGql, asks to filter / preserve fields from an existing builder, or mentions QueryBuilder / Mutation / PreservationBuilder / NGql by name. NGql is a zero-dependency, schema-less .NET GraphQL query builder — the user supplies the schema knowledge (field names, types), the Skill produces the fluent code.

Core Features & Use Cases

  • Automatic NGql code generation from natural language, pasted GraphQL or curl, or refactor/preserve requests.
  • Schema-agnostic: the user provides field names and types; the Skill renders fluent NGql code that matches the schema.
  • Rich features: variables, fragments, inline fragments, PreservationBuilder support, and a stable API surface for composing queries.

Quick Start

Ask me to generate an NGql builder from a natural-language description and I will output a ready-to-use NGql snippet.

Frequently Asked Questions about ngql

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

FAQPage Schema
How do I generate C# GraphQL queries from natural language?

You can generate C# GraphQL queries by translating natural-language intents into NGql query-builder code. This produces ready-to-run fluent C# snippets that match your schema without requiring a predefined schema file.

Can I port an existing GraphQL operation or curl request into C# code?

Yes, you can port pasted GraphQL operations or curl requests into C# code. The tool translates the pasted request structure into equivalent NGql query-builder syntax, generating a fluent C# snippet for your .NET application.

Does the NGql builder support variables and fragments in C#?

The NGql builder supports variables, fragments, and inline fragments in C#. It renders fluent code that incorporates these GraphQL features, allowing you to compose complex queries using a stable API surface.

How do I filter or preserve specific fields in an existing GraphQL query builder?

You can filter or preserve fields from an existing builder using the PreservationBuilder. By mentioning PreservationBuilder or asking to preserve fields, the tool generates C# code that maintains your selected fields during query construction.

Do I need a GraphQL schema file to build queries in C#?

No, you do not need a schema file to build queries in C#. NGql is schema-agnostic and zero-dependency; you supply the field names and types, and the tool renders the matching fluent query-builder code.

What is the best way to refactor a GraphQL query into a C# builder?

The best way to refactor a GraphQL query into a C# builder is to provide the operation or describe the intent. The tool outputs structured NGql code, handling variables and fragments to create a ready-to-use snippet.