What problem does it solve?
This Skill solves the common pain point of inconsistent, poorly documented, or breaking API changes that cause integration failures, consumer downtime, and costly rework across development teams and external partners.
Core Features & Use Cases
- Multi-Protocol API Design: Covers REST (OpenAPI 3.1), gRPC (Protobuf), and GraphQL schema authoring with idiomatic, production-grade patterns for each.
- Stability & Compatibility: Provides versioning strategies, breaking vs non-breaking change rules, and Protobuf schema evolution guidelines to maintain backward compatibility.
- Contract Testing & Validation: Includes consumer-driven contract testing with Pact, RFC 7807 error formatting, idempotency handling, and pagination best practices to catch issues before deployment.
- Use Case Example: A team building a microservices e-commerce platform uses this Skill to design consistent order, payment, and customer APIs, preventing breaking changes that would crash mobile apps or partner integrations.
Quick Start
Use the api-contract-design skill to create a complete OpenAPI 3.1 specification for your new order management API, including versioning, error handling, and pagination rules.