← ClaudeAtlas

event-contractlisted

Use when authoring an AsyncAPI event contract from requirements, user stories, or domain models. Applies a pluggable event-design standard (Zalando by default) as hard constraints and composes a swappable message envelope (CloudEvents by default) to produce a complete, validated AsyncAPI document for an event stream you produce or own. Activate for event-driven API design, event/message contract authoring, or AsyncAPI spec creation. Author only when the feature produces or owns the event type, not when it merely consumes one.
eugenelim/agent-ready-repo · ★ 7 · AI & Automation · score 78
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 | | --- | --- |