contract-designer

Define service contracts with OpenAPI and AsyncAPI before implementation.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/Prathmesh2000/cursor_agent-orchestrator --skill contract-designer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contract-designer
Source: https://github.com/Prathmesh2000/cursor_agent-orchestrator/tree/main/agent-system/skills/contract-designer
Command: npx skills add https://github.com/Prathmesh2000/cursor_agent-orchestrator --skill contract-designer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing and documenting contracts between services to ensure API boundaries, event schemas, and data agreements are agreed before implementation, reducing integration issues later.

Core Features & Use Cases

  • REST API contracts using OpenAPI to define endpoints, request/response schemas, and versioning.
  • Event contracts using AsyncAPI to describe event channels, payloads, and guarantees.
  • Data contracts & governance to align data models and cross-service expectations, with ADR-style decision records.
  • Use Case: When teams plan a new microservice, design contracts first to enable independent development and safer migrations.

Quick Start

Document the REST API endpoints, event schemas, and data contracts for your new service before implementation.

Frequently Asked Questions about contract-designer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design and document contracts between microservices before implementation?

To design and document contracts between microservices, define API boundaries, event schemas, and data agreements using OpenAPI and AsyncAPI formats. This ensures aligned service expectations and reduces integration issues before implementation begins.

What is the best way to define event contracts for microservice architectures?

The best way to define event contracts is using AsyncAPI to describe event channels, payloads, and guarantees. This establishes clear boundaries and expectations for asynchronous communication between services.

How do I enforce backward compatibility and versioning for REST API contracts?

Enforce backward compatibility and versioning for REST API contracts by applying OpenAPI formats and governance processes during design-time negotiations. This maintains aligned API boundaries across service updates and migrations.

Do I need data contracts and governance processes for my microservices?

You need data contracts and governance processes to align data models and cross-service expectations. Using ADR-style decision records ensures that data agreements are documented and governed before implementation.

How does contract governance work for API and event boundaries across services?

Contract governance works by enforcing design-time negotiations, OpenAPI/AsyncAPI formats, and versioning rules across services. This process ensures backward compatibility and aligned API, event, and data boundaries before implementation.