/enonic-skills:enonic-event-managerfrom enonic-skills
Sets up Enonic XP event listeners, webhook configurations, and external system integrations triggered by content lifecycle events. Covers lib-event listener registration, node event filtering, outbound webhook configuration via com.enonic.xp.webhooks.cfg, custom HTTP service controllers for inbound webhooks, task-based async processing with lib-task, and outbound HTTP calls with lib-httpClient. Use when listening for content publish/create/update/delete events, configuring outbound webhooks, building HTTP service endpoints for inbound webhooks, or triggering async processing on content changes. Do not use for content querying, frontend component development, non-Enonic event systems, or GitHub webhook configuration.
Ships in enonic-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Step 1: Detect the Enonic XP project
node scripts/find-enonic-targets.mjs . to locate Enonic XP project roots in the workspace.gradle.properties (appName) or build.gradle.Step 2: Determine integration direction
references/event-reference.md to identify the correct event types, listener patterns, and filtering strategies.references/webhook-reference.md when the task involves outbound webhook configuration or inbound HTTP service endpoints.Step 3: Implement outbound event listener (if applicable)
assets/event-listener.template.ts as a starting scaffold.main.ts (or main.js) controller using lib-event's listener() function.type parameter with a pattern matching the target node events (e.g., node.pushed, node.created, node.updated, node.deleted).event.data.nodes[].path to restrict processing to the intended content tree.request() function inside the callback or delegate to a background task.executeFunction() to avoid blocking the event thread.references/examples.md for complete integration patterns including CDN invalidation, search reindexing, and notification dispatch.Step 4: Configure outbound webhooks (if applicable)
references/webhook-reference.md for the com.enonic.xp.webhooks.cfg configuration format.XP_HOME/config/com.enonic.xp.webhooks.cfg with webhook entries specifying the target URL and event types.REPLACE_WITH_CDN_SECRET) and instruct the operator to substitute real credentials out-of-band. Secrets must be managed by the operator through secure deployment pipelines, environment variables, or secret management tools—not committed to files.Step 5: Implement inbound webhook endpoint (if applicable)
assets/http-service.template.ts as a starting scaffold.src/main/resources/services/<serviceName>/<serviceName>.ts.post(req) function that parses the incoming JSON payload from req.body..., /, \).200 for success, 400 for malformed payloads, 401 for authentication failures, 413 for oversized payloads, 500 for unexpected errors.Step 6: Wire async processing with lib-task (if applicable)
executeFunction() from lib-task.progress() to allow monitoring.references/event-reference.md for the task event lifecycle (task.submitted, task.updated, task.removed, task.finished, task.failed).Step 7: Validate the integration
node scripts/find-enonic-targets.mjs . to confirm the project still resolves correctly.main.ts or main.js file, which runs at application startup.references/troubleshooting.md when events do not fire, webhook deliveries fail, or inbound requests are rejected.node scripts/find-enonic-targets.mjs . finds no projects, confirm that build.gradle references com.enonic.xp plugins or that a src/main/resources/site/ directory exists.references/troubleshooting.md to check listener registration location, event type patterns, and cluster vs. local event scope.services/<name>/<name>.ts and the application is deployed.taskLib.list() and inspect logs for errors within the task function.assets/event-listener.template.ts (opens in a new tab)assets/http-service.template.ts (opens in a new tab)references/event-reference.md (opens in a new tab)references/examples.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)references/webhook-reference.md (opens in a new tab)scripts/find-enonic-targets.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
enonic-skills@webmaxru-ai-native-dev is listed by webmaxru/ai-native-dev — review the source before installing
npx claudepluginhub webmaxru/ai-native-dev --plugin enonic-skills8 skills in this plugin
/enonic-app-managerGuides developers through Enonic CLI commands for sandbox management, project scaffolding, local development, app deployment, and CI/CD pipeline generation. Use when creating Enonic XP sandboxes, starting or stopping local instances, scaffolding projects from starters, running dev mode with hot-reload, deploying apps, or generating CI/CD workflows for Enonic apps. Don't use for writing XP application code (controllers, content types), querying via Guillotine or lib-content APIs, configuring non-Enonic environments, or Docker/Kubernetes deployment of XP./enonic-content-managementGenerates Enonic XP scripts for bulk content operations — creating, updating, querying, migrating, and transforming content using lib-content and lib-node APIs. Covers the query DSL (NoQL), aggregations, batch processing, task controllers for long-running operations, and export/import workflows. Use when writing bulk content creation, update, or deletion scripts, querying with NoQL syntax, migrating content between environments, running long-running task operations, or working with aggregations and paginated retrieval. Do not use for Guillotine GraphQL frontend queries, content type schema definitions, single contentLib.get() calls, or non-Enonic data migration tools./enonic-content-type-generatorGenerates Enonic XP content type XML schema definitions from natural-language descriptions. Covers structured content modeling including input types, form layout, option sets, item sets, mixins, x-data, and content-type inheritance. Use when creating, scaffolding, or generating Enonic XP content type definitions, adding fields or sets to existing content types, or querying Enonic XP input types and super-types. Do not use for non-Enonic content modeling, GraphQL queries, JavaScript/TypeScript controllers, or generic XML editing unrelated to Enonic schemas./enonic-controller-generatorGenerates Enonic XP controller files (TypeScript/JavaScript) and paired XML descriptors for pages, parts, and layouts. Covers lib-portal imports, HTTP handler exports, region definitions, Thymeleaf/Mustache rendering, and response processors. Use when scaffolding page controllers with regions, part controllers with config access, layout controllers with multi-region support, or response processors for Enonic XP sites. Do not use for content type schemas, headless Next.js/React frontends, GraphQL Guillotine queries, or non-Enonic web frameworks./enonic-guillotine-query-builderComposes, debugs, and optimizes Guillotine GraphQL queries for Enonic XP headless content delivery. Covers query construction, variable usage, filtering, aggregation, pagination, sorting, 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./enonic-library-referenceEnonic XP server-side JavaScript/TypeScript API reference for all /lib/xp/* libraries. Provides function signatures, parameters, return types, and usage examples for lib-content, lib-node, lib-auth, lib-portal, lib-context, lib-event, lib-task, lib-repo, lib-io, lib-mail, lib-schema, lib-project, lib-export, lib-scheduler, lib-value, lib-i18n, lib-websocket, lib-admin, lib-app, lib-auditlog, lib-cluster, lib-common, lib-grid, and lib-vhost. Use when looking up Enonic XP library functions, parameter shapes, return types, or usage examples. Do not use for Guillotine GraphQL queries, content type schema definitions, Enonic CLI commands, or non-Enonic JavaScript APIs.