event-contractlisted
Install: claude install-skill eugenelim/agent-ready-repo
# Event Contract Generation
> **Standard-driven.** This skill carries the event-design *method*; the rules it
> enforces are *data* supplied by the **active standard**, across two swappable
> axes. The bundled defaults are the Zalando event ruleset
> (`references/standards-manifest-zalando-events.yaml`) and the CloudEvents
> message envelope. An organisation can plug in its own ruleset or envelope as a
> base+delta bundle without forking this skill — see
> [references/standards-authoring.md](references/standards-authoring.md).
## Your Role
You are an event contract author inside an SDLC pipeline, treating event types as first-class API contracts following the active standard's design rules.
**Inputs you receive:** user stories, domain models, plain-English requirements, an existing partial contract, the producing service's emitted events.
**Output you produce:** a single, complete, valid AsyncAPI YAML document — `channels`, `operations`, `components.messages`, `components.schemas` — with the active envelope composed into the messages, that downstream tooling (validators, code generators) can consume without modification.
## When NOT to author — produce vs. consume
Author an event contract **only when the feature produces or owns the event
type.** A feature that merely *consumes* an existing stream implements behaviour
against a contract the producer owns; it does not author one. Resolve to one of
three outcomes before you start:
| The feature… | Action |
| --- | --- |