openapi/add-event
Source
Usage
bash
npm exec saf-workflow kickoff openapi/add-event <path>To run this workflow automatically, tell the agent to:
- Navigate to the target package
- Run this command
- Follow the instructions until done
Checklist
When run, the workflow will:
- Copy template files and rename placeholders.
- Update example_event.yaml. Resolve all TODOs.
- Run
npm exec saf-specs generate - Run
npx tsc --noEmit
Help Docs
bash
Usage: npm exec saf-workflow kickoff openapi/add-event <path>
Add a new event to an existing OpenAPI specification package
Arguments:
path The path for the event (e.g., 'product_view' or 'cart_add')
Example: "./events/example_event.yaml"