API Contract Designer & Reviewer

0•

Enforces discipline in API contract design, review, and deprecation to prevent breaking changes and ensure consumer compatibility.

The api-contract skill provides a rigorous framework for managing changes to public interfaces, including API endpoints, CLI flags, configuration schemas, and package exports. It helps developers classify changes as additive or breaking, analyze consumer impact based on Hyrum’s Law, and design structured deprecation paths. By automating contract test validation and generating clear migration guidance, it ensures that library and service evolutions remain predictable and backward-compatible while providing specific version bump recommendations.

Key Features

01Structured deprecation path design (Announce → Warn → Sunset)
02Comprehensive public surface inventory for exports, endpoints, and CLI flags
030 GitHub stars
04Integration with contract testing and schema validation tools
05Change classification and consumer impact analysis using Hyrum's Law
06Automated version bump recommendations and migration guide generation

Use Cases

01Planning the deprecation and removal of legacy CLI flags or configuration keys
02Designing or modifying public API endpoints and schemas
03Ensuring backward compatibility when adding fields to strict schema consumers