api/event-publisher
SkillDev toolsLets 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.
No other account needed.
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
- Find the abstraction you need below
- You MUST read the source file to get the exact interface and types!
- Import:
import { Name } from "<importPath>"; - See
webiny-use-case-patternorwebiny-event-handler-patternskills 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