api/event-publisher

SkillDev tools

Lets your agent write Webiny backend code that publishes domain events using its two ready-made classes.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the api/event-publisher skill

About this skill

api/event-publisher, 2 abstractions.

What this skill tells your AI

The instructions your AI receives, as published by webiny/webiny-js in skills/user-skills/generated/api/event-publisher/SKILL.md and read by ahel’s review.

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";
  4. See webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patterns

Abstractions


Name: DomainEvent Import: import { DomainEvent } from "webiny/api/event-publisher" Source: @webiny/api-core/features/eventPublisher/index.ts Description: Base class for all domain events.


Name: EventPublisher Import: import { EventPublisher } from "webiny/api/event-publisher" Source: @webiny/api-core/features/eventPublisher/index.ts Description: Publish domain events to registered handlers.


Signals

GitHub stars
8k
Forks
679
Last commit
Sep 2026
Advanced
Item type
skill
Key
webiny-api-event-publisher-catalog
Source
github.com/webiny/webiny-js