enonic-guillotine-query-builder
Installation
SKILL.md
Enonic Guillotine Query Builder
Procedures
Step 1: Scan the workspace for existing Guillotine usage
- Execute
node scripts/find-guillotine-targets.mjs .to inventory files containing Guillotine markers (query strings, library imports, endpoint references). - If a Node runtime is unavailable, search the workspace manually for
guillotine,queryDsl,queryDslConnection, or/lib/guillotinein.ts,.js,.graphql, and.gqlfiles. - Note the Guillotine version in use: if
query(query: "...")string-based fields are found, the project uses the deprecated 5.x-style API; ifqueryDsl/queryDslConnectionare found, the project uses 6.x+ DSL. Check forexports.extensionsinguillotine/guillotine.jsto detect Guillotine 7 Extensions API usage. - If both styles coexist, flag the deprecated usage for migration.
Step 2: Load the Guillotine API reference
- Read
references/guillotine-reference.mdbefore composing any query. - Read
references/compatibility.mdwhen the workspace targets or migrates between Guillotine versions.