events array. It writes modules/<module>/src/events/<Name>Event.ts and modules/<module>/tests/events/<Name>Event.spec.ts, installing the @talosjs/event dependency if it is missing. When --channel is omitted, the channel defaults to the kebab-case form of the name.
Usage
Examples
Options
AI Skill
This command ships a matchingevent:create skill. Your AI agent uses it to generate the publish/subscribe event class and its test file, then implement the data type, channel, and handler for an event that extends PubSub from @talosjs/event.
- Claude
- Codex