contracts¶
Contract-authoring skills for API and event design. api-contract drives OpenAPI 3.1; event-contract drives AsyncAPI events.
What's inside¶
api-contract— author and review OpenAPI 3.1 contracts.event-contract— author and review AsyncAPI event contracts.
Install¶
contracts is user-scope by default — contract style is portable across projects.
Usage¶
Ask your agent, for example:
- "Draft an OpenAPI 3.1 contract for the orders service: create, get, cancel."
- "Review this OpenAPI spec for breaking changes against the previous version."
- "Design an AsyncAPI contract for the
order.placedevent stream."
→ Go deeper: the contracts guides.