enonic-guillotine-query-builder

Generate and optimize Guillotine GraphQL queries for Enonic XP headless delivery.

1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/webmaxru/enonic-agent-skills --skill enonic-guillotine-query-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: enonic-guillotine-query-builder
Source: https://github.com/webmaxru/enonic-agent-skills/tree/main/skills/enonic-guillotine-query-builder
Command: npx skills add https://github.com/webmaxru/enonic-agent-skills --skill enonic-guillotine-query-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Composes, debugs, and optimizes Guillotine GraphQL queries for Enonic XP headless content delivery.

Core Features & Use Cases

Covers query construction, variable usage, filtering, aggregation, pagination, and TypeScript type generation from the auto-generated Guillotine schema. Use when writing or troubleshooting Guillotine queries, querying custom content types through GraphQL, or generating typed interfaces from Guillotine responses. Don't use for content type XML definitions, non-Enonic GraphQL APIs (Apollo, Hasura), server-side lib-content queries, or Guillotine deployment and CORS configuration.

Quick Start

Provide a minimal Guillotine query against a sample content type to validate the setup.

Frequently Asked Questions about enonic-guillotine-query-builder

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

FAQPage Schema
How do I construct Guillotine GraphQL queries for Enonic XP headless content delivery?

Guillotine GraphQL queries for Enonic XP are composed using the queryDsl and queryDslConnection constructs. You build queries with DSL filters, pagination, and aggregation operations to retrieve content from custom content types through the headless GraphQL API.

Can I generate TypeScript types from Guillotine GraphQL responses?

Yes, TypeScript type generation from the auto-generated Guillotine schema creates typed interfaces for your GraphQL responses. This provides type safety when querying custom content types through the Enonic XP headless delivery API.

Does this work with non-Enonic GraphQL APIs like Apollo or Hasura?

No, this is specifically for Enonic XP Guillotine GraphQL queries. It does not support Apollo, Hasura, or other non-Enonic GraphQL APIs, nor server-side lib-content queries or content type XML definitions.

How do I apply filters and pagination in Guillotine queryDsl?

Guillotine queryDsl filters and pagination are applied within the queryDslConnection construct. You use DSL-specific filter expressions and pagination arguments to refine content retrieval from the Enonic XP headless content delivery API.

Why is my Guillotine GraphQL query returning errors with custom content types?

Guillotine GraphQL query errors with custom content types often stem from incorrect type name formatting or misuse of queryDsl constructs. Adhering to the Guillotine DSL structure and reference materials ensures safe, accurate query results for Enonic XP.