webmaxru avatar

Enonic Guillotine Query Builder

This one helps you write and debug GraphQL queries for Enonic XP's Guillotine headless API. It scans your workspace for existing queries, builds DSL queries with proper filtering and pagination, handles content type fragments with the right underscore naming convention, and can generate TypeScript types from your schema. The skill knows the differences between Guillotine 5.x string queries and the modern 6.x+ DSL, which matters if you're maintaining older projects. It's opinionated about using connection variants when you need aggregations or highlighting, and it won't help with server-side lib-content queries or Apollo clients. Useful if you're tired of debugging null fragments or wrestling with QueryDSLInput nesting.

skills.sh installs
483
last updated
Aug 21, 2026

Install

$ npx -y skills add webmaxru/enonic-agent-skills --skill enonic-guillotine-query-builder --agent claude-code

Installs into .claude/skills of the current project.

Files

Enonic Guillotine Query Builder

Procedures

Step 1: Scan the workspace for existing Guillotine usage

  1. Execute node scripts/find-guillotine-targets.mjs . to inventory files containing Guillotine markers (query strings, library imports, endpoint references).
  2. If a Node runtime is unavailable, search the workspace manually for guillotine, queryDsl, queryDslConnection, or /lib/guillotine in .ts, .js, .graphql, and .gql files.
  3. Note the Guillotine version in use: if query(query: "...") string-based fields are found, the project uses the deprecated 5.x-style API; if queryDsl / queryDslConnection are found, the project uses 6.x+ DSL. Check for exports.extensions in guillotine/guillotine.js to detect Guillotine 7 Extensions API usage.
  4. If both styles coexist, flag the deprecated usage for migration.

Step 2: Load the Guillotine API reference

  1. Read references/guillotine-reference.md before composing any query.
  2. Read references/compatibility.md when the workspace targets or migrates between Guillotine versions.

Sponsors

Details

Repository
github.com/webmaxru/enonic-agent-skills
Categories
Backend & APIs, Documentation, AI & Agent Building, Debugging
First seen
Jun 3, 2026

More from webmaxru/enonic-agent-skills

All 12
1prowler-cloud avatardjango-drfprowler-cloud/prowlerDjango REST Framework patterns. Trigger: When implementing generic DRF APIs (ViewSets, serializers, routers, permissions, filtersets). For Prowler API specifics482skills.sh installs
2jezweb avatarai-sdk-corejezweb/claude-skillsBuild backend AI with Vercel AI SDK v6 stable. Covers Output API (replaces generateObject/streamObject), speech synthesis, transcription, embeddings, MCP tools 479skills.sh installs
3aj-geddes avatardjango-applicationaj-geddes/useful-ai-promptsDevelop production-grade Django applications with models, views, ORM queries, authentication, and admin interfaces. Use when building web applications, managing476skills.sh installs
4senpi-ai avatarsenpi-onboardsenpi-ai/senpi-skillsOnboards an AI agent into the Senpi trading platform by creating an account, generating an API key, and configuring the Senpi MCP server connection. Supports wa475skills.sh installs
5madteacher avatardart-driftmadteacher/mad-agents-skillsBuild, fix, audit, and migrate Drift persistence in Dart CLI, server-side, and non-Flutter desktop apps. Use when adding SQLite with package:drift/native.dart, 474skills.sh installs
6ccheney avatarmermaid-diagramsccheney/robust-skillsProactively suggest diagrams when explaining complex systems. Triggers on diagrams, charts, visualizations, flowcharts, sequence diagrams, architecture diagrams473skills.sh installs